@humandialog/forms.svelte 1.3.10 → 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.d.ts +44 -44
- package/components/contextmenu.svelte.d.ts +26 -26
- 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.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.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.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 +5 -5
- 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 +2 -2
- 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.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 -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.d.ts +16 -16
- package/package.json +9 -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,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 {};
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
title?: string | undefined;
|
|
6
|
-
c?: string | undefined;
|
|
7
|
-
CLEAR_SELECTION?: 0 | undefined;
|
|
8
|
-
KEEP_SELECTION?: -1 | undefined;
|
|
9
|
-
SELECT_PREVIOUS?: -2 | undefined;
|
|
10
|
-
SELECT_NEXT?: -3 | undefined;
|
|
11
|
-
KEEP_OR_SELECT_NEXT?: -4 | undefined;
|
|
12
|
-
rerender?: ((selectColumnIdx?: number, selectCardId?: number) => Promise<void>) | undefined;
|
|
13
|
-
reload?: ((data: object | object[], selectElement?: number) => Promise<void>) | undefined;
|
|
14
|
-
getColumnIdx?: ((item: any) => number) | undefined;
|
|
15
|
-
edit?: ((item: object, field: string) => void) | undefined;
|
|
16
|
-
scrollViewToCard?: ((item: any) => void) | undefined;
|
|
17
|
-
moveUp?: ((item: object) => void) | undefined;
|
|
18
|
-
moveDown?: ((item: object) => void) | undefined;
|
|
19
|
-
replace?: ((item: any, toColumnIdx: any, afterElement: any) => void) | undefined;
|
|
20
|
-
activateColumn?: ((columnIdx: number) => void) | undefined;
|
|
21
|
-
editColumnName?: ((columnIdx: number, onFinish?: Function | undefined) => void) | undefined;
|
|
22
|
-
moveCardsTo?: ((items: object[], toColumnIdx: number) => void) | undefined;
|
|
23
|
-
setCardsState?: ((items: object[], state: number) => void) | undefined;
|
|
24
|
-
add?: ((item: object | number, columnIdx?: number) => void) | undefined;
|
|
25
|
-
};
|
|
26
|
-
events: {
|
|
27
|
-
[evt: string]: CustomEvent<any>;
|
|
28
|
-
};
|
|
29
|
-
slots: {
|
|
30
|
-
default: {};
|
|
31
|
-
kanbanCardTopProps: {
|
|
32
|
-
element: object;
|
|
33
|
-
};
|
|
34
|
-
kanbanCardMiddleProps: {
|
|
35
|
-
element: object;
|
|
36
|
-
};
|
|
37
|
-
kanbanCardBottomProps: {
|
|
38
|
-
element: object;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export type KanbanProps = typeof __propDef.props;
|
|
43
|
-
export type KanbanEvents = typeof __propDef.events;
|
|
44
|
-
export type KanbanSlots = typeof __propDef.slots;
|
|
45
|
-
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
46
|
-
get CLEAR_SELECTION(): 0;
|
|
47
|
-
get KEEP_SELECTION(): -1;
|
|
48
|
-
get SELECT_PREVIOUS(): -2;
|
|
49
|
-
get SELECT_NEXT(): -3;
|
|
50
|
-
get KEEP_OR_SELECT_NEXT(): -4;
|
|
51
|
-
get rerender(): (selectColumnIdx?: number, selectCardId?: number) => Promise<void>;
|
|
52
|
-
get reload(): (data: object | object[], selectElement?: number) => Promise<void>;
|
|
53
|
-
get getColumnIdx(): (item: any) => number;
|
|
54
|
-
get edit(): (item: object, field: string) => void;
|
|
55
|
-
get scrollViewToCard(): (item: any) => void;
|
|
56
|
-
get moveUp(): (item: object) => void;
|
|
57
|
-
get moveDown(): (item: object) => void;
|
|
58
|
-
get replace(): (item: any, toColumnIdx: any, afterElement: any) => void;
|
|
59
|
-
get activateColumn(): (columnIdx: number) => void;
|
|
60
|
-
get editColumnName(): (columnIdx: number, onFinish?: Function | undefined) => void;
|
|
61
|
-
get moveCardsTo(): (items: object[], toColumnIdx: number) => void;
|
|
62
|
-
get setCardsState(): (items: object[], state: number) => void;
|
|
63
|
-
get add(): (item: number | object, columnIdx?: number) => void;
|
|
64
|
-
}
|
|
65
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
c?: string | undefined;
|
|
7
|
+
CLEAR_SELECTION?: 0 | undefined;
|
|
8
|
+
KEEP_SELECTION?: -1 | undefined;
|
|
9
|
+
SELECT_PREVIOUS?: -2 | undefined;
|
|
10
|
+
SELECT_NEXT?: -3 | undefined;
|
|
11
|
+
KEEP_OR_SELECT_NEXT?: -4 | undefined;
|
|
12
|
+
rerender?: ((selectColumnIdx?: number, selectCardId?: number) => Promise<void>) | undefined;
|
|
13
|
+
reload?: ((data: object | object[], selectElement?: number) => Promise<void>) | undefined;
|
|
14
|
+
getColumnIdx?: ((item: any) => number) | undefined;
|
|
15
|
+
edit?: ((item: object, field: string) => void) | undefined;
|
|
16
|
+
scrollViewToCard?: ((item: any) => void) | undefined;
|
|
17
|
+
moveUp?: ((item: object) => void) | undefined;
|
|
18
|
+
moveDown?: ((item: object) => void) | undefined;
|
|
19
|
+
replace?: ((item: any, toColumnIdx: any, afterElement: any) => void) | undefined;
|
|
20
|
+
activateColumn?: ((columnIdx: number) => void) | undefined;
|
|
21
|
+
editColumnName?: ((columnIdx: number, onFinish?: Function | undefined) => void) | undefined;
|
|
22
|
+
moveCardsTo?: ((items: object[], toColumnIdx: number) => void) | undefined;
|
|
23
|
+
setCardsState?: ((items: object[], state: number) => void) | undefined;
|
|
24
|
+
add?: ((item: object | number, columnIdx?: number) => void) | undefined;
|
|
25
|
+
};
|
|
26
|
+
events: {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
};
|
|
29
|
+
slots: {
|
|
30
|
+
default: {};
|
|
31
|
+
kanbanCardTopProps: {
|
|
32
|
+
element: object;
|
|
33
|
+
};
|
|
34
|
+
kanbanCardMiddleProps: {
|
|
35
|
+
element: object;
|
|
36
|
+
};
|
|
37
|
+
kanbanCardBottomProps: {
|
|
38
|
+
element: object;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type KanbanProps = typeof __propDef.props;
|
|
43
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
44
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
45
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
46
|
+
get CLEAR_SELECTION(): 0;
|
|
47
|
+
get KEEP_SELECTION(): -1;
|
|
48
|
+
get SELECT_PREVIOUS(): -2;
|
|
49
|
+
get SELECT_NEXT(): -3;
|
|
50
|
+
get KEEP_OR_SELECT_NEXT(): -4;
|
|
51
|
+
get rerender(): (selectColumnIdx?: number, selectCardId?: number) => Promise<void>;
|
|
52
|
+
get reload(): (data: object | object[], selectElement?: number) => Promise<void>;
|
|
53
|
+
get getColumnIdx(): (item: any) => number;
|
|
54
|
+
get edit(): (item: object, field: string) => void;
|
|
55
|
+
get scrollViewToCard(): (item: any) => void;
|
|
56
|
+
get moveUp(): (item: object) => void;
|
|
57
|
+
get moveDown(): (item: object) => void;
|
|
58
|
+
get replace(): (item: any, toColumnIdx: any, afterElement: any) => void;
|
|
59
|
+
get activateColumn(): (columnIdx: number) => void;
|
|
60
|
+
get editColumnName(): (columnIdx: number, onFinish?: Function | undefined) => void;
|
|
61
|
+
get moveCardsTo(): (items: object[], toColumnIdx: number) => void;
|
|
62
|
+
get setCardsState(): (items: object[], state: number) => void;
|
|
63
|
+
get add(): (item: number | object, columnIdx?: number) => void;
|
|
64
|
+
}
|
|
65
|
+
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
|
-
getAllTags?: Function | undefined;
|
|
7
|
-
onUpdateAllTags?: Function | undefined;
|
|
8
|
-
onSelect?: Function | undefined;
|
|
9
|
-
canChangeColor?: boolean | undefined;
|
|
10
|
-
top?: boolean | undefined;
|
|
11
|
-
middle?: boolean | undefined;
|
|
12
|
-
bottom?: boolean | undefined;
|
|
13
|
-
};
|
|
14
|
-
events: {
|
|
15
|
-
[evt: string]: CustomEvent<any>;
|
|
16
|
-
};
|
|
17
|
-
slots: {};
|
|
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
|
+
getAllTags?: Function | undefined;
|
|
7
|
+
onUpdateAllTags?: Function | undefined;
|
|
8
|
+
onSelect?: Function | undefined;
|
|
9
|
+
canChangeColor?: boolean | undefined;
|
|
10
|
+
top?: boolean | undefined;
|
|
11
|
+
middle?: boolean | undefined;
|
|
12
|
+
bottom?: boolean | undefined;
|
|
13
|
+
};
|
|
14
|
+
events: {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
};
|
|
17
|
+
slots: {};
|
|
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
|
-
a: string;
|
|
5
|
-
onChange?: Function | undefined;
|
|
6
|
-
readOnly?: boolean | undefined;
|
|
7
|
-
href?: string | undefined;
|
|
8
|
-
hrefFunc?: Function | undefined;
|
|
9
|
-
hasAttachment?: 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
|
+
a: string;
|
|
5
|
+
onChange?: Function | undefined;
|
|
6
|
+
readOnly?: boolean | undefined;
|
|
7
|
+
href?: string | undefined;
|
|
8
|
+
hrefFunc?: Function | undefined;
|
|
9
|
+
hasAttachment?: 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,46 +1,46 @@
|
|
|
1
|
-
import { rCombo_definition } from '../combo/combo';
|
|
2
|
-
export declare enum rList_property_type {
|
|
3
|
-
Hidden = 0,
|
|
4
|
-
Text = 1,
|
|
5
|
-
Date = 2,
|
|
6
|
-
Combo = 3,
|
|
7
|
-
Static = 4,
|
|
8
|
-
Tags = 5
|
|
9
|
-
}
|
|
10
|
-
export declare class rList_property {
|
|
11
|
-
constructor(type: rList_property_type);
|
|
12
|
-
type: rList_property_type;
|
|
13
|
-
name: string;
|
|
14
|
-
a: string;
|
|
15
|
-
onSelect: Function | undefined;
|
|
16
|
-
position: number | string | undefined;
|
|
17
|
-
}
|
|
18
|
-
export declare class rList_property_combo extends rList_property {
|
|
19
|
-
constructor();
|
|
20
|
-
association: boolean;
|
|
21
|
-
combo_definition: rCombo_definition;
|
|
22
|
-
hasNone: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare class rList_property_tags extends rList_property {
|
|
25
|
-
constructor();
|
|
26
|
-
canChangeColor: boolean;
|
|
27
|
-
getAllTags: Function | undefined;
|
|
28
|
-
onUpdateAllTags: Function | undefined;
|
|
29
|
-
}
|
|
30
|
-
export declare class rList_definition {
|
|
31
|
-
title: string;
|
|
32
|
-
title_editable: boolean;
|
|
33
|
-
on_title_changed: Function | undefined;
|
|
34
|
-
title_readonly: boolean;
|
|
35
|
-
title_href: string | undefined;
|
|
36
|
-
title_href_func: Function | undefined;
|
|
37
|
-
summary: string;
|
|
38
|
-
summary_editable: boolean;
|
|
39
|
-
on_summary_changed: Function | undefined;
|
|
40
|
-
summary_readonly: boolean;
|
|
41
|
-
can_insert: boolean;
|
|
42
|
-
onInsert: Function | undefined;
|
|
43
|
-
inserter_icon: boolean;
|
|
44
|
-
onOpen: Function | undefined;
|
|
45
|
-
properties: rList_property[];
|
|
46
|
-
}
|
|
1
|
+
import { rCombo_definition } from '../combo/combo';
|
|
2
|
+
export declare enum rList_property_type {
|
|
3
|
+
Hidden = 0,
|
|
4
|
+
Text = 1,
|
|
5
|
+
Date = 2,
|
|
6
|
+
Combo = 3,
|
|
7
|
+
Static = 4,
|
|
8
|
+
Tags = 5
|
|
9
|
+
}
|
|
10
|
+
export declare class rList_property {
|
|
11
|
+
constructor(type: rList_property_type);
|
|
12
|
+
type: rList_property_type;
|
|
13
|
+
name: string;
|
|
14
|
+
a: string;
|
|
15
|
+
onSelect: Function | undefined;
|
|
16
|
+
position: number | string | undefined;
|
|
17
|
+
}
|
|
18
|
+
export declare class rList_property_combo extends rList_property {
|
|
19
|
+
constructor();
|
|
20
|
+
association: boolean;
|
|
21
|
+
combo_definition: rCombo_definition;
|
|
22
|
+
hasNone: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare class rList_property_tags extends rList_property {
|
|
25
|
+
constructor();
|
|
26
|
+
canChangeColor: boolean;
|
|
27
|
+
getAllTags: Function | undefined;
|
|
28
|
+
onUpdateAllTags: Function | undefined;
|
|
29
|
+
}
|
|
30
|
+
export declare class rList_definition {
|
|
31
|
+
title: string;
|
|
32
|
+
title_editable: boolean;
|
|
33
|
+
on_title_changed: Function | undefined;
|
|
34
|
+
title_readonly: boolean;
|
|
35
|
+
title_href: string | undefined;
|
|
36
|
+
title_href_func: Function | undefined;
|
|
37
|
+
summary: string;
|
|
38
|
+
summary_editable: boolean;
|
|
39
|
+
on_summary_changed: Function | undefined;
|
|
40
|
+
summary_readonly: boolean;
|
|
41
|
+
can_insert: boolean;
|
|
42
|
+
onInsert: Function | undefined;
|
|
43
|
+
inserter_icon: boolean;
|
|
44
|
+
onOpen: Function | undefined;
|
|
45
|
+
properties: rList_property[];
|
|
46
|
+
}
|
package/components/list/List.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { rCombo_definition } from '../combo/combo';
|
|
2
|
-
export var rList_property_type;
|
|
3
|
-
(function (rList_property_type) {
|
|
4
|
-
rList_property_type[rList_property_type["Hidden"] = 0] = "Hidden";
|
|
5
|
-
rList_property_type[rList_property_type["Text"] = 1] = "Text";
|
|
6
|
-
rList_property_type[rList_property_type["Date"] = 2] = "Date";
|
|
7
|
-
rList_property_type[rList_property_type["Combo"] = 3] = "Combo";
|
|
8
|
-
rList_property_type[rList_property_type["Static"] = 4] = "Static";
|
|
9
|
-
rList_property_type[rList_property_type["Tags"] = 5] = "Tags";
|
|
10
|
-
})(rList_property_type || (rList_property_type = {}));
|
|
11
|
-
export class rList_property {
|
|
12
|
-
constructor(type) {
|
|
13
|
-
this.type = type;
|
|
14
|
-
}
|
|
15
|
-
type = rList_property_type.Hidden;
|
|
16
|
-
name = '';
|
|
17
|
-
a = '';
|
|
18
|
-
onSelect = undefined;
|
|
19
|
-
position = undefined;
|
|
20
|
-
}
|
|
21
|
-
export class rList_property_combo extends rList_property {
|
|
22
|
-
constructor() {
|
|
23
|
-
super(rList_property_type.Combo);
|
|
24
|
-
this.combo_definition = new rCombo_definition;
|
|
25
|
-
}
|
|
26
|
-
association = false;
|
|
27
|
-
combo_definition;
|
|
28
|
-
hasNone = false;
|
|
29
|
-
}
|
|
30
|
-
export class rList_property_tags extends rList_property {
|
|
31
|
-
constructor() {
|
|
32
|
-
super(rList_property_type.Tags);
|
|
33
|
-
}
|
|
34
|
-
canChangeColor = false;
|
|
35
|
-
getAllTags = undefined;
|
|
36
|
-
onUpdateAllTags = undefined;
|
|
37
|
-
}
|
|
38
|
-
export class rList_definition {
|
|
39
|
-
title = '';
|
|
40
|
-
title_editable = false;
|
|
41
|
-
on_title_changed = undefined;
|
|
42
|
-
title_readonly = false;
|
|
43
|
-
title_href = undefined;
|
|
44
|
-
title_href_func = undefined;
|
|
45
|
-
summary = '';
|
|
46
|
-
summary_editable = false;
|
|
47
|
-
on_summary_changed = undefined;
|
|
48
|
-
summary_readonly = false;
|
|
49
|
-
can_insert = false;
|
|
50
|
-
onInsert = undefined;
|
|
51
|
-
inserter_icon = false;
|
|
52
|
-
onOpen = undefined;
|
|
53
|
-
properties = [];
|
|
54
|
-
}
|
|
1
|
+
import { rCombo_definition } from '../combo/combo';
|
|
2
|
+
export var rList_property_type;
|
|
3
|
+
(function (rList_property_type) {
|
|
4
|
+
rList_property_type[rList_property_type["Hidden"] = 0] = "Hidden";
|
|
5
|
+
rList_property_type[rList_property_type["Text"] = 1] = "Text";
|
|
6
|
+
rList_property_type[rList_property_type["Date"] = 2] = "Date";
|
|
7
|
+
rList_property_type[rList_property_type["Combo"] = 3] = "Combo";
|
|
8
|
+
rList_property_type[rList_property_type["Static"] = 4] = "Static";
|
|
9
|
+
rList_property_type[rList_property_type["Tags"] = 5] = "Tags";
|
|
10
|
+
})(rList_property_type || (rList_property_type = {}));
|
|
11
|
+
export class rList_property {
|
|
12
|
+
constructor(type) {
|
|
13
|
+
this.type = type;
|
|
14
|
+
}
|
|
15
|
+
type = rList_property_type.Hidden;
|
|
16
|
+
name = '';
|
|
17
|
+
a = '';
|
|
18
|
+
onSelect = undefined;
|
|
19
|
+
position = undefined;
|
|
20
|
+
}
|
|
21
|
+
export class rList_property_combo extends rList_property {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(rList_property_type.Combo);
|
|
24
|
+
this.combo_definition = new rCombo_definition;
|
|
25
|
+
}
|
|
26
|
+
association = false;
|
|
27
|
+
combo_definition;
|
|
28
|
+
hasNone = false;
|
|
29
|
+
}
|
|
30
|
+
export class rList_property_tags extends rList_property {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(rList_property_type.Tags);
|
|
33
|
+
}
|
|
34
|
+
canChangeColor = false;
|
|
35
|
+
getAllTags = undefined;
|
|
36
|
+
onUpdateAllTags = undefined;
|
|
37
|
+
}
|
|
38
|
+
export class rList_definition {
|
|
39
|
+
title = '';
|
|
40
|
+
title_editable = false;
|
|
41
|
+
on_title_changed = undefined;
|
|
42
|
+
title_readonly = false;
|
|
43
|
+
title_href = undefined;
|
|
44
|
+
title_href_func = undefined;
|
|
45
|
+
summary = '';
|
|
46
|
+
summary_editable = false;
|
|
47
|
+
on_summary_changed = undefined;
|
|
48
|
+
summary_readonly = false;
|
|
49
|
+
can_insert = false;
|
|
50
|
+
onInsert = undefined;
|
|
51
|
+
inserter_icon = false;
|
|
52
|
+
onOpen = undefined;
|
|
53
|
+
properties = [];
|
|
54
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { rList_definition } from '../List';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
definition: rList_definition;
|
|
6
|
-
item: object;
|
|
7
|
-
placeholder?: string | undefined;
|
|
8
|
-
editProperty?: ((field: string) => void) | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type ListProps = typeof __propDef.props;
|
|
16
|
-
export type ListEvents = typeof __propDef.events;
|
|
17
|
-
export type ListSlots = typeof __propDef.slots;
|
|
18
|
-
export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
|
|
19
|
-
get editProperty(): (field: string) => void;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import { rList_definition } from '../List';
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
definition: rList_definition;
|
|
6
|
+
item: object;
|
|
7
|
+
placeholder?: string | undefined;
|
|
8
|
+
editProperty?: ((field: string) => void) | undefined;
|
|
9
|
+
};
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type ListProps = typeof __propDef.props;
|
|
16
|
+
export type ListEvents = typeof __propDef.events;
|
|
17
|
+
export type ListSlots = typeof __propDef.slots;
|
|
18
|
+
export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
|
|
19
|
+
get editProperty(): (field: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -8,49 +8,49 @@ export let placeholder = false;
|
|
|
8
8
|
export let active = false;
|
|
9
9
|
export let editable;
|
|
10
10
|
let user_class = $$props.class ?? "";
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
|
14
|
-
{#if readonly}
|
|
15
|
-
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
16
|
-
text-base min-h-[1.5rem]
|
|
17
|
-
text-stone-400
|
|
18
|
-
{user_class}"
|
|
19
|
-
on:click>
|
|
20
|
-
{text}
|
|
21
|
-
</p>
|
|
22
|
-
{:else if text}
|
|
23
|
-
{#if active}
|
|
24
|
-
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
25
|
-
text-base min-h-[1.5rem]
|
|
26
|
-
text-stone-400
|
|
27
|
-
{user_class}"
|
|
28
|
-
use:_editable={{
|
|
29
|
-
action: editable,
|
|
30
|
-
active: true
|
|
31
|
-
}}
|
|
32
|
-
on:click>
|
|
33
|
-
{text}
|
|
34
|
-
</p>
|
|
35
|
-
{:else}
|
|
36
|
-
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
37
|
-
text-base min-h-[1.5rem]
|
|
38
|
-
text-stone-400
|
|
39
|
-
{user_class}"
|
|
40
|
-
on:click>
|
|
41
|
-
{text}
|
|
42
|
-
</p>
|
|
43
|
-
{/if}
|
|
44
|
-
{:else if placeholder}
|
|
45
|
-
<p {id} class="sm:text-xs sm:min-h-[1rem]
|
|
46
|
-
text-base min-h-[1.5rem]
|
|
47
|
-
text-stone-400
|
|
48
|
-
{user_class}"
|
|
49
|
-
use:_editable={{
|
|
50
|
-
action: editable,
|
|
51
|
-
active: true
|
|
52
|
-
}}
|
|
53
|
-
on:click>
|
|
54
|
-
</p>
|
|
55
|
-
{/if}
|
|
56
|
-
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
|
14
|
+
{#if readonly}
|
|
15
|
+
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
16
|
+
text-base min-h-[1.5rem]
|
|
17
|
+
text-stone-400
|
|
18
|
+
{user_class}"
|
|
19
|
+
on:click>
|
|
20
|
+
{text}
|
|
21
|
+
</p>
|
|
22
|
+
{:else if text}
|
|
23
|
+
{#if active}
|
|
24
|
+
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
25
|
+
text-base min-h-[1.5rem]
|
|
26
|
+
text-stone-400
|
|
27
|
+
{user_class}"
|
|
28
|
+
use:_editable={{
|
|
29
|
+
action: editable,
|
|
30
|
+
active: true
|
|
31
|
+
}}
|
|
32
|
+
on:click>
|
|
33
|
+
{text}
|
|
34
|
+
</p>
|
|
35
|
+
{:else}
|
|
36
|
+
<p {id} class=" sm:text-xs sm:min-h-[1rem]
|
|
37
|
+
text-base min-h-[1.5rem]
|
|
38
|
+
text-stone-400
|
|
39
|
+
{user_class}"
|
|
40
|
+
on:click>
|
|
41
|
+
{text}
|
|
42
|
+
</p>
|
|
43
|
+
{/if}
|
|
44
|
+
{:else if placeholder}
|
|
45
|
+
<p {id} class="sm:text-xs sm:min-h-[1rem]
|
|
46
|
+
text-base min-h-[1.5rem]
|
|
47
|
+
text-stone-400
|
|
48
|
+
{user_class}"
|
|
49
|
+
use:_editable={{
|
|
50
|
+
action: editable,
|
|
51
|
+
active: true
|
|
52
|
+
}}
|
|
53
|
+
on:click>
|
|
54
|
+
</p>
|
|
55
|
+
{/if}
|
|
56
|
+
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
id: string;
|
|
6
|
-
readonly?: boolean | undefined;
|
|
7
|
-
text?: string | undefined;
|
|
8
|
-
placeholder?: boolean | undefined;
|
|
9
|
-
active?: boolean | undefined;
|
|
10
|
-
editable: any;
|
|
11
|
-
};
|
|
12
|
-
events: {
|
|
13
|
-
click: MouseEvent;
|
|
14
|
-
} & {
|
|
15
|
-
[evt: string]: CustomEvent<any>;
|
|
16
|
-
};
|
|
17
|
-
slots: {};
|
|
18
|
-
};
|
|
19
|
-
export type ListProps = typeof __propDef.props;
|
|
20
|
-
export type ListEvents = typeof __propDef.events;
|
|
21
|
-
export type ListSlots = typeof __propDef.slots;
|
|
22
|
-
export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
id: string;
|
|
6
|
+
readonly?: boolean | undefined;
|
|
7
|
+
text?: string | undefined;
|
|
8
|
+
placeholder?: boolean | undefined;
|
|
9
|
+
active?: boolean | undefined;
|
|
10
|
+
editable: any;
|
|
11
|
+
};
|
|
12
|
+
events: {
|
|
13
|
+
click: MouseEvent;
|
|
14
|
+
} & {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
};
|
|
17
|
+
slots: {};
|
|
18
|
+
};
|
|
19
|
+
export type ListProps = typeof __propDef.props;
|
|
20
|
+
export type ListEvents = typeof __propDef.events;
|
|
21
|
+
export type ListSlots = typeof __propDef.slots;
|
|
22
|
+
export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|