@kayord/ui 0.1.0 → 0.2.0
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 +134 -0
- package/dist/components/custom/data-table/DataTable.svelte.d.ts +24 -0
- package/dist/components/custom/data-table/DataTableActions.svelte +23 -0
- package/dist/components/custom/data-table/DataTableActions.svelte.d.ts +16 -0
- package/dist/components/custom/data-table/data.d.ts +7 -0
- package/dist/components/custom/data-table/data.js +410 -0
- package/dist/components/custom/data-table/index.d.ts +2 -0
- package/dist/components/custom/data-table/index.js +2 -0
- package/dist/components/custom/index.d.ts +1 -0
- package/dist/components/custom/index.js +1 -0
- package/dist/components/custom/loader/Loader.svelte.d.ts +1 -2
- package/dist/components/ui/command/command-dialog.svelte.d.ts +38 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +1 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +1 -0
- package/dist/components/ui/drawer/drawer-content.svelte +20 -0
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +17 -0
- package/dist/components/ui/drawer/drawer-description.svelte +14 -0
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +16 -0
- package/dist/components/ui/drawer/drawer-footer.svelte +13 -0
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/drawer-header.svelte +13 -0
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte +14 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +17 -0
- package/dist/components/ui/drawer/drawer-title.svelte +14 -0
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +16 -0
- package/dist/components/ui/drawer/drawer.svelte +14 -0
- package/dist/components/ui/drawer/drawer.svelte.d.ts +17 -0
- package/dist/components/ui/drawer/index.d.ts +11 -0
- package/dist/components/ui/drawer/index.js +14 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +1 -0
- package/dist/components/ui/form/form-select-trigger.svelte.d.ts +1 -0
- package/dist/components/ui/form/form-select.svelte.d.ts +35 -0
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/ui/index.js +3 -0
- package/dist/components/ui/menubar/menubar-label.svelte.d.ts +1 -0
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte.d.ts +1 -0
- package/dist/components/ui/pagination/index.d.ts +8 -0
- package/dist/components/ui/pagination/index.js +10 -0
- package/dist/components/ui/pagination/pagination-content.svelte +8 -0
- package/dist/components/ui/pagination/pagination-content.svelte.d.ts +17 -0
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +14 -0
- package/dist/components/ui/pagination/pagination-ellipsis.svelte.d.ts +15 -0
- package/dist/components/ui/pagination/pagination-item.svelte +8 -0
- package/dist/components/ui/pagination/pagination-item.svelte.d.ts +17 -0
- package/dist/components/ui/pagination/pagination-link.svelte +24 -0
- package/dist/components/ui/pagination/pagination-link.svelte.d.ts +24 -0
- package/dist/components/ui/pagination/pagination-next-button.svelte +20 -0
- package/dist/components/ui/pagination/pagination-next-button.svelte.d.ts +15 -0
- package/dist/components/ui/pagination/pagination-prev-button.svelte +20 -0
- package/dist/components/ui/pagination/pagination-prev-button.svelte.d.ts +15 -0
- package/dist/components/ui/pagination/pagination.svelte +30 -0
- package/dist/components/ui/pagination/pagination.svelte.d.ts +22 -0
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/index.js +1 -1
- package/dist/components/ui/select/select.svelte.d.ts +16 -0
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +1 -0
- package/dist/components/ui/sonner/index.d.ts +1 -0
- package/dist/components/ui/sonner/index.js +1 -0
- package/dist/components/ui/sonner/sonner.svelte +21 -0
- package/dist/components/ui/sonner/sonner.svelte.d.ts +15 -0
- package/dist/components/ui/toggle/toggle.svelte.d.ts +1 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +1 -0
- package/package.json +24 -20
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<script>import { Skeleton } from "../../..";
|
|
2
|
+
import { json } from "@sveltejs/kit";
|
|
3
|
+
import { createTable, Subscribe, Render, createRender, Table as TableT, Column } from "svelte-headless-table";
|
|
4
|
+
import { addSortBy, addPagination, addTableFilter, addSelectedRows, addHiddenColumns } from "svelte-headless-table/plugins";
|
|
5
|
+
import { readable } from "svelte/store";
|
|
6
|
+
import * as Table from "../../ui/table";
|
|
7
|
+
import { DataTableActions } from "./";
|
|
8
|
+
import { Button } from "../../ui/button";
|
|
9
|
+
import * as DropdownMenu from "../../ui/dropdown-menu";
|
|
10
|
+
import { cn } from "../../../utils";
|
|
11
|
+
import { Input } from "../../ui/input";
|
|
12
|
+
import { ArrowDown, ArrowUp, ArrowUpDown, ChevronDown } from "lucide-svelte";
|
|
13
|
+
import * as Pagination from "../../ui/pagination";
|
|
14
|
+
export let tableViewModel;
|
|
15
|
+
export let title = "";
|
|
16
|
+
export let isLoading = false;
|
|
17
|
+
const { headerRows, pageRows, tableAttrs, tableBodyAttrs, pluginStates, rows } = tableViewModel;
|
|
18
|
+
$: {
|
|
19
|
+
console.log("TVM", tableViewModel);
|
|
20
|
+
console.log("T", $rows);
|
|
21
|
+
}
|
|
22
|
+
const isSortEnabled = pluginStates.sort != void 0;
|
|
23
|
+
const sortKeys = isSortEnabled ? pluginStates.sort.sortKeys : void 0;
|
|
24
|
+
const { hasNextPage, hasPreviousPage, pageIndex, pageCount, pageSize } = pluginStates.page;
|
|
25
|
+
const { filterValue } = pluginStates.filter;
|
|
26
|
+
$:
|
|
27
|
+
$sortKeys && console.log($pageSize, $pageRows.length, $pageCount, $rows.length);
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<div class="w-full">
|
|
31
|
+
<div class="rounded-md border m-2">
|
|
32
|
+
{#if $$slots.header || title.length > 0}
|
|
33
|
+
<div class="rounded-t-md overflow-hidden">
|
|
34
|
+
{#if $$slots.header}
|
|
35
|
+
<slot name="header" />
|
|
36
|
+
{:else}
|
|
37
|
+
<h1 class="text-lg text-center p-2">
|
|
38
|
+
{title}
|
|
39
|
+
</h1>
|
|
40
|
+
{/if}
|
|
41
|
+
</div>
|
|
42
|
+
{/if}
|
|
43
|
+
{#if $$slots.subHeader}
|
|
44
|
+
<slot name="subHeader" />
|
|
45
|
+
{/if}
|
|
46
|
+
<Table.Root {...$tableAttrs} class="table-auto">
|
|
47
|
+
<Table.Header>
|
|
48
|
+
{#each $headerRows as headerRow}
|
|
49
|
+
<Subscribe rowAttrs={headerRow.attrs()}>
|
|
50
|
+
<Table.Row>
|
|
51
|
+
{#each headerRow.cells as cell (cell.id)}
|
|
52
|
+
<Subscribe attrs={cell.attrs()} let:attrs props={cell.props()} let:props>
|
|
53
|
+
<Table.Head {...attrs} class={cn("[&:has([role=checkbox])]:pl-3")}>
|
|
54
|
+
{#if isSortEnabled}
|
|
55
|
+
<Button variant="ghost" on:click={props.sort.toggle}>
|
|
56
|
+
<Render of={cell.render()} />
|
|
57
|
+
{#each $sortKeys as sortKey}
|
|
58
|
+
{#if sortKey?.id === cell.id && sortKey?.order == "desc"}
|
|
59
|
+
<ArrowDown class="ml-2 h-4 w-4" />
|
|
60
|
+
{:else if sortKey?.id === cell.id && sortKey?.order === "asc"}
|
|
61
|
+
<ArrowUp class="ml-2 h-4 w-4" />
|
|
62
|
+
{/if}
|
|
63
|
+
{/each}
|
|
64
|
+
</Button>
|
|
65
|
+
{:else}
|
|
66
|
+
<Render of={cell.render()} />
|
|
67
|
+
{/if}
|
|
68
|
+
</Table.Head>
|
|
69
|
+
</Subscribe>
|
|
70
|
+
{/each}
|
|
71
|
+
</Table.Row>
|
|
72
|
+
</Subscribe>
|
|
73
|
+
{/each}
|
|
74
|
+
</Table.Header>
|
|
75
|
+
<Table.Body {...$tableBodyAttrs}>
|
|
76
|
+
{#if isLoading}
|
|
77
|
+
{#each { length: 5 } as _, i}
|
|
78
|
+
<Table.Row>
|
|
79
|
+
{#each $pageRows[0].cells as cell (cell.id)}
|
|
80
|
+
<Subscribe attrs={cell.attrs()} let:attrs>
|
|
81
|
+
<Table.Cell>
|
|
82
|
+
<Skeleton class="h-4" />
|
|
83
|
+
</Table.Cell>
|
|
84
|
+
</Subscribe>
|
|
85
|
+
{/each}
|
|
86
|
+
</Table.Row>
|
|
87
|
+
{/each}
|
|
88
|
+
{:else}
|
|
89
|
+
{#each $pageRows as row (row.id)}
|
|
90
|
+
<Subscribe rowAttrs={row.attrs()} let:rowAttrs>
|
|
91
|
+
<Table.Row {...rowAttrs}>
|
|
92
|
+
{#each row.cells as cell (cell.id)}
|
|
93
|
+
<Subscribe attrs={cell.attrs()} let:attrs>
|
|
94
|
+
<Table.Cell {...attrs}>
|
|
95
|
+
<Render of={cell.render()} />
|
|
96
|
+
</Table.Cell>
|
|
97
|
+
</Subscribe>
|
|
98
|
+
{/each}
|
|
99
|
+
</Table.Row>
|
|
100
|
+
</Subscribe>
|
|
101
|
+
{/each}
|
|
102
|
+
{/if}
|
|
103
|
+
</Table.Body>
|
|
104
|
+
</Table.Root>
|
|
105
|
+
</div>
|
|
106
|
+
<Pagination.Root count={$rows.length} perPage={$pageSize} let:pages let:currentPage>
|
|
107
|
+
<Pagination.Content>
|
|
108
|
+
<Pagination.Item>
|
|
109
|
+
<Pagination.PrevButton on:click={() => ($pageIndex = $pageIndex - 1)} />
|
|
110
|
+
</Pagination.Item>
|
|
111
|
+
{#each pages as page (page.key)}
|
|
112
|
+
{#if page.type === "ellipsis"}
|
|
113
|
+
<Pagination.Item>
|
|
114
|
+
<Pagination.Ellipsis />
|
|
115
|
+
</Pagination.Item>
|
|
116
|
+
{:else}
|
|
117
|
+
<Pagination.Item>
|
|
118
|
+
<Pagination.Link {page} isActive={currentPage == page.value} on:click={() => ($pageIndex = page.value - 1)}>
|
|
119
|
+
{page.value}
|
|
120
|
+
</Pagination.Link>
|
|
121
|
+
</Pagination.Item>
|
|
122
|
+
{/if}
|
|
123
|
+
{/each}
|
|
124
|
+
<Pagination.Item>
|
|
125
|
+
<Pagination.NextButton on:click={() => ($pageIndex = $pageIndex + 1)} />
|
|
126
|
+
</Pagination.Item>
|
|
127
|
+
</Pagination.Content>
|
|
128
|
+
</Pagination.Root>
|
|
129
|
+
{#if $$slots.footer}
|
|
130
|
+
<div class="rounded-b-md overflow-hidden">
|
|
131
|
+
<slot name="footer" />
|
|
132
|
+
</div>
|
|
133
|
+
{/if}
|
|
134
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { type TableViewModel } from "svelte-headless-table";
|
|
3
|
+
type RowData = Record<string, any>;
|
|
4
|
+
declare class __sveltets_Render<T extends RowData> {
|
|
5
|
+
props(): {
|
|
6
|
+
tableViewModel: TableViewModel<T, import("svelte-headless-table/dist/types/TablePlugin").AnyPlugins>;
|
|
7
|
+
title?: string | undefined;
|
|
8
|
+
isLoading?: boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
events(): {} & {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots(): {
|
|
14
|
+
header: {};
|
|
15
|
+
subHeader: {};
|
|
16
|
+
footer: {};
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export type DataTableProps<T extends RowData> = ReturnType<__sveltets_Render<T>['props']>;
|
|
20
|
+
export type DataTableEvents<T extends RowData> = ReturnType<__sveltets_Render<T>['events']>;
|
|
21
|
+
export type DataTableSlots<T extends RowData> = ReturnType<__sveltets_Render<T>['slots']>;
|
|
22
|
+
export default class DataTable<T extends RowData> extends SvelteComponent<DataTableProps<T>, DataTableEvents<T>, DataTableSlots<T>> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>import * as DropdownMenu from "../../ui/dropdown-menu";
|
|
2
|
+
import { Button } from "../../ui/button";
|
|
3
|
+
import { MoreHorizontal } from "lucide-svelte";
|
|
4
|
+
export let id;
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<DropdownMenu.Root>
|
|
8
|
+
<DropdownMenu.Trigger asChild let:builder>
|
|
9
|
+
<Button variant="ghost" builders={[builder]} size="icon" class="relative w-8 h-8 p-0">
|
|
10
|
+
<span class="sr-only">Open menu</span>
|
|
11
|
+
<MoreHorizontal class="w-4 h-4" />
|
|
12
|
+
</Button>
|
|
13
|
+
</DropdownMenu.Trigger>
|
|
14
|
+
<DropdownMenu.Content>
|
|
15
|
+
<DropdownMenu.Group>
|
|
16
|
+
<DropdownMenu.Label>Actions</DropdownMenu.Label>
|
|
17
|
+
<DropdownMenu.Item on:click={() => navigator.clipboard.writeText(id)}>Copy payment ID</DropdownMenu.Item>
|
|
18
|
+
</DropdownMenu.Group>
|
|
19
|
+
<DropdownMenu.Separator />
|
|
20
|
+
<DropdownMenu.Item>View customer</DropdownMenu.Item>
|
|
21
|
+
<DropdownMenu.Item>View payment details</DropdownMenu.Item>
|
|
22
|
+
</DropdownMenu.Content>
|
|
23
|
+
</DropdownMenu.Root>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
events: {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
};
|
|
9
|
+
slots: {};
|
|
10
|
+
};
|
|
11
|
+
export type DataTableActionsProps = typeof __propDef.props;
|
|
12
|
+
export type DataTableActionsEvents = typeof __propDef.events;
|
|
13
|
+
export type DataTableActionsSlots = typeof __propDef.slots;
|
|
14
|
+
export default class DataTableActions extends SvelteComponent<DataTableActionsProps, DataTableActionsEvents, DataTableActionsSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
export const data = [
|
|
2
|
+
{
|
|
3
|
+
id: "6571688d9f0abce385f90f19",
|
|
4
|
+
amount: 3251.85,
|
|
5
|
+
status: "processing",
|
|
6
|
+
email: "booneellis@hydrocom.com",
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
id: "6571688d16c5c39d87365775",
|
|
10
|
+
amount: 3990.8,
|
|
11
|
+
status: "pending",
|
|
12
|
+
email: "booneellis@hydrocom.com",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
id: "6571688dabee1f8960a07e79",
|
|
16
|
+
amount: 3802.42,
|
|
17
|
+
status: "success",
|
|
18
|
+
email: "booneellis@hydrocom.com",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "6571688d806e36ee570c326c",
|
|
22
|
+
amount: 3823.47,
|
|
23
|
+
status: "success",
|
|
24
|
+
email: "booneellis@hydrocom.com",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: "6571688ddcf972ded016aeca",
|
|
28
|
+
amount: 3355.74,
|
|
29
|
+
status: "failed",
|
|
30
|
+
email: "booneellis@hydrocom.com",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: "6571688da322842d9f5b675e",
|
|
34
|
+
amount: 2530.82,
|
|
35
|
+
status: "processing",
|
|
36
|
+
email: "booneellis@hydrocom.com",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "6571688d810ec3fcb8e66c50",
|
|
40
|
+
amount: 1056.29,
|
|
41
|
+
status: "failed",
|
|
42
|
+
email: "booneellis@hydrocom.com",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "6571688d84b2863f0550c31e",
|
|
46
|
+
amount: 1319.59,
|
|
47
|
+
status: "processing",
|
|
48
|
+
email: "booneellis@hydrocom.com",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: "6571688de4d06ba36da0b2b1",
|
|
52
|
+
amount: 2289.99,
|
|
53
|
+
status: "failed",
|
|
54
|
+
email: "booneellis@hydrocom.com",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "6571688dd3d4930e83e980bb",
|
|
58
|
+
amount: 1511.24,
|
|
59
|
+
status: "pending",
|
|
60
|
+
email: "booneellis@hydrocom.com",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "6571688d9b2850305cbf9806",
|
|
64
|
+
amount: 1819.05,
|
|
65
|
+
status: "failed",
|
|
66
|
+
email: "booneellis@hydrocom.com",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: "6571688d0e2c8d403d9415a0",
|
|
70
|
+
amount: 1951.76,
|
|
71
|
+
status: "processing",
|
|
72
|
+
email: "booneellis@hydrocom.com",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "6571688df69ff77326a893f5",
|
|
76
|
+
amount: 2148.92,
|
|
77
|
+
status: "failed",
|
|
78
|
+
email: "booneellis@hydrocom.com",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: "6571688deccddaa29de2f440",
|
|
82
|
+
amount: 2012.9,
|
|
83
|
+
status: "pending",
|
|
84
|
+
email: "booneellis@hydrocom.com",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "6571688d448edf3bbdbc5c75",
|
|
88
|
+
amount: 1943.19,
|
|
89
|
+
status: "processing",
|
|
90
|
+
email: "booneellis@hydrocom.com",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: "6571688d81dd591cf6938d1b",
|
|
94
|
+
amount: 3879.18,
|
|
95
|
+
status: "failed",
|
|
96
|
+
email: "booneellis@hydrocom.com",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: "6571688d8f6e9c3423e785b7",
|
|
100
|
+
amount: 2079.08,
|
|
101
|
+
status: "failed",
|
|
102
|
+
email: "booneellis@hydrocom.com",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: "6571688d84bfe2b4524cef0c",
|
|
106
|
+
amount: 2327.12,
|
|
107
|
+
status: "processing",
|
|
108
|
+
email: "booneellis@hydrocom.com",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "6571688d0c506227be2ed29e",
|
|
112
|
+
amount: 3005.73,
|
|
113
|
+
status: "success",
|
|
114
|
+
email: "booneellis@hydrocom.com",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: "6571688d3558512f453741e5",
|
|
118
|
+
amount: 3759.09,
|
|
119
|
+
status: "processing",
|
|
120
|
+
email: "booneellis@hydrocom.com",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "6571688d861e5902ca9c81ce",
|
|
124
|
+
amount: 1348.46,
|
|
125
|
+
status: "pending",
|
|
126
|
+
email: "booneellis@hydrocom.com",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: "6571688dd14ec6fb48d51555",
|
|
130
|
+
amount: 2155.21,
|
|
131
|
+
status: "failed",
|
|
132
|
+
email: "booneellis@hydrocom.com",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "6571688ddab7f441f3b3b707",
|
|
136
|
+
amount: 2456.19,
|
|
137
|
+
status: "processing",
|
|
138
|
+
email: "booneellis@hydrocom.com",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "6571688d5e9513b4e88c2d22",
|
|
142
|
+
amount: 2923.2,
|
|
143
|
+
status: "processing",
|
|
144
|
+
email: "booneellis@hydrocom.com",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: "6571688d516b86893e68018c",
|
|
148
|
+
amount: 3191.41,
|
|
149
|
+
status: "failed",
|
|
150
|
+
email: "booneellis@hydrocom.com",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
id: "6571688ddb067254dac9ab2b",
|
|
154
|
+
amount: 3847.64,
|
|
155
|
+
status: "processing",
|
|
156
|
+
email: "booneellis@hydrocom.com",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "6571688d39328a179413e29a",
|
|
160
|
+
amount: 3104.91,
|
|
161
|
+
status: "failed",
|
|
162
|
+
email: "booneellis@hydrocom.com",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: "6571688d41c9c2a44423f21e",
|
|
166
|
+
amount: 2295.64,
|
|
167
|
+
status: "failed",
|
|
168
|
+
email: "booneellis@hydrocom.com",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: "6571688dbe4e3344e7095a5f",
|
|
172
|
+
amount: 1036.06,
|
|
173
|
+
status: "success",
|
|
174
|
+
email: "booneellis@hydrocom.com",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "6571688df832d2beefc2d4b8",
|
|
178
|
+
amount: 3391.3,
|
|
179
|
+
status: "pending",
|
|
180
|
+
email: "booneellis@hydrocom.com",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "6571688d27d143c06cf7d538",
|
|
184
|
+
amount: 3109.48,
|
|
185
|
+
status: "success",
|
|
186
|
+
email: "booneellis@hydrocom.com",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: "6571688df2823cc7272da879",
|
|
190
|
+
amount: 3822.19,
|
|
191
|
+
status: "failed",
|
|
192
|
+
email: "booneellis@hydrocom.com",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
id: "6571688de4eb5e94cf60bcd2",
|
|
196
|
+
amount: 2526.2,
|
|
197
|
+
status: "success",
|
|
198
|
+
email: "booneellis@hydrocom.com",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: "6571688df199424fd086ff48",
|
|
202
|
+
amount: 3775.85,
|
|
203
|
+
status: "failed",
|
|
204
|
+
email: "booneellis@hydrocom.com",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "6571688d70ecf0e6272da909",
|
|
208
|
+
amount: 3522.49,
|
|
209
|
+
status: "failed",
|
|
210
|
+
email: "booneellis@hydrocom.com",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
id: "6571688d6d31ec3cb133046b",
|
|
214
|
+
amount: 1738.86,
|
|
215
|
+
status: "pending",
|
|
216
|
+
email: "booneellis@hydrocom.com",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
id: "6571688d0e957b5f897ed8ce",
|
|
220
|
+
amount: 3362.06,
|
|
221
|
+
status: "processing",
|
|
222
|
+
email: "booneellis@hydrocom.com",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
id: "6571688d06d065921d92c32e",
|
|
226
|
+
amount: 1311.72,
|
|
227
|
+
status: "success",
|
|
228
|
+
email: "booneellis@hydrocom.com",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "6571688d45b2c5e27d04cf40",
|
|
232
|
+
amount: 3831.03,
|
|
233
|
+
status: "pending",
|
|
234
|
+
email: "booneellis@hydrocom.com",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
id: "6571688d2cbf8c51474eb602",
|
|
238
|
+
amount: 1850.78,
|
|
239
|
+
status: "success",
|
|
240
|
+
email: "booneellis@hydrocom.com",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
id: "6571688d16290d3f20d4daee",
|
|
244
|
+
amount: 1732.43,
|
|
245
|
+
status: "pending",
|
|
246
|
+
email: "booneellis@hydrocom.com",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
id: "6571688dcda116e6798d4bae",
|
|
250
|
+
amount: 3852.99,
|
|
251
|
+
status: "failed",
|
|
252
|
+
email: "booneellis@hydrocom.com",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "6571688d5996339d8c18205b",
|
|
256
|
+
amount: 2717.96,
|
|
257
|
+
status: "success",
|
|
258
|
+
email: "booneellis@hydrocom.com",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: "6571688d7a3f16b9aec84fa6",
|
|
262
|
+
amount: 2731.06,
|
|
263
|
+
status: "pending",
|
|
264
|
+
email: "booneellis@hydrocom.com",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: "6571688d97b853eb9d7736ac",
|
|
268
|
+
amount: 1856.39,
|
|
269
|
+
status: "failed",
|
|
270
|
+
email: "booneellis@hydrocom.com",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
id: "6571688d1d714ee82c096662",
|
|
274
|
+
amount: 2853.75,
|
|
275
|
+
status: "success",
|
|
276
|
+
email: "booneellis@hydrocom.com",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "6571688dfe47c72110657d3b",
|
|
280
|
+
amount: 2532.9,
|
|
281
|
+
status: "success",
|
|
282
|
+
email: "booneellis@hydrocom.com",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
id: "6571688d3e4ce96490c3bad6",
|
|
286
|
+
amount: 2962.35,
|
|
287
|
+
status: "failed",
|
|
288
|
+
email: "booneellis@hydrocom.com",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
id: "6571688d77af0b83c0d3f7c6",
|
|
292
|
+
amount: 3024.45,
|
|
293
|
+
status: "success",
|
|
294
|
+
email: "booneellis@hydrocom.com",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: "6571688d3e1920bb93ac12a2",
|
|
298
|
+
amount: 2292.58,
|
|
299
|
+
status: "pending",
|
|
300
|
+
email: "booneellis@hydrocom.com",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: "6571688d2183f305b6cbed72",
|
|
304
|
+
amount: 1820.61,
|
|
305
|
+
status: "failed",
|
|
306
|
+
email: "booneellis@hydrocom.com",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
id: "6571688da48439ee80d276cd",
|
|
310
|
+
amount: 2544.19,
|
|
311
|
+
status: "success",
|
|
312
|
+
email: "booneellis@hydrocom.com",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
id: "6571688d15c1368942e23e3a",
|
|
316
|
+
amount: 2054.55,
|
|
317
|
+
status: "processing",
|
|
318
|
+
email: "booneellis@hydrocom.com",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
id: "6571688d0170dc46f4fcbfe6",
|
|
322
|
+
amount: 3567.82,
|
|
323
|
+
status: "processing",
|
|
324
|
+
email: "booneellis@hydrocom.com",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
id: "6571688d3c68bef4bca4c670",
|
|
328
|
+
amount: 2842.55,
|
|
329
|
+
status: "processing",
|
|
330
|
+
email: "booneellis@hydrocom.com",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
id: "6571688d09de886493b05ee0",
|
|
334
|
+
amount: 3123.12,
|
|
335
|
+
status: "success",
|
|
336
|
+
email: "booneellis@hydrocom.com",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
id: "6571688d2c572aaa292b6c3f",
|
|
340
|
+
amount: 1849.11,
|
|
341
|
+
status: "success",
|
|
342
|
+
email: "booneellis@hydrocom.com",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: "6571688d6e4d00a58e20c090",
|
|
346
|
+
amount: 1010.01,
|
|
347
|
+
status: "pending",
|
|
348
|
+
email: "booneellis@hydrocom.com",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: "6571688df71c1c1f9b472f68",
|
|
352
|
+
amount: 2064.62,
|
|
353
|
+
status: "pending",
|
|
354
|
+
email: "booneellis@hydrocom.com",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
id: "6571688de159964144606d23",
|
|
358
|
+
amount: 1073.91,
|
|
359
|
+
status: "success",
|
|
360
|
+
email: "booneellis@hydrocom.com",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
id: "6571688d6fe0fa01f2d75bdf",
|
|
364
|
+
amount: 2239.24,
|
|
365
|
+
status: "processing",
|
|
366
|
+
email: "booneellis@hydrocom.com",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
id: "6571688de6d27c9852528f3f",
|
|
370
|
+
amount: 2447.85,
|
|
371
|
+
status: "success",
|
|
372
|
+
email: "booneellis@hydrocom.com",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
id: "6571688d40ae4820a039d25e",
|
|
376
|
+
amount: 2019.19,
|
|
377
|
+
status: "failed",
|
|
378
|
+
email: "booneellis@hydrocom.com",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
id: "6571688d5da2eb24dc22673f",
|
|
382
|
+
amount: 1115.44,
|
|
383
|
+
status: "processing",
|
|
384
|
+
email: "booneellis@hydrocom.com",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
id: "6571688d39c99eb24989b518",
|
|
388
|
+
amount: 3345.75,
|
|
389
|
+
status: "failed",
|
|
390
|
+
email: "booneellis@hydrocom.com",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
id: "6571688d6884c37efcca0e29",
|
|
394
|
+
amount: 2341.32,
|
|
395
|
+
status: "processing",
|
|
396
|
+
email: "booneellis@hydrocom.com",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
id: "6571688d1ed1c61ba1d4fc93",
|
|
400
|
+
amount: 2288.04,
|
|
401
|
+
status: "pending",
|
|
402
|
+
email: "booneellis@hydrocom.com",
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
id: "6571688d19b99bb0bcff11bd",
|
|
406
|
+
amount: 1493.28,
|
|
407
|
+
status: "pending",
|
|
408
|
+
email: "booneellis@hydrocom.com",
|
|
409
|
+
},
|
|
410
|
+
];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
preventScroll?: boolean | undefined;
|
|
5
|
+
closeOnEscape?: boolean | undefined;
|
|
6
|
+
closeOnOutsideClick?: boolean | undefined;
|
|
7
|
+
onOutsideClick?: ((event: PointerEvent) => void) | undefined;
|
|
8
|
+
portal?: string | HTMLElement | null | undefined;
|
|
9
|
+
open?: boolean | undefined;
|
|
10
|
+
onOpenChange?: import("bits-ui/dist/internal").OnChangeFn<boolean> | undefined;
|
|
11
|
+
openFocus?: import("bits-ui").FocusProp | undefined;
|
|
12
|
+
closeFocus?: import("bits-ui").FocusProp | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
state?: import("svelte/store").Writable<import("cmdk-sv").State> | undefined;
|
|
15
|
+
label?: string | undefined;
|
|
16
|
+
shouldFilter?: boolean | undefined;
|
|
17
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
18
|
+
value?: string | undefined;
|
|
19
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
20
|
+
loop?: boolean | undefined;
|
|
21
|
+
ids?: Partial<import("cmdk-sv").CommandIds> | undefined;
|
|
22
|
+
} & import("cmdk-sv/dist/internal").HTMLDivAttributes & {
|
|
23
|
+
onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
24
|
+
asChild?: boolean | undefined;
|
|
25
|
+
};
|
|
26
|
+
events: {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
};
|
|
29
|
+
slots: {
|
|
30
|
+
default: {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type CommandDialogProps = typeof __propDef.props;
|
|
34
|
+
export type CommandDialogEvents = typeof __propDef.events;
|
|
35
|
+
export type CommandDialogSlots = typeof __propDef.slots;
|
|
36
|
+
export default class CommandDialog extends SvelteComponent<CommandDialogProps, CommandDialogEvents, CommandDialogSlots> {
|
|
37
|
+
}
|
|
38
|
+
export {};
|