feature/checkpoint

This commit is contained in:
2026-04-10 11:26:15 -06:00
parent 0b57742024
commit aa8891145c
17 changed files with 68 additions and 68 deletions

View File

@@ -113,7 +113,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -133,7 +133,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -146,13 +146,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable
data={allItems}
{columns}

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -145,7 +145,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -165,7 +165,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -178,13 +178,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable
data={allItems}
{columns}

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -112,7 +112,7 @@
}
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -132,7 +132,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-72 items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Clave</span>
<Input
@@ -154,13 +154,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable
columns={createColumns(handleSuccess)}
data={allItems}

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -132,7 +132,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -152,7 +152,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda por Clave</span>
<Input
@@ -165,13 +165,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -142,7 +142,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -162,7 +162,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -175,13 +175,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable
data={allItems}
{columns}

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>

View File

@@ -108,7 +108,7 @@
const columns = createColumns(handleSuccess);
</script>
<div class="space-y-6 p-6">
<div class="flex flex-col gap-6 p-6 h-[calc(100svh-4rem)] group-has-data-[collapsible=icon]/sidebar-wrapper:h-[calc(100svh-3rem)] overflow-hidden">
<!-- Header Section -->
<div class="flex-none flex items-center justify-between">
<div class="space-y-1">
@@ -128,7 +128,7 @@
</div>
<!-- Filters Section -->
<div class="flex flex-wrap items-end gap-4">
<div class="flex-none flex flex-wrap items-end gap-4">
<div class="grid w-full max-w-sm items-center gap-1.5 font-medium">
<span class="text-xs text-muted-foreground px-1">Búsqueda General</span>
<Input
@@ -141,13 +141,13 @@
</div>
{#if error}
<div class="rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
<div class="flex-none rounded-md border border-destructive px-4 py-3 text-sm text-destructive">
{error}
</div>
{/if}
<!-- Table Container -->
<div class="rounded-md border bg-background overflow-hidden">
<div class="flex-1 min-h-0 rounded-md border bg-background overflow-hidden flex flex-col">
<DataTable data={allItems} {columns} {loading} {hasMore} {loadMore} />
</div>
</div>