@humandialog/forms.svelte 0.5.6 → 0.5.8
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 +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.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.d.ts +32 -32
- package/components/edit.field.svelte.d.ts +28 -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 +108 -108
- package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
- package/components/kanban/internal/kanban.column.svelte +66 -66
- 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.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 +89 -82
- package/components/kanban/kanban.svelte.d.ts +65 -63
- package/components/kanban/kanban.tags.svelte.d.ts +23 -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 +44 -44
- package/components/list/List.js +52 -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 -44
- package/components/list/internal/list.element.summary.svelte.d.ts +24 -25
- package/components/list/internal/list.element.svelte +58 -12
- package/components/list/internal/list.element.svelte.d.ts +31 -29
- 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 +15 -2
- package/components/list/list.svelte.d.ts +59 -59
- package/components/list/list.title.svelte.d.ts +22 -22
- package/components/menu.d.ts +4 -4
- package/components/menu.js +56 -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.d.ts +28 -28
- package/components/sidebar/sidebar.list.svelte +15 -15
- package/components/sidebar/sidebar.list.svelte.d.ts +33 -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.svelte +17 -17
- package/components/tag.svelte.d.ts +19 -19
- package/components/tags.svelte.d.ts +31 -31
- package/components/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/desk.svelte +8 -7
- 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 +59 -59
- package/index.js +65 -65
- package/internal/configurable.content.svelte.d.ts +27 -27
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte.d.ts +35 -35
- package/operations.svelte.d.ts +16 -16
- package/package.json +8 -8
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte.d.ts +45 -45
- package/stores.d.ts +39 -39
- package/stores.js +0 -0
- package/tenant.members.svelte +1 -1
- 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,19 +1,19 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
position: number;
|
|
5
|
-
item: object;
|
|
6
|
-
editProperty?: ((field: string) => void) | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type KanbanProps = typeof __propDef.props;
|
|
14
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
-
get editProperty(): (field: string) => void;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
position: number;
|
|
5
|
+
item: object;
|
|
6
|
+
editProperty?: ((field: string) => void) | undefined;
|
|
7
|
+
};
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {};
|
|
12
|
+
};
|
|
13
|
+
export type KanbanProps = typeof __propDef.props;
|
|
14
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
+
get editProperty(): (field: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
onAdd?: Function | undefined;
|
|
5
|
-
onOpen?: Function | undefined;
|
|
6
|
-
getCardOperations?: Function | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type KanbanProps = typeof __propDef.props;
|
|
14
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
onAdd?: Function | undefined;
|
|
5
|
+
onOpen?: Function | undefined;
|
|
6
|
+
getCardOperations?: Function | undefined;
|
|
7
|
+
};
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {};
|
|
12
|
+
};
|
|
13
|
+
export type KanbanProps = typeof __propDef.props;
|
|
14
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
title?: string | undefined;
|
|
5
|
-
width?: string | undefined;
|
|
6
|
-
state?: any;
|
|
7
|
-
finishing?: boolean | undefined;
|
|
8
|
-
operations?: object[] | undefined;
|
|
9
|
-
onTitleChanged?: Function | undefined;
|
|
10
|
-
};
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type KanbanProps = typeof __propDef.props;
|
|
17
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
18
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
title?: string | undefined;
|
|
5
|
+
width?: string | undefined;
|
|
6
|
+
state?: any;
|
|
7
|
+
finishing?: boolean | undefined;
|
|
8
|
+
operations?: object[] | undefined;
|
|
9
|
+
onTitleChanged?: Function | undefined;
|
|
10
|
+
};
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type KanbanProps = typeof __propDef.props;
|
|
17
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
18
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
19
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
name?: string | undefined;
|
|
5
|
-
a?: string | undefined;
|
|
6
|
-
onSelect?: undefined;
|
|
7
|
-
association?: boolean | undefined;
|
|
8
|
-
top?: boolean | undefined;
|
|
9
|
-
middle?: boolean | undefined;
|
|
10
|
-
bottom?: boolean | undefined;
|
|
11
|
-
};
|
|
12
|
-
events: {
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
};
|
|
15
|
-
slots: {
|
|
16
|
-
default: {};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export type KanbanProps = typeof __propDef.props;
|
|
20
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
21
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
22
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
onSelect?: undefined;
|
|
7
|
+
association?: boolean | undefined;
|
|
8
|
+
top?: boolean | undefined;
|
|
9
|
+
middle?: boolean | undefined;
|
|
10
|
+
bottom?: boolean | undefined;
|
|
11
|
+
};
|
|
12
|
+
events: {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
};
|
|
15
|
+
slots: {
|
|
16
|
+
default: {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type KanbanProps = typeof __propDef.props;
|
|
20
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
21
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
22
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
name?: string | undefined;
|
|
5
|
-
a?: string | undefined;
|
|
6
|
-
onSelect?: undefined;
|
|
7
|
-
top?: boolean | undefined;
|
|
8
|
-
middle?: boolean | undefined;
|
|
9
|
-
bottom?: boolean | undefined;
|
|
10
|
-
};
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type KanbanProps = typeof __propDef.props;
|
|
17
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
18
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
onSelect?: undefined;
|
|
7
|
+
top?: boolean | undefined;
|
|
8
|
+
middle?: boolean | undefined;
|
|
9
|
+
bottom?: boolean | undefined;
|
|
10
|
+
};
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type KanbanProps = typeof __propDef.props;
|
|
17
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
18
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
19
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
context?: string | undefined;
|
|
5
|
-
objects?: object[] | undefined;
|
|
6
|
-
self?: object | undefined;
|
|
7
|
-
a?: string | undefined;
|
|
8
|
-
key?: string | undefined;
|
|
9
|
-
typename?: string | undefined;
|
|
10
|
-
stateAttrib?: string | undefined;
|
|
11
|
-
orderAttrib?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
events: {
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
};
|
|
16
|
-
slots: {};
|
|
17
|
-
};
|
|
18
|
-
export type KanbanProps = typeof __propDef.props;
|
|
19
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
20
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
21
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
context?: string | undefined;
|
|
5
|
+
objects?: object[] | undefined;
|
|
6
|
+
self?: object | undefined;
|
|
7
|
+
a?: string | undefined;
|
|
8
|
+
key?: string | undefined;
|
|
9
|
+
typename?: string | undefined;
|
|
10
|
+
stateAttrib?: string | undefined;
|
|
11
|
+
orderAttrib?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
events: {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
};
|
|
16
|
+
slots: {};
|
|
17
|
+
};
|
|
18
|
+
export type KanbanProps = typeof __propDef.props;
|
|
19
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
20
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
21
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
name?: string | undefined;
|
|
5
|
-
a?: string | undefined;
|
|
6
|
-
top?: boolean | undefined;
|
|
7
|
-
middle?: boolean | undefined;
|
|
8
|
-
bottom?: boolean | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type KanbanProps = typeof __propDef.props;
|
|
16
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
17
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
18
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
top?: boolean | undefined;
|
|
7
|
+
middle?: boolean | undefined;
|
|
8
|
+
bottom?: boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type KanbanProps = typeof __propDef.props;
|
|
16
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
17
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
18
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
a: string;
|
|
5
|
-
onChange?: Function | undefined;
|
|
6
|
-
readOnly?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type KanbanProps = typeof __propDef.props;
|
|
14
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
a: string;
|
|
5
|
+
onChange?: Function | undefined;
|
|
6
|
+
readOnly?: boolean | undefined;
|
|
7
|
+
};
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {};
|
|
12
|
+
};
|
|
13
|
+
export type KanbanProps = typeof __propDef.props;
|
|
14
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
15
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
16
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -150,6 +150,13 @@ afterUpdate(() => {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
|
+
export function scrollViewToCard(item) {
|
|
154
|
+
columns.forEach((c2) => {
|
|
155
|
+
const card = c2.findCardByItem(item);
|
|
156
|
+
if (card)
|
|
157
|
+
card._scrollViewToCard();
|
|
158
|
+
});
|
|
159
|
+
}
|
|
153
160
|
export function moveUp(item) {
|
|
154
161
|
const columnIdx = getColumnIdx(item);
|
|
155
162
|
let allItems = definition.getItems();
|
|
@@ -407,85 +414,85 @@ export function add(item) {
|
|
|
407
414
|
const fromColumnIdx = getColumnIdx(item);
|
|
408
415
|
columns[fromColumnIdx].add(item);
|
|
409
416
|
}
|
|
410
|
-
</script>
|
|
411
|
-
|
|
412
|
-
{#key renderToken}
|
|
413
|
-
<slot/> <!-- Launch definition settings -->
|
|
414
|
-
|
|
415
|
-
{#if title}
|
|
416
|
-
<p class="hidden sm:block mt-3 ml-3 pb-5 text-lg text-left">{title}</p>
|
|
417
|
-
<!--hr class="hidden sm:block w-full"-->
|
|
418
|
-
{/if}
|
|
419
|
-
|
|
420
|
-
<section class="h-full mt-5 flex flex-row no-wrap sm:justify-center
|
|
421
|
-
overflow-x-auto snap-x snap-mandatory sm:snap-none
|
|
422
|
-
{user_class}">
|
|
423
|
-
{#each definition.columns as column, idx (column.id)}
|
|
424
|
-
<Column currentColumnIdx={idx}
|
|
425
|
-
{onInsert}
|
|
426
|
-
bind:this={columns[idx]}>
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
<svelte:fragment slot="kanbanCardTopProps" let:element>
|
|
430
|
-
<slot name="kanbanCardTopProps" {element}/>
|
|
431
|
-
</svelte:fragment>
|
|
432
|
-
|
|
433
|
-
<svelte:fragment slot="kanbanCardMiddleProps" let:element>
|
|
434
|
-
<slot name="kanbanCardMiddleProps" {element}/>
|
|
435
|
-
</svelte:fragment>
|
|
436
|
-
|
|
437
|
-
<svelte:fragment slot="kanbanCardBottomProps" let:element>
|
|
438
|
-
<slot name="kanbanCardBottomProps" {element}/>
|
|
439
|
-
</svelte:fragment>
|
|
440
|
-
|
|
441
|
-
</Column>
|
|
442
|
-
{/each}
|
|
443
|
-
</section>
|
|
444
|
-
{/key}
|
|
445
|
-
|
|
446
|
-
<style>
|
|
447
|
-
.grid-1
|
|
448
|
-
{
|
|
449
|
-
display: grid;
|
|
450
|
-
grid-template-columns: 100%;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.grid-2
|
|
454
|
-
{
|
|
455
|
-
display: grid;
|
|
456
|
-
grid-template-columns: 50% 50%;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.grid-3
|
|
460
|
-
{
|
|
461
|
-
display: grid;
|
|
462
|
-
grid-template-columns: 33% 33% 33%;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.grid-4
|
|
466
|
-
{
|
|
467
|
-
display: grid;
|
|
468
|
-
grid-template-columns: 25% 25% 25% 25%;
|
|
469
|
-
}
|
|
470
|
-
.grid-5
|
|
471
|
-
{
|
|
472
|
-
display: grid;
|
|
473
|
-
grid-template-columns: 20% 20% 20% 20% 20%;
|
|
474
|
-
}
|
|
475
|
-
.grid-6
|
|
476
|
-
{
|
|
477
|
-
display: grid;
|
|
478
|
-
grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 16.6;
|
|
479
|
-
}
|
|
480
|
-
.grid-7
|
|
481
|
-
{
|
|
482
|
-
display: grid;
|
|
483
|
-
grid-template-columns: 14.3% 14.3% 14.3% 14.3% 14.3% 14.3% 14.3%;
|
|
484
|
-
}
|
|
485
|
-
.grid-8
|
|
486
|
-
{
|
|
487
|
-
display: grid;
|
|
488
|
-
grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
</style>
|
|
417
|
+
</script>
|
|
418
|
+
|
|
419
|
+
{#key renderToken}
|
|
420
|
+
<slot/> <!-- Launch definition settings -->
|
|
421
|
+
|
|
422
|
+
{#if title}
|
|
423
|
+
<p class="hidden sm:block mt-3 ml-3 pb-5 text-lg text-left">{title}</p>
|
|
424
|
+
<!--hr class="hidden sm:block w-full"-->
|
|
425
|
+
{/if}
|
|
426
|
+
|
|
427
|
+
<section class="h-full mt-5 flex flex-row no-wrap sm:justify-center
|
|
428
|
+
overflow-x-auto snap-x snap-mandatory sm:snap-none
|
|
429
|
+
{user_class}">
|
|
430
|
+
{#each definition.columns as column, idx (column.id)}
|
|
431
|
+
<Column currentColumnIdx={idx}
|
|
432
|
+
{onInsert}
|
|
433
|
+
bind:this={columns[idx]}>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
<svelte:fragment slot="kanbanCardTopProps" let:element>
|
|
437
|
+
<slot name="kanbanCardTopProps" {element}/>
|
|
438
|
+
</svelte:fragment>
|
|
439
|
+
|
|
440
|
+
<svelte:fragment slot="kanbanCardMiddleProps" let:element>
|
|
441
|
+
<slot name="kanbanCardMiddleProps" {element}/>
|
|
442
|
+
</svelte:fragment>
|
|
443
|
+
|
|
444
|
+
<svelte:fragment slot="kanbanCardBottomProps" let:element>
|
|
445
|
+
<slot name="kanbanCardBottomProps" {element}/>
|
|
446
|
+
</svelte:fragment>
|
|
447
|
+
|
|
448
|
+
</Column>
|
|
449
|
+
{/each}
|
|
450
|
+
</section>
|
|
451
|
+
{/key}
|
|
452
|
+
|
|
453
|
+
<style>
|
|
454
|
+
.grid-1
|
|
455
|
+
{
|
|
456
|
+
display: grid;
|
|
457
|
+
grid-template-columns: 100%;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.grid-2
|
|
461
|
+
{
|
|
462
|
+
display: grid;
|
|
463
|
+
grid-template-columns: 50% 50%;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.grid-3
|
|
467
|
+
{
|
|
468
|
+
display: grid;
|
|
469
|
+
grid-template-columns: 33% 33% 33%;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.grid-4
|
|
473
|
+
{
|
|
474
|
+
display: grid;
|
|
475
|
+
grid-template-columns: 25% 25% 25% 25%;
|
|
476
|
+
}
|
|
477
|
+
.grid-5
|
|
478
|
+
{
|
|
479
|
+
display: grid;
|
|
480
|
+
grid-template-columns: 20% 20% 20% 20% 20%;
|
|
481
|
+
}
|
|
482
|
+
.grid-6
|
|
483
|
+
{
|
|
484
|
+
display: grid;
|
|
485
|
+
grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 16.6;
|
|
486
|
+
}
|
|
487
|
+
.grid-7
|
|
488
|
+
{
|
|
489
|
+
display: grid;
|
|
490
|
+
grid-template-columns: 14.3% 14.3% 14.3% 14.3% 14.3% 14.3% 14.3%;
|
|
491
|
+
}
|
|
492
|
+
.grid-8
|
|
493
|
+
{
|
|
494
|
+
display: grid;
|
|
495
|
+
grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
</style>
|