@humandialog/forms.svelte 0.5.8 → 0.5.10
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 +165 -98
- 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 +31 -9
- 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 +4 -4
- package/components/document/rich.edit.svelte.d.ts +32 -32
- package/components/edit.field.svelte +9 -4
- package/components/edit.field.svelte.d.ts +31 -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 +106 -106
- package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
- package/components/kanban/internal/kanban.column.svelte +84 -69
- 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 +2 -1
- 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 +86 -85
- package/components/kanban/kanban.svelte.d.ts +65 -65
- package/components/kanban/kanban.tags.svelte +4 -2
- package/components/kanban/kanban.tags.svelte.d.ts +24 -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 +45 -44
- package/components/list/List.js +53 -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 -46
- package/components/list/internal/list.element.summary.svelte.d.ts +24 -24
- 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 +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.d.ts +59 -59
- package/components/list/list.title.svelte.d.ts +22 -22
- package/components/menu.d.ts +5 -4
- package/components/menu.js +57 -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 +56 -6
- package/components/sidebar/sidebar.item.svelte.d.ts +29 -28
- package/components/sidebar/sidebar.list.svelte +36 -15
- package/components/sidebar/sidebar.list.svelte.d.ts +35 -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.colors.svelte +92 -0
- package/components/tag.colors.svelte.d.ts +17 -0
- package/components/tag.svelte +48 -18
- package/components/tag.svelte.d.ts +20 -19
- package/components/tags.svelte +27 -4
- package/components/tags.svelte.d.ts +32 -31
- package/components/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/desk.svelte +1 -1
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte +20 -13
- package/horizontal.toolbar.svelte.d.ts +25 -25
- package/index.d.ts +59 -59
- package/index.js +65 -65
- package/internal/configurable.content.svelte +8 -0
- package/internal/configurable.content.svelte.d.ts +29 -27
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte +5 -2
- package/modal.svelte.d.ts +37 -35
- package/operations.svelte +36 -16
- package/operations.svelte.d.ts +16 -16
- package/package.json +9 -8
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte +18 -5
- package/page.svelte.d.ts +47 -45
- package/stores.d.ts +39 -39
- package/stores.js +0 -0
- 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,29 +1,29 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} TileProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} TileEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} TileSlots */
|
|
4
|
-
export default class Tile extends SvelteComponentTyped<{
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
c?: string | undefined;
|
|
8
|
-
a?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
}, {}> {
|
|
12
|
-
}
|
|
13
|
-
export type TileProps = typeof __propDef.props;
|
|
14
|
-
export type TileEvents = typeof __propDef.events;
|
|
15
|
-
export type TileSlots = typeof __propDef.slots;
|
|
16
|
-
import { SvelteComponentTyped } from "svelte";
|
|
17
|
-
declare const __propDef: {
|
|
18
|
-
props: {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
label?: string | undefined;
|
|
21
|
-
c?: string | undefined;
|
|
22
|
-
a?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
events: {
|
|
25
|
-
[evt: string]: CustomEvent<any>;
|
|
26
|
-
};
|
|
27
|
-
slots: {};
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} TileProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TileEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TileSlots */
|
|
4
|
+
export default class Tile extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
c?: string | undefined;
|
|
8
|
+
a?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
}, {}> {
|
|
12
|
+
}
|
|
13
|
+
export type TileProps = typeof __propDef.props;
|
|
14
|
+
export type TileEvents = typeof __propDef.events;
|
|
15
|
+
export type TileSlots = typeof __propDef.slots;
|
|
16
|
+
import { SvelteComponentTyped } from "svelte";
|
|
17
|
+
declare const __propDef: {
|
|
18
|
+
props: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
label?: string | undefined;
|
|
21
|
+
c?: string | undefined;
|
|
22
|
+
a?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
events: {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
};
|
|
27
|
+
slots: {};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
package/desk.svelte
CHANGED
package/desk.svelte.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} DeskProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} DeskEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} DeskSlots */
|
|
4
|
-
export default class Desk extends SvelteComponentTyped<{
|
|
5
|
-
layout: any;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
}
|
|
10
|
-
export type DeskProps = typeof __propDef.props;
|
|
11
|
-
export type DeskEvents = typeof __propDef.events;
|
|
12
|
-
export type DeskSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
layout: any;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} DeskProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} DeskEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} DeskSlots */
|
|
4
|
+
export default class Desk extends SvelteComponentTyped<{
|
|
5
|
+
layout: any;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> {
|
|
9
|
+
}
|
|
10
|
+
export type DeskProps = typeof __propDef.props;
|
|
11
|
+
export type DeskEvents = typeof __propDef.events;
|
|
12
|
+
export type DeskSlots = typeof __propDef.slots;
|
|
13
|
+
import { SvelteComponentTyped } from "svelte";
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: {
|
|
16
|
+
layout: any;
|
|
17
|
+
};
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export {};
|
package/form.box.svelte.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} FormProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} FormEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} FormSlots */
|
|
4
|
-
export default class Form extends SvelteComponentTyped<{
|
|
5
|
-
context?: string | undefined;
|
|
6
|
-
self?: null | undefined;
|
|
7
|
-
c?: string | undefined;
|
|
8
|
-
cl?: string | undefined;
|
|
9
|
-
fit?: boolean | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
}, {
|
|
13
|
-
default: {};
|
|
14
|
-
}> {
|
|
15
|
-
}
|
|
16
|
-
export type FormProps = typeof __propDef.props;
|
|
17
|
-
export type FormEvents = typeof __propDef.events;
|
|
18
|
-
export type FormSlots = typeof __propDef.slots;
|
|
19
|
-
import { SvelteComponentTyped } from "svelte";
|
|
20
|
-
declare const __propDef: {
|
|
21
|
-
props: {
|
|
22
|
-
context?: string | undefined;
|
|
23
|
-
self?: null | undefined;
|
|
24
|
-
c?: string | undefined;
|
|
25
|
-
cl?: string | undefined;
|
|
26
|
-
fit?: boolean | undefined;
|
|
27
|
-
};
|
|
28
|
-
events: {
|
|
29
|
-
[evt: string]: CustomEvent<any>;
|
|
30
|
-
};
|
|
31
|
-
slots: {
|
|
32
|
-
default: {};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} FormProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} FormEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} FormSlots */
|
|
4
|
+
export default class Form extends SvelteComponentTyped<{
|
|
5
|
+
context?: string | undefined;
|
|
6
|
+
self?: null | undefined;
|
|
7
|
+
c?: string | undefined;
|
|
8
|
+
cl?: string | undefined;
|
|
9
|
+
fit?: boolean | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
}, {
|
|
13
|
+
default: {};
|
|
14
|
+
}> {
|
|
15
|
+
}
|
|
16
|
+
export type FormProps = typeof __propDef.props;
|
|
17
|
+
export type FormEvents = typeof __propDef.events;
|
|
18
|
+
export type FormSlots = typeof __propDef.slots;
|
|
19
|
+
import { SvelteComponentTyped } from "svelte";
|
|
20
|
+
declare const __propDef: {
|
|
21
|
+
props: {
|
|
22
|
+
context?: string | undefined;
|
|
23
|
+
self?: null | undefined;
|
|
24
|
+
c?: string | undefined;
|
|
25
|
+
cl?: string | undefined;
|
|
26
|
+
fit?: boolean | undefined;
|
|
27
|
+
};
|
|
28
|
+
events: {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
};
|
|
31
|
+
slots: {
|
|
32
|
+
default: {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
import {session, signInHRef, signOutHRef} from '@humandialog/auth.svelte'
|
|
37
37
|
|
|
38
38
|
import VerticalToolbar from './vertical.toolbar.svelte'
|
|
39
|
+
import { isDeviceSmallerThan } from './utils.js';
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
export let appConfig;
|
|
@@ -87,24 +88,30 @@
|
|
|
87
88
|
|
|
88
89
|
function toggle_navigator(e)
|
|
89
90
|
{
|
|
90
|
-
if(
|
|
91
|
-
|
|
92
|
-
$sidebar_left_pos = 0;
|
|
93
|
-
toggle_sidebar(tabs[0]);
|
|
94
|
-
}
|
|
91
|
+
if(isDeviceSmallerThan('sm'))
|
|
92
|
+
push('/')
|
|
95
93
|
else
|
|
96
94
|
{
|
|
97
|
-
|
|
98
|
-
if(
|
|
95
|
+
|
|
96
|
+
if(tabs.length == 1)
|
|
99
97
|
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
else
|
|
103
|
-
sidebar = previously_visible_sidebar;
|
|
98
|
+
$sidebar_left_pos = 0;
|
|
99
|
+
toggle_sidebar(tabs[0]);
|
|
104
100
|
}
|
|
101
|
+
else
|
|
102
|
+
{
|
|
103
|
+
let sidebar = $main_sidebar_visible_store;
|
|
104
|
+
if(sidebar == "*")
|
|
105
|
+
{
|
|
106
|
+
if((!previously_visible_sidebar) || previously_visible_sidebar === '*')
|
|
107
|
+
sidebar = Object.keys(appConfig.sidebar)[0];
|
|
108
|
+
else
|
|
109
|
+
sidebar = previously_visible_sidebar;
|
|
110
|
+
}
|
|
105
111
|
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
$sidebar_left_pos = 40;
|
|
113
|
+
toggle_sidebar(sidebar)
|
|
114
|
+
}
|
|
108
115
|
}
|
|
109
116
|
}
|
|
110
117
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} HorizontalProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} HorizontalEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} HorizontalSlots */
|
|
4
|
-
export default class Horizontal extends SvelteComponentTyped<{
|
|
5
|
-
appConfig: any;
|
|
6
|
-
clearsContext?: string | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
}, {}> {
|
|
10
|
-
}
|
|
11
|
-
export type HorizontalProps = typeof __propDef.props;
|
|
12
|
-
export type HorizontalEvents = typeof __propDef.events;
|
|
13
|
-
export type HorizontalSlots = typeof __propDef.slots;
|
|
14
|
-
import { SvelteComponentTyped } from "svelte";
|
|
15
|
-
declare const __propDef: {
|
|
16
|
-
props: {
|
|
17
|
-
appConfig: any;
|
|
18
|
-
clearsContext?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
events: {
|
|
21
|
-
[evt: string]: CustomEvent<any>;
|
|
22
|
-
};
|
|
23
|
-
slots: {};
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} HorizontalProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} HorizontalEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} HorizontalSlots */
|
|
4
|
+
export default class Horizontal extends SvelteComponentTyped<{
|
|
5
|
+
appConfig: any;
|
|
6
|
+
clearsContext?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
}, {}> {
|
|
10
|
+
}
|
|
11
|
+
export type HorizontalProps = typeof __propDef.props;
|
|
12
|
+
export type HorizontalEvents = typeof __propDef.events;
|
|
13
|
+
export type HorizontalSlots = typeof __propDef.slots;
|
|
14
|
+
import { SvelteComponentTyped } from "svelte";
|
|
15
|
+
declare const __propDef: {
|
|
16
|
+
props: {
|
|
17
|
+
appConfig: any;
|
|
18
|
+
clearsContext?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {};
|
|
24
|
+
};
|
|
25
|
+
export {};
|
package/index.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
export { default as Page } from "./page.svelte";
|
|
2
|
-
export { default as Tile } from "./tile.svelte";
|
|
3
|
-
export { default as Row } from "./tiles.row.svelte";
|
|
4
|
-
export { default as Box } from "./form.box.svelte";
|
|
5
|
-
export { default as Operations } from './operations.svelte';
|
|
6
|
-
export { default as Layout } from './desk.svelte';
|
|
7
|
-
export { default as Icon } from "./components/icon.svelte";
|
|
8
|
-
export { default as Button } from './components/button.svelte';
|
|
9
|
-
export { default as Checkbox } from './components/checkbox.svelte';
|
|
10
|
-
export { default as DatePicker } from './components/date.svelte';
|
|
11
|
-
export { default as Edit } from './components/edit.field.svelte';
|
|
12
|
-
export { default as FileLoader } from './components/file.loader.svelte';
|
|
13
|
-
export { default as Input } from './components/inputbox.ltop.svelte';
|
|
14
|
-
export { default as Radio } from './components/radio.svelte';
|
|
15
|
-
export { default as SimpleTable } from './components/simple.table.svelte';
|
|
16
|
-
export { default as Title } from './components/tile.title.svelte';
|
|
17
|
-
export { default as Table } from './components/table/table.svelte';
|
|
18
|
-
export { default as TableColumn } from './components/table/column.svelte';
|
|
19
|
-
export { default as TableItem } from './components/table/item.svelte';
|
|
20
|
-
export { default as Combo } from './components/combo/combo.svelte';
|
|
21
|
-
export { default as ComboSource } from './components/combo/combo.source.svelte';
|
|
22
|
-
export { default as ComboItem } from './components/combo/combo.item.svelte';
|
|
23
|
-
export { default as RichEdit } from './components/document/rich.edit.svelte';
|
|
24
|
-
export { default as Spinner } from './components/delayed.spinner.svelte';
|
|
25
|
-
export { showMenu, showGridMenu, showFloatingToolbar } from './components/menu';
|
|
26
|
-
export { default as Fab } from './components/Fab.svelte';
|
|
27
|
-
export { default as Sidebar } from './components/sidebar/sidebar.svelte';
|
|
28
|
-
export { default as SidebarBrand } from './components/sidebar/sidebar.brand.svelte';
|
|
29
|
-
export { default as SidebarGroup } from './components/sidebar/sidebar.group.svelte';
|
|
30
|
-
export { default as SidebarItem } from './components/sidebar/sidebar.item.svelte';
|
|
31
|
-
export { default as SidebarList } from './components/sidebar/sidebar.list.svelte';
|
|
32
|
-
export { default as List } from './components/list/list.svelte';
|
|
33
|
-
export { default as ListTitle } from './components/list/list.title.svelte';
|
|
34
|
-
export { default as ListSummary } from './components/list/list.summary.svelte';
|
|
35
|
-
export { default as ListInserter } from './components/list/list.inserter.svelte';
|
|
36
|
-
export { default as ListDateProperty } from './components/list/list.date.svelte';
|
|
37
|
-
export { default as ListComboProperty } from './components/list/list.combo.svelte';
|
|
38
|
-
export { default as ListStaticProperty } from './components/list/list.static.svelte';
|
|
39
|
-
export { default as Modal } from './modal.svelte';
|
|
40
|
-
export { default as MembersPage } from './tenant.members.svelte';
|
|
41
|
-
export { default as Tag } from './components/tag.svelte';
|
|
42
|
-
export { default as Tags } from './components/tags.svelte';
|
|
43
|
-
export { default as Kanban } from './components/kanban/kanban.svelte';
|
|
44
|
-
export { default as KanbanSource } from './components/kanban/kanban.source.svelte';
|
|
45
|
-
export { default as KanbanColumn } from './components/kanban/kanban.column.svelte';
|
|
46
|
-
export { default as KanbanTitle } from './components/kanban/kanban.title.svelte';
|
|
47
|
-
export { default as KanbanSummary } from './components/kanban/kanban.summary.svelte';
|
|
48
|
-
export { default as KanbanStaticProperty } from './components/kanban/kanban.static.svelte';
|
|
49
|
-
export { default as KanbanDateProperty } from './components/kanban/kanban.date.svelte';
|
|
50
|
-
export { default as KanbanComboProperty } from './components/kanban/kanban.combo.svelte';
|
|
51
|
-
export { default as KanbanTagsProperty } from './components/kanban/kanban.tags.svelte';
|
|
52
|
-
export { default as KanbanCallbacks } from './components/kanban/kanban.callbacks.svelte';
|
|
53
|
-
export { KanbanColumnTop, KanbanColumnBottom } from './components/kanban/Kanban';
|
|
54
|
-
export { selectItem, activateItem, clearActiveItem, isActive, isSelected, getActive, editable, startEditing, selectable, handleSelect } from './utils';
|
|
55
|
-
export { mainViewReloader, reloadMainView } from './stores.js';
|
|
56
|
-
export { data_tick_store, // tmp
|
|
57
|
-
hasSelectedItem, hasDataItem, setNavigatorTitle } from "./stores";
|
|
58
|
-
export { contextToolbarOperations, pageToolbarOperations, contextItemsStore, contextTypesStore } from './stores';
|
|
59
|
-
export { informModification, informModificationEx, informItem, pushChanges } from './updates';
|
|
1
|
+
export { default as Page } from "./page.svelte";
|
|
2
|
+
export { default as Tile } from "./tile.svelte";
|
|
3
|
+
export { default as Row } from "./tiles.row.svelte";
|
|
4
|
+
export { default as Box } from "./form.box.svelte";
|
|
5
|
+
export { default as Operations } from './operations.svelte';
|
|
6
|
+
export { default as Layout } from './desk.svelte';
|
|
7
|
+
export { default as Icon } from "./components/icon.svelte";
|
|
8
|
+
export { default as Button } from './components/button.svelte';
|
|
9
|
+
export { default as Checkbox } from './components/checkbox.svelte';
|
|
10
|
+
export { default as DatePicker } from './components/date.svelte';
|
|
11
|
+
export { default as Edit } from './components/edit.field.svelte';
|
|
12
|
+
export { default as FileLoader } from './components/file.loader.svelte';
|
|
13
|
+
export { default as Input } from './components/inputbox.ltop.svelte';
|
|
14
|
+
export { default as Radio } from './components/radio.svelte';
|
|
15
|
+
export { default as SimpleTable } from './components/simple.table.svelte';
|
|
16
|
+
export { default as Title } from './components/tile.title.svelte';
|
|
17
|
+
export { default as Table } from './components/table/table.svelte';
|
|
18
|
+
export { default as TableColumn } from './components/table/column.svelte';
|
|
19
|
+
export { default as TableItem } from './components/table/item.svelte';
|
|
20
|
+
export { default as Combo } from './components/combo/combo.svelte';
|
|
21
|
+
export { default as ComboSource } from './components/combo/combo.source.svelte';
|
|
22
|
+
export { default as ComboItem } from './components/combo/combo.item.svelte';
|
|
23
|
+
export { default as RichEdit } from './components/document/rich.edit.svelte';
|
|
24
|
+
export { default as Spinner } from './components/delayed.spinner.svelte';
|
|
25
|
+
export { showMenu, showGridMenu, showFloatingToolbar } from './components/menu';
|
|
26
|
+
export { default as Fab } from './components/Fab.svelte';
|
|
27
|
+
export { default as Sidebar } from './components/sidebar/sidebar.svelte';
|
|
28
|
+
export { default as SidebarBrand } from './components/sidebar/sidebar.brand.svelte';
|
|
29
|
+
export { default as SidebarGroup } from './components/sidebar/sidebar.group.svelte';
|
|
30
|
+
export { default as SidebarItem } from './components/sidebar/sidebar.item.svelte';
|
|
31
|
+
export { default as SidebarList } from './components/sidebar/sidebar.list.svelte';
|
|
32
|
+
export { default as List } from './components/list/list.svelte';
|
|
33
|
+
export { default as ListTitle } from './components/list/list.title.svelte';
|
|
34
|
+
export { default as ListSummary } from './components/list/list.summary.svelte';
|
|
35
|
+
export { default as ListInserter } from './components/list/list.inserter.svelte';
|
|
36
|
+
export { default as ListDateProperty } from './components/list/list.date.svelte';
|
|
37
|
+
export { default as ListComboProperty } from './components/list/list.combo.svelte';
|
|
38
|
+
export { default as ListStaticProperty } from './components/list/list.static.svelte';
|
|
39
|
+
export { default as Modal } from './modal.svelte';
|
|
40
|
+
export { default as MembersPage } from './tenant.members.svelte';
|
|
41
|
+
export { default as Tag } from './components/tag.svelte';
|
|
42
|
+
export { default as Tags } from './components/tags.svelte';
|
|
43
|
+
export { default as Kanban } from './components/kanban/kanban.svelte';
|
|
44
|
+
export { default as KanbanSource } from './components/kanban/kanban.source.svelte';
|
|
45
|
+
export { default as KanbanColumn } from './components/kanban/kanban.column.svelte';
|
|
46
|
+
export { default as KanbanTitle } from './components/kanban/kanban.title.svelte';
|
|
47
|
+
export { default as KanbanSummary } from './components/kanban/kanban.summary.svelte';
|
|
48
|
+
export { default as KanbanStaticProperty } from './components/kanban/kanban.static.svelte';
|
|
49
|
+
export { default as KanbanDateProperty } from './components/kanban/kanban.date.svelte';
|
|
50
|
+
export { default as KanbanComboProperty } from './components/kanban/kanban.combo.svelte';
|
|
51
|
+
export { default as KanbanTagsProperty } from './components/kanban/kanban.tags.svelte';
|
|
52
|
+
export { default as KanbanCallbacks } from './components/kanban/kanban.callbacks.svelte';
|
|
53
|
+
export { KanbanColumnTop, KanbanColumnBottom } from './components/kanban/Kanban';
|
|
54
|
+
export { selectItem, activateItem, clearActiveItem, isActive, isSelected, getActive, editable, startEditing, selectable, handleSelect, isDeviceSmallerThan } from './utils';
|
|
55
|
+
export { mainViewReloader, reloadMainView } from './stores.js';
|
|
56
|
+
export { data_tick_store, // tmp
|
|
57
|
+
hasSelectedItem, hasDataItem, setNavigatorTitle } from "./stores";
|
|
58
|
+
export { contextToolbarOperations, pageToolbarOperations, contextItemsStore, contextTypesStore } from './stores';
|
|
59
|
+
export { informModification, informModificationEx, informItem, pushChanges } from './updates';
|
package/index.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { List } from "flowbite-svelte";
|
|
3
|
-
//export { default as Row } from "./page.row.svelte";
|
|
4
|
-
export { default as Page } from "./page.svelte";
|
|
5
|
-
export { default as Tile } from "./tile.svelte";
|
|
6
|
-
export { default as Row } from "./tiles.row.svelte";
|
|
7
|
-
export { default as Box } from "./form.box.svelte";
|
|
8
|
-
//export { default as TilesVerticalRow } from "./tiles.vertical.row.svelte";
|
|
9
|
-
export { default as Operations } from './operations.svelte';
|
|
10
|
-
export { default as Layout } from './desk.svelte';
|
|
11
|
-
// @ts-ignore
|
|
12
|
-
export { default as Icon } from "./components/icon.svelte";
|
|
13
|
-
export { default as Button } from './components/button.svelte';
|
|
14
|
-
export { default as Checkbox } from './components/checkbox.svelte';
|
|
15
|
-
export { default as DatePicker } from './components/date.svelte';
|
|
16
|
-
export { default as Edit } from './components/edit.field.svelte';
|
|
17
|
-
export { default as FileLoader } from './components/file.loader.svelte';
|
|
18
|
-
export { default as Input } from './components/inputbox.ltop.svelte';
|
|
19
|
-
export { default as Radio } from './components/radio.svelte';
|
|
20
|
-
export { default as SimpleTable } from './components/simple.table.svelte';
|
|
21
|
-
export { default as Title } from './components/tile.title.svelte';
|
|
22
|
-
export { default as Table } from './components/table/table.svelte';
|
|
23
|
-
export { default as TableColumn } from './components/table/column.svelte';
|
|
24
|
-
export { default as TableItem } from './components/table/item.svelte';
|
|
25
|
-
export { default as Combo } from './components/combo/combo.svelte';
|
|
26
|
-
export { default as ComboSource } from './components/combo/combo.source.svelte';
|
|
27
|
-
export { default as ComboItem } from './components/combo/combo.item.svelte';
|
|
28
|
-
export { default as RichEdit } from './components/document/rich.edit.svelte';
|
|
29
|
-
export { default as Spinner } from './components/delayed.spinner.svelte';
|
|
30
|
-
//export { default as Menu } from './components/contextmenu.svelte'
|
|
31
|
-
export { showMenu, showGridMenu, showFloatingToolbar } from './components/menu';
|
|
32
|
-
export { default as Fab } from './components/Fab.svelte';
|
|
33
|
-
export { default as Sidebar } from './components/sidebar/sidebar.svelte';
|
|
34
|
-
export { default as SidebarBrand } from './components/sidebar/sidebar.brand.svelte';
|
|
35
|
-
export { default as SidebarGroup } from './components/sidebar/sidebar.group.svelte';
|
|
36
|
-
export { default as SidebarItem } from './components/sidebar/sidebar.item.svelte';
|
|
37
|
-
export { default as SidebarList } from './components/sidebar/sidebar.list.svelte';
|
|
38
|
-
export { default as List } from './components/list/list.svelte';
|
|
39
|
-
export { default as ListTitle } from './components/list/list.title.svelte';
|
|
40
|
-
export { default as ListSummary } from './components/list/list.summary.svelte';
|
|
41
|
-
export { default as ListInserter } from './components/list/list.inserter.svelte';
|
|
42
|
-
export { default as ListDateProperty } from './components/list/list.date.svelte';
|
|
43
|
-
export { default as ListComboProperty } from './components/list/list.combo.svelte';
|
|
44
|
-
export { default as ListStaticProperty } from './components/list/list.static.svelte';
|
|
45
|
-
export { default as Modal } from './modal.svelte';
|
|
46
|
-
export { default as MembersPage } from './tenant.members.svelte';
|
|
47
|
-
export { default as Tag } from './components/tag.svelte';
|
|
48
|
-
export { default as Tags } from './components/tags.svelte';
|
|
49
|
-
export { default as Kanban } from './components/kanban/kanban.svelte';
|
|
50
|
-
export { default as KanbanSource } from './components/kanban/kanban.source.svelte';
|
|
51
|
-
export { default as KanbanColumn } from './components/kanban/kanban.column.svelte';
|
|
52
|
-
export { default as KanbanTitle } from './components/kanban/kanban.title.svelte';
|
|
53
|
-
export { default as KanbanSummary } from './components/kanban/kanban.summary.svelte';
|
|
54
|
-
export { default as KanbanStaticProperty } from './components/kanban/kanban.static.svelte';
|
|
55
|
-
export { default as KanbanDateProperty } from './components/kanban/kanban.date.svelte';
|
|
56
|
-
export { default as KanbanComboProperty } from './components/kanban/kanban.combo.svelte';
|
|
57
|
-
export { default as KanbanTagsProperty } from './components/kanban/kanban.tags.svelte';
|
|
58
|
-
export { default as KanbanCallbacks } from './components/kanban/kanban.callbacks.svelte';
|
|
59
|
-
export { KanbanColumnTop, KanbanColumnBottom } from './components/kanban/Kanban';
|
|
60
|
-
export { selectItem, activateItem, clearActiveItem, isActive, isSelected, getActive, editable, startEditing, selectable, handleSelect } from './utils';
|
|
61
|
-
export { mainViewReloader, reloadMainView } from './stores.js';
|
|
62
|
-
export { data_tick_store, // tmp
|
|
63
|
-
hasSelectedItem, hasDataItem, setNavigatorTitle } from "./stores";
|
|
64
|
-
export { contextToolbarOperations, pageToolbarOperations, contextItemsStore, contextTypesStore } from './stores'; // tmp
|
|
65
|
-
export { informModification, informModificationEx, informItem, pushChanges } from './updates'; // tmp
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { List } from "flowbite-svelte";
|
|
3
|
+
//export { default as Row } from "./page.row.svelte";
|
|
4
|
+
export { default as Page } from "./page.svelte";
|
|
5
|
+
export { default as Tile } from "./tile.svelte";
|
|
6
|
+
export { default as Row } from "./tiles.row.svelte";
|
|
7
|
+
export { default as Box } from "./form.box.svelte";
|
|
8
|
+
//export { default as TilesVerticalRow } from "./tiles.vertical.row.svelte";
|
|
9
|
+
export { default as Operations } from './operations.svelte';
|
|
10
|
+
export { default as Layout } from './desk.svelte';
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export { default as Icon } from "./components/icon.svelte";
|
|
13
|
+
export { default as Button } from './components/button.svelte';
|
|
14
|
+
export { default as Checkbox } from './components/checkbox.svelte';
|
|
15
|
+
export { default as DatePicker } from './components/date.svelte';
|
|
16
|
+
export { default as Edit } from './components/edit.field.svelte';
|
|
17
|
+
export { default as FileLoader } from './components/file.loader.svelte';
|
|
18
|
+
export { default as Input } from './components/inputbox.ltop.svelte';
|
|
19
|
+
export { default as Radio } from './components/radio.svelte';
|
|
20
|
+
export { default as SimpleTable } from './components/simple.table.svelte';
|
|
21
|
+
export { default as Title } from './components/tile.title.svelte';
|
|
22
|
+
export { default as Table } from './components/table/table.svelte';
|
|
23
|
+
export { default as TableColumn } from './components/table/column.svelte';
|
|
24
|
+
export { default as TableItem } from './components/table/item.svelte';
|
|
25
|
+
export { default as Combo } from './components/combo/combo.svelte';
|
|
26
|
+
export { default as ComboSource } from './components/combo/combo.source.svelte';
|
|
27
|
+
export { default as ComboItem } from './components/combo/combo.item.svelte';
|
|
28
|
+
export { default as RichEdit } from './components/document/rich.edit.svelte';
|
|
29
|
+
export { default as Spinner } from './components/delayed.spinner.svelte';
|
|
30
|
+
//export { default as Menu } from './components/contextmenu.svelte'
|
|
31
|
+
export { showMenu, showGridMenu, showFloatingToolbar } from './components/menu';
|
|
32
|
+
export { default as Fab } from './components/Fab.svelte';
|
|
33
|
+
export { default as Sidebar } from './components/sidebar/sidebar.svelte';
|
|
34
|
+
export { default as SidebarBrand } from './components/sidebar/sidebar.brand.svelte';
|
|
35
|
+
export { default as SidebarGroup } from './components/sidebar/sidebar.group.svelte';
|
|
36
|
+
export { default as SidebarItem } from './components/sidebar/sidebar.item.svelte';
|
|
37
|
+
export { default as SidebarList } from './components/sidebar/sidebar.list.svelte';
|
|
38
|
+
export { default as List } from './components/list/list.svelte';
|
|
39
|
+
export { default as ListTitle } from './components/list/list.title.svelte';
|
|
40
|
+
export { default as ListSummary } from './components/list/list.summary.svelte';
|
|
41
|
+
export { default as ListInserter } from './components/list/list.inserter.svelte';
|
|
42
|
+
export { default as ListDateProperty } from './components/list/list.date.svelte';
|
|
43
|
+
export { default as ListComboProperty } from './components/list/list.combo.svelte';
|
|
44
|
+
export { default as ListStaticProperty } from './components/list/list.static.svelte';
|
|
45
|
+
export { default as Modal } from './modal.svelte';
|
|
46
|
+
export { default as MembersPage } from './tenant.members.svelte';
|
|
47
|
+
export { default as Tag } from './components/tag.svelte';
|
|
48
|
+
export { default as Tags } from './components/tags.svelte';
|
|
49
|
+
export { default as Kanban } from './components/kanban/kanban.svelte';
|
|
50
|
+
export { default as KanbanSource } from './components/kanban/kanban.source.svelte';
|
|
51
|
+
export { default as KanbanColumn } from './components/kanban/kanban.column.svelte';
|
|
52
|
+
export { default as KanbanTitle } from './components/kanban/kanban.title.svelte';
|
|
53
|
+
export { default as KanbanSummary } from './components/kanban/kanban.summary.svelte';
|
|
54
|
+
export { default as KanbanStaticProperty } from './components/kanban/kanban.static.svelte';
|
|
55
|
+
export { default as KanbanDateProperty } from './components/kanban/kanban.date.svelte';
|
|
56
|
+
export { default as KanbanComboProperty } from './components/kanban/kanban.combo.svelte';
|
|
57
|
+
export { default as KanbanTagsProperty } from './components/kanban/kanban.tags.svelte';
|
|
58
|
+
export { default as KanbanCallbacks } from './components/kanban/kanban.callbacks.svelte';
|
|
59
|
+
export { KanbanColumnTop, KanbanColumnBottom } from './components/kanban/Kanban';
|
|
60
|
+
export { selectItem, activateItem, clearActiveItem, isActive, isSelected, getActive, editable, startEditing, selectable, handleSelect, isDeviceSmallerThan } from './utils';
|
|
61
|
+
export { mainViewReloader, reloadMainView } from './stores.js';
|
|
62
|
+
export { data_tick_store, // tmp
|
|
63
|
+
hasSelectedItem, hasDataItem, setNavigatorTitle } from "./stores";
|
|
64
|
+
export { contextToolbarOperations, pageToolbarOperations, contextItemsStore, contextTypesStore } from './stores'; // tmp
|
|
65
|
+
export { informModification, informModificationEx, informItem, pushChanges } from './updates'; // tmp
|
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
import Router from 'svelte-spa-router'
|
|
3
3
|
import {wrap} from 'svelte-spa-router/wrap'
|
|
4
4
|
import Loading from './loading.svelte'
|
|
5
|
+
import { getContext, setContext } from 'svelte';
|
|
5
6
|
|
|
6
7
|
export let config;
|
|
8
|
+
export let min_h_class = '';
|
|
9
|
+
|
|
10
|
+
let cascadingParams = {}
|
|
11
|
+
setContext('rPage-cascading-params', cascadingParams)
|
|
7
12
|
|
|
8
13
|
let component = null;
|
|
9
14
|
let props = {};
|
|
@@ -63,6 +68,9 @@
|
|
|
63
68
|
props = {};
|
|
64
69
|
routes = null;
|
|
65
70
|
}
|
|
71
|
+
|
|
72
|
+
if(min_h_class)
|
|
73
|
+
cascadingParams.min_h_class = min_h_class;
|
|
66
74
|
}
|
|
67
75
|
|
|
68
76
|
</script>
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} ConfigurableProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} ConfigurableEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} ConfigurableSlots */
|
|
4
|
-
export default class Configurable extends SvelteComponentTyped<{
|
|
5
|
-
config: any;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
|
|
1
|
+
/** @typedef {typeof __propDef.props} ConfigurableProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} ConfigurableEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} ConfigurableSlots */
|
|
4
|
+
export default class Configurable extends SvelteComponentTyped<{
|
|
5
|
+
config: any;
|
|
6
|
+
min_h_class?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
}, {
|
|
10
|
+
alt: {};
|
|
11
|
+
}> {
|
|
12
|
+
}
|
|
13
|
+
export type ConfigurableProps = typeof __propDef.props;
|
|
14
|
+
export type ConfigurableEvents = typeof __propDef.events;
|
|
15
|
+
export type ConfigurableSlots = typeof __propDef.slots;
|
|
16
|
+
import { SvelteComponentTyped } from "svelte";
|
|
17
|
+
declare const __propDef: {
|
|
18
|
+
props: {
|
|
19
|
+
config: any;
|
|
20
|
+
min_h_class?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
events: {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
};
|
|
25
|
+
slots: {
|
|
26
|
+
alt: {};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export {};
|