@humandialog/forms.svelte 0.4.36 → 0.4.37
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 +100 -43
- package/components/Fab.svelte.d.ts +14 -14
- package/components/Fab2.svelte +89 -0
- package/components/Fab2.svelte.d.ts +14 -0
- package/components/Floating_container.svelte +21 -20
- 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 +25 -25
- 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 +1 -1
- package/components/combo/combo.svelte.d.ts +39 -39
- package/components/contextmenu.svelte +49 -18
- package/components/contextmenu.svelte.d.ts +26 -26
- package/components/date.svelte.d.ts +30 -30
- 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 +1 -1
- package/components/document/internal/palette.svelte.d.ts +67 -67
- package/components/document/rich.edit.svelte.d.ts +23 -23
- package/components/edit.field.svelte.d.ts +27 -27
- 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 +50 -50
- package/components/list/List.d.ts +34 -34
- package/components/list/List.js +40 -40
- package/components/list/internal/list.element.svelte.d.ts +29 -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.d.ts +42 -42
- package/components/list/list.title.svelte.d.ts +19 -19
- package/components/menu.d.ts +4 -3
- package/components/menu.js +54 -48
- package/components/radio.svelte.d.ts +25 -25
- package/components/sidebar/sidebar.brand.svelte.d.ts +29 -29
- package/components/sidebar/sidebar.group.svelte.d.ts +31 -31
- package/components/sidebar/sidebar.item.svelte +51 -5
- package/components/sidebar/sidebar.item.svelte.d.ts +28 -28
- 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/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/desk.svelte +57 -58
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte +10 -13
- package/horizontal.toolbar.svelte.d.ts +23 -23
- package/index.d.ts +43 -43
- package/index.js +49 -49
- package/internal/configurable.content.svelte.d.ts +27 -27
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte +2 -2
- package/modal.svelte.d.ts +35 -35
- package/operations.svelte +0 -2
- package/operations.svelte.d.ts +16 -16
- package/package.json +8 -7
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte.d.ts +43 -43
- package/stores.d.ts +33 -33
- 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 +3 -3
- package/updates.js +0 -0
- package/utils.d.ts +26 -26
- package/utils.js +0 -0
- package/vertical.toolbar.svelte +2 -1
- package/vertical.toolbar.svelte.d.ts +25 -25
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
context?: string | undefined;
|
|
5
|
-
collection?: string | undefined;
|
|
6
|
-
self?: null | undefined;
|
|
7
|
-
objects?: null | undefined;
|
|
8
|
-
headers?: any[] | undefined;
|
|
9
|
-
fields?: any[] | undefined;
|
|
10
|
-
select?: string | undefined;
|
|
11
|
-
cinfo?: string | undefined;
|
|
12
|
-
focus?: boolean | undefined;
|
|
13
|
-
nav?: boolean | undefined;
|
|
14
|
-
c?: string | undefined;
|
|
15
|
-
typename?: string | undefined;
|
|
16
|
-
toolbar_operations?: any[] | undefined;
|
|
17
|
-
menu_operations?: any[] | undefined;
|
|
18
|
-
refresh?: (() => void) | undefined;
|
|
19
|
-
update_objects?: ((_objects: any) => void) | undefined;
|
|
20
|
-
update_self?: ((_self: any) => void) | undefined;
|
|
21
|
-
select_item?: ((itm: any, cinfo: any) => void) | undefined;
|
|
22
|
-
};
|
|
23
|
-
events: {
|
|
24
|
-
[evt: string]: CustomEvent<any>;
|
|
25
|
-
};
|
|
26
|
-
slots: {
|
|
27
|
-
default: {};
|
|
28
|
-
c0: {
|
|
29
|
-
item: unknown;
|
|
30
|
-
};
|
|
31
|
-
c1: {
|
|
32
|
-
item: unknown;
|
|
33
|
-
};
|
|
34
|
-
c2: {
|
|
35
|
-
item: unknown;
|
|
36
|
-
};
|
|
37
|
-
c3: {
|
|
38
|
-
item: unknown;
|
|
39
|
-
};
|
|
40
|
-
c4: {
|
|
41
|
-
item: unknown;
|
|
42
|
-
};
|
|
43
|
-
c5: {
|
|
44
|
-
item: unknown;
|
|
45
|
-
};
|
|
46
|
-
c6: {
|
|
47
|
-
item: unknown;
|
|
48
|
-
};
|
|
49
|
-
c7: {
|
|
50
|
-
item: unknown;
|
|
51
|
-
};
|
|
52
|
-
c8: {
|
|
53
|
-
item: unknown;
|
|
54
|
-
};
|
|
55
|
-
c9: {
|
|
56
|
-
item: unknown;
|
|
57
|
-
};
|
|
58
|
-
c10: {
|
|
59
|
-
item: unknown;
|
|
60
|
-
};
|
|
61
|
-
c11: {
|
|
62
|
-
item: unknown;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export type TableProps = typeof __propDef.props;
|
|
67
|
-
export type TableEvents = typeof __propDef.events;
|
|
68
|
-
export type TableSlots = typeof __propDef.slots;
|
|
69
|
-
export default class Table extends SvelteComponentTyped<TableProps, TableEvents, TableSlots> {
|
|
70
|
-
get refresh(): () => void;
|
|
71
|
-
get update_objects(): (_objects: any) => void;
|
|
72
|
-
get update_self(): (_self: any) => void;
|
|
73
|
-
get select_item(): (itm: any, cinfo: any) => void;
|
|
74
|
-
}
|
|
75
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
context?: string | undefined;
|
|
5
|
+
collection?: string | undefined;
|
|
6
|
+
self?: null | undefined;
|
|
7
|
+
objects?: null | undefined;
|
|
8
|
+
headers?: any[] | undefined;
|
|
9
|
+
fields?: any[] | undefined;
|
|
10
|
+
select?: string | undefined;
|
|
11
|
+
cinfo?: string | undefined;
|
|
12
|
+
focus?: boolean | undefined;
|
|
13
|
+
nav?: boolean | undefined;
|
|
14
|
+
c?: string | undefined;
|
|
15
|
+
typename?: string | undefined;
|
|
16
|
+
toolbar_operations?: any[] | undefined;
|
|
17
|
+
menu_operations?: any[] | undefined;
|
|
18
|
+
refresh?: (() => void) | undefined;
|
|
19
|
+
update_objects?: ((_objects: any) => void) | undefined;
|
|
20
|
+
update_self?: ((_self: any) => void) | undefined;
|
|
21
|
+
select_item?: ((itm: any, cinfo: any) => void) | undefined;
|
|
22
|
+
};
|
|
23
|
+
events: {
|
|
24
|
+
[evt: string]: CustomEvent<any>;
|
|
25
|
+
};
|
|
26
|
+
slots: {
|
|
27
|
+
default: {};
|
|
28
|
+
c0: {
|
|
29
|
+
item: unknown;
|
|
30
|
+
};
|
|
31
|
+
c1: {
|
|
32
|
+
item: unknown;
|
|
33
|
+
};
|
|
34
|
+
c2: {
|
|
35
|
+
item: unknown;
|
|
36
|
+
};
|
|
37
|
+
c3: {
|
|
38
|
+
item: unknown;
|
|
39
|
+
};
|
|
40
|
+
c4: {
|
|
41
|
+
item: unknown;
|
|
42
|
+
};
|
|
43
|
+
c5: {
|
|
44
|
+
item: unknown;
|
|
45
|
+
};
|
|
46
|
+
c6: {
|
|
47
|
+
item: unknown;
|
|
48
|
+
};
|
|
49
|
+
c7: {
|
|
50
|
+
item: unknown;
|
|
51
|
+
};
|
|
52
|
+
c8: {
|
|
53
|
+
item: unknown;
|
|
54
|
+
};
|
|
55
|
+
c9: {
|
|
56
|
+
item: unknown;
|
|
57
|
+
};
|
|
58
|
+
c10: {
|
|
59
|
+
item: unknown;
|
|
60
|
+
};
|
|
61
|
+
c11: {
|
|
62
|
+
item: unknown;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export type TableProps = typeof __propDef.props;
|
|
67
|
+
export type TableEvents = typeof __propDef.events;
|
|
68
|
+
export type TableSlots = typeof __propDef.slots;
|
|
69
|
+
export default class Table extends SvelteComponentTyped<TableProps, TableEvents, TableSlots> {
|
|
70
|
+
get refresh(): () => void;
|
|
71
|
+
get update_objects(): (_objects: any) => void;
|
|
72
|
+
get update_self(): (_self: any) => void;
|
|
73
|
+
get select_item(): (itm: any, cinfo: any) => void;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} TextareaProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} TextareaEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} TextareaSlots */
|
|
4
|
-
export default class Textarea extends SvelteComponentTyped<{
|
|
5
|
-
label?: string | undefined;
|
|
6
|
-
c?: string | undefined;
|
|
7
|
-
s?: string | undefined;
|
|
8
|
-
placeholder?: string | undefined;
|
|
9
|
-
val?: string | undefined;
|
|
10
|
-
sy?: string | undefined;
|
|
11
|
-
r?: number | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}> {
|
|
15
|
-
}
|
|
16
|
-
export type TextareaProps = typeof __propDef.props;
|
|
17
|
-
export type TextareaEvents = typeof __propDef.events;
|
|
18
|
-
export type TextareaSlots = typeof __propDef.slots;
|
|
19
|
-
import { SvelteComponentTyped } from "svelte";
|
|
20
|
-
declare const __propDef: {
|
|
21
|
-
props: {
|
|
22
|
-
label?: string | undefined;
|
|
23
|
-
c?: string | undefined;
|
|
24
|
-
s?: string | undefined;
|
|
25
|
-
placeholder?: string | undefined;
|
|
26
|
-
val?: string | undefined;
|
|
27
|
-
sy?: string | undefined;
|
|
28
|
-
r?: number | undefined;
|
|
29
|
-
};
|
|
30
|
-
events: {
|
|
31
|
-
[evt: string]: CustomEvent<any>;
|
|
32
|
-
};
|
|
33
|
-
slots: {};
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} TextareaProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TextareaEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TextareaSlots */
|
|
4
|
+
export default class Textarea extends SvelteComponentTyped<{
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
c?: string | undefined;
|
|
7
|
+
s?: string | undefined;
|
|
8
|
+
placeholder?: string | undefined;
|
|
9
|
+
val?: string | undefined;
|
|
10
|
+
sy?: string | undefined;
|
|
11
|
+
r?: number | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
}, {}> {
|
|
15
|
+
}
|
|
16
|
+
export type TextareaProps = typeof __propDef.props;
|
|
17
|
+
export type TextareaEvents = typeof __propDef.events;
|
|
18
|
+
export type TextareaSlots = typeof __propDef.slots;
|
|
19
|
+
import { SvelteComponentTyped } from "svelte";
|
|
20
|
+
declare const __propDef: {
|
|
21
|
+
props: {
|
|
22
|
+
label?: string | undefined;
|
|
23
|
+
c?: string | undefined;
|
|
24
|
+
s?: string | undefined;
|
|
25
|
+
placeholder?: string | undefined;
|
|
26
|
+
val?: string | undefined;
|
|
27
|
+
sy?: string | undefined;
|
|
28
|
+
r?: number | undefined;
|
|
29
|
+
};
|
|
30
|
+
events: {
|
|
31
|
+
[evt: string]: CustomEvent<any>;
|
|
32
|
+
};
|
|
33
|
+
slots: {};
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -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
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { AuthorizedView} from '@humandialog/auth.svelte'
|
|
19
19
|
import { handle_select, is_device_smaller_than } from './utils'
|
|
20
|
-
import { onMount } from 'svelte';
|
|
20
|
+
import { afterUpdate, onMount } from 'svelte';
|
|
21
21
|
|
|
22
22
|
export let layout;
|
|
23
23
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
else
|
|
88
88
|
{
|
|
89
|
-
main_side_panel_visibility = "lg:block"
|
|
89
|
+
main_side_panel_visibility = "fixed lg:block"
|
|
90
90
|
lg_content_area_horizontal_dim = `lg:left-[360px] lg:w-[calc(100vw-360px)]`
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
let bottom_bar_visibility = "hidden"
|
|
97
97
|
let bottom_bar_visible = false
|
|
98
98
|
let lg_main_sidebar_height = ""
|
|
99
|
+
let fab_visibility = "hidden"
|
|
99
100
|
let fab_bottom = "bottom-0"
|
|
100
101
|
|
|
101
102
|
let content_top = ""
|
|
@@ -110,12 +111,10 @@
|
|
|
110
111
|
|
|
111
112
|
if(tools_visible)
|
|
112
113
|
{
|
|
113
|
-
tools_visibility = "fixed"
|
|
114
|
+
tools_visibility = "hidden sm:block sm:fixed"
|
|
115
|
+
fab_visibility = "fixed sm:hidden"
|
|
114
116
|
|
|
115
|
-
|
|
116
|
-
content_top = `top-[80px] sm:top-[40px]`
|
|
117
|
-
else
|
|
118
|
-
content_top = `top-[80px] sm:top-[40px]`
|
|
117
|
+
content_top = 'top-[40px] sm:top-[40px]'
|
|
119
118
|
|
|
120
119
|
if(bottom_bar_visible)
|
|
121
120
|
content_height = `h-[calc(100vh-320px)] sm:h-[calc(100vh-280px)]`
|
|
@@ -149,11 +148,7 @@
|
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
|
|
157
152
|
//$: screen.width = innerWidth;
|
|
158
153
|
</script>
|
|
159
154
|
|
|
@@ -169,7 +164,7 @@
|
|
|
169
164
|
<!--###########################################################-->
|
|
170
165
|
<!--## HORIZONTAL TOOLBAR (FOR PHONES) ######################-->
|
|
171
166
|
<!--###########################################################-->
|
|
172
|
-
<header class="fixed sm:hidden w-screen top-0 h-[40px] z-
|
|
167
|
+
<header class="fixed sm:hidden w-screen top-0 h-[40px] z-20 overflow-auto shadow shadow-slate-900/5 dark:shadow-none" >
|
|
173
168
|
<div class=" flex flex-row justify-between bg-slate-900 text-gray-100 ">
|
|
174
169
|
<HorizontalToolbar app_config={layout}/>
|
|
175
170
|
<div>
|
|
@@ -191,12 +186,12 @@
|
|
|
191
186
|
<!--#######################################################-->
|
|
192
187
|
<!--## MAIN SIDE BAR ##################-->
|
|
193
188
|
<!--#######################################################-->
|
|
194
|
-
<div class="{main_side_panel_visibility}
|
|
195
|
-
left-
|
|
189
|
+
<div class="{main_side_panel_visibility}
|
|
190
|
+
left-[40px] sm:left-[40px]
|
|
196
191
|
top-[40px] sm:top-0
|
|
197
192
|
h-[calc(100vh-40px)] sm:h-full {lg_main_sidebar_height}
|
|
198
|
-
w-
|
|
199
|
-
z-
|
|
193
|
+
w-[calc(100vw-40px)] sm:w-[320px]
|
|
194
|
+
z-20 overflow-x-hidden">
|
|
200
195
|
|
|
201
196
|
<div class=" bg-slate-50 w-full h-full dark:bg-slate-800 overflow-y-auto py-4 px-0">
|
|
202
197
|
<Configurable config={layout.sidebar[visible_sidebar]}>
|
|
@@ -204,55 +199,59 @@
|
|
|
204
199
|
</Configurable>
|
|
205
200
|
</div>
|
|
206
201
|
</div>
|
|
207
|
-
<!--###########################################################-->
|
|
208
|
-
<!--## HORIZONTAL TOOLS ######################-->
|
|
209
|
-
<!--###########################################################-->
|
|
210
202
|
|
|
211
|
-
<
|
|
212
|
-
w-screen sm:w-[calc(100vw-40px)]
|
|
213
|
-
h-[40px]
|
|
214
|
-
left-0 sm:left-[40px]
|
|
215
|
-
top-[40px] sm:top-0
|
|
216
|
-
{lg_content_area_horizontal_dim}
|
|
217
|
-
z-0 overflow-hidden " >
|
|
203
|
+
<section on:click|capture={auto_hide_sidebar}>
|
|
218
204
|
|
|
219
|
-
|
|
220
|
-
|
|
205
|
+
<!--###########################################################-->
|
|
206
|
+
<!--## HORIZONTAL TOOLS ######################-->
|
|
207
|
+
<!--###########################################################-->
|
|
221
208
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
209
|
+
<div class=" {tools_visibility}
|
|
210
|
+
w-screen sm:w-[calc(100vw-40px)]
|
|
211
|
+
h-[40px]
|
|
212
|
+
left-0 sm:left-[40px]
|
|
213
|
+
top-[40px] sm:top-0
|
|
214
|
+
{lg_content_area_horizontal_dim}
|
|
215
|
+
z-10 overflow-hidden " >
|
|
225
216
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
<!--#######################################################-->
|
|
229
|
-
<div class="fixed left-0 w-screen
|
|
230
|
-
sm:left-[40px] sm:w-[calc(100vw-40px)]
|
|
231
|
-
{content_top}
|
|
232
|
-
{content_height}
|
|
233
|
-
{lg_content_area_horizontal_dim}
|
|
234
|
-
z-0 overflow-x-hidden"
|
|
235
|
-
|
|
236
|
-
on:click={(e) => auto_hide_sidebar() }
|
|
237
|
-
on:keydown={(e) => auto_hide_sidebar()}>
|
|
238
|
-
<Configurable config={layout.mainContent}>
|
|
239
|
-
<div slot='alt'></div>
|
|
240
|
-
</Configurable>
|
|
241
|
-
</div>
|
|
217
|
+
<Operations/>
|
|
218
|
+
</div>
|
|
242
219
|
|
|
220
|
+
<div class="{fab_visibility} right-3 {fab_bottom} mb-1 cursor-pointer z-10">
|
|
221
|
+
<Fab/>
|
|
222
|
+
</div>
|
|
243
223
|
|
|
224
|
+
<!--#######################################################-->
|
|
225
|
+
<!--## CONTENT ##################-->
|
|
226
|
+
<!--#######################################################-->
|
|
227
|
+
<div class="fixed left-0 w-screen
|
|
228
|
+
sm:left-[40px] sm:w-[calc(100vw-40px)]
|
|
229
|
+
{content_top}
|
|
230
|
+
{content_height}
|
|
231
|
+
{lg_content_area_horizontal_dim}
|
|
232
|
+
z-0 overflow-x-hidden"
|
|
233
|
+
>
|
|
234
|
+
<Configurable config={layout.mainContent}>
|
|
235
|
+
<div slot='alt'></div>
|
|
236
|
+
</Configurable>
|
|
237
|
+
</div>
|
|
244
238
|
|
|
245
|
-
<!--###########################################################-->
|
|
246
|
-
<!--## BOTTOM SIDEBAR ###############################-->
|
|
247
|
-
<!--###########################################################-->
|
|
248
239
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
240
|
+
|
|
241
|
+
<!--###########################################################-->
|
|
242
|
+
<!--## BOTTOM SIDEBAR ###############################-->
|
|
243
|
+
<!--###########################################################-->
|
|
244
|
+
|
|
245
|
+
<div class="{bottom_bar_visibility} left-0 bottom-0 w-screen h-[240px] z-20 overflow-y-hidden overflow-x-auto
|
|
246
|
+
sm:left-[40px] sm:w-[100vw-40px] " >
|
|
247
|
+
<Configurable config={layout.selectionDetails} >
|
|
248
|
+
<div slot="alt"></div>
|
|
249
|
+
</Configurable>
|
|
250
|
+
|
|
251
|
+
</div>
|
|
252
|
+
|
|
253
|
+
</section>
|
|
254
|
+
|
|
256
255
|
</div>
|
|
257
256
|
</div>
|
|
258
257
|
</AuthorizedView>
|
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 {};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import FaMoon from 'svelte-icons/fa/FaMoon.svelte'
|
|
3
3
|
import FaSun from 'svelte-icons/fa/FaSun.svelte'
|
|
4
4
|
import FaEllipsisH from 'svelte-icons/fa/FaEllipsisH.svelte'
|
|
5
|
+
import FaCog from 'svelte-icons/fa/FaCog.svelte'
|
|
5
6
|
import FaTools from 'svelte-icons/fa/FaTools.svelte'
|
|
6
7
|
import GoPrimitiveDot from 'svelte-icons/go/GoPrimitiveDot.svelte'
|
|
7
8
|
import FaSignInAlt from 'svelte-icons/fa/FaSignInAlt.svelte'
|
|
@@ -172,27 +173,23 @@
|
|
|
172
173
|
|
|
173
174
|
</script>
|
|
174
175
|
|
|
175
|
-
<div class="
|
|
176
|
-
<button class="w-10 h-full flex justify-center items-center text-slate-300 hover:text-slate-100" on:click={toggle_navigator}>
|
|
177
|
-
<Icon size={6} component={icon}/>
|
|
178
|
-
</button>
|
|
179
|
-
</div>
|
|
180
|
-
|
|
181
|
-
<div class="ml-auto flex h-10">
|
|
182
|
-
|
|
176
|
+
<div class="ml-auto flex h-10">
|
|
183
177
|
<button
|
|
184
|
-
class="h-full w-
|
|
178
|
+
class="h-full w-10 px-0 flex justify-center items-center text-slate-300 hover:text-slate-100"
|
|
185
179
|
on:click={show_options}>
|
|
186
180
|
|
|
187
|
-
<Icon size={
|
|
181
|
+
<Icon size={4} component={FaCog} />
|
|
188
182
|
</button>
|
|
183
|
+
</div>
|
|
189
184
|
|
|
190
|
-
|
|
191
|
-
|
|
185
|
+
<div class="right-0 flex h-10">
|
|
186
|
+
<button class="w-10 h-full flex justify-center items-center text-slate-300 hover:text-slate-100" on:click={toggle_navigator}>
|
|
187
|
+
<Icon size={6} component={icon}/>
|
|
188
|
+
</button>
|
|
192
189
|
</div>
|
|
193
190
|
|
|
194
191
|
{#if tabs.length > 1 && $main_sidebar_visible_store != "*"}
|
|
195
|
-
<div class="block fixed left-0 top-[40px] w-[40px] h-screen z-20 inset-0 overflow-hidden">
|
|
192
|
+
<div class="flex-none block fixed left-0 top-[40px] w-[40px] h-screen z-20 inset-0 overflow-hidden">
|
|
196
193
|
<div class="sticky top-0 flex h-full w-10 bg-slate-900 flex-col items-center text-gray-100 shadow">
|
|
197
194
|
<VerticalToolbar {app_config} mobile={true}/>
|
|
198
195
|
</div>
|
|
@@ -1,23 +1,23 @@
|
|
|
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
|
-
app_config: any;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
}
|
|
10
|
-
export type HorizontalProps = typeof __propDef.props;
|
|
11
|
-
export type HorizontalEvents = typeof __propDef.events;
|
|
12
|
-
export type HorizontalSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
app_config: any;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
22
|
-
};
|
|
23
|
-
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
|
+
app_config: any;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> {
|
|
9
|
+
}
|
|
10
|
+
export type HorizontalProps = typeof __propDef.props;
|
|
11
|
+
export type HorizontalEvents = typeof __propDef.events;
|
|
12
|
+
export type HorizontalSlots = typeof __propDef.slots;
|
|
13
|
+
import { SvelteComponentTyped } from "svelte";
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: {
|
|
16
|
+
app_config: any;
|
|
17
|
+
};
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export {};
|