@kayord/ui 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/custom/data-table/DataTable.svelte +3 -28
- package/dist/components/custom/data-table/DataTable.svelte.d.ts +5 -5
- package/dist/components/custom/data-table/DataTableActions.svelte.d.ts +0 -1
- package/dist/components/custom/data-table/DataTableCheckbox.svelte.d.ts +0 -1
- package/dist/components/custom/data-table/DataTablePagination.svelte +84 -0
- package/dist/components/custom/data-table/DataTablePagination.svelte.d.ts +25 -0
- package/dist/components/custom/loader/Loader.svelte +11 -6
- package/dist/components/custom/loader/Loader.svelte.d.ts +17 -12
- package/dist/components/custom/progress-loading/ProgressLoading.svelte.d.ts +0 -1
- package/dist/components/custom/theme-switch/ThemeSwitch.svelte +6 -3
- package/dist/components/custom/theme-switch/ThemeSwitch.svelte.d.ts +1 -2
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +0 -1
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +0 -1
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +0 -1
- package/dist/components/ui/alert/alert-description.svelte.d.ts +0 -1
- package/dist/components/ui/alert/alert-title.svelte.d.ts +1 -2
- package/dist/components/ui/alert/alert.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-description.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-footer.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-portal.svelte.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte.d.ts +0 -1
- package/dist/components/ui/aspect-ratio/aspect-ratio.svelte.d.ts +0 -1
- package/dist/components/ui/avatar/avatar-fallback.svelte.d.ts +0 -1
- package/dist/components/ui/avatar/avatar-image.svelte.d.ts +0 -1
- package/dist/components/ui/avatar/avatar.svelte.d.ts +0 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +0 -1
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +2 -3
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +1 -2
- package/dist/components/ui/button/button.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +0 -1
- package/dist/components/ui/calendar/calendar.svelte.d.ts +0 -1
- package/dist/components/ui/card/card-content.svelte.d.ts +0 -1
- package/dist/components/ui/card/card-description.svelte.d.ts +0 -1
- package/dist/components/ui/card/card-footer.svelte.d.ts +0 -1
- package/dist/components/ui/card/card-header.svelte.d.ts +0 -1
- package/dist/components/ui/card/card-title.svelte.d.ts +1 -2
- package/dist/components/ui/card/card.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/carousel-content.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/carousel-item.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/carousel-next.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/carousel-previous.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/carousel.svelte.d.ts +0 -1
- package/dist/components/ui/carousel/context.d.ts +0 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +0 -1
- package/dist/components/ui/collapsible/collapsible-content.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +19 -20
- package/dist/components/ui/command/command-empty.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-group.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-list.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-separator.svelte.d.ts +0 -1
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +0 -1
- package/dist/components/ui/command/command.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-item.svelte.d.ts +1 -2
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +2 -3
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-separator.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +0 -1
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +3 -4
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-portal.svelte.d.ts +0 -1
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +1 -2
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +1 -2
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +0 -1
- package/dist/components/ui/drawer/drawer.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +1 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +2 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +3 -4
- package/dist/components/ui/form/form-button.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-description.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-element-field.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-field-errors.svelte.d.ts +3 -4
- package/dist/components/ui/form/form-field.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-fieldset.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-label.svelte.d.ts +0 -1
- package/dist/components/ui/form/form-legend.svelte.d.ts +0 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +0 -1
- package/dist/components/ui/input/input.svelte.d.ts +0 -1
- package/dist/components/ui/label/label.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-content.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-item.svelte.d.ts +1 -2
- package/dist/components/ui/menubar/menubar-label.svelte.d.ts +2 -3
- package/dist/components/ui/menubar/menubar-radio-item.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-separator.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-shortcut.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-sub-content.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte.d.ts +3 -4
- package/dist/components/ui/menubar/menubar-trigger.svelte.d.ts +0 -1
- package/dist/components/ui/menubar/menubar.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination-content.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +1 -1
- package/dist/components/ui/pagination/pagination-ellipsis.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination-item.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination-link.svelte.d.ts +1 -2
- package/dist/components/ui/pagination/pagination-next-button.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination-prev-button.svelte.d.ts +0 -1
- package/dist/components/ui/pagination/pagination.svelte.d.ts +0 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +0 -1
- package/dist/components/ui/progress/progress.svelte.d.ts +0 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +0 -1
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-grid-body.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-grid-head.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +0 -1
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +0 -1
- package/dist/components/ui/resizable/resizable-handle.svelte.d.ts +5 -6
- package/dist/components/ui/resizable/resizable-pane-group.svelte.d.ts +0 -1
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +2 -3
- package/dist/components/ui/select/select-content.svelte.d.ts +0 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +0 -1
- package/dist/components/ui/select/select-label.svelte.d.ts +0 -1
- package/dist/components/ui/select/select-separator.svelte.d.ts +0 -1
- package/dist/components/ui/separator/separator.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +1 -2
- package/dist/components/ui/sheet/sheet-description.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-portal.svelte.d.ts +0 -1
- package/dist/components/ui/sheet/sheet-title.svelte.d.ts +0 -1
- package/dist/components/ui/skeleton/skeleton.svelte.d.ts +0 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +0 -1
- package/dist/components/ui/sonner/sonner.svelte.d.ts +0 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-body.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-caption.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-cell.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-footer.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-head.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-header.svelte.d.ts +0 -1
- package/dist/components/ui/table/table-row.svelte.d.ts +0 -1
- package/dist/components/ui/table/table.svelte.d.ts +0 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +0 -1
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +0 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +0 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +0 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +4 -5
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -3
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +0 -1
- package/dist/utils.d.ts +0 -1
- package/package.json +6 -5
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { Button, ProgressLoading, Skeleton } from "../../..";
|
|
7
7
|
import { Subscribe, Render, type TableViewModel } from "svelte-headless-table";
|
|
8
8
|
import * as Table from "../../ui/table";
|
|
9
|
-
import
|
|
9
|
+
import DataTablePagination from "./DataTablePagination.svelte";
|
|
10
10
|
|
|
11
11
|
type RowData = Record<string, any>;
|
|
12
12
|
type T = $$Generic<RowData>;
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
export let rowAction: ((row: T | undefined) => void) | undefined = undefined;
|
|
23
23
|
|
|
24
24
|
export let showSelected: boolean = true;
|
|
25
|
+
export let showRowsPerPage: boolean = false;
|
|
25
26
|
|
|
26
27
|
const { headerRows, pageRows, tableAttrs, tableBodyAttrs, pluginStates, rows, flatColumns } = tableViewModel;
|
|
27
28
|
|
|
@@ -151,33 +152,7 @@
|
|
|
151
152
|
</div>
|
|
152
153
|
{/if}
|
|
153
154
|
{#if isPagingEnabled}
|
|
154
|
-
<
|
|
155
|
-
<Pagination.Content>
|
|
156
|
-
<Pagination.Item>
|
|
157
|
-
<Pagination.PrevButton on:click={() => ($pageIndex = $pageIndex - 1)} />
|
|
158
|
-
</Pagination.Item>
|
|
159
|
-
{#each pages as page (page.key)}
|
|
160
|
-
{#if page.type === "ellipsis"}
|
|
161
|
-
<Pagination.Item>
|
|
162
|
-
<Pagination.Ellipsis />
|
|
163
|
-
</Pagination.Item>
|
|
164
|
-
{:else}
|
|
165
|
-
<Pagination.Item>
|
|
166
|
-
<Pagination.Link
|
|
167
|
-
{page}
|
|
168
|
-
isActive={currentPage == page.value}
|
|
169
|
-
on:click={() => ($pageIndex = page.value - 1)}
|
|
170
|
-
>
|
|
171
|
-
{page.value}
|
|
172
|
-
</Pagination.Link>
|
|
173
|
-
</Pagination.Item>
|
|
174
|
-
{/if}
|
|
175
|
-
{/each}
|
|
176
|
-
<Pagination.Item>
|
|
177
|
-
<Pagination.NextButton on:click={() => ($pageIndex = $pageIndex + 1)} />
|
|
178
|
-
</Pagination.Item>
|
|
179
|
-
</Pagination.Content>
|
|
180
|
-
</Pagination.Root>
|
|
155
|
+
<DataTablePagination tableModel={tableViewModel} {showRowsPerPage} />
|
|
181
156
|
{/if}
|
|
182
157
|
|
|
183
158
|
{#if $$slots.footer}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { type TableViewModel } from "svelte-headless-table";
|
|
3
2
|
type RowData = Record<string, any>;
|
|
4
3
|
declare class __sveltets_Render<T extends RowData> {
|
|
5
4
|
props(): {
|
|
6
5
|
tableViewModel: TableViewModel<T, import("svelte-headless-table/dist/types/TablePlugin").AnyPlugins>;
|
|
7
|
-
title?: string
|
|
8
|
-
isLoading?: boolean
|
|
9
|
-
hideHeader?: boolean
|
|
6
|
+
title?: string;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
hideHeader?: boolean;
|
|
10
9
|
noDataMessage?: string | undefined;
|
|
11
10
|
serverItemCount?: number | undefined;
|
|
12
11
|
rowAction?: ((row: T | undefined) => void) | undefined;
|
|
13
|
-
showSelected?: boolean
|
|
12
|
+
showSelected?: boolean;
|
|
13
|
+
showRowsPerPage?: boolean;
|
|
14
14
|
};
|
|
15
15
|
events(): {} & {
|
|
16
16
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
2
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
3
|
$$bindings?: Bindings;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { Writable } from "svelte/store";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<script lang="ts" generics="T">
|
|
2
|
+
import { Button, Select } from "../../..";
|
|
3
|
+
import { ChevronLeftIcon, ChevronRightIcon, ChevronsLeftIcon, ChevronsRightIcon } from "lucide-svelte";
|
|
4
|
+
import type { TableViewModel } from "svelte-headless-table";
|
|
5
|
+
import type { AnyPlugins } from "svelte-headless-table/plugins";
|
|
6
|
+
|
|
7
|
+
export let tableModel: TableViewModel<T, AnyPlugins>;
|
|
8
|
+
export let showRowsPerPage: boolean = false;
|
|
9
|
+
|
|
10
|
+
const { pageRows, pluginStates, rows } = tableModel;
|
|
11
|
+
|
|
12
|
+
const { hasNextPage, hasPreviousPage, pageIndex, pageCount, pageSize } = pluginStates.page;
|
|
13
|
+
|
|
14
|
+
const { selectedDataIds } = pluginStates.select;
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<div class="flex items-center justify-between px-2">
|
|
18
|
+
<div class="flex-1 text-sm text-muted-foreground">
|
|
19
|
+
{Object.keys($selectedDataIds).length} of {$rows.length} row(s) selected.
|
|
20
|
+
</div>
|
|
21
|
+
<div class="flex items-center space-x-6 lg:space-x-8">
|
|
22
|
+
{#if showRowsPerPage}
|
|
23
|
+
<div class="flex items-center space-x-2">
|
|
24
|
+
<p class="text-sm font-medium">Rows per page</p>
|
|
25
|
+
<Select.Root
|
|
26
|
+
onSelectedChange={(selected) => pageSize.set(Number(selected?.value))}
|
|
27
|
+
selected={{ value: 10, label: "10" }}
|
|
28
|
+
>
|
|
29
|
+
<Select.Trigger class="h-8 w-[70px]">
|
|
30
|
+
<Select.Value placeholder="Select page size" />
|
|
31
|
+
</Select.Trigger>
|
|
32
|
+
<Select.Content>
|
|
33
|
+
<Select.Item value="10">10</Select.Item>
|
|
34
|
+
<Select.Item value="20">20</Select.Item>
|
|
35
|
+
<Select.Item value="30">30</Select.Item>
|
|
36
|
+
<Select.Item value="40">40</Select.Item>
|
|
37
|
+
<Select.Item value="50">50</Select.Item>
|
|
38
|
+
</Select.Content>
|
|
39
|
+
</Select.Root>
|
|
40
|
+
</div>
|
|
41
|
+
{/if}
|
|
42
|
+
<div class="flex w-[100px] items-center justify-center text-sm font-medium">
|
|
43
|
+
Page {$pageIndex + 1} of {$pageCount}
|
|
44
|
+
</div>
|
|
45
|
+
<div class="flex items-center space-x-2">
|
|
46
|
+
<Button
|
|
47
|
+
variant="outline"
|
|
48
|
+
class="hidden h-8 w-8 p-0 lg:flex"
|
|
49
|
+
on:click={() => ($pageIndex = 0)}
|
|
50
|
+
disabled={!$hasPreviousPage}
|
|
51
|
+
>
|
|
52
|
+
<span class="sr-only">Go to first page</span>
|
|
53
|
+
<ChevronsLeftIcon size={15} />
|
|
54
|
+
</Button>
|
|
55
|
+
<Button
|
|
56
|
+
variant="outline"
|
|
57
|
+
class="h-8 w-8 p-0"
|
|
58
|
+
on:click={() => ($pageIndex = $pageIndex - 1)}
|
|
59
|
+
disabled={!$hasPreviousPage}
|
|
60
|
+
>
|
|
61
|
+
<span class="sr-only">Go to previous page</span>
|
|
62
|
+
<ChevronLeftIcon size={15} />
|
|
63
|
+
</Button>
|
|
64
|
+
<Button
|
|
65
|
+
variant="outline"
|
|
66
|
+
class="h-8 w-8 p-0"
|
|
67
|
+
disabled={!$hasNextPage}
|
|
68
|
+
on:click={() => ($pageIndex = $pageIndex + 1)}
|
|
69
|
+
>
|
|
70
|
+
<span class="sr-only">Go to next page</span>
|
|
71
|
+
<ChevronRightIcon size={15} />
|
|
72
|
+
</Button>
|
|
73
|
+
<Button
|
|
74
|
+
variant="outline"
|
|
75
|
+
class="hidden h-8 w-8 p-0 lg:flex"
|
|
76
|
+
disabled={!$hasNextPage}
|
|
77
|
+
on:click={() => ($pageIndex = Math.ceil($rows.length / $pageRows.length) - 1)}
|
|
78
|
+
>
|
|
79
|
+
<span class="sr-only">Go to last page</span>
|
|
80
|
+
<ChevronsRightIcon size={15} />
|
|
81
|
+
</Button>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TableViewModel } from "svelte-headless-table";
|
|
2
|
+
declare class __sveltets_Render<T> {
|
|
3
|
+
props(): {
|
|
4
|
+
tableModel: TableViewModel<T, AnyPlugins>;
|
|
5
|
+
showRowsPerPage?: boolean;
|
|
6
|
+
};
|
|
7
|
+
events(): {} & {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots(): {};
|
|
11
|
+
bindings(): string;
|
|
12
|
+
exports(): {};
|
|
13
|
+
}
|
|
14
|
+
interface $$IsomorphicComponent {
|
|
15
|
+
new <T>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
16
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
17
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
18
|
+
<T>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {
|
|
19
|
+
$$events?: ReturnType<__sveltets_Render<T>['events']>;
|
|
20
|
+
}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
21
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
22
|
+
}
|
|
23
|
+
declare const DataTablePagination: $$IsomorphicComponent;
|
|
24
|
+
type DataTablePagination<T> = InstanceType<typeof DataTablePagination<T>>;
|
|
25
|
+
export default DataTablePagination;
|
|
@@ -3,20 +3,25 @@
|
|
|
3
3
|
import { cn } from "../../../utils";
|
|
4
4
|
import { type Icon } from "lucide-svelte";
|
|
5
5
|
import LoaderCircleIcon from "lucide-svelte/icons/loader-circle";
|
|
6
|
-
import {
|
|
6
|
+
import { scale } from "svelte/transition";
|
|
7
7
|
|
|
8
8
|
interface LoaderIconProps extends Omit<ComponentProps<Icon>, "iconNode"> {
|
|
9
9
|
isLoading?: boolean;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
type $$Props = LoaderIconProps;
|
|
13
|
-
let className: $$Props["class"] = undefined;
|
|
14
|
-
export let isLoading: $$Props["isLoading"] = true;
|
|
15
12
|
export { className as class };
|
|
13
|
+
|
|
14
|
+
interface Props {
|
|
15
|
+
class?: string | undefined | null;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
iconProps?: LoaderIconProps;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
let { class: className = undefined, isLoading, iconProps }: Props = $props();
|
|
16
21
|
</script>
|
|
17
22
|
|
|
18
23
|
{#if isLoading}
|
|
19
|
-
<div class="flex justify-center" in:
|
|
20
|
-
<LoaderCircleIcon class={cn("h-8 w-8 animate-spin m-2", className)} {
|
|
24
|
+
<div class="flex justify-center" in:scale={{ duration: 350 }} out:scale={{ duration: 200 }}>
|
|
25
|
+
<LoaderCircleIcon class={cn("h-8 w-8 animate-spin m-2", className)} {...iconProps} />
|
|
21
26
|
</div>
|
|
22
27
|
{/if}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
2
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
3
|
$$bindings?: Bindings;
|
|
@@ -9,18 +8,24 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
9
8
|
}): Exports;
|
|
10
9
|
z_$$bindings?: Bindings;
|
|
11
10
|
}
|
|
12
|
-
declare const Loader: $$__sveltets_2_IsomorphicComponent<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
declare const Loader: $$__sveltets_2_IsomorphicComponent<{
|
|
12
|
+
class?: string | undefined | null;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
iconProps?: Omit<{
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
color?: string;
|
|
18
|
+
size?: number | string;
|
|
19
|
+
strokeWidth?: number | string;
|
|
20
|
+
absoluteStrokeWidth?: boolean;
|
|
21
|
+
iconNode?: import("lucide-svelte").IconNode;
|
|
22
|
+
}, "iconNode"> & {
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
};
|
|
22
25
|
}, {
|
|
23
26
|
[evt: string]: CustomEvent<any>;
|
|
24
|
-
}, {},
|
|
27
|
+
}, {}, {
|
|
28
|
+
class: string | null | undefined;
|
|
29
|
+
}, "">;
|
|
25
30
|
type Loader = InstanceType<typeof Loader>;
|
|
26
31
|
export default Loader;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Progress as ProgressPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
import Sun from "lucide-svelte/icons/sun";
|
|
5
5
|
import { cn } from "../../../utils";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
interface Props {
|
|
8
|
+
class?: string | undefined | null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
let { class: className = undefined }: Props = $props();
|
|
9
12
|
</script>
|
|
10
13
|
|
|
11
|
-
<button
|
|
14
|
+
<button onclick={toggleMode} class={cn("text-primary", className)}>
|
|
12
15
|
{#if $mode == "dark"}
|
|
13
16
|
<Moon />
|
|
14
17
|
{:else}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
2
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
3
|
$$bindings?: Bindings;
|
|
@@ -13,6 +12,6 @@ declare const ThemeSwitch: $$__sveltets_2_IsomorphicComponent<{
|
|
|
13
12
|
class?: string | undefined | null;
|
|
14
13
|
}, {
|
|
15
14
|
[evt: string]: CustomEvent<any>;
|
|
16
|
-
}, {}, Record<string, any>,
|
|
15
|
+
}, {}, Record<string, any>, "">;
|
|
17
16
|
type ThemeSwitch = InstanceType<typeof ThemeSwitch>;
|
|
18
17
|
export default ThemeSwitch;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import type { HeadingLevel } from "./index.js";
|
|
4
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
@@ -17,7 +16,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
17
16
|
children?: any;
|
|
18
17
|
} : {});
|
|
19
18
|
declare const AlertTitle: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLHeadingElement> & {
|
|
20
|
-
level?: HeadingLevel
|
|
19
|
+
level?: HeadingLevel;
|
|
21
20
|
}, {
|
|
22
21
|
default: {};
|
|
23
22
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import { type Variant } from "./index.js";
|
|
4
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { AspectRatio as AspectRatioPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Avatar as AvatarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Avatar as AvatarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Avatar as AvatarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { type Variant } from "./index.js";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -11,7 +10,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
11
10
|
z_$$bindings?: Bindings;
|
|
12
11
|
}
|
|
13
12
|
declare const BreadcrumbEllipsis: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLSpanElement> & {
|
|
14
|
-
el?: HTMLSpanElement
|
|
13
|
+
el?: HTMLSpanElement;
|
|
15
14
|
}, {
|
|
16
15
|
[evt: string]: CustomEvent<any>;
|
|
17
16
|
}, {}, Record<string, any>, string>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -16,7 +15,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
15
|
children?: any;
|
|
17
16
|
} : {});
|
|
18
17
|
declare const BreadcrumbItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLLiAttributes & {
|
|
19
|
-
el?: HTMLLIElement
|
|
18
|
+
el?: HTMLLIElement;
|
|
20
19
|
}, {
|
|
21
20
|
default: {};
|
|
22
21
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -16,8 +15,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
15
|
children?: any;
|
|
17
16
|
} : {});
|
|
18
17
|
declare const BreadcrumbLink: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAnchorAttributes & {
|
|
19
|
-
el?: HTMLAnchorElement
|
|
20
|
-
asChild?: boolean
|
|
18
|
+
el?: HTMLAnchorElement;
|
|
19
|
+
asChild?: boolean;
|
|
21
20
|
}, {
|
|
22
21
|
default: {
|
|
23
22
|
attrs: Record<string, unknown>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLOlAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -16,7 +15,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
15
|
children?: any;
|
|
17
16
|
} : {});
|
|
18
17
|
declare const BreadcrumbList: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLOlAttributes & {
|
|
19
|
-
el?: HTMLOListElement
|
|
18
|
+
el?: HTMLOListElement;
|
|
20
19
|
}, {
|
|
21
20
|
default: {};
|
|
22
21
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -18,7 +17,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
18
17
|
declare const BreadcrumbPage: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
19
18
|
class?: string | null | undefined;
|
|
20
19
|
} & HTMLAttributes<HTMLSpanElement> & {
|
|
21
|
-
el?: HTMLSpanElement
|
|
20
|
+
el?: HTMLSpanElement;
|
|
22
21
|
}, {
|
|
23
22
|
default: {};
|
|
24
23
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -16,7 +15,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
15
|
children?: any;
|
|
17
16
|
} : {});
|
|
18
17
|
declare const BreadcrumbSeparator: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLLiAttributes & {
|
|
19
|
-
el?: HTMLLIElement
|
|
18
|
+
el?: HTMLLIElement;
|
|
20
19
|
}, {
|
|
21
20
|
default: {};
|
|
22
21
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -16,7 +15,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
15
|
children?: any;
|
|
17
16
|
} : {});
|
|
18
17
|
declare const Breadcrumb: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLElement> & {
|
|
19
|
-
el?: HTMLElement
|
|
18
|
+
el?: HTMLElement;
|
|
20
19
|
}, {
|
|
21
20
|
default: {};
|
|
22
21
|
}>, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Button as ButtonPrimitive } from "bits-ui";
|
|
3
2
|
import { type Props } from "./index.js";
|
|
4
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
2
|
import * as Calendar from "./index.js";
|
|
4
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|