@humandialog/forms.svelte 1.3.11 → 1.3.13
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 +112 -34
- package/components/Fab.svelte.d.ts +17 -17
- package/components/Floating_container.svelte +86 -21
- 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 +64 -30
- package/components/combo/combo.svelte.d.ts +44 -44
- package/components/contextmenu.svelte +97 -30
- package/components/contextmenu.svelte.d.ts +26 -26
- package/components/date.svelte +40 -30
- package/components/date.svelte.d.ts +33 -33
- package/components/delayed.spinner.svelte.d.ts +19 -19
- package/components/document/editor.svelte +33 -6
- package/components/document/editor.svelte.d.ts +35 -35
- package/components/document/internal/Document_command.d.ts +12 -11
- package/components/document/internal/Document_command.js +12 -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 +1 -1
- package/components/document/internal/palette.row.svelte.d.ts +46 -46
- package/components/document/internal/palette.svelte +23 -15
- 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.d.ts +62 -62
- 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 +5 -3
- package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
- 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.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 +2 -2
- 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 +8 -6
- 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 +2 -2
- package/components/sidebar/sidebar.group.svelte.d.ts +33 -33
- package/components/sidebar/sidebar.item.svelte +52 -29
- package/components/sidebar/sidebar.item.svelte.d.ts +32 -32
- package/components/sidebar/sidebar.list.svelte +4 -2
- 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 +6 -3
- package/components/table/table.svelte.d.ts +75 -75
- package/components/tag.colors.svelte.d.ts +17 -17
- package/components/tag.svelte +12 -9
- package/components/tag.svelte.d.ts +20 -20
- package/components/tags.svelte +13 -11
- 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 +60 -27
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte +3 -3
- package/horizontal.toolbar.svelte.d.ts +25 -25
- package/index.d.ts +63 -63
- package/index.js +69 -69
- 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 +37 -8
- package/operations.svelte.d.ts +16 -16
- package/package.json +9 -9
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte +7 -2
- package/page.svelte.d.ts +47 -47
- package/stores.d.ts +45 -44
- package/stores.js +3 -2
- package/tenant.members.svelte +69 -39
- 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/utils.d.ts +50 -50
- package/utils.js +36 -7
- package/vertical.toolbar.svelte +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;
|
|
@@ -43,13 +43,15 @@ export function activate(e) {
|
|
|
43
43
|
activateItem("props", item, operations);
|
|
44
44
|
}
|
|
45
45
|
function getOperations() {
|
|
46
|
-
let operations = [];
|
|
47
46
|
const getCustomOperations = definition.getCardOperations;
|
|
48
47
|
if (getCustomOperations) {
|
|
49
48
|
const cutomOperations = getCustomOperations(item);
|
|
50
|
-
|
|
49
|
+
if (Array.isArray(cutomOperations)) {
|
|
50
|
+
return [...cutomOperations];
|
|
51
|
+
} else {
|
|
52
|
+
return { ...cutomOperations };
|
|
53
|
+
}
|
|
51
54
|
}
|
|
52
|
-
return operations;
|
|
53
55
|
}
|
|
54
56
|
let card;
|
|
55
57
|
export function _scrollViewToCard() {
|
|
@@ -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 {};
|
|
@@ -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 {};
|