@humandialog/forms.svelte 1.3.9 → 1.3.11
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.d.ts +17 -17
- package/components/Floating_container.svelte.d.ts +21 -21
- package/components/Grid.menu.svelte.d.ts +25 -25
- package/components/button.svelte.d.ts +26 -26
- package/components/checkbox.svelte.d.ts +26 -26
- package/components/combo/combo.d.ts +19 -19
- package/components/combo/combo.item.svelte.d.ts +20 -20
- package/components/combo/combo.js +19 -19
- package/components/combo/combo.source.svelte.d.ts +23 -23
- package/components/combo/combo.svelte +18 -3
- package/components/combo/combo.svelte.d.ts +44 -44
- package/components/contextmenu.svelte.d.ts +26 -26
- package/components/date.svelte +13 -3
- package/components/date.svelte.d.ts +33 -33
- package/components/delayed.spinner.svelte.d.ts +19 -19
- package/components/document/editor.svelte.d.ts +35 -35
- package/components/document/internal/Document_command.d.ts +11 -11
- package/components/document/internal/Document_command.js +11 -11
- 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/findSuggestionMatch.d.ts +16 -16
- package/components/document/internal/findSuggestionMatch.js +51 -51
- package/components/document/internal/h1.icon.svelte.d.ts +23 -23
- package/components/document/internal/h2.icon.svelte.d.ts +23 -23
- package/components/document/internal/h3.icon.svelte.d.ts +23 -23
- package/components/document/internal/h4.icon.svelte.d.ts +23 -23
- package/components/document/internal/palette.row.big.svelte.d.ts +46 -46
- package/components/document/internal/palette.row.svelte.d.ts +46 -46
- package/components/document/internal/palette.svelte.d.ts +82 -82
- package/components/document/internal/suggestion.d.ts +158 -158
- package/components/document/internal/suggestion.js +194 -194
- package/components/document/rich.edit.svelte.d.ts +34 -34
- package/components/edit.field.svelte.d.ts +31 -31
- package/components/file.loader.svelte.d.ts +25 -25
- package/components/icon.ex.svelte +114 -0
- package/components/icon.ex.svelte.d.ts +62 -0
- package/components/icon.svelte.d.ts +62 -62
- package/components/input.text.svelte.d.ts +29 -29
- package/components/inputbox.ltop.svelte.d.ts +59 -59
- package/components/kanban/Kanban.d.ts +47 -47
- package/components/kanban/Kanban.js +105 -105
- package/components/kanban/internal/kanban.card.svelte +9 -10
- package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
- package/components/kanban/internal/kanban.column.svelte +1 -1
- package/components/kanban/internal/kanban.column.svelte.d.ts +53 -53
- 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 +6 -6
- 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.d.ts +21 -21
- package/components/kanban/kanban.combo.svelte.d.ts +25 -25
- 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.d.ts +65 -65
- package/components/kanban/kanban.tags.svelte.d.ts +24 -24
- package/components/kanban/kanban.title.svelte.d.ts +21 -21
- package/components/list/List.d.ts +46 -46
- package/components/list/List.js +54 -54
- package/components/list/internal/list.element.props.svelte +4 -4
- 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 +13 -27
- 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 +22 -22
- 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 -5
- package/components/menu.js +57 -57
- package/components/radio.svelte.d.ts +26 -26
- package/components/sidebar/sidebar.brand.svelte.d.ts +33 -33
- package/components/sidebar/sidebar.group.svelte.d.ts +33 -33
- package/components/sidebar/sidebar.item.svelte +4 -4
- package/components/sidebar/sidebar.item.svelte.d.ts +32 -32
- package/components/sidebar/sidebar.list.svelte.d.ts +38 -38
- 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.d.ts +17 -17
- package/components/tag.svelte +2 -2
- package/components/tag.svelte.d.ts +20 -20
- package/components/tags.svelte.d.ts +32 -32
- package/components/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/console.svelte.d.ts +23 -23
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte.d.ts +25 -25
- package/index.d.ts +63 -62
- package/index.js +69 -68
- package/internal/configurable.content.svelte.d.ts +29 -29
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte.d.ts +39 -39
- package/operations.svelte.d.ts +16 -16
- package/package.json +10 -9
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte.d.ts +47 -47
- package/stores.d.ts +44 -44
- 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 +29 -2
- package/utils.d.ts +50 -50
- package/utils.js +1 -1
- package/vertical.toolbar.svelte.d.ts +27 -27
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
export const KanbanCardTop = 1;
|
|
2
|
-
export const KanbanCardMiddle = 2;
|
|
3
|
-
export const KanbanCardBottom = 3;
|
|
4
|
-
export class rKanban_column {
|
|
5
|
-
id;
|
|
6
|
-
title = '';
|
|
7
|
-
width = '';
|
|
8
|
-
state = '';
|
|
9
|
-
finishing = false;
|
|
10
|
-
operations = undefined;
|
|
11
|
-
onTitleChanged = undefined;
|
|
12
|
-
}
|
|
13
|
-
export class rKanban_definition {
|
|
14
|
-
columns = [];
|
|
15
|
-
titleAttrib = '';
|
|
16
|
-
titleOnChange = undefined;
|
|
17
|
-
titleReadOnly = false;
|
|
18
|
-
titleHref = undefined;
|
|
19
|
-
titleHrefFunc = undefined;
|
|
20
|
-
titleHasAttachment = undefined;
|
|
21
|
-
summaryAttrib = '';
|
|
22
|
-
summaryOnChange = undefined;
|
|
23
|
-
summaryReadOnly = false;
|
|
24
|
-
properties = [];
|
|
25
|
-
self = undefined;
|
|
26
|
-
a = '';
|
|
27
|
-
objects = undefined;
|
|
28
|
-
context = '';
|
|
29
|
-
key = '';
|
|
30
|
-
typename = '';
|
|
31
|
-
stateAttrib = '';
|
|
32
|
-
orderAttrib = '';
|
|
33
|
-
onUp = undefined;
|
|
34
|
-
onDown = undefined;
|
|
35
|
-
onAdd = undefined;
|
|
36
|
-
onRemove = undefined;
|
|
37
|
-
onReplace = undefined;
|
|
38
|
-
onOpen = undefined;
|
|
39
|
-
getCardOperations = undefined;
|
|
40
|
-
items = null;
|
|
41
|
-
getItems() {
|
|
42
|
-
if (this.items == null) {
|
|
43
|
-
let item = this.self;
|
|
44
|
-
this.items = null;
|
|
45
|
-
if (this.objects)
|
|
46
|
-
this.items = this.objects;
|
|
47
|
-
else if (item && this.a)
|
|
48
|
-
this.items = item[this.a];
|
|
49
|
-
if (this.items == null)
|
|
50
|
-
this.items = [];
|
|
51
|
-
}
|
|
52
|
-
return this.items;
|
|
53
|
-
}
|
|
54
|
-
visibleColumnsNo() {
|
|
55
|
-
// has <Other> column
|
|
56
|
-
if (this.columns.find((c) => c.state < 0)) {
|
|
57
|
-
const allItems = this.getItems();
|
|
58
|
-
const isExplicitState = (e) => {
|
|
59
|
-
const elementState = e[this.stateAttrib];
|
|
60
|
-
const colsNo = this.columns.length;
|
|
61
|
-
for (let i = 0; i < colsNo; i++) {
|
|
62
|
-
const def = this.columns[i];
|
|
63
|
-
if ((def.state >= 0) && (def.state == elementState))
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
return false;
|
|
67
|
-
};
|
|
68
|
-
const unknownStateItems = allItems.filter(e => !isExplicitState(e));
|
|
69
|
-
if (unknownStateItems && (unknownStateItems.length > 0))
|
|
70
|
-
return this.columns.length;
|
|
71
|
-
else
|
|
72
|
-
return this.columns.length - 1;
|
|
73
|
-
}
|
|
74
|
-
else
|
|
75
|
-
return this.columns.length;
|
|
76
|
-
}
|
|
77
|
-
clear() {
|
|
78
|
-
this.columns = [];
|
|
79
|
-
this.titleAttrib = '';
|
|
80
|
-
this.titleOnChange = undefined;
|
|
81
|
-
this.titleReadOnly = false;
|
|
82
|
-
this.summaryAttrib = '';
|
|
83
|
-
this.summaryOnChange = undefined;
|
|
84
|
-
this.summaryReadOnly = false;
|
|
85
|
-
this.properties = [];
|
|
86
|
-
this.self = undefined;
|
|
87
|
-
this.a = '';
|
|
88
|
-
this.objects = undefined;
|
|
89
|
-
this.context = '';
|
|
90
|
-
this.key = '';
|
|
91
|
-
this.typename = '';
|
|
92
|
-
this.stateAttrib = '';
|
|
93
|
-
this.orderAttrib = '';
|
|
94
|
-
this.onUp = undefined;
|
|
95
|
-
this.onDown = undefined;
|
|
96
|
-
this.onAdd = undefined;
|
|
97
|
-
this.onRemove = undefined;
|
|
98
|
-
this.onReplace = undefined;
|
|
99
|
-
this.onOpen = undefined;
|
|
100
|
-
this.getCardOperations = undefined;
|
|
101
|
-
this.items = null;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export const KanbanColumnTop = -1;
|
|
105
|
-
export const KanbanColumnBottom = -2;
|
|
1
|
+
export const KanbanCardTop = 1;
|
|
2
|
+
export const KanbanCardMiddle = 2;
|
|
3
|
+
export const KanbanCardBottom = 3;
|
|
4
|
+
export class rKanban_column {
|
|
5
|
+
id;
|
|
6
|
+
title = '';
|
|
7
|
+
width = '';
|
|
8
|
+
state = '';
|
|
9
|
+
finishing = false;
|
|
10
|
+
operations = undefined;
|
|
11
|
+
onTitleChanged = undefined;
|
|
12
|
+
}
|
|
13
|
+
export class rKanban_definition {
|
|
14
|
+
columns = [];
|
|
15
|
+
titleAttrib = '';
|
|
16
|
+
titleOnChange = undefined;
|
|
17
|
+
titleReadOnly = false;
|
|
18
|
+
titleHref = undefined;
|
|
19
|
+
titleHrefFunc = undefined;
|
|
20
|
+
titleHasAttachment = undefined;
|
|
21
|
+
summaryAttrib = '';
|
|
22
|
+
summaryOnChange = undefined;
|
|
23
|
+
summaryReadOnly = false;
|
|
24
|
+
properties = [];
|
|
25
|
+
self = undefined;
|
|
26
|
+
a = '';
|
|
27
|
+
objects = undefined;
|
|
28
|
+
context = '';
|
|
29
|
+
key = '';
|
|
30
|
+
typename = '';
|
|
31
|
+
stateAttrib = '';
|
|
32
|
+
orderAttrib = '';
|
|
33
|
+
onUp = undefined;
|
|
34
|
+
onDown = undefined;
|
|
35
|
+
onAdd = undefined;
|
|
36
|
+
onRemove = undefined;
|
|
37
|
+
onReplace = undefined;
|
|
38
|
+
onOpen = undefined;
|
|
39
|
+
getCardOperations = undefined;
|
|
40
|
+
items = null;
|
|
41
|
+
getItems() {
|
|
42
|
+
if (this.items == null) {
|
|
43
|
+
let item = this.self;
|
|
44
|
+
this.items = null;
|
|
45
|
+
if (this.objects)
|
|
46
|
+
this.items = this.objects;
|
|
47
|
+
else if (item && this.a)
|
|
48
|
+
this.items = item[this.a];
|
|
49
|
+
if (this.items == null)
|
|
50
|
+
this.items = [];
|
|
51
|
+
}
|
|
52
|
+
return this.items;
|
|
53
|
+
}
|
|
54
|
+
visibleColumnsNo() {
|
|
55
|
+
// has <Other> column
|
|
56
|
+
if (this.columns.find((c) => c.state < 0)) {
|
|
57
|
+
const allItems = this.getItems();
|
|
58
|
+
const isExplicitState = (e) => {
|
|
59
|
+
const elementState = e[this.stateAttrib];
|
|
60
|
+
const colsNo = this.columns.length;
|
|
61
|
+
for (let i = 0; i < colsNo; i++) {
|
|
62
|
+
const def = this.columns[i];
|
|
63
|
+
if ((def.state >= 0) && (def.state == elementState))
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
return false;
|
|
67
|
+
};
|
|
68
|
+
const unknownStateItems = allItems.filter(e => !isExplicitState(e));
|
|
69
|
+
if (unknownStateItems && (unknownStateItems.length > 0))
|
|
70
|
+
return this.columns.length;
|
|
71
|
+
else
|
|
72
|
+
return this.columns.length - 1;
|
|
73
|
+
}
|
|
74
|
+
else
|
|
75
|
+
return this.columns.length;
|
|
76
|
+
}
|
|
77
|
+
clear() {
|
|
78
|
+
this.columns = [];
|
|
79
|
+
this.titleAttrib = '';
|
|
80
|
+
this.titleOnChange = undefined;
|
|
81
|
+
this.titleReadOnly = false;
|
|
82
|
+
this.summaryAttrib = '';
|
|
83
|
+
this.summaryOnChange = undefined;
|
|
84
|
+
this.summaryReadOnly = false;
|
|
85
|
+
this.properties = [];
|
|
86
|
+
this.self = undefined;
|
|
87
|
+
this.a = '';
|
|
88
|
+
this.objects = undefined;
|
|
89
|
+
this.context = '';
|
|
90
|
+
this.key = '';
|
|
91
|
+
this.typename = '';
|
|
92
|
+
this.stateAttrib = '';
|
|
93
|
+
this.orderAttrib = '';
|
|
94
|
+
this.onUp = undefined;
|
|
95
|
+
this.onDown = undefined;
|
|
96
|
+
this.onAdd = undefined;
|
|
97
|
+
this.onRemove = undefined;
|
|
98
|
+
this.onReplace = undefined;
|
|
99
|
+
this.onOpen = undefined;
|
|
100
|
+
this.getCardOperations = undefined;
|
|
101
|
+
this.items = null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export const KanbanColumnTop = -1;
|
|
105
|
+
export const KanbanColumnBottom = -2;
|
|
@@ -208,8 +208,7 @@ function showAttachementIcon() {
|
|
|
208
208
|
{@const canOpen = isLinkLike || hasOpen}
|
|
209
209
|
{@const openableClass = canOpen ? "sm:hover:cursor-pointer underline" : ""}
|
|
210
210
|
{@const showIcon = showAttachementIcon()}
|
|
211
|
-
<h3 class=" text-
|
|
212
|
-
sm:text-sm sm:font-semibold sm:min-h-[1.25rem]
|
|
211
|
+
<h3 class=" text-base font-semibold pb-1
|
|
213
212
|
whitespace-nowrap overflow-clip truncate w-full sm:flex-none
|
|
214
213
|
relative {openableClass}"
|
|
215
214
|
use:editable={{
|
|
@@ -237,8 +236,8 @@ function showAttachementIcon() {
|
|
|
237
236
|
|
|
238
237
|
|
|
239
238
|
{:else}
|
|
240
|
-
<h3 class=" text-
|
|
241
|
-
sm:text-
|
|
239
|
+
<h3 class=" text-base font-semibold pb-1
|
|
240
|
+
sm:text-base sm:font-semibold
|
|
242
241
|
whitespace-nowrap overflow-clip truncate w-full sm:flex-none
|
|
243
242
|
relative">
|
|
244
243
|
{item[definition.titleAttrib]}
|
|
@@ -258,10 +257,10 @@ function showAttachementIcon() {
|
|
|
258
257
|
{#if item[definition.summaryAttrib] || summaryPlaceholder}
|
|
259
258
|
{#key item[definition.summaryAttrib]}
|
|
260
259
|
{#if isCardActive}
|
|
261
|
-
<p class="
|
|
262
|
-
|
|
260
|
+
<p class=" text-sm sm:text-sm
|
|
261
|
+
|
|
263
262
|
text-stone-400
|
|
264
|
-
|
|
263
|
+
|
|
265
264
|
overflow-hidden"
|
|
266
265
|
use:editable={{
|
|
267
266
|
action: (text) => onSummaryChanged(text),
|
|
@@ -272,10 +271,10 @@ function showAttachementIcon() {
|
|
|
272
271
|
{item[definition.summaryAttrib]}
|
|
273
272
|
</p>
|
|
274
273
|
{:else}
|
|
275
|
-
<p class=" sm:text-
|
|
276
|
-
|
|
274
|
+
<p class=" text-sm sm:text-sm
|
|
275
|
+
|
|
277
276
|
text-stone-400
|
|
278
|
-
|
|
277
|
+
|
|
279
278
|
overflow-hidden">
|
|
280
279
|
{item[definition.summaryAttrib]}
|
|
281
280
|
</p>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
item: object;
|
|
5
|
-
activate?: ((e: any) => void) | undefined;
|
|
6
|
-
_scrollViewToCard?: (() => void) | undefined;
|
|
7
|
-
editProperty?: ((field: string) => Promise<void>) | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {
|
|
13
|
-
kanbanCardTopProps: {
|
|
14
|
-
element: object;
|
|
15
|
-
};
|
|
16
|
-
kanbanCardMiddleProps: {
|
|
17
|
-
element: object;
|
|
18
|
-
};
|
|
19
|
-
kanbanCardBottomProps: {
|
|
20
|
-
element: object;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export type KanbanProps = typeof __propDef.props;
|
|
25
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
26
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
27
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
28
|
-
get activate(): (e: any) => void;
|
|
29
|
-
get _scrollViewToCard(): () => void;
|
|
30
|
-
get editProperty(): (field: string) => Promise<void>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
item: object;
|
|
5
|
+
activate?: ((e: any) => void) | undefined;
|
|
6
|
+
_scrollViewToCard?: (() => void) | undefined;
|
|
7
|
+
editProperty?: ((field: string) => Promise<void>) | undefined;
|
|
8
|
+
};
|
|
9
|
+
events: {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
};
|
|
12
|
+
slots: {
|
|
13
|
+
kanbanCardTopProps: {
|
|
14
|
+
element: object;
|
|
15
|
+
};
|
|
16
|
+
kanbanCardMiddleProps: {
|
|
17
|
+
element: object;
|
|
18
|
+
};
|
|
19
|
+
kanbanCardBottomProps: {
|
|
20
|
+
element: object;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type KanbanProps = typeof __propDef.props;
|
|
25
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
26
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
27
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
28
|
+
get activate(): (e: any) => void;
|
|
29
|
+
get _scrollViewToCard(): () => void;
|
|
30
|
+
get editProperty(): (field: string) => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -241,7 +241,7 @@ async function dblclick(e) {
|
|
|
241
241
|
on:click={activate}
|
|
242
242
|
on:dblclick={dblclick}>
|
|
243
243
|
<header class:cursor-pointer={!is_row_active && columnDef.operations} bind:this={headerElement}>
|
|
244
|
-
<h2 class="mt-2 mb-2 text-
|
|
244
|
+
<h2 class="mt-2 mb-2 text-base sm:text-base uppercase w-full min-h-[1rem] text-center whitespace-nowrap relative">
|
|
245
245
|
<span
|
|
246
246
|
use:editable={{
|
|
247
247
|
action: (text) => onTitleChanged(text),
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
currentColumnIdx: number;
|
|
5
|
-
onInsert: Function;
|
|
6
|
-
getHeight?: (() => number) | undefined;
|
|
7
|
-
editName?: ((onFinish?: Function | undefined) => void) | undefined;
|
|
8
|
-
SET_LEFT?: 0 | undefined;
|
|
9
|
-
SET_RIGHT?: 1 | undefined;
|
|
10
|
-
CLEAR_LEFT?: 2 | undefined;
|
|
11
|
-
CLEAR_RIGHT?: 3 | undefined;
|
|
12
|
-
setBorder?: ((what_to_do: number) => void) | undefined;
|
|
13
|
-
reload?: (() => void) | undefined;
|
|
14
|
-
isVisible?: (() => boolean) | undefined;
|
|
15
|
-
findCardByItem?: ((item: object) => any) | undefined;
|
|
16
|
-
activateByItemId?: ((id: number) => void) | undefined;
|
|
17
|
-
add?: ((after?: object | number) => Promise<void>) | undefined;
|
|
18
|
-
activate?: ((e: any) => void) | undefined;
|
|
19
|
-
};
|
|
20
|
-
events: {
|
|
21
|
-
[evt: string]: CustomEvent<any>;
|
|
22
|
-
};
|
|
23
|
-
slots: {
|
|
24
|
-
kanbanCardTopProps: {
|
|
25
|
-
element: object;
|
|
26
|
-
};
|
|
27
|
-
kanbanCardMiddleProps: {
|
|
28
|
-
element: object;
|
|
29
|
-
};
|
|
30
|
-
kanbanCardBottomProps: {
|
|
31
|
-
element: object;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export type KanbanProps = typeof __propDef.props;
|
|
36
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
37
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
38
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
39
|
-
get getHeight(): () => number;
|
|
40
|
-
get editName(): (onFinish?: Function | undefined) => void;
|
|
41
|
-
get SET_LEFT(): 0;
|
|
42
|
-
get SET_RIGHT(): 1;
|
|
43
|
-
get CLEAR_LEFT(): 2;
|
|
44
|
-
get CLEAR_RIGHT(): 3;
|
|
45
|
-
get setBorder(): (what_to_do: number) => void;
|
|
46
|
-
get reload(): () => void;
|
|
47
|
-
get isVisible(): () => boolean;
|
|
48
|
-
get findCardByItem(): (item: object) => any;
|
|
49
|
-
get activateByItemId(): (id: number) => void;
|
|
50
|
-
get add(): (after?: number | object) => Promise<void>;
|
|
51
|
-
get activate(): (e: any) => void;
|
|
52
|
-
}
|
|
53
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
currentColumnIdx: number;
|
|
5
|
+
onInsert: Function;
|
|
6
|
+
getHeight?: (() => number) | undefined;
|
|
7
|
+
editName?: ((onFinish?: Function | undefined) => void) | undefined;
|
|
8
|
+
SET_LEFT?: 0 | undefined;
|
|
9
|
+
SET_RIGHT?: 1 | undefined;
|
|
10
|
+
CLEAR_LEFT?: 2 | undefined;
|
|
11
|
+
CLEAR_RIGHT?: 3 | undefined;
|
|
12
|
+
setBorder?: ((what_to_do: number) => void) | undefined;
|
|
13
|
+
reload?: (() => void) | undefined;
|
|
14
|
+
isVisible?: (() => boolean) | undefined;
|
|
15
|
+
findCardByItem?: ((item: object) => any) | undefined;
|
|
16
|
+
activateByItemId?: ((id: number) => void) | undefined;
|
|
17
|
+
add?: ((after?: object | number) => Promise<void>) | undefined;
|
|
18
|
+
activate?: ((e: any) => void) | undefined;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
kanbanCardTopProps: {
|
|
25
|
+
element: object;
|
|
26
|
+
};
|
|
27
|
+
kanbanCardMiddleProps: {
|
|
28
|
+
element: object;
|
|
29
|
+
};
|
|
30
|
+
kanbanCardBottomProps: {
|
|
31
|
+
element: object;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export type KanbanProps = typeof __propDef.props;
|
|
36
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
37
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
38
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
39
|
+
get getHeight(): () => number;
|
|
40
|
+
get editName(): (onFinish?: Function | undefined) => void;
|
|
41
|
+
get SET_LEFT(): 0;
|
|
42
|
+
get SET_RIGHT(): 1;
|
|
43
|
+
get CLEAR_LEFT(): 2;
|
|
44
|
+
get CLEAR_RIGHT(): 3;
|
|
45
|
+
get setBorder(): (what_to_do: number) => void;
|
|
46
|
+
get reload(): () => void;
|
|
47
|
+
get isVisible(): () => boolean;
|
|
48
|
+
get findCardByItem(): (item: object) => any;
|
|
49
|
+
get activateByItemId(): (id: number) => void;
|
|
50
|
+
get add(): (after?: number | object) => Promise<void>;
|
|
51
|
+
get activate(): (e: any) => void;
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
onInsert: any;
|
|
5
|
-
run?: ((onclose: any) => void) | undefined;
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type KanbanProps = typeof __propDef.props;
|
|
13
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
14
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
15
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
16
|
-
get run(): (onclose: any) => void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
onInsert: any;
|
|
5
|
+
run?: ((onclose: any) => void) | undefined;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {};
|
|
11
|
+
};
|
|
12
|
+
export type KanbanProps = typeof __propDef.props;
|
|
13
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
14
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
15
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
16
|
+
get run(): (onclose: any) => void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|