@humandialog/forms.svelte 0.4.36 → 0.4.38

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.
Files changed (90) hide show
  1. package/README.md +0 -0
  2. package/components/Fab.svelte +117 -43
  3. package/components/Fab.svelte.d.ts +14 -14
  4. package/components/Floating_container.svelte +21 -20
  5. package/components/Floating_container.svelte.d.ts +21 -21
  6. package/components/Grid.menu.svelte.d.ts +25 -25
  7. package/components/button.svelte.d.ts +24 -24
  8. package/components/checkbox.svelte.d.ts +25 -25
  9. package/components/combo/combo.d.ts +17 -17
  10. package/components/combo/combo.item.svelte.d.ts +19 -19
  11. package/components/combo/combo.js +17 -17
  12. package/components/combo/combo.source.svelte.d.ts +22 -22
  13. package/components/combo/combo.svelte +1 -1
  14. package/components/combo/combo.svelte.d.ts +39 -39
  15. package/components/contextmenu.svelte +49 -18
  16. package/components/contextmenu.svelte.d.ts +26 -26
  17. package/components/date.svelte.d.ts +30 -30
  18. package/components/delayed.spinner.svelte.d.ts +19 -19
  19. package/components/document/internal/Document_command.d.ts +9 -9
  20. package/components/document/internal/Document_command.js +9 -9
  21. package/components/document/internal/Selection_helper.d.ts +7 -7
  22. package/components/document/internal/Selection_helper.js +133 -133
  23. package/components/document/internal/Selection_range.d.ts +26 -26
  24. package/components/document/internal/Selection_range.js +58 -58
  25. package/components/document/internal/palette.row.svelte.d.ts +36 -36
  26. package/components/document/internal/palette.svelte +1 -1
  27. package/components/document/internal/palette.svelte.d.ts +67 -67
  28. package/components/document/rich.edit.svelte.d.ts +23 -23
  29. package/components/edit.field.svelte.d.ts +27 -27
  30. package/components/file.loader.svelte.d.ts +25 -25
  31. package/components/icon.svelte.d.ts +62 -62
  32. package/components/input.text.svelte.d.ts +29 -29
  33. package/components/inputbox.ltop.svelte.d.ts +50 -50
  34. package/components/list/List.d.ts +34 -34
  35. package/components/list/List.js +40 -40
  36. package/components/list/internal/list.element.svelte +3 -2
  37. package/components/list/internal/list.element.svelte.d.ts +29 -29
  38. package/components/list/internal/list.inserter.svelte.d.ts +19 -19
  39. package/components/list/list.combo.svelte.d.ts +21 -21
  40. package/components/list/list.date.svelte.d.ts +18 -18
  41. package/components/list/list.inserter.svelte.d.ts +17 -17
  42. package/components/list/list.static.svelte.d.ts +17 -17
  43. package/components/list/list.summary.svelte.d.ts +19 -19
  44. package/components/list/list.svelte.d.ts +42 -42
  45. package/components/list/list.title.svelte.d.ts +19 -19
  46. package/components/menu.d.ts +4 -3
  47. package/components/menu.js +54 -48
  48. package/components/radio.svelte.d.ts +25 -25
  49. package/components/sidebar/sidebar.brand.svelte.d.ts +29 -29
  50. package/components/sidebar/sidebar.group.svelte.d.ts +31 -31
  51. package/components/sidebar/sidebar.item.svelte +51 -5
  52. package/components/sidebar/sidebar.item.svelte.d.ts +28 -28
  53. package/components/sidebar/sidebar.svelte.d.ts +27 -27
  54. package/components/simple.table.svelte.d.ts +41 -41
  55. package/components/table/_template.table.svelte.d.ts +57 -57
  56. package/components/table/column.svelte.d.ts +19 -19
  57. package/components/table/item.svelte.d.ts +17 -17
  58. package/components/table/table.d.ts +11 -11
  59. package/components/table/table.js +11 -11
  60. package/components/table/table.svelte.d.ts +75 -75
  61. package/components/textarea.ltop.svelte.d.ts +35 -35
  62. package/components/tile.title.svelte.d.ts +29 -29
  63. package/desk.svelte +57 -58
  64. package/desk.svelte.d.ts +23 -23
  65. package/form.box.svelte.d.ts +35 -35
  66. package/horizontal.toolbar.svelte +10 -13
  67. package/horizontal.toolbar.svelte.d.ts +23 -23
  68. package/index.d.ts +43 -43
  69. package/index.js +49 -49
  70. package/internal/configurable.content.svelte.d.ts +27 -27
  71. package/internal/loading.svelte.d.ts +23 -23
  72. package/modal.svelte +2 -2
  73. package/modal.svelte.d.ts +35 -35
  74. package/operations.svelte +0 -2
  75. package/operations.svelte.d.ts +16 -16
  76. package/package.json +7 -7
  77. package/page.row.svelte.d.ts +31 -31
  78. package/page.svelte.d.ts +43 -43
  79. package/stores.d.ts +33 -33
  80. package/stores.js +0 -0
  81. package/tenant.members.svelte.d.ts +33 -33
  82. package/tile.svelte.d.ts +33 -33
  83. package/tiles.row.svelte.d.ts +31 -31
  84. package/tiles.vertical.row.svelte.d.ts +29 -29
  85. package/updates.d.ts +3 -3
  86. package/updates.js +0 -0
  87. package/utils.d.ts +26 -26
  88. package/utils.js +0 -0
  89. package/vertical.toolbar.svelte +2 -1
  90. package/vertical.toolbar.svelte.d.ts +25 -25
package/stores.d.ts CHANGED
@@ -1,33 +1,33 @@
1
- export function has_selected_item(): boolean;
2
- export function has_data_item(): boolean;
3
- export function set_dark_mode_default(value: any): void;
4
- export function set_default_tools_visible(value: any): void;
5
- export function restore_defults(): void;
6
- export function toggle_sidebar(index: any): void;
7
- export function auto_hide_sidebar(): void;
8
- export function hide_sidebar(): void;
9
- export function show_sidebar(index: any): void;
10
- export const data_tick_store: import("svelte/store").Writable<number>;
11
- export const context_items_store: import("svelte/store").Writable<{
12
- focused: string;
13
- data: null;
14
- sel: null;
15
- }>;
16
- export const context_info_store: import("svelte/store").Writable<{
17
- data: string;
18
- sel: string;
19
- }>;
20
- export const context_types_store: import("svelte/store").Writable<{
21
- focused: string;
22
- data: null;
23
- sel: null;
24
- }>;
25
- export const context_toolbar_operations: import("svelte/store").Writable<never[]>;
26
- export const page_toolbar_operations: import("svelte/store").Writable<never[]>;
27
- export const dark_mode_store: import("svelte/store").Writable<any>;
28
- export const main_sidebar_visible_store: import("svelte/store").Writable<any>;
29
- export let previously_visible_sidebar: string;
30
- export const tools_visible_store: import("svelte/store").Writable<any>;
31
- export const bottom_bar_visible_store: import("svelte/store").Writable<any>;
32
- export const right_sidebar_visible_store: import("svelte/store").Writable<boolean>;
33
- export const visible_property_tab_store: import("svelte/store").Writable<string>;
1
+ export function has_selected_item(): boolean;
2
+ export function has_data_item(): boolean;
3
+ export function set_dark_mode_default(value: any): void;
4
+ export function set_default_tools_visible(value: any): void;
5
+ export function restore_defults(): void;
6
+ export function toggle_sidebar(index: any): void;
7
+ export function auto_hide_sidebar(): void;
8
+ export function hide_sidebar(): void;
9
+ export function show_sidebar(index: any): void;
10
+ export const data_tick_store: import("svelte/store").Writable<number>;
11
+ export const context_items_store: import("svelte/store").Writable<{
12
+ focused: string;
13
+ data: null;
14
+ sel: null;
15
+ }>;
16
+ export const context_info_store: import("svelte/store").Writable<{
17
+ data: string;
18
+ sel: string;
19
+ }>;
20
+ export const context_types_store: import("svelte/store").Writable<{
21
+ focused: string;
22
+ data: null;
23
+ sel: null;
24
+ }>;
25
+ export const context_toolbar_operations: import("svelte/store").Writable<never[]>;
26
+ export const page_toolbar_operations: import("svelte/store").Writable<never[]>;
27
+ export const dark_mode_store: import("svelte/store").Writable<any>;
28
+ export const main_sidebar_visible_store: import("svelte/store").Writable<any>;
29
+ export let previously_visible_sidebar: string;
30
+ export const tools_visible_store: import("svelte/store").Writable<any>;
31
+ export const bottom_bar_visible_store: import("svelte/store").Writable<any>;
32
+ export const right_sidebar_visible_store: import("svelte/store").Writable<boolean>;
33
+ export const visible_property_tab_store: import("svelte/store").Writable<string>;
package/stores.js CHANGED
File without changes
@@ -1,33 +1,33 @@
1
- /** @typedef {typeof __propDef.props} TenantProps */
2
- /** @typedef {typeof __propDef.events} TenantEvents */
3
- /** @typedef {typeof __propDef.slots} TenantSlots */
4
- export default class Tenant extends SvelteComponentTyped<{
5
- users?: any;
6
- name_attrib?: string | undefined;
7
- email_attrib?: string | undefined;
8
- ref_attrib?: string | undefined;
9
- show_files?: boolean | undefined;
10
- app_groups?: any;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}> {
14
- }
15
- export type TenantProps = typeof __propDef.props;
16
- export type TenantEvents = typeof __propDef.events;
17
- export type TenantSlots = typeof __propDef.slots;
18
- import { SvelteComponentTyped } from "svelte";
19
- declare const __propDef: {
20
- props: {
21
- users?: any;
22
- name_attrib?: string | undefined;
23
- email_attrib?: string | undefined;
24
- ref_attrib?: string | undefined;
25
- show_files?: boolean | undefined;
26
- app_groups?: any;
27
- };
28
- events: {
29
- [evt: string]: CustomEvent<any>;
30
- };
31
- slots: {};
32
- };
33
- export {};
1
+ /** @typedef {typeof __propDef.props} TenantProps */
2
+ /** @typedef {typeof __propDef.events} TenantEvents */
3
+ /** @typedef {typeof __propDef.slots} TenantSlots */
4
+ export default class Tenant extends SvelteComponentTyped<{
5
+ users?: any;
6
+ name_attrib?: string | undefined;
7
+ email_attrib?: string | undefined;
8
+ ref_attrib?: string | undefined;
9
+ show_files?: boolean | undefined;
10
+ app_groups?: any;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}> {
14
+ }
15
+ export type TenantProps = typeof __propDef.props;
16
+ export type TenantEvents = typeof __propDef.events;
17
+ export type TenantSlots = typeof __propDef.slots;
18
+ import { SvelteComponentTyped } from "svelte";
19
+ declare const __propDef: {
20
+ props: {
21
+ users?: any;
22
+ name_attrib?: string | undefined;
23
+ email_attrib?: string | undefined;
24
+ ref_attrib?: string | undefined;
25
+ show_files?: boolean | undefined;
26
+ app_groups?: any;
27
+ };
28
+ events: {
29
+ [evt: string]: CustomEvent<any>;
30
+ };
31
+ slots: {};
32
+ };
33
+ export {};
package/tile.svelte.d.ts CHANGED
@@ -1,33 +1,33 @@
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
- context?: string | undefined;
6
- self?: null | undefined;
7
- c?: string | undefined;
8
- cl?: string | undefined;
9
- }, {
10
- [evt: string]: CustomEvent<any>;
11
- }, {
12
- default: {};
13
- }> {
14
- }
15
- export type TileProps = typeof __propDef.props;
16
- export type TileEvents = typeof __propDef.events;
17
- export type TileSlots = typeof __propDef.slots;
18
- import { SvelteComponentTyped } from "svelte";
19
- declare const __propDef: {
20
- props: {
21
- context?: string | undefined;
22
- self?: null | undefined;
23
- c?: string | undefined;
24
- cl?: string | undefined;
25
- };
26
- events: {
27
- [evt: string]: CustomEvent<any>;
28
- };
29
- slots: {
30
- default: {};
31
- };
32
- };
33
- 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
+ context?: string | undefined;
6
+ self?: null | undefined;
7
+ c?: string | undefined;
8
+ cl?: string | undefined;
9
+ }, {
10
+ [evt: string]: CustomEvent<any>;
11
+ }, {
12
+ default: {};
13
+ }> {
14
+ }
15
+ export type TileProps = typeof __propDef.props;
16
+ export type TileEvents = typeof __propDef.events;
17
+ export type TileSlots = typeof __propDef.slots;
18
+ import { SvelteComponentTyped } from "svelte";
19
+ declare const __propDef: {
20
+ props: {
21
+ context?: string | undefined;
22
+ self?: null | undefined;
23
+ c?: string | undefined;
24
+ cl?: string | undefined;
25
+ };
26
+ events: {
27
+ [evt: string]: CustomEvent<any>;
28
+ };
29
+ slots: {
30
+ default: {};
31
+ };
32
+ };
33
+ export {};
@@ -1,31 +1,31 @@
1
- /** @typedef {typeof __propDef.props} TilesProps */
2
- /** @typedef {typeof __propDef.events} TilesEvents */
3
- /** @typedef {typeof __propDef.slots} TilesSlots */
4
- export default class Tiles extends SvelteComponentTyped<{
5
- c?: string | undefined;
6
- cl?: string | undefined;
7
- w?: string | undefined;
8
- }, {
9
- [evt: string]: CustomEvent<any>;
10
- }, {
11
- default: {};
12
- }> {
13
- }
14
- export type TilesProps = typeof __propDef.props;
15
- export type TilesEvents = typeof __propDef.events;
16
- export type TilesSlots = typeof __propDef.slots;
17
- import { SvelteComponentTyped } from "svelte";
18
- declare const __propDef: {
19
- props: {
20
- c?: string | undefined;
21
- cl?: string | undefined;
22
- w?: string | undefined;
23
- };
24
- events: {
25
- [evt: string]: CustomEvent<any>;
26
- };
27
- slots: {
28
- default: {};
29
- };
30
- };
31
- export {};
1
+ /** @typedef {typeof __propDef.props} TilesProps */
2
+ /** @typedef {typeof __propDef.events} TilesEvents */
3
+ /** @typedef {typeof __propDef.slots} TilesSlots */
4
+ export default class Tiles extends SvelteComponentTyped<{
5
+ c?: string | undefined;
6
+ cl?: string | undefined;
7
+ w?: string | undefined;
8
+ }, {
9
+ [evt: string]: CustomEvent<any>;
10
+ }, {
11
+ default: {};
12
+ }> {
13
+ }
14
+ export type TilesProps = typeof __propDef.props;
15
+ export type TilesEvents = typeof __propDef.events;
16
+ export type TilesSlots = typeof __propDef.slots;
17
+ import { SvelteComponentTyped } from "svelte";
18
+ declare const __propDef: {
19
+ props: {
20
+ c?: string | undefined;
21
+ cl?: string | undefined;
22
+ w?: string | undefined;
23
+ };
24
+ events: {
25
+ [evt: string]: CustomEvent<any>;
26
+ };
27
+ slots: {
28
+ default: {};
29
+ };
30
+ };
31
+ export {};
@@ -1,29 +1,29 @@
1
- /** @typedef {typeof __propDef.props} TilesProps */
2
- /** @typedef {typeof __propDef.events} TilesEvents */
3
- /** @typedef {typeof __propDef.slots} TilesSlots */
4
- export default class Tiles extends SvelteComponentTyped<{
5
- c?: string | undefined;
6
- cl?: string | undefined;
7
- }, {
8
- [evt: string]: CustomEvent<any>;
9
- }, {
10
- default: {};
11
- }> {
12
- }
13
- export type TilesProps = typeof __propDef.props;
14
- export type TilesEvents = typeof __propDef.events;
15
- export type TilesSlots = typeof __propDef.slots;
16
- import { SvelteComponentTyped } from "svelte";
17
- declare const __propDef: {
18
- props: {
19
- c?: string | undefined;
20
- cl?: string | undefined;
21
- };
22
- events: {
23
- [evt: string]: CustomEvent<any>;
24
- };
25
- slots: {
26
- default: {};
27
- };
28
- };
29
- export {};
1
+ /** @typedef {typeof __propDef.props} TilesProps */
2
+ /** @typedef {typeof __propDef.events} TilesEvents */
3
+ /** @typedef {typeof __propDef.slots} TilesSlots */
4
+ export default class Tiles extends SvelteComponentTyped<{
5
+ c?: string | undefined;
6
+ cl?: string | undefined;
7
+ }, {
8
+ [evt: string]: CustomEvent<any>;
9
+ }, {
10
+ default: {};
11
+ }> {
12
+ }
13
+ export type TilesProps = typeof __propDef.props;
14
+ export type TilesEvents = typeof __propDef.events;
15
+ export type TilesSlots = typeof __propDef.slots;
16
+ import { SvelteComponentTyped } from "svelte";
17
+ declare const __propDef: {
18
+ props: {
19
+ c?: string | undefined;
20
+ cl?: string | undefined;
21
+ };
22
+ events: {
23
+ [evt: string]: CustomEvent<any>;
24
+ };
25
+ slots: {
26
+ default: {};
27
+ };
28
+ };
29
+ export {};
package/updates.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export function inform_modification(itm: any, field_name: any, type_name: any): void;
2
- export function inform_item(itm: any, type_name: any): void;
3
- export function push_changes(): void;
1
+ export function inform_modification(itm: any, field_name: any, type_name: any): void;
2
+ export function inform_item(itm: any, type_name: any): void;
3
+ export function push_changes(): void;
package/updates.js CHANGED
File without changes
package/utils.d.ts CHANGED
@@ -1,26 +1,26 @@
1
- export function is_device_smaller_than(br: any): boolean;
2
- export function select_item(itm: any): void;
3
- export function activate_item(context_level: any, itm: any, operations?: null): void;
4
- export function clear_active_item(context_level: any): void;
5
- export function is_selected(itm: any): boolean;
6
- export function is_active(context_level: any, itm: any): boolean;
7
- export function get_active(context_level: any): any;
8
- export function editable(node: any, action: any): {
9
- destroy(): void;
10
- };
11
- export function start_editing(element: any, finish_callback: any): void;
12
- export function selectable(node: any, itm: any): {
13
- destroy(): void;
14
- };
15
- export function handle_select(e: any): void;
16
- export function parse_width_directive(c: any): string;
17
- export function should_be_comapact(): boolean;
18
- export namespace icons {
19
- const symbols: null;
20
- }
21
- export namespace SCREEN_SIZES {
22
- const sm: number;
23
- const md: number;
24
- const lg: number;
25
- const xl: number;
26
- }
1
+ export function is_device_smaller_than(br: any): boolean;
2
+ export function select_item(itm: any): void;
3
+ export function activate_item(context_level: any, itm: any, operations?: null): void;
4
+ export function clear_active_item(context_level: any): void;
5
+ export function is_selected(itm: any): boolean;
6
+ export function is_active(context_level: any, itm: any): boolean;
7
+ export function get_active(context_level: any): any;
8
+ export function editable(node: any, action: any): {
9
+ destroy(): void;
10
+ };
11
+ export function start_editing(element: any, finish_callback: any): void;
12
+ export function selectable(node: any, itm: any): {
13
+ destroy(): void;
14
+ };
15
+ export function handle_select(e: any): void;
16
+ export function parse_width_directive(c: any): string;
17
+ export function should_be_comapact(): boolean;
18
+ export namespace icons {
19
+ const symbols: null;
20
+ }
21
+ export namespace SCREEN_SIZES {
22
+ const sm: number;
23
+ const md: number;
24
+ const lg: number;
25
+ const xl: number;
26
+ }
package/utils.js CHANGED
File without changes
@@ -2,6 +2,7 @@
2
2
  import FaToggleOn from 'svelte-icons/fa/FaToggleOn.svelte'
3
3
  import FaToggleOff from 'svelte-icons/fa/FaToggleOff.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'
@@ -187,7 +188,7 @@
187
188
  class="h-16 px-0 flex justify-center items-center w-full text-slate-300 hover:text-slate-100"
188
189
  on:click={show_options}>
189
190
 
190
- <Icon size={6} component={FaEllipsisH} />
191
+ <Icon size={4} component={FaCog} />
191
192
  </button>
192
193
 
193
194
  </div>
@@ -1,25 +1,25 @@
1
- /** @typedef {typeof __propDef.props} VerticalProps */
2
- /** @typedef {typeof __propDef.events} VerticalEvents */
3
- /** @typedef {typeof __propDef.slots} VerticalSlots */
4
- export default class Vertical extends SvelteComponentTyped<{
5
- app_config: any;
6
- mobile?: boolean | undefined;
7
- }, {
8
- [evt: string]: CustomEvent<any>;
9
- }, {}> {
10
- }
11
- export type VerticalProps = typeof __propDef.props;
12
- export type VerticalEvents = typeof __propDef.events;
13
- export type VerticalSlots = typeof __propDef.slots;
14
- import { SvelteComponentTyped } from "svelte";
15
- declare const __propDef: {
16
- props: {
17
- app_config: any;
18
- mobile?: boolean | undefined;
19
- };
20
- events: {
21
- [evt: string]: CustomEvent<any>;
22
- };
23
- slots: {};
24
- };
25
- export {};
1
+ /** @typedef {typeof __propDef.props} VerticalProps */
2
+ /** @typedef {typeof __propDef.events} VerticalEvents */
3
+ /** @typedef {typeof __propDef.slots} VerticalSlots */
4
+ export default class Vertical extends SvelteComponentTyped<{
5
+ app_config: any;
6
+ mobile?: boolean | undefined;
7
+ }, {
8
+ [evt: string]: CustomEvent<any>;
9
+ }, {}> {
10
+ }
11
+ export type VerticalProps = typeof __propDef.props;
12
+ export type VerticalEvents = typeof __propDef.events;
13
+ export type VerticalSlots = typeof __propDef.slots;
14
+ import { SvelteComponentTyped } from "svelte";
15
+ declare const __propDef: {
16
+ props: {
17
+ app_config: any;
18
+ mobile?: boolean | undefined;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {};
24
+ };
25
+ export {};