@kayord/ui 0.9.1 → 0.9.3
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 +12 -36
- 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 +77 -0
- package/dist/components/custom/data-table/DataTablePagination.svelte.d.ts +25 -0
- package/dist/components/custom/loader/Loader.svelte.d.ts +9 -10
- package/dist/components/custom/progress-loading/ProgressLoading.svelte.d.ts +0 -1
- package/dist/components/custom/theme-switch/ThemeSwitch.svelte.d.ts +0 -1
- 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
|
|
|
@@ -144,41 +145,16 @@
|
|
|
144
145
|
</span>
|
|
145
146
|
{/if}
|
|
146
147
|
</div>
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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>
|
|
181
|
-
{/if}
|
|
148
|
+
<div class="flex items-center">
|
|
149
|
+
{#if isSelectEnabled && showSelected}
|
|
150
|
+
<div class="flex-1 text-sm text-muted-foreground px-2">
|
|
151
|
+
{Object.keys($selectedDataIds).length} of {serverItemCount ?? $rows.length} row(s) selected.
|
|
152
|
+
</div>
|
|
153
|
+
{/if}
|
|
154
|
+
{#if isPagingEnabled}
|
|
155
|
+
<DataTablePagination tableModel={tableViewModel} {showRowsPerPage} />
|
|
156
|
+
{/if}
|
|
157
|
+
</div>
|
|
182
158
|
|
|
183
159
|
{#if $$slots.footer}
|
|
184
160
|
<div class="rounded-b-md overflow-hidden">
|
|
@@ -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,77 @@
|
|
|
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
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<div class="flex items-center space-x-6 lg:space-x-8 justify-end px-2">
|
|
16
|
+
{#if showRowsPerPage}
|
|
17
|
+
<div class="flex items-center space-x-2">
|
|
18
|
+
<p class="text-sm font-medium">Rows per page</p>
|
|
19
|
+
<Select.Root
|
|
20
|
+
onSelectedChange={(selected) => pageSize.set(Number(selected?.value))}
|
|
21
|
+
selected={{ value: 10, label: "10" }}
|
|
22
|
+
>
|
|
23
|
+
<Select.Trigger class="h-8 w-[70px]">
|
|
24
|
+
<Select.Value placeholder="Select page size" />
|
|
25
|
+
</Select.Trigger>
|
|
26
|
+
<Select.Content>
|
|
27
|
+
<Select.Item value="10">10</Select.Item>
|
|
28
|
+
<Select.Item value="20">20</Select.Item>
|
|
29
|
+
<Select.Item value="30">30</Select.Item>
|
|
30
|
+
<Select.Item value="40">40</Select.Item>
|
|
31
|
+
<Select.Item value="50">50</Select.Item>
|
|
32
|
+
</Select.Content>
|
|
33
|
+
</Select.Root>
|
|
34
|
+
</div>
|
|
35
|
+
{/if}
|
|
36
|
+
<div class="flex w-[100px] items-center justify-center text-sm font-medium">
|
|
37
|
+
Page {$pageIndex + 1} of {$pageCount}
|
|
38
|
+
</div>
|
|
39
|
+
<div class="flex items-center space-x-2">
|
|
40
|
+
<Button
|
|
41
|
+
variant="outline"
|
|
42
|
+
class="hidden h-8 w-8 p-0 lg:flex"
|
|
43
|
+
on:click={() => ($pageIndex = 0)}
|
|
44
|
+
disabled={!$hasPreviousPage}
|
|
45
|
+
>
|
|
46
|
+
<span class="sr-only">Go to first page</span>
|
|
47
|
+
<ChevronsLeftIcon size={15} />
|
|
48
|
+
</Button>
|
|
49
|
+
<Button
|
|
50
|
+
variant="outline"
|
|
51
|
+
class="h-8 w-8 p-0"
|
|
52
|
+
on:click={() => ($pageIndex = $pageIndex - 1)}
|
|
53
|
+
disabled={!$hasPreviousPage}
|
|
54
|
+
>
|
|
55
|
+
<span class="sr-only">Go to previous page</span>
|
|
56
|
+
<ChevronLeftIcon size={15} />
|
|
57
|
+
</Button>
|
|
58
|
+
<Button
|
|
59
|
+
variant="outline"
|
|
60
|
+
class="h-8 w-8 p-0"
|
|
61
|
+
disabled={!$hasNextPage}
|
|
62
|
+
on:click={() => ($pageIndex = $pageIndex + 1)}
|
|
63
|
+
>
|
|
64
|
+
<span class="sr-only">Go to next page</span>
|
|
65
|
+
<ChevronRightIcon size={15} />
|
|
66
|
+
</Button>
|
|
67
|
+
<Button
|
|
68
|
+
variant="outline"
|
|
69
|
+
class="hidden h-8 w-8 p-0 lg:flex"
|
|
70
|
+
disabled={!$hasNextPage}
|
|
71
|
+
on:click={() => ($pageIndex = Math.ceil($rows.length / $pageRows.length) - 1)}
|
|
72
|
+
>
|
|
73
|
+
<span class="sr-only">Go to last page</span>
|
|
74
|
+
<ChevronsRightIcon size={15} />
|
|
75
|
+
</Button>
|
|
76
|
+
</div>
|
|
77
|
+
</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;
|
|
@@ -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;
|
|
@@ -11,18 +10,18 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
11
10
|
}
|
|
12
11
|
declare const Loader: $$__sveltets_2_IsomorphicComponent<{
|
|
13
12
|
class?: string | undefined | null;
|
|
14
|
-
isLoading?: boolean
|
|
15
|
-
iconProps?:
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
iconProps?: Omit<{
|
|
16
15
|
[x: string]: any;
|
|
17
16
|
name?: string | undefined;
|
|
18
|
-
color?: string
|
|
19
|
-
size?:
|
|
20
|
-
strokeWidth?:
|
|
21
|
-
absoluteStrokeWidth?: boolean
|
|
22
|
-
iconNode?: import("lucide-svelte").IconNode
|
|
17
|
+
color?: string;
|
|
18
|
+
size?: number | string;
|
|
19
|
+
strokeWidth?: number | string;
|
|
20
|
+
absoluteStrokeWidth?: boolean;
|
|
21
|
+
iconNode?: import("lucide-svelte").IconNode;
|
|
23
22
|
}, "iconNode"> & {
|
|
24
|
-
isLoading?: boolean
|
|
25
|
-
}
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
};
|
|
26
25
|
}, {
|
|
27
26
|
[evt: string]: CustomEvent<any>;
|
|
28
27
|
}, {}, {
|
|
@@ -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> & {
|
|
@@ -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 { 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> {
|
|
@@ -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 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 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 CardTitle: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLHeadingElement> & {
|
|
20
|
-
tag?: HeadingLevel
|
|
19
|
+
tag?: 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
|
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> & {
|