Merge: Resolver conflictos en client-selector-dialog.svelte

This commit is contained in:
2026-02-09 11:39:21 -06:00
195 changed files with 7001 additions and 530 deletions

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { codePedimentoRegimensApi, type CodePedimentoRegimen, type CreateCodePedimentoRegimenData, type UpdateCodePedimentoRegimenData } from "$lib/api/dashboard/refrence_data/code_pedimento_regimens";
import { codePedimentoRegimensApi, type CodePedimentoRegimen, type CreateCodePedimentoRegimenData, type UpdateCodePedimentoRegimenData } from "$lib/api/dashboard/reference_data/code_pedimento_regimens";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { codePedimentoRegimensApi, type CodePedimentoRegimen } from "$lib/api/dashboard/refrence_data/code_pedimento_regimens";
import { codePedimentoRegimensApi, type CodePedimentoRegimen } from "$lib/api/dashboard/reference_data/code_pedimento_regimens";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { CodePedimentoRegimen } from "$lib/api/dashboard/refrence_data/code_pedimento_regimens";
import type { CodePedimentoRegimen } from "$lib/api/dashboard/reference_data/code_pedimento_regimens";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Switch } from "$lib/components/ui/switch";
import { containersApi, type Container, type CreateContainerData, type UpdateContainerData } from "$lib/api/dashboard/refrence_data/containers";
import { containersApi, type Container, type CreateContainerData, type UpdateContainerData } from "$lib/api/dashboard/reference_data/containers";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { containersApi, type Container } from "$lib/api/dashboard/refrence_data/containers";
import { containersApi, type Container } from "$lib/api/dashboard/reference_data/containers";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { Container } from "$lib/api/dashboard/refrence_data/containers";
import type { Container } from "$lib/api/dashboard/reference_data/containers";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { countriesApi, type Country, type CreateCountryData, type UpdateCountryData } from "$lib/api/dashboard/refrence_data/countries";
import { countriesApi, type Country, type CreateCountryData, type UpdateCountryData } from "$lib/api/dashboard/reference_data/countries";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { countriesApi, type Country } from "$lib/api/dashboard/refrence_data/countries";
import { countriesApi, type Country } from "$lib/api/dashboard/reference_data/countries";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { Country } from "$lib/api/dashboard/refrence_data/countries";
import type { Country } from "$lib/api/dashboard/reference_data/countries";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { currencyTypesApi, type CurrencyType, type CreateCurrencyTypeData, type UpdateCurrencyTypeData } from "$lib/api/dashboard/refrence_data/currency_types";
import { currencyTypesApi, type CurrencyType, type CreateCurrencyTypeData, type UpdateCurrencyTypeData } from "$lib/api/dashboard/reference_data/currency_types";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { currencyTypesApi, type CurrencyType } from "$lib/api/dashboard/refrence_data/currency_types";
import { currencyTypesApi, type CurrencyType } from "$lib/api/dashboard/reference_data/currency_types";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { CurrencyType } from "$lib/api/dashboard/refrence_data/currency_types";
import type { CurrencyType } from "$lib/api/dashboard/reference_data/currency_types";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { customsSectionsApi, type CustomsSection, type CreateCustomsSectionData, type UpdateCustomsSectionData } from "$lib/api/dashboard/refrence_data/customs_sections";
import { customsSectionsApi, type CustomsSection, type CreateCustomsSectionData, type UpdateCustomsSectionData } from "$lib/api/dashboard/reference_data/customs_sections";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { customsSectionsApi, type CustomsSection } from "$lib/api/dashboard/refrence_data/customs_sections";
import { customsSectionsApi, type CustomsSection } from "$lib/api/dashboard/reference_data/customs_sections";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { CustomsSection } from "$lib/api/dashboard/refrence_data/customs_sections";
import type { CustomsSection } from "$lib/api/dashboard/reference_data/customs_sections";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { customsWarehousesApi, type CustomsWarehouse, type CreateCustomsWarehouseData, type UpdateCustomsWarehouseData } from "$lib/api/dashboard/refrence_data/customs_warehouses";
import { customsWarehousesApi, type CustomsWarehouse, type CreateCustomsWarehouseData, type UpdateCustomsWarehouseData } from "$lib/api/dashboard/reference_data/customs_warehouses";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { customsWarehousesApi, type CustomsWarehouse } from "$lib/api/dashboard/refrence_data/customs_warehouses";
import { customsWarehousesApi, type CustomsWarehouse } from "$lib/api/dashboard/reference_data/customs_warehouses";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { CustomsWarehouse } from "$lib/api/dashboard/refrence_data/customs_warehouses";
import type { CustomsWarehouse } from "$lib/api/dashboard/reference_data/customs_warehouses";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { incotermsApi, type Incoterm, type CreateIncotermData, type UpdateIncotermData } from "$lib/api/dashboard/refrence_data/incoterms";
import { incotermsApi, type Incoterm, type CreateIncotermData, type UpdateIncotermData } from "$lib/api/dashboard/reference_data/incoterms";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { incotermsApi, type Incoterm } from "$lib/api/dashboard/refrence_data/incoterms";
import { incotermsApi, type Incoterm } from "$lib/api/dashboard/reference_data/incoterms";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { Incoterm } from "$lib/api/dashboard/refrence_data/incoterms";
import type { Incoterm } from "$lib/api/dashboard/reference_data/incoterms";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { invoiceTypesApi, type InvoiceType, type CreateInvoiceTypeData, type UpdateInvoiceTypeData } from "$lib/api/dashboard/refrence_data/invoice_types";
import { invoiceTypesApi, type InvoiceType, type CreateInvoiceTypeData, type UpdateInvoiceTypeData } from "$lib/api/dashboard/reference_data/invoice_types";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { invoiceTypesApi, type InvoiceType } from "$lib/api/dashboard/refrence_data/invoice_types";
import { invoiceTypesApi, type InvoiceType } from "$lib/api/dashboard/reference_data/invoice_types";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { InvoiceType } from "$lib/api/dashboard/refrence_data/invoice_types";
import type { InvoiceType } from "$lib/api/dashboard/reference_data/invoice_types";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { materialTypesApi, type MaterialType, type CreateMaterialTypeData, type UpdateMaterialTypeData } from "$lib/api/dashboard/refrence_data/material_types";
import { materialTypesApi, type MaterialType, type CreateMaterialTypeData, type UpdateMaterialTypeData } from "$lib/api/dashboard/reference_data/material_types";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { materialTypesApi, type MaterialType } from "$lib/api/dashboard/refrence_data/material_types";
import { materialTypesApi, type MaterialType } from "$lib/api/dashboard/reference_data/material_types";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { MaterialType } from "$lib/api/dashboard/refrence_data/material_types";
import type { MaterialType } from "$lib/api/dashboard/reference_data/material_types";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { paymentMethodsApi, type PaymentMethod, type CreatePaymentMethodData, type UpdatePaymentMethodData } from "$lib/api/dashboard/refrence_data/payment_methods";
import { paymentMethodsApi, type PaymentMethod, type CreatePaymentMethodData, type UpdatePaymentMethodData } from "$lib/api/dashboard/reference_data/payment_methods";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { paymentMethodsApi, type PaymentMethod } from "$lib/api/dashboard/refrence_data/payment_methods";
import { paymentMethodsApi, type PaymentMethod } from "$lib/api/dashboard/reference_data/payment_methods";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { PaymentMethod } from "$lib/api/dashboard/refrence_data/payment_methods";
import type { PaymentMethod } from "$lib/api/dashboard/reference_data/payment_methods";
let {
open = $bindable(false),

View File

@@ -4,7 +4,7 @@
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { Textarea } from "$lib/components/ui/textarea";
import { pedimentoCodesApi, type PedimentoCode, type CreatePedimentoCodeData, type UpdatePedimentoCodeData } from "$lib/api/dashboard/refrence_data/pedimento_codes";
import { pedimentoCodesApi, type PedimentoCode, type CreatePedimentoCodeData, type UpdatePedimentoCodeData } from "$lib/api/dashboard/reference_data/pedimento_codes";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { pedimentoCodesApi, type PedimentoCode } from "$lib/api/dashboard/refrence_data/pedimento_codes";
import { pedimentoCodesApi, type PedimentoCode } from "$lib/api/dashboard/reference_data/pedimento_codes";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { PedimentoCode } from "$lib/api/dashboard/refrence_data/pedimento_codes";
import type { PedimentoCode } from "$lib/api/dashboard/reference_data/pedimento_codes";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { pedimentoRegimensApi, type PedimentoRegimen, type CreatePedimentoRegimenData, type UpdatePedimentoRegimenData } from "$lib/api/dashboard/refrence_data/pedimento_regimens";
import { pedimentoRegimensApi, type PedimentoRegimen, type CreatePedimentoRegimenData, type UpdatePedimentoRegimenData } from "$lib/api/dashboard/reference_data/pedimento_regimens";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { pedimentoRegimensApi, type PedimentoRegimen } from "$lib/api/dashboard/refrence_data/pedimento_regimens";
import { pedimentoRegimensApi, type PedimentoRegimen } from "$lib/api/dashboard/reference_data/pedimento_regimens";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { PedimentoRegimen } from "$lib/api/dashboard/refrence_data/pedimento_regimens";
import type { PedimentoRegimen } from "$lib/api/dashboard/reference_data/pedimento_regimens";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { sectorsApi, type Sector, type CreateSectorData, type UpdateSectorData } from "$lib/api/dashboard/refrence_data/sectors";
import { sectorsApi, type Sector, type CreateSectorData, type UpdateSectorData } from "$lib/api/dashboard/reference_data/sectors";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { Badge } from "$lib/components/ui/badge";
import { sectorsApi, type Sector } from "$lib/api/dashboard/refrence_data/sectors";
import { sectorsApi, type Sector } from "$lib/api/dashboard/reference_data/sectors";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import { Badge } from "$lib/components/ui/badge";
import type { Sector } from "$lib/api/dashboard/refrence_data/sectors";
import type { Sector } from "$lib/api/dashboard/reference_data/sectors";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { statesApi, type State, type CreateStateData, type UpdateStateData } from "$lib/api/dashboard/refrence_data/states";
import { statesApi, type State, type CreateStateData, type UpdateStateData } from "$lib/api/dashboard/reference_data/states";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { statesApi, type State } from "$lib/api/dashboard/refrence_data/states";
import { statesApi, type State } from "$lib/api/dashboard/reference_data/states";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { State } from "$lib/api/dashboard/refrence_data/states";
import type { State } from "$lib/api/dashboard/reference_data/states";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { transportModesApi, type TransportMode, type CreateTransportModeData, type UpdateTransportModeData } from "$lib/api/dashboard/refrence_data/transport_modes";
import { transportModesApi, type TransportMode, type CreateTransportModeData, type UpdateTransportModeData } from "$lib/api/dashboard/reference_data/transport_modes";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { transportModesApi, type TransportMode } from "$lib/api/dashboard/refrence_data/transport_modes";
import { transportModesApi, type TransportMode } from "$lib/api/dashboard/reference_data/transport_modes";
import { LoaderCircle } from 'lucide-svelte';
let {

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { TransportMode } from "$lib/api/dashboard/refrence_data/transport_modes";
import type { TransportMode } from "$lib/api/dashboard/reference_data/transport_modes";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { transportTypesApi, type TransportType, type CreateTransportTypeData, type UpdateTransportTypeData } from "$lib/api/dashboard/refrence_data/transport_types";
import { transportTypesApi, type TransportType, type CreateTransportTypeData, type UpdateTransportTypeData } from "$lib/api/dashboard/reference_data/transport_types";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { transportTypesApi, type TransportType } from "$lib/api/dashboard/refrence_data/transport_types";
import { transportTypesApi, type TransportType } from "$lib/api/dashboard/reference_data/transport_types";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { TransportType } from "$lib/api/dashboard/refrence_data/transport_types";
import type { TransportType } from "$lib/api/dashboard/reference_data/transport_types";
let {
open = $bindable(false),

View File

@@ -3,7 +3,7 @@
import * as Dialog from "$lib/components/ui/dialog";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { valuationMethodsApi, type ValuationMethod, type CreateValuationMethodData, type UpdateValuationMethodData } from "$lib/api/dashboard/refrence_data/valuation_methods";
import { valuationMethodsApi, type ValuationMethod, type CreateValuationMethodData, type UpdateValuationMethodData } from "$lib/api/dashboard/reference_data/valuation_methods";
let {
open = $bindable(false),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import * as AlertDialog from "$lib/components/ui/alert-dialog";
import { valuationMethodsApi, type ValuationMethod } from "$lib/api/dashboard/refrence_data/valuation_methods";
import { valuationMethodsApi, type ValuationMethod } from "$lib/api/dashboard/reference_data/valuation_methods";
let {
open = $bindable(false),

View File

@@ -2,7 +2,7 @@
import { Button } from "$lib/components/ui/button";
import * as Dialog from "$lib/components/ui/dialog";
import { Separator } from "$lib/components/ui/separator";
import type { ValuationMethod } from "$lib/api/dashboard/refrence_data/valuation_methods";
import type { ValuationMethod } from "$lib/api/dashboard/reference_data/valuation_methods";
let {
open = $bindable(false),