@humandialog/forms.svelte 1.3.11 → 1.3.12
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 +103 -31
- 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 +25 -22
- package/components/combo/combo.svelte.d.ts +44 -44
- 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 +10 -4
- 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.d.ts +46 -46
- package/components/document/internal/palette.svelte +16 -10
- 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 +58 -26
- 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 +8 -8
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte +7 -2
- package/page.svelte.d.ts +47 -47
- package/stores.d.ts +44 -44
- 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,29 +1,29 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} TilesProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} TilesEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} TilesSlots */
|
|
4
|
-
export default class Tiles extends SvelteComponentTyped<{
|
|
5
|
-
c?: string | undefined;
|
|
6
|
-
cl?: string | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
}, {
|
|
10
|
-
default: {};
|
|
11
|
-
}> {
|
|
12
|
-
}
|
|
13
|
-
export type TilesProps = typeof __propDef.props;
|
|
14
|
-
export type TilesEvents = typeof __propDef.events;
|
|
15
|
-
export type TilesSlots = typeof __propDef.slots;
|
|
16
|
-
import { SvelteComponentTyped } from "svelte";
|
|
17
|
-
declare const __propDef: {
|
|
18
|
-
props: {
|
|
19
|
-
c?: string | undefined;
|
|
20
|
-
cl?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
};
|
|
25
|
-
slots: {
|
|
26
|
-
default: {};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} TilesProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TilesEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TilesSlots */
|
|
4
|
+
export default class Tiles extends SvelteComponentTyped<{
|
|
5
|
+
c?: string | undefined;
|
|
6
|
+
cl?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
}, {
|
|
10
|
+
default: {};
|
|
11
|
+
}> {
|
|
12
|
+
}
|
|
13
|
+
export type TilesProps = typeof __propDef.props;
|
|
14
|
+
export type TilesEvents = typeof __propDef.events;
|
|
15
|
+
export type TilesSlots = typeof __propDef.slots;
|
|
16
|
+
import { SvelteComponentTyped } from "svelte";
|
|
17
|
+
declare const __propDef: {
|
|
18
|
+
props: {
|
|
19
|
+
c?: string | undefined;
|
|
20
|
+
cl?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
events: {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
};
|
|
25
|
+
slots: {
|
|
26
|
+
default: {};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
package/updates.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function informModification(itm: any, field_name: any, type_name?: undefined): boolean;
|
|
2
|
-
export function informModificationEx(typeName: any, itemId: any, attribName: any, attribValue: any): boolean;
|
|
3
|
-
export function informItem(itm: any, type_name?: undefined): boolean;
|
|
4
|
-
export function pushChanges(): void;
|
|
1
|
+
export function informModification(itm: any, field_name: any, type_name?: undefined): boolean;
|
|
2
|
+
export function informModificationEx(typeName: any, itemId: any, attribName: any, attribValue: any): boolean;
|
|
3
|
+
export function informItem(itm: any, type_name?: undefined): boolean;
|
|
4
|
+
export function pushChanges(): void;
|
package/utils.d.ts
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export function isDeviceSmallerThan(br: any): boolean;
|
|
2
|
-
export function selectItem(itm: any): void;
|
|
3
|
-
export function activateItem(context_level: any, itm: any, operations?: null): void;
|
|
4
|
-
export function clearActiveItem(context_level: any): void;
|
|
5
|
-
export function refreshToolbarOperations(): void;
|
|
6
|
-
export function isSelected(itm: any): boolean;
|
|
7
|
-
export function isActive(context_level: any, itm: any): boolean;
|
|
8
|
-
export function getActive(context_level: any): any;
|
|
9
|
-
export function editable(node: any, params: any): {
|
|
10
|
-
destroy(): void;
|
|
11
|
-
} | undefined;
|
|
12
|
-
export function startEditing(element: any, finish_callback: any): void;
|
|
13
|
-
export function saveCurrentEditable(): void;
|
|
14
|
-
export function selectable(node: any, itm: any): {
|
|
15
|
-
destroy(): void;
|
|
16
|
-
};
|
|
17
|
-
export function handleSelect(e: any): void;
|
|
18
|
-
export function parseWidthDirective(c: any): string;
|
|
19
|
-
export function shouldBeComapact(): boolean;
|
|
20
|
-
export function insertAt(array: any, index: any, element: any): any;
|
|
21
|
-
export function insertAfter(array: any, after: any, element: any): any;
|
|
22
|
-
export function getPrev(array: any, element: any): any;
|
|
23
|
-
export function getNext(array: any, element: any): any;
|
|
24
|
-
export function getFirst(array: any): any;
|
|
25
|
-
export function getLast(array: any): any;
|
|
26
|
-
export function removeAt(array: any, index: any): any;
|
|
27
|
-
export function remove(array: any, element: any): any;
|
|
28
|
-
export function swapElements(array: any, e1: any, e2: any): any;
|
|
29
|
-
export function resizeImage(file: any, maxWidth?: number, maxHeight?: number, contentType?: string, quality?: number): Promise<any>;
|
|
30
|
-
export function isOnScreenKeyboardVisible(): boolean;
|
|
31
|
-
export function isOnNavigationPage(): boolean;
|
|
32
|
-
export function pushNavigationPage(): void;
|
|
33
|
-
export function popNavigationPage(): void;
|
|
34
|
-
export function dec2hex(dec: any): any;
|
|
35
|
-
export function randomString(len: any): string;
|
|
36
|
-
export namespace icons {
|
|
37
|
-
const symbols: null;
|
|
38
|
-
}
|
|
39
|
-
export namespace SCREEN_SIZES {
|
|
40
|
-
const sm: number;
|
|
41
|
-
const md: number;
|
|
42
|
-
const lg: number;
|
|
43
|
-
const xl: number;
|
|
44
|
-
}
|
|
45
|
-
export let currentEditable: null;
|
|
46
|
-
export namespace UI {
|
|
47
|
-
const operations: null;
|
|
48
|
-
const fab: null;
|
|
49
|
-
}
|
|
50
|
-
export const NAVIGATION_PAGE_PATH: "/";
|
|
1
|
+
export function isDeviceSmallerThan(br: any): boolean;
|
|
2
|
+
export function selectItem(itm: any): void;
|
|
3
|
+
export function activateItem(context_level: any, itm: any, operations?: null): void;
|
|
4
|
+
export function clearActiveItem(context_level: any): void;
|
|
5
|
+
export function refreshToolbarOperations(): void;
|
|
6
|
+
export function isSelected(itm: any): boolean;
|
|
7
|
+
export function isActive(context_level: any, itm: any): boolean;
|
|
8
|
+
export function getActive(context_level: any): any;
|
|
9
|
+
export function editable(node: any, params: any): {
|
|
10
|
+
destroy(): void;
|
|
11
|
+
} | undefined;
|
|
12
|
+
export function startEditing(element: any, finish_callback: any): void;
|
|
13
|
+
export function saveCurrentEditable(): void;
|
|
14
|
+
export function selectable(node: any, itm: any): {
|
|
15
|
+
destroy(): void;
|
|
16
|
+
};
|
|
17
|
+
export function handleSelect(e: any): void;
|
|
18
|
+
export function parseWidthDirective(c: any): string;
|
|
19
|
+
export function shouldBeComapact(): boolean;
|
|
20
|
+
export function insertAt(array: any, index: any, element: any): any;
|
|
21
|
+
export function insertAfter(array: any, after: any, element: any): any;
|
|
22
|
+
export function getPrev(array: any, element: any): any;
|
|
23
|
+
export function getNext(array: any, element: any): any;
|
|
24
|
+
export function getFirst(array: any): any;
|
|
25
|
+
export function getLast(array: any): any;
|
|
26
|
+
export function removeAt(array: any, index: any): any;
|
|
27
|
+
export function remove(array: any, element: any): any;
|
|
28
|
+
export function swapElements(array: any, e1: any, e2: any): any;
|
|
29
|
+
export function resizeImage(file: any, maxWidth?: number, maxHeight?: number, contentType?: string, quality?: number): Promise<any>;
|
|
30
|
+
export function isOnScreenKeyboardVisible(): boolean;
|
|
31
|
+
export function isOnNavigationPage(): boolean;
|
|
32
|
+
export function pushNavigationPage(): void;
|
|
33
|
+
export function popNavigationPage(): void;
|
|
34
|
+
export function dec2hex(dec: any): any;
|
|
35
|
+
export function randomString(len: any): string;
|
|
36
|
+
export namespace icons {
|
|
37
|
+
const symbols: null;
|
|
38
|
+
}
|
|
39
|
+
export namespace SCREEN_SIZES {
|
|
40
|
+
const sm: number;
|
|
41
|
+
const md: number;
|
|
42
|
+
const lg: number;
|
|
43
|
+
const xl: number;
|
|
44
|
+
}
|
|
45
|
+
export let currentEditable: null;
|
|
46
|
+
export namespace UI {
|
|
47
|
+
const operations: null;
|
|
48
|
+
const fab: null;
|
|
49
|
+
}
|
|
50
|
+
export const NAVIGATION_PAGE_PATH: "/";
|
package/utils.js
CHANGED
|
@@ -56,8 +56,13 @@ export function activateItem(context_level, itm, operations=null)
|
|
|
56
56
|
|
|
57
57
|
//chnages.just_changed_context = true;
|
|
58
58
|
|
|
59
|
-
if(operations
|
|
60
|
-
|
|
59
|
+
if(operations)
|
|
60
|
+
{
|
|
61
|
+
if(Array.isArray(operations))
|
|
62
|
+
contextToolbarOperations.set( [...operations] )
|
|
63
|
+
else
|
|
64
|
+
contextToolbarOperations.set( {...operations} )
|
|
65
|
+
}
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
export function clearActiveItem(context_level)
|
|
@@ -80,16 +85,40 @@ export function clearActiveItem(context_level)
|
|
|
80
85
|
export function refreshToolbarOperations()
|
|
81
86
|
{
|
|
82
87
|
const contextOperations = get(contextToolbarOperations)
|
|
83
|
-
if(contextOperations
|
|
88
|
+
if(contextOperations)
|
|
84
89
|
{
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
if(Array.isArray(contextOperations))
|
|
91
|
+
{
|
|
92
|
+
if(contextOperations.length)
|
|
93
|
+
contextToolbarOperations.set([...contextOperations])
|
|
94
|
+
}
|
|
95
|
+
else
|
|
96
|
+
{
|
|
97
|
+
if(contextOperations.operations.length)
|
|
98
|
+
contextToolbarOperations.set({...contextOperations})
|
|
99
|
+
}
|
|
87
100
|
}
|
|
88
101
|
else
|
|
89
102
|
{
|
|
90
103
|
const pageOperations = get(pageToolbarOperations);
|
|
91
|
-
if(pageOperations
|
|
92
|
-
|
|
104
|
+
if(pageOperations)
|
|
105
|
+
{
|
|
106
|
+
if(Array.isArray(pageOperations))
|
|
107
|
+
{
|
|
108
|
+
if(pageOperations.length > 0)
|
|
109
|
+
{
|
|
110
|
+
pageToolbarOperations.set([...pageOperations])
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
else
|
|
114
|
+
{
|
|
115
|
+
if(pageOperations.operations && pageOperations.operations.length > 0)
|
|
116
|
+
{
|
|
117
|
+
pageToolbarOperations.set({...pageOperations})
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
93
122
|
}
|
|
94
123
|
}
|
|
95
124
|
|
package/vertical.toolbar.svelte
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} VerticalProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} VerticalEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} VerticalSlots */
|
|
4
|
-
export default class Vertical extends SvelteComponentTyped<{
|
|
5
|
-
appConfig: any;
|
|
6
|
-
mobile?: boolean | undefined;
|
|
7
|
-
clearsContext?: string | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
}, {}> {
|
|
11
|
-
}
|
|
12
|
-
export type VerticalProps = typeof __propDef.props;
|
|
13
|
-
export type VerticalEvents = typeof __propDef.events;
|
|
14
|
-
export type VerticalSlots = typeof __propDef.slots;
|
|
15
|
-
import { SvelteComponentTyped } from "svelte";
|
|
16
|
-
declare const __propDef: {
|
|
17
|
-
props: {
|
|
18
|
-
appConfig: any;
|
|
19
|
-
mobile?: boolean | undefined;
|
|
20
|
-
clearsContext?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
};
|
|
25
|
-
slots: {};
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} VerticalProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} VerticalEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} VerticalSlots */
|
|
4
|
+
export default class Vertical extends SvelteComponentTyped<{
|
|
5
|
+
appConfig: any;
|
|
6
|
+
mobile?: boolean | undefined;
|
|
7
|
+
clearsContext?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
}, {}> {
|
|
11
|
+
}
|
|
12
|
+
export type VerticalProps = typeof __propDef.props;
|
|
13
|
+
export type VerticalEvents = typeof __propDef.events;
|
|
14
|
+
export type VerticalSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
appConfig: any;
|
|
19
|
+
mobile?: boolean | undefined;
|
|
20
|
+
clearsContext?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
events: {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
};
|
|
25
|
+
slots: {};
|
|
26
|
+
};
|
|
27
|
+
export {};
|