@humandialog/forms.svelte 0.5.8 → 0.5.10
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/README.md +0 -0
- package/components/Fab.svelte +165 -98
- package/components/Fab.svelte.d.ts +14 -14
- package/components/Floating_container.svelte.d.ts +21 -21
- package/components/Grid.menu.svelte.d.ts +25 -25
- package/components/button.svelte.d.ts +24 -24
- package/components/checkbox.svelte.d.ts +26 -26
- package/components/combo/combo.d.ts +17 -17
- package/components/combo/combo.item.svelte.d.ts +19 -19
- package/components/combo/combo.js +17 -17
- package/components/combo/combo.source.svelte.d.ts +22 -22
- package/components/combo/combo.svelte.d.ts +42 -42
- package/components/contextmenu.svelte +31 -9
- package/components/contextmenu.svelte.d.ts +26 -26
- package/components/date.svelte.d.ts +31 -31
- package/components/delayed.spinner.svelte.d.ts +19 -19
- package/components/document/internal/Document_command.d.ts +9 -9
- package/components/document/internal/Document_command.js +9 -9
- package/components/document/internal/Selection_helper.d.ts +7 -7
- package/components/document/internal/Selection_helper.js +133 -133
- package/components/document/internal/Selection_range.d.ts +26 -26
- package/components/document/internal/Selection_range.js +58 -58
- package/components/document/internal/palette.row.svelte.d.ts +36 -36
- package/components/document/internal/palette.svelte.d.ts +67 -67
- package/components/document/rich.edit.svelte +4 -4
- package/components/document/rich.edit.svelte.d.ts +32 -32
- package/components/edit.field.svelte +9 -4
- package/components/edit.field.svelte.d.ts +31 -28
- package/components/file.loader.svelte.d.ts +25 -25
- package/components/icon.svelte.d.ts +62 -62
- package/components/input.text.svelte.d.ts +29 -29
- package/components/inputbox.ltop.svelte.d.ts +52 -52
- package/components/kanban/Kanban.d.ts +43 -43
- package/components/kanban/Kanban.js +79 -79
- package/components/kanban/internal/kanban.card.svelte +106 -106
- package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
- package/components/kanban/internal/kanban.column.svelte +84 -69
- package/components/kanban/internal/kanban.column.svelte.d.ts +51 -51
- package/components/kanban/internal/kanban.inserter.svelte +14 -14
- package/components/kanban/internal/kanban.inserter.svelte.d.ts +18 -18
- package/components/kanban/internal/kanban.move.menu.svelte +135 -135
- package/components/kanban/internal/kanban.move.menu.svelte.d.ts +22 -22
- package/components/kanban/internal/kanban.props.svelte +2 -1
- package/components/kanban/internal/kanban.props.svelte.d.ts +19 -19
- package/components/kanban/kanban.callbacks.svelte +1 -1
- package/components/kanban/kanban.callbacks.svelte.d.ts +18 -18
- package/components/kanban/kanban.column.svelte +2 -2
- package/components/kanban/kanban.column.svelte.d.ts +21 -21
- package/components/kanban/kanban.combo.svelte +3 -3
- package/components/kanban/kanban.combo.svelte.d.ts +24 -24
- package/components/kanban/kanban.date.svelte +1 -1
- package/components/kanban/kanban.date.svelte.d.ts +21 -21
- package/components/kanban/kanban.source.svelte.d.ts +23 -23
- package/components/kanban/kanban.static.svelte.d.ts +20 -20
- package/components/kanban/kanban.summary.svelte.d.ts +18 -18
- package/components/kanban/kanban.svelte +86 -85
- package/components/kanban/kanban.svelte.d.ts +65 -65
- package/components/kanban/kanban.tags.svelte +4 -2
- package/components/kanban/kanban.tags.svelte.d.ts +24 -23
- package/components/kanban/kanban.title.svelte +2 -2
- package/components/kanban/kanban.title.svelte.d.ts +18 -18
- package/components/list/List.d.ts +45 -44
- package/components/list/List.js +53 -52
- package/components/list/internal/list.element.props.svelte +65 -65
- package/components/list/internal/list.element.props.svelte.d.ts +21 -21
- package/components/list/internal/list.element.summary.svelte +46 -46
- package/components/list/internal/list.element.summary.svelte.d.ts +24 -24
- package/components/list/internal/list.element.svelte.d.ts +31 -31
- package/components/list/internal/list.inserter.svelte.d.ts +19 -19
- package/components/list/list.combo.svelte.d.ts +21 -21
- package/components/list/list.date.svelte.d.ts +18 -18
- package/components/list/list.inserter.svelte.d.ts +17 -17
- package/components/list/list.static.svelte.d.ts +17 -17
- package/components/list/list.summary.svelte.d.ts +19 -19
- package/components/list/list.svelte.d.ts +59 -59
- package/components/list/list.title.svelte.d.ts +22 -22
- package/components/menu.d.ts +5 -4
- package/components/menu.js +57 -56
- package/components/radio.svelte.d.ts +26 -26
- package/components/sidebar/sidebar.brand.svelte.d.ts +31 -31
- package/components/sidebar/sidebar.group.svelte.d.ts +33 -33
- package/components/sidebar/sidebar.item.svelte +56 -6
- package/components/sidebar/sidebar.item.svelte.d.ts +29 -28
- package/components/sidebar/sidebar.list.svelte +36 -15
- package/components/sidebar/sidebar.list.svelte.d.ts +35 -33
- package/components/sidebar/sidebar.svelte.d.ts +27 -27
- package/components/simple.table.svelte.d.ts +41 -41
- package/components/table/_template.table.svelte.d.ts +57 -57
- package/components/table/column.svelte.d.ts +19 -19
- package/components/table/item.svelte.d.ts +17 -17
- package/components/table/table.d.ts +11 -11
- package/components/table/table.js +11 -11
- package/components/table/table.svelte.d.ts +75 -75
- package/components/tag.colors.svelte +92 -0
- package/components/tag.colors.svelte.d.ts +17 -0
- package/components/tag.svelte +48 -18
- package/components/tag.svelte.d.ts +20 -19
- package/components/tags.svelte +27 -4
- package/components/tags.svelte.d.ts +32 -31
- package/components/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/desk.svelte +1 -1
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte +20 -13
- package/horizontal.toolbar.svelte.d.ts +25 -25
- package/index.d.ts +59 -59
- package/index.js +65 -65
- package/internal/configurable.content.svelte +8 -0
- package/internal/configurable.content.svelte.d.ts +29 -27
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte +5 -2
- package/modal.svelte.d.ts +37 -35
- package/operations.svelte +36 -16
- package/operations.svelte.d.ts +16 -16
- package/package.json +9 -8
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte +18 -5
- package/page.svelte.d.ts +47 -45
- package/stores.d.ts +39 -39
- package/stores.js +0 -0
- package/tenant.members.svelte.d.ts +33 -33
- package/tile.svelte.d.ts +33 -33
- package/tiles.row.svelte.d.ts +31 -31
- package/tiles.vertical.row.svelte.d.ts +29 -29
- package/updates.d.ts +4 -4
- package/updates.js +0 -0
- package/utils.d.ts +35 -35
- package/utils.js +0 -0
- package/vertical.toolbar.svelte.d.ts +27 -27
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
<script>import
|
|
1
|
+
<script>import { getContext } from "svelte";
|
|
2
|
+
import Icon from "../icon.svelte";
|
|
2
3
|
import { contextItemsStore, auto_hide_sidebar, contextToolbarOperations } from "../../stores";
|
|
3
|
-
import FaBars from "svelte-icons/fa
|
|
4
|
+
import { FaBars, FaEllipsisH } from "svelte-icons/fa";
|
|
4
5
|
import {
|
|
5
6
|
selectable as _selectable,
|
|
6
7
|
isSelected,
|
|
7
8
|
editable as _editable,
|
|
8
|
-
handleSelect
|
|
9
|
+
handleSelect,
|
|
10
|
+
activateItem,
|
|
11
|
+
getActive
|
|
9
12
|
} from "../../utils";
|
|
10
13
|
import { showMenu } from "../menu";
|
|
11
14
|
export let href;
|
|
@@ -14,13 +17,30 @@ export let active = false;
|
|
|
14
17
|
export let selectable = void 0;
|
|
15
18
|
export let editable = void 0;
|
|
16
19
|
export let operations = void 0;
|
|
20
|
+
export let item = void 0;
|
|
21
|
+
let isOnPage = getContext("rIs-page-component");
|
|
17
22
|
$:
|
|
18
23
|
context_data = $contextItemsStore;
|
|
24
|
+
$:
|
|
25
|
+
isRowActive = calculateIsRowActive($contextItemsStore);
|
|
19
26
|
let user_class = $$props.class ?? "";
|
|
20
27
|
let root;
|
|
28
|
+
function calculateIsRowActive(...args) {
|
|
29
|
+
if (!isOnPage)
|
|
30
|
+
return active;
|
|
31
|
+
if (!item)
|
|
32
|
+
return active;
|
|
33
|
+
const activeItem = getActive("props");
|
|
34
|
+
if (activeItem == item)
|
|
35
|
+
return true;
|
|
36
|
+
else
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
21
39
|
function selectable_if_needed(node, selectable2) {
|
|
22
40
|
if (selectable2)
|
|
23
41
|
_selectable(node, selectable2);
|
|
42
|
+
else if (item)
|
|
43
|
+
_selectable(node, item);
|
|
24
44
|
}
|
|
25
45
|
function selected(itm, context_data2) {
|
|
26
46
|
if (isSelected(itm))
|
|
@@ -36,7 +56,15 @@ function on_link_clicked(e) {
|
|
|
36
56
|
auto_hide_sidebar();
|
|
37
57
|
if (selectable)
|
|
38
58
|
handleSelect(e);
|
|
39
|
-
|
|
59
|
+
else if (item)
|
|
60
|
+
handleSelect(e);
|
|
61
|
+
if (isOnPage) {
|
|
62
|
+
if (!isRowActive) {
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
} else
|
|
65
|
+
e.stopPropagation();
|
|
66
|
+
} else
|
|
67
|
+
e.stopPropagation();
|
|
40
68
|
}
|
|
41
69
|
function on_contextmenu(e) {
|
|
42
70
|
if (!operations)
|
|
@@ -50,6 +78,8 @@ function on_contextmenu(e) {
|
|
|
50
78
|
e.preventDefault();
|
|
51
79
|
}
|
|
52
80
|
function can_show_context_menu(itm, context_data2) {
|
|
81
|
+
if (isOnPage)
|
|
82
|
+
return false;
|
|
53
83
|
if (!selected(itm, context_data2))
|
|
54
84
|
return false;
|
|
55
85
|
if (!operations)
|
|
@@ -70,12 +100,30 @@ function on_show_menu(e) {
|
|
|
70
100
|
return;
|
|
71
101
|
showMenu(rect, operations_list);
|
|
72
102
|
}
|
|
103
|
+
function activateRow(e) {
|
|
104
|
+
if (!item)
|
|
105
|
+
return;
|
|
106
|
+
if (!isOnPage)
|
|
107
|
+
return;
|
|
108
|
+
let operationsContainer = [];
|
|
109
|
+
if (operations) {
|
|
110
|
+
let operationsList = operations(root);
|
|
111
|
+
operationsContainer.push({
|
|
112
|
+
icon: FaEllipsisH,
|
|
113
|
+
menu: operationsList
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
activateItem("props", item, operationsContainer);
|
|
117
|
+
if (e)
|
|
118
|
+
e.stopPropagation();
|
|
119
|
+
}
|
|
73
120
|
</script>
|
|
74
121
|
|
|
75
122
|
<li bind:this={root}>
|
|
76
123
|
<!--svelte-ignore a11y-click-events-have-key-events -->
|
|
77
124
|
<div
|
|
78
125
|
on:click
|
|
126
|
+
on:click={activateRow}
|
|
79
127
|
on:contextmenu={on_contextmenu}
|
|
80
128
|
on:keydown
|
|
81
129
|
on:keyup
|
|
@@ -84,8 +132,8 @@ function on_show_menu(e) {
|
|
|
84
132
|
text-stone-900 sm:hover:bg-stone-100
|
|
85
133
|
dark:text-white sm:dark:hover:bg-stone-700 {user_class}
|
|
86
134
|
flex flex-row justify-between"
|
|
87
|
-
class:bg-stone-200={
|
|
88
|
-
class:dark:bg-stone-700={
|
|
135
|
+
class:bg-stone-200={isRowActive}
|
|
136
|
+
class:dark:bg-stone-700={isRowActive}
|
|
89
137
|
class:selected={selected(selectable, context_data)}>
|
|
90
138
|
<a href={href}
|
|
91
139
|
on:click={on_link_clicked}
|
|
@@ -99,6 +147,7 @@ function on_show_menu(e) {
|
|
|
99
147
|
</span>
|
|
100
148
|
</a>
|
|
101
149
|
|
|
150
|
+
{#if !isOnPage}
|
|
102
151
|
<section class="flex-0 w-20 sm:w-12 h-10 flex-0 flex flex-row"
|
|
103
152
|
use:selectable_if_needed={selectable}>
|
|
104
153
|
{#if can_show_context_menu(selectable, context_data)}
|
|
@@ -107,6 +156,7 @@ function on_show_menu(e) {
|
|
|
107
156
|
</button>
|
|
108
157
|
{/if}
|
|
109
158
|
</section>
|
|
159
|
+
{/if}
|
|
110
160
|
</div>
|
|
111
161
|
</li>
|
|
112
162
|
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
href: string;
|
|
6
|
-
icon?: any | undefined;
|
|
7
|
-
active?: boolean | undefined;
|
|
8
|
-
selectable?: any | undefined;
|
|
9
|
-
editable?: any | undefined;
|
|
10
|
-
operations?: any | undefined;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type
|
|
25
|
-
export type
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
href: string;
|
|
6
|
+
icon?: any | undefined;
|
|
7
|
+
active?: boolean | undefined;
|
|
8
|
+
selectable?: any | undefined;
|
|
9
|
+
editable?: any | undefined;
|
|
10
|
+
operations?: any | undefined;
|
|
11
|
+
item?: object | undefined;
|
|
12
|
+
};
|
|
13
|
+
events: {
|
|
14
|
+
click: MouseEvent;
|
|
15
|
+
keydown: KeyboardEvent;
|
|
16
|
+
keyup: KeyboardEvent;
|
|
17
|
+
} & {
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
};
|
|
20
|
+
slots: {
|
|
21
|
+
default: {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type SidebarProps = typeof __propDef.props;
|
|
25
|
+
export type SidebarEvents = typeof __propDef.events;
|
|
26
|
+
export type SidebarSlots = typeof __propDef.slots;
|
|
27
|
+
export default class Sidebar extends SvelteComponentTyped<SidebarProps, SidebarEvents, SidebarSlots> {
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -3,12 +3,14 @@ import Edit from "../edit.field.svelte";
|
|
|
3
3
|
import { FaPlus } from "svelte-icons/fa";
|
|
4
4
|
import { getPrev, getNext, swapElements, getLast } from "../../utils";
|
|
5
5
|
import { informModification, pushChanges } from "../../updates";
|
|
6
|
+
import { tick } from "svelte";
|
|
6
7
|
export let objects;
|
|
7
8
|
export let orderAttrib = void 0;
|
|
8
9
|
export let inserter = void 0;
|
|
9
10
|
export let inserterPlaceholder = "New";
|
|
10
11
|
export const ORDER_STEP = 64;
|
|
11
12
|
export const MIN_ORDER = 0;
|
|
13
|
+
let temporaryInserter = false;
|
|
12
14
|
export function reload(_objects) {
|
|
13
15
|
objects = _objects;
|
|
14
16
|
}
|
|
@@ -40,6 +42,13 @@ export function moveDown(element) {
|
|
|
40
42
|
pushChanges();
|
|
41
43
|
}
|
|
42
44
|
}
|
|
45
|
+
let inserterElement;
|
|
46
|
+
export async function add(onAddHandler) {
|
|
47
|
+
temporaryInserter = true;
|
|
48
|
+
inserter = onAddHandler;
|
|
49
|
+
await tick();
|
|
50
|
+
inserterElement?.run();
|
|
51
|
+
}
|
|
43
52
|
function onNewElement(text) {
|
|
44
53
|
if (orderAttrib) {
|
|
45
54
|
let newElementOrder;
|
|
@@ -51,20 +60,32 @@ function onNewElement(text) {
|
|
|
51
60
|
inserter(text, newElementOrder);
|
|
52
61
|
} else
|
|
53
62
|
inserter(text);
|
|
63
|
+
if (temporaryInserter) {
|
|
64
|
+
temporaryInserter = false;
|
|
65
|
+
inserter = void 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function onBlurInserter() {
|
|
69
|
+
if (temporaryInserter) {
|
|
70
|
+
temporaryInserter = false;
|
|
71
|
+
inserter = void 0;
|
|
72
|
+
}
|
|
54
73
|
}
|
|
55
|
-
</script>
|
|
56
|
-
|
|
57
|
-
{#each objects as item (item.Id)}
|
|
58
|
-
{#key item} <!-- Forces to fully rerender when item changed to fire use: callbacks again -->
|
|
59
|
-
<slot {item}/>
|
|
60
|
-
{/key}
|
|
61
|
-
{/each }
|
|
62
|
-
|
|
63
|
-
{#if inserter}
|
|
64
|
-
<Edit class="p-3 sm:p-2 text-lg sm:text-base font-normal text-stone-500 rounded-lg dark:text-stone-400 hover:bg-stone-100 dark:hover:bg-stone-700"
|
|
65
|
-
onEnter={onNewElement}
|
|
66
|
-
placeholder={inserterPlaceholder}
|
|
67
|
-
inserter={true}
|
|
68
|
-
|
|
69
|
-
|
|
74
|
+
</script>
|
|
75
|
+
|
|
76
|
+
{#each objects as item (item.Id)}
|
|
77
|
+
{#key item} <!-- Forces to fully rerender when item changed to fire use: callbacks again -->
|
|
78
|
+
<slot {item}/>
|
|
79
|
+
{/key}
|
|
80
|
+
{/each }
|
|
81
|
+
|
|
82
|
+
{#if inserter}
|
|
83
|
+
<Edit class="p-3 sm:p-2 text-lg sm:text-base font-normal text-stone-500 rounded-lg dark:text-stone-400 hover:bg-stone-100 dark:hover:bg-stone-700"
|
|
84
|
+
onEnter={onNewElement}
|
|
85
|
+
placeholder={inserterPlaceholder}
|
|
86
|
+
inserter={true}
|
|
87
|
+
onBlur={onBlurInserter}
|
|
88
|
+
bind:this={inserterElement}>
|
|
89
|
+
<Icon size={5} component={FaPlus} class="mr-3"/>
|
|
90
|
+
</Edit>
|
|
70
91
|
{/if}
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
objects: object[];
|
|
5
|
-
orderAttrib?: string | undefined;
|
|
6
|
-
inserter?: Function | undefined;
|
|
7
|
-
inserterPlaceholder?: string | undefined;
|
|
8
|
-
ORDER_STEP?: 64 | undefined;
|
|
9
|
-
MIN_ORDER?: 0 | undefined;
|
|
10
|
-
reload?: ((_objects: object[]) => void) | undefined;
|
|
11
|
-
moveUp?: ((element: object) => void) | undefined;
|
|
12
|
-
moveDown?: ((element: object) => void) | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type
|
|
25
|
-
export type
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
get
|
|
29
|
-
get
|
|
30
|
-
get
|
|
31
|
-
get
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
objects: object[];
|
|
5
|
+
orderAttrib?: string | undefined;
|
|
6
|
+
inserter?: Function | undefined;
|
|
7
|
+
inserterPlaceholder?: string | undefined;
|
|
8
|
+
ORDER_STEP?: 64 | undefined;
|
|
9
|
+
MIN_ORDER?: 0 | undefined;
|
|
10
|
+
reload?: ((_objects: object[]) => void) | undefined;
|
|
11
|
+
moveUp?: ((element: object) => void) | undefined;
|
|
12
|
+
moveDown?: ((element: object) => void) | undefined;
|
|
13
|
+
add?: ((onAddHandler: Function) => Promise<void>) | undefined;
|
|
14
|
+
};
|
|
15
|
+
events: {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
};
|
|
18
|
+
slots: {
|
|
19
|
+
default: {
|
|
20
|
+
item: object;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type SidebarProps = typeof __propDef.props;
|
|
25
|
+
export type SidebarEvents = typeof __propDef.events;
|
|
26
|
+
export type SidebarSlots = typeof __propDef.slots;
|
|
27
|
+
export default class Sidebar extends SvelteComponentTyped<SidebarProps, SidebarEvents, SidebarSlots> {
|
|
28
|
+
get ORDER_STEP(): 64;
|
|
29
|
+
get MIN_ORDER(): 0;
|
|
30
|
+
get reload(): (_objects: object[]) => void;
|
|
31
|
+
get moveUp(): (element: object) => void;
|
|
32
|
+
get moveDown(): (element: object) => void;
|
|
33
|
+
get add(): (onAddHandler: Function) => Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} SidebarProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} SidebarEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} SidebarSlots */
|
|
4
|
-
export default class Sidebar extends SvelteComponentTyped<{
|
|
5
|
-
[x: string]: never;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {
|
|
9
|
-
default: {};
|
|
10
|
-
}> {
|
|
11
|
-
}
|
|
12
|
-
export type SidebarProps = typeof __propDef.props;
|
|
13
|
-
export type SidebarEvents = typeof __propDef.events;
|
|
14
|
-
export type SidebarSlots = typeof __propDef.slots;
|
|
15
|
-
import { SvelteComponentTyped } from "svelte";
|
|
16
|
-
declare const __propDef: {
|
|
17
|
-
props: {
|
|
18
|
-
[x: string]: never;
|
|
19
|
-
};
|
|
20
|
-
events: {
|
|
21
|
-
[evt: string]: CustomEvent<any>;
|
|
22
|
-
};
|
|
23
|
-
slots: {
|
|
24
|
-
default: {};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} SidebarProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} SidebarEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} SidebarSlots */
|
|
4
|
+
export default class Sidebar extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
12
|
+
export type SidebarProps = typeof __propDef.props;
|
|
13
|
+
export type SidebarEvents = typeof __propDef.events;
|
|
14
|
+
export type SidebarSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} SimpleProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} SimpleEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} SimpleSlots */
|
|
4
|
-
export default class Simple extends SvelteComponentTyped<{
|
|
5
|
-
focus?: boolean | undefined;
|
|
6
|
-
select?: string | undefined;
|
|
7
|
-
context?: string | undefined;
|
|
8
|
-
self?: null | undefined;
|
|
9
|
-
nav?: boolean | undefined;
|
|
10
|
-
collection?: string | undefined;
|
|
11
|
-
objects?: null | undefined;
|
|
12
|
-
headers?: any[] | undefined;
|
|
13
|
-
fields?: any[] | undefined;
|
|
14
|
-
cinfo?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
}, {}> {
|
|
18
|
-
}
|
|
19
|
-
export type SimpleProps = typeof __propDef.props;
|
|
20
|
-
export type SimpleEvents = typeof __propDef.events;
|
|
21
|
-
export type SimpleSlots = typeof __propDef.slots;
|
|
22
|
-
import { SvelteComponentTyped } from "svelte";
|
|
23
|
-
declare const __propDef: {
|
|
24
|
-
props: {
|
|
25
|
-
focus?: boolean | undefined;
|
|
26
|
-
select?: string | undefined;
|
|
27
|
-
context?: string | undefined;
|
|
28
|
-
self?: null | undefined;
|
|
29
|
-
nav?: boolean | undefined;
|
|
30
|
-
collection?: string | undefined;
|
|
31
|
-
objects?: null | undefined;
|
|
32
|
-
headers?: any[] | undefined;
|
|
33
|
-
fields?: any[] | undefined;
|
|
34
|
-
cinfo?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
events: {
|
|
37
|
-
[evt: string]: CustomEvent<any>;
|
|
38
|
-
};
|
|
39
|
-
slots: {};
|
|
40
|
-
};
|
|
41
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} SimpleProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} SimpleEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} SimpleSlots */
|
|
4
|
+
export default class Simple extends SvelteComponentTyped<{
|
|
5
|
+
focus?: boolean | undefined;
|
|
6
|
+
select?: string | undefined;
|
|
7
|
+
context?: string | undefined;
|
|
8
|
+
self?: null | undefined;
|
|
9
|
+
nav?: boolean | undefined;
|
|
10
|
+
collection?: string | undefined;
|
|
11
|
+
objects?: null | undefined;
|
|
12
|
+
headers?: any[] | undefined;
|
|
13
|
+
fields?: any[] | undefined;
|
|
14
|
+
cinfo?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}> {
|
|
18
|
+
}
|
|
19
|
+
export type SimpleProps = typeof __propDef.props;
|
|
20
|
+
export type SimpleEvents = typeof __propDef.events;
|
|
21
|
+
export type SimpleSlots = typeof __propDef.slots;
|
|
22
|
+
import { SvelteComponentTyped } from "svelte";
|
|
23
|
+
declare const __propDef: {
|
|
24
|
+
props: {
|
|
25
|
+
focus?: boolean | undefined;
|
|
26
|
+
select?: string | undefined;
|
|
27
|
+
context?: string | undefined;
|
|
28
|
+
self?: null | undefined;
|
|
29
|
+
nav?: boolean | undefined;
|
|
30
|
+
collection?: string | undefined;
|
|
31
|
+
objects?: null | undefined;
|
|
32
|
+
headers?: any[] | undefined;
|
|
33
|
+
fields?: any[] | undefined;
|
|
34
|
+
cinfo?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
events: {
|
|
37
|
+
[evt: string]: CustomEvent<any>;
|
|
38
|
+
};
|
|
39
|
+
slots: {};
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} TemplateProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} TemplateEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} TemplateSlots */
|
|
4
|
-
export default class Template extends SvelteComponentTyped<{
|
|
5
|
-
focus?: boolean | undefined;
|
|
6
|
-
select?: string | undefined;
|
|
7
|
-
context?: string | undefined;
|
|
8
|
-
self?: null | undefined;
|
|
9
|
-
nav?: boolean | undefined;
|
|
10
|
-
collection?: string | undefined;
|
|
11
|
-
objects?: null | undefined;
|
|
12
|
-
headers?: any[] | undefined;
|
|
13
|
-
fields?: any[] | undefined;
|
|
14
|
-
cinfo?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
}, {
|
|
18
|
-
row: {
|
|
19
|
-
item: any;
|
|
20
|
-
};
|
|
21
|
-
cell: {
|
|
22
|
-
field: any;
|
|
23
|
-
value: any;
|
|
24
|
-
};
|
|
25
|
-
}> {
|
|
26
|
-
}
|
|
27
|
-
export type TemplateProps = typeof __propDef.props;
|
|
28
|
-
export type TemplateEvents = typeof __propDef.events;
|
|
29
|
-
export type TemplateSlots = typeof __propDef.slots;
|
|
30
|
-
import { SvelteComponentTyped } from "svelte";
|
|
31
|
-
declare const __propDef: {
|
|
32
|
-
props: {
|
|
33
|
-
focus?: boolean | undefined;
|
|
34
|
-
select?: string | undefined;
|
|
35
|
-
context?: string | undefined;
|
|
36
|
-
self?: null | undefined;
|
|
37
|
-
nav?: boolean | undefined;
|
|
38
|
-
collection?: string | undefined;
|
|
39
|
-
objects?: null | undefined;
|
|
40
|
-
headers?: any[] | undefined;
|
|
41
|
-
fields?: any[] | undefined;
|
|
42
|
-
cinfo?: string | undefined;
|
|
43
|
-
};
|
|
44
|
-
events: {
|
|
45
|
-
[evt: string]: CustomEvent<any>;
|
|
46
|
-
};
|
|
47
|
-
slots: {
|
|
48
|
-
row: {
|
|
49
|
-
item: any;
|
|
50
|
-
};
|
|
51
|
-
cell: {
|
|
52
|
-
field: any;
|
|
53
|
-
value: any;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} TemplateProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TemplateEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TemplateSlots */
|
|
4
|
+
export default class Template extends SvelteComponentTyped<{
|
|
5
|
+
focus?: boolean | undefined;
|
|
6
|
+
select?: string | undefined;
|
|
7
|
+
context?: string | undefined;
|
|
8
|
+
self?: null | undefined;
|
|
9
|
+
nav?: boolean | undefined;
|
|
10
|
+
collection?: string | undefined;
|
|
11
|
+
objects?: null | undefined;
|
|
12
|
+
headers?: any[] | undefined;
|
|
13
|
+
fields?: any[] | undefined;
|
|
14
|
+
cinfo?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {
|
|
18
|
+
row: {
|
|
19
|
+
item: any;
|
|
20
|
+
};
|
|
21
|
+
cell: {
|
|
22
|
+
field: any;
|
|
23
|
+
value: any;
|
|
24
|
+
};
|
|
25
|
+
}> {
|
|
26
|
+
}
|
|
27
|
+
export type TemplateProps = typeof __propDef.props;
|
|
28
|
+
export type TemplateEvents = typeof __propDef.events;
|
|
29
|
+
export type TemplateSlots = typeof __propDef.slots;
|
|
30
|
+
import { SvelteComponentTyped } from "svelte";
|
|
31
|
+
declare const __propDef: {
|
|
32
|
+
props: {
|
|
33
|
+
focus?: boolean | undefined;
|
|
34
|
+
select?: string | undefined;
|
|
35
|
+
context?: string | undefined;
|
|
36
|
+
self?: null | undefined;
|
|
37
|
+
nav?: boolean | undefined;
|
|
38
|
+
collection?: string | undefined;
|
|
39
|
+
objects?: null | undefined;
|
|
40
|
+
headers?: any[] | undefined;
|
|
41
|
+
fields?: any[] | undefined;
|
|
42
|
+
cinfo?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
events: {
|
|
45
|
+
[evt: string]: CustomEvent<any>;
|
|
46
|
+
};
|
|
47
|
+
slots: {
|
|
48
|
+
row: {
|
|
49
|
+
item: any;
|
|
50
|
+
};
|
|
51
|
+
cell: {
|
|
52
|
+
field: any;
|
|
53
|
+
value: any;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
header?: string | undefined;
|
|
6
|
-
field?: string | undefined;
|
|
7
|
-
size?: number | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type ColumnProps = typeof __propDef.props;
|
|
15
|
-
export type ColumnEvents = typeof __propDef.events;
|
|
16
|
-
export type ColumnSlots = typeof __propDef.slots;
|
|
17
|
-
export default class Column extends SvelteComponentTyped<ColumnProps, ColumnEvents, ColumnSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
header?: string | undefined;
|
|
6
|
+
field?: string | undefined;
|
|
7
|
+
size?: number | undefined;
|
|
8
|
+
};
|
|
9
|
+
events: {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
};
|
|
12
|
+
slots: {};
|
|
13
|
+
};
|
|
14
|
+
export type ColumnProps = typeof __propDef.props;
|
|
15
|
+
export type ColumnEvents = typeof __propDef.events;
|
|
16
|
+
export type ColumnSlots = typeof __propDef.slots;
|
|
17
|
+
export default class Column extends SvelteComponentTyped<ColumnProps, ColumnEvents, ColumnSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
e: any;
|
|
5
|
-
idx: number;
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type ItemProps = typeof __propDef.props;
|
|
13
|
-
export type ItemEvents = typeof __propDef.events;
|
|
14
|
-
export type ItemSlots = typeof __propDef.slots;
|
|
15
|
-
export default class Item extends SvelteComponentTyped<ItemProps, ItemEvents, ItemSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
e: any;
|
|
5
|
+
idx: number;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {};
|
|
11
|
+
};
|
|
12
|
+
export type ItemProps = typeof __propDef.props;
|
|
13
|
+
export type ItemEvents = typeof __propDef.events;
|
|
14
|
+
export type ItemSlots = typeof __propDef.slots;
|
|
15
|
+
export default class Item extends SvelteComponentTyped<ItemProps, ItemEvents, ItemSlots> {
|
|
16
|
+
}
|
|
17
|
+
export {};
|