@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
package/components/tags.svelte
CHANGED
|
@@ -193,16 +193,18 @@ switch (s) {
|
|
|
193
193
|
}
|
|
194
194
|
</script>
|
|
195
195
|
|
|
196
|
-
<
|
|
197
|
-
|
|
198
|
-
{#
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
<section class="{userClass} flex flex-row {gap} flex-wrap mr-1 sm:mr-0">
|
|
197
|
+
<p class="flex flex-row {gap} flex-wrap ">
|
|
198
|
+
{#each tagsTable as tag}
|
|
199
|
+
{#if isEditable}
|
|
200
|
+
<Tag name={tag.label} color={tag.color} {s}
|
|
201
|
+
onRemove={(e) => {onRemoveTag(tag.label)}}
|
|
202
|
+
onColor={canChangeColor ? onColorizeTag : null}/>
|
|
203
|
+
{:else}
|
|
204
|
+
<Tag name={tag.label} color={tag.color} {s}/>
|
|
205
|
+
{/if}
|
|
206
|
+
{/each}
|
|
207
|
+
</p>
|
|
206
208
|
|
|
207
209
|
{#if isEditable}
|
|
208
210
|
{#if !addComboVisible}
|
|
@@ -227,4 +229,4 @@ switch (s) {
|
|
|
227
229
|
</Combo>
|
|
228
230
|
{/if}
|
|
229
231
|
{/if}
|
|
230
|
-
</
|
|
232
|
+
</section>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
tags?: string | undefined;
|
|
6
|
-
getGlobalTags: Function;
|
|
7
|
-
self?: null | undefined;
|
|
8
|
-
a?: string | undefined;
|
|
9
|
-
context?: string | undefined;
|
|
10
|
-
typename?: string | undefined;
|
|
11
|
-
onSelect?: any | undefined;
|
|
12
|
-
onUpdateAllTags?: any | undefined;
|
|
13
|
-
canChangeColor?: boolean | undefined;
|
|
14
|
-
compact?: boolean | undefined;
|
|
15
|
-
inContext?: string | undefined;
|
|
16
|
-
pushChangesImmediately?: boolean | undefined;
|
|
17
|
-
changed?: undefined;
|
|
18
|
-
s?: string | undefined;
|
|
19
|
-
show?: ((event: any, hideCallback: any) => Promise<void>) | undefined;
|
|
20
|
-
};
|
|
21
|
-
events: {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
|
-
};
|
|
24
|
-
slots: {};
|
|
25
|
-
};
|
|
26
|
-
export type TagsProps = typeof __propDef.props;
|
|
27
|
-
export type TagsEvents = typeof __propDef.events;
|
|
28
|
-
export type TagsSlots = typeof __propDef.slots;
|
|
29
|
-
export default class Tags extends SvelteComponentTyped<TagsProps, TagsEvents, TagsSlots> {
|
|
30
|
-
get show(): (event: any, hideCallback: any) => Promise<void>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
tags?: string | undefined;
|
|
6
|
+
getGlobalTags: Function;
|
|
7
|
+
self?: null | undefined;
|
|
8
|
+
a?: string | undefined;
|
|
9
|
+
context?: string | undefined;
|
|
10
|
+
typename?: string | undefined;
|
|
11
|
+
onSelect?: any | undefined;
|
|
12
|
+
onUpdateAllTags?: any | undefined;
|
|
13
|
+
canChangeColor?: boolean | undefined;
|
|
14
|
+
compact?: boolean | undefined;
|
|
15
|
+
inContext?: string | undefined;
|
|
16
|
+
pushChangesImmediately?: boolean | undefined;
|
|
17
|
+
changed?: undefined;
|
|
18
|
+
s?: string | undefined;
|
|
19
|
+
show?: ((event: any, hideCallback: any) => Promise<void>) | undefined;
|
|
20
|
+
};
|
|
21
|
+
events: {
|
|
22
|
+
[evt: string]: CustomEvent<any>;
|
|
23
|
+
};
|
|
24
|
+
slots: {};
|
|
25
|
+
};
|
|
26
|
+
export type TagsProps = typeof __propDef.props;
|
|
27
|
+
export type TagsEvents = typeof __propDef.events;
|
|
28
|
+
export type TagsSlots = typeof __propDef.slots;
|
|
29
|
+
export default class Tags extends SvelteComponentTyped<TagsProps, TagsEvents, TagsSlots> {
|
|
30
|
+
get show(): (event: any, hideCallback: any) => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
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
|
-
s?: string | undefined;
|
|
7
|
-
placeholder?: string | undefined;
|
|
8
|
-
c?: 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
|
-
s?: string | undefined;
|
|
24
|
-
placeholder?: string | undefined;
|
|
25
|
-
c?: 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
|
+
s?: string | undefined;
|
|
7
|
+
placeholder?: string | undefined;
|
|
8
|
+
c?: 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
|
+
s?: string | undefined;
|
|
24
|
+
placeholder?: string | undefined;
|
|
25
|
+
c?: 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
|
-
a?: string | undefined;
|
|
7
|
-
label?: string | undefined;
|
|
8
|
-
c?: 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
|
-
a?: string | undefined;
|
|
21
|
-
label?: string | undefined;
|
|
22
|
-
c?: 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
|
+
a?: string | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
c?: 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
|
+
a?: string | undefined;
|
|
21
|
+
label?: string | undefined;
|
|
22
|
+
c?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
events: {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
};
|
|
27
|
+
slots: {};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
package/console.svelte.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} ConsoleProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} ConsoleEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} ConsoleSlots */
|
|
4
|
-
export default class Console extends SvelteComponentTyped<{
|
|
5
|
-
[x: string]: never;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
}
|
|
10
|
-
export type ConsoleProps = typeof __propDef.props;
|
|
11
|
-
export type ConsoleEvents = typeof __propDef.events;
|
|
12
|
-
export type ConsoleSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
[x: string]: never;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} ConsoleProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} ConsoleEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} ConsoleSlots */
|
|
4
|
+
export default class Console extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> {
|
|
9
|
+
}
|
|
10
|
+
export type ConsoleProps = typeof __propDef.props;
|
|
11
|
+
export type ConsoleEvents = typeof __propDef.events;
|
|
12
|
+
export type ConsoleSlots = typeof __propDef.slots;
|
|
13
|
+
import { SvelteComponentTyped } from "svelte";
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export {};
|
package/desk.svelte
CHANGED
|
@@ -103,15 +103,22 @@
|
|
|
103
103
|
let bottom_bar_visibility = "hidden"
|
|
104
104
|
let bottom_bar_visible = false
|
|
105
105
|
let lg_main_sidebar_height = ""
|
|
106
|
-
let fab_base_visibility = "hidden"
|
|
107
|
-
let fab_visibility = fab_base_visibility;
|
|
108
|
-
let fab_bottom = "bottom-0"
|
|
106
|
+
//let fab_base_visibility = "hidden"
|
|
107
|
+
//let fab_visibility = fab_base_visibility;
|
|
108
|
+
//let fab_bottom = "bottom-0"
|
|
109
109
|
let vertical_toolbar_visibility = "hidden sm:block"
|
|
110
110
|
let content_left = "left-0 sm:left-[40px]";
|
|
111
111
|
let content_width = "w-screen sm:w-[calc(100vw-40px)] ";
|
|
112
112
|
|
|
113
113
|
let content_top = ""
|
|
114
|
-
let content_height = ""
|
|
114
|
+
let content_height = ""
|
|
115
|
+
|
|
116
|
+
const FAB_HIDDEN = 0
|
|
117
|
+
const FAB_VISIBLE_ON_MOBILE = 1
|
|
118
|
+
const FAB_VISIBLE_ALWAYS = 2
|
|
119
|
+
let fab_visibility_mode = FAB_HIDDEN
|
|
120
|
+
let is_fab_visible = false;
|
|
121
|
+
|
|
115
122
|
|
|
116
123
|
$: { tools_visible = $tools_visible_store
|
|
117
124
|
bottom_bar_visible = $bottom_bar_visible_store
|
|
@@ -123,7 +130,8 @@
|
|
|
123
130
|
if(tools_visible)
|
|
124
131
|
{
|
|
125
132
|
tools_visibility = "hidden sm:block sm:fixed"
|
|
126
|
-
fab_base_visibility = "fixed sm:hidden"
|
|
133
|
+
//fab_base_visibility = "fixed sm:hidden"
|
|
134
|
+
fab_visibility_mode = FAB_VISIBLE_ON_MOBILE
|
|
127
135
|
|
|
128
136
|
content_top = 'top-[50px] sm:top-[40px]'
|
|
129
137
|
|
|
@@ -136,6 +144,9 @@
|
|
|
136
144
|
else
|
|
137
145
|
{
|
|
138
146
|
tools_visibility = "hidden"
|
|
147
|
+
//fab_base_visibility = "hidden"
|
|
148
|
+
fab_visibility_mode = FAB_HIDDEN
|
|
149
|
+
|
|
139
150
|
content_top = `top-[50px] sm:top-0`
|
|
140
151
|
if(bottom_bar_visible)
|
|
141
152
|
content_height = `min-h-[calc(100vh-290px)] sm:h-[calc(100vh-240px)]`
|
|
@@ -149,16 +160,18 @@
|
|
|
149
160
|
{
|
|
150
161
|
lg_main_sidebar_height = `lg:h-[calc(100vh-240px)]`
|
|
151
162
|
bottom_bar_visibility = "fixed"
|
|
152
|
-
|
|
163
|
+
// fab_bottom = `bottom-[240px]`;
|
|
153
164
|
}
|
|
154
165
|
else
|
|
155
166
|
{
|
|
156
167
|
lg_main_sidebar_height = ""
|
|
157
168
|
bottom_bar_visibility = "hidden"
|
|
158
|
-
|
|
169
|
+
// fab_bottom = "bottom-0"
|
|
159
170
|
}
|
|
160
171
|
|
|
161
|
-
|
|
172
|
+
|
|
173
|
+
//fab_visibility = fab_base_visibility;
|
|
174
|
+
determineFABVisibility();
|
|
162
175
|
}
|
|
163
176
|
|
|
164
177
|
|
|
@@ -250,44 +263,61 @@
|
|
|
250
263
|
const vp = window.visualViewport;
|
|
251
264
|
setViewportHeight(vp)
|
|
252
265
|
|
|
253
|
-
|
|
266
|
+
determineFABVisibilityAsync();
|
|
254
267
|
}
|
|
255
268
|
|
|
256
269
|
function onSelectionChanged(e)
|
|
257
270
|
{
|
|
258
|
-
|
|
271
|
+
determineFABVisibilityAsync();
|
|
259
272
|
}
|
|
260
273
|
|
|
261
274
|
function onFocusOut(e)
|
|
262
275
|
{
|
|
263
|
-
|
|
276
|
+
determineFABVisibilityAsync();
|
|
264
277
|
}
|
|
265
278
|
|
|
266
279
|
let change_ticket = 0
|
|
267
280
|
let last_change_ticket = 0
|
|
268
|
-
function
|
|
281
|
+
function determineFABVisibilityAsync()
|
|
269
282
|
{
|
|
270
283
|
change_ticket++;
|
|
271
284
|
setTimeout( () => {
|
|
272
285
|
if(change_ticket != last_change_ticket)
|
|
273
286
|
{
|
|
274
287
|
last_change_ticket = change_ticket;
|
|
275
|
-
|
|
288
|
+
determineFABVisibility();
|
|
289
|
+
}
|
|
290
|
+
}, 200)
|
|
291
|
+
|
|
292
|
+
}
|
|
276
293
|
|
|
294
|
+
function determineFABVisibility()
|
|
295
|
+
{
|
|
296
|
+
switch(fab_visibility_mode)
|
|
297
|
+
{
|
|
298
|
+
case FAB_HIDDEN:
|
|
299
|
+
is_fab_visible = false;
|
|
300
|
+
break;
|
|
301
|
+
|
|
302
|
+
case FAB_VISIBLE_ON_MOBILE:
|
|
303
|
+
if(isDeviceSmallerThan("sm"))
|
|
304
|
+
{
|
|
277
305
|
if(isOnScreenKeyboardVisible())
|
|
278
|
-
|
|
279
|
-
new_fab_visibility = 'hidden'
|
|
280
|
-
}
|
|
306
|
+
is_fab_visible = false;
|
|
281
307
|
else
|
|
282
|
-
|
|
283
|
-
new_fab_visibility = fab_base_visibility;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
if(fab_visibility != new_fab_visibility)
|
|
287
|
-
fab_visibility = new_fab_visibility;
|
|
308
|
+
is_fab_visible = true;
|
|
288
309
|
}
|
|
289
|
-
|
|
290
|
-
|
|
310
|
+
else
|
|
311
|
+
is_fab_visible = false;
|
|
312
|
+
break;
|
|
313
|
+
|
|
314
|
+
case FAB_VISIBLE_ALWAYS:
|
|
315
|
+
if(isOnScreenKeyboardVisible())
|
|
316
|
+
is_fab_visible = false;
|
|
317
|
+
else
|
|
318
|
+
is_fab_visible = true;
|
|
319
|
+
break;
|
|
320
|
+
}
|
|
291
321
|
}
|
|
292
322
|
|
|
293
323
|
let operationsComponent
|
|
@@ -379,9 +409,11 @@
|
|
|
379
409
|
<Operations bind:this={operationsComponent} />
|
|
380
410
|
</div>
|
|
381
411
|
|
|
382
|
-
|
|
412
|
+
{#if is_fab_visible}
|
|
413
|
+
<!--div class="{fab_visibility} left-3 {fab_bottom} mb-1 cursor-pointer z-10"-->
|
|
383
414
|
<Fab bind:this={fabComponent}/>
|
|
384
|
-
|
|
415
|
+
<!---/div-->
|
|
416
|
+
{/if}
|
|
385
417
|
|
|
386
418
|
<!--#######################################################-->
|
|
387
419
|
<!--## CONTENT ##################-->
|
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
|
-
self?: null | undefined;
|
|
6
|
-
context?: string | 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
|
-
self?: null | undefined;
|
|
23
|
-
context?: string | 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
|
+
self?: null | undefined;
|
|
6
|
+
context?: string | 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
|
+
self?: null | undefined;
|
|
23
|
+
context?: string | 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 {};
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
<div class="no-print flex flex-row w-full" on:click={clearSelection}>
|
|
285
285
|
<div class="flex-none left-0 flex h-12 sm:h-10">
|
|
286
286
|
<button class="w-12 sm:w-10 h-full flex justify-center items-center text-stone-300 hover:text-stone-100" on:click|stopPropagation={toggle_navigator}>
|
|
287
|
-
<Icon class="w-
|
|
287
|
+
<Icon class="w-5 h-5" component={icon}/>
|
|
288
288
|
</button>
|
|
289
289
|
</div>
|
|
290
290
|
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
{#if user_is_in_multiple_groups}
|
|
298
298
|
<button class="h-full w-12 sm:w-10 px-0 flex justify-center items-center text-stone-300 hover:text-stone-100"
|
|
299
299
|
on:click|stopPropagation={show_groups}>
|
|
300
|
-
<Icon class="w-5
|
|
300
|
+
<Icon class="w-5 h-5 " component={FaUsers} />
|
|
301
301
|
</button>
|
|
302
302
|
{/if}
|
|
303
303
|
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
class="h-full w-12 sm:w-10 px-0 flex justify-center items-center text-stone-300 hover:text-stone-100"
|
|
306
306
|
on:click|stopPropagation={show_options}>
|
|
307
307
|
|
|
308
|
-
<Icon class="w-5
|
|
308
|
+
<Icon class="w-5 h-5 " component={FaCog} />
|
|
309
309
|
</button>
|
|
310
310
|
</div>
|
|
311
311
|
|
|
@@ -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 {};
|