@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/README.md CHANGED
File without changes
@@ -1,4 +1,7 @@
1
1
  <script>import { context_toolbar_operations, page_toolbar_operations, context_items_store } from "../stores.js";
2
+ import { show_floating_toolbar, show_menu, show_grid_menu } from "./menu.js";
3
+ import FaChevronUp from "svelte-icons/fa/FaChevronUp.svelte";
4
+ import FaChevronDown from "svelte-icons/fa/FaChevronDown.svelte";
2
5
  let expanded = false;
3
6
  $:
4
7
  update($page_toolbar_operations, $context_toolbar_operations);
@@ -9,16 +12,32 @@ function update(...args) {
9
12
  else
10
13
  operations = $page_toolbar_operations;
11
14
  }
12
- function on_click(operation) {
13
- expanded = false;
15
+ function on_click(e, operation) {
14
16
  if (!operation)
15
17
  return;
16
- if (!operation.action)
18
+ if (operation.action) {
19
+ let focused_item = null;
20
+ if ($context_items_store.focused)
21
+ focused_item = $context_items_store[$context_items_store.focused];
22
+ operation.action(focused_item);
23
+ }
24
+ let owner = e.target;
25
+ while (owner && owner.tagName != "BUTTON")
26
+ owner = owner.parentElement;
27
+ if (!owner)
17
28
  return;
18
- let focused_item = null;
19
- if ($context_items_store.focused)
20
- focused_item = $context_items_store[$context_items_store.focused];
21
- operation.action(focused_item);
29
+ let rect = owner.getBoundingClientRect();
30
+ const margin = 15;
31
+ rect.x -= margin;
32
+ rect.y -= margin;
33
+ rect.width += 2 * margin;
34
+ rect.height += 2 * margin;
35
+ if (operation.menu)
36
+ show_menu(rect, operation.menu);
37
+ else if (operation.toolbar)
38
+ show_floating_toolbar(rect, operation.toolbar);
39
+ else if (operation.grid)
40
+ show_grid_menu(rect, operation.grid);
22
41
  }
23
42
  function toggle_expand(e) {
24
43
  expanded = !expanded;
@@ -26,57 +45,112 @@ function toggle_expand(e) {
26
45
  </script>
27
46
 
28
47
  {#if operations && operations.length > 0}
29
-
30
- {#if operations.length == 1}
31
- {@const operation = operations[0]}
32
- <button class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
48
+
49
+ {@const main_operation = operations[0]}
50
+ <button class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
51
+ font-medium rounded-full text-sm text-center shadow-md
52
+ w-[55px] h-[55px]
53
+ fixed m-0 absolute bottom-[10px] right-[0px]
54
+ dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
55
+ flex items-center justify-center
56
+ disable-dbl-tap-zoom"
57
+ on:click|stopPropagation={(e) => {on_click(e, main_operation)}} >
58
+ <div class="w-7 h-7"><svelte:component this={main_operation.icon}/></div>
59
+ </button>
60
+
61
+ {#if operations.length > 1}
62
+ {@const secondary_operation = operations[1]}
63
+ <button class=" bg-transparent
64
+ w-[55px] h-[55px]
65
+ fixed m-0 absolute bottom-[10px] right-[60px]
66
+ flex items-center justify-center
67
+ disable-dbl-tap-zoom"
68
+ on:click|stopPropagation={(e) => {on_click(e, secondary_operation)}} >
69
+ <div class=" w-10 h-10
70
+ text-white bg-zinc-500 hover:bg-zinc-500
71
+ dark:bg-zinc-500 dark:hover:bg-zinc-500
33
72
  font-medium rounded-full text-sm text-center shadow-md
34
- mr-2 mb-2 w-10 h-10
35
- dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
36
- flex items-center justify-center"
37
- on:click|stopPropagation={(e) => {on_click(operation)}} >
38
- <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
39
- </button>
40
- {:else}
41
- <button class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
73
+ flex items-center justify-center">
74
+ <div class="w-5 h-5">
75
+ <svelte:component this={secondary_operation.icon}/>
76
+ </div>
77
+ </div>
78
+ </button>
79
+
80
+ {#if operations.length == 3}
81
+ {@const thrid_operation = operations[2]}
82
+ <button class=" bg-transparent
83
+ w-[55px] h-[55px]
84
+ fixed m-0 absolute bottom-[70px] right-[0px]
85
+
86
+ flex items-center justify-center
87
+ disable-dbl-tap-zoom"
88
+ on:click|stopPropagation={(e) => {on_click(e, thrid_operation)}} >
89
+ <div class=" w-10 h-10
90
+ text-white bg-zinc-500 hover:bg-zinc-500
42
91
  font-medium rounded-full text-sm text-center shadow-md
43
- mr-2 mb-2 w-10 h-10
44
- dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
45
- flex items-center justify-center"
92
+ dark:bg-zinc-500 dark:hover:bg-zinc-500
93
+ flex items-center justify-center">
94
+ <div class="w-5 h-5">
95
+ <svelte:component this={thrid_operation.icon}/>
96
+ </div>
97
+ </div>
98
+ </button>
99
+ {:else if operations.length > 3}
100
+ <button class=" bg-transparent
101
+ w-[55px] h-[55px]
102
+ fixed m-0 absolute bottom-[70px] right-[0px]
103
+
104
+ flex items-center justify-center
105
+ disable-dbl-tap-zoom"
46
106
  on:click|stopPropagation={toggle_expand}>
107
+ <div class=" w-10 h-10
108
+ text-white bg-zinc-500 hover:bg-zinc-500
109
+ font-medium rounded-full text-sm text-center shadow-md
110
+ dark:bg-zinc-500 dark:hover:bg-zinc-500
111
+ flex items-center justify-center">
47
112
  <div class="w-5 h-5">
48
- <svg xmlns="http://www.w3.org/2000/svg"
49
- viewBox="0 0 192 512"
50
- style=" stroke: currentColor;
51
- fill: currentColor;
52
- stroke-width: 0;
53
- width: 100%;
54
- height: auto;
55
- max-height: 100%;">
56
- <path d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z" />
57
- </svg>
113
+ {#if expanded}
114
+ <FaChevronDown/>
115
+ {:else}
116
+ <FaChevronUp/>
117
+ {/if}
58
118
  </div>
119
+ </div>
59
120
  </button>
60
121
  {#if expanded}
61
- <ul class="list-none m-0 absolute bottom-[60px] right-0">
62
- {#each operations as operation}
122
+ {@const operations_to_expand = operations.slice(2)}
123
+ <ul class="list-none m-0 absolute bottom-[125px] right-0">
124
+ {#each operations_to_expand as operation}
63
125
  <!-- svelte-ignore a11y-click-events-have-key-events -->
64
- <li class="flex flex-row px-1 py-0 justify-end group"
65
- on:click|stopPropagation={(e) => {on_click(operation)}}>
126
+ <li class="flex flex-row px-0 py-0 justify-end group"
127
+ on:click|stopPropagation={(e) => {on_click(e, operation)}}>
66
128
  <div>
67
- <span class="block whitespace-nowrap text-sm mt-3 font-semibold text-white mr-3 select-none bg-slate-700 group-hover:bg-slate-800 px-1 shadow-lg rounded">{operation.caption}</span>
129
+ <span class="block whitespace-nowrap text-sm mt-3 font-semibold text-white mr-3 select-none bg-slate-700 group-hover:bg-slate-800 px-1 shadow-lg rounded">{operation.caption}</span>
68
130
  </div>
69
- <button class=" text-white bg-blue-700 group-hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
70
- font-medium rounded-full text-sm text-center shadow-md
71
- mr-1 mb-2 w-10 h-10
72
- dark:bg-blue-600 dark:group-hover:bg-blue-700 dark:focus:ring-blue-800
73
- flex items-center justify-center">
74
- <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
131
+ <button class=" bg-transparent
132
+ mx-0 mb-4 w-[55px] h-[55px]
133
+ flex items-center justify-center
134
+ disable-dbl-tap-zoom">
135
+ <div class=" w-[55px] h-[55px]
136
+ text-white bg-zinc-500 group-hover:bg-zinc-500
137
+ dark:bg-zinc-500 dark:group-hover:bg-blue-700
138
+ font-medium rounded-full text-sm text-center shadow-md
139
+ flex items-center justify-center">
140
+ <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
141
+ </div>
75
142
  </button>
76
143
  </li>
77
144
  {/each}
78
145
  </ul>
79
146
  {/if}
80
147
  {/if}
148
+ {/if}
81
149
  {/if}
82
150
 
151
+ <style>
152
+
153
+ .disable-dbl-tap-zoom {
154
+ touch-action: manipulation;
155
+ }
156
+ </style>
@@ -1,14 +1,14 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: Record<string, never>;
4
- events: {
5
- [evt: string]: CustomEvent<any>;
6
- };
7
- slots: {};
8
- };
9
- export type FabProps = typeof __propDef.props;
10
- export type FabEvents = typeof __propDef.events;
11
- export type FabSlots = typeof __propDef.slots;
12
- export default class Fab extends SvelteComponentTyped<FabProps, FabEvents, FabSlots> {
13
- }
14
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type FabProps = typeof __propDef.props;
10
+ export type FabEvents = typeof __propDef.events;
11
+ export type FabSlots = typeof __propDef.slots;
12
+ export default class Fab extends SvelteComponentTyped<FabProps, FabEvents, FabSlots> {
13
+ }
14
+ export {};
@@ -1,5 +1,4 @@
1
1
  <script>import { tick, afterUpdate } from "svelte";
2
- import { is_device_smaller_than } from "../utils";
3
2
  let x;
4
3
  let y;
5
4
  let visible = false;
@@ -7,7 +6,6 @@ let toolbar;
7
6
  let props = {};
8
7
  let around_rect;
9
8
  let root_element;
10
- let invisible_button;
11
9
  $:
12
10
  display = visible ? "fixed" : "hidden";
13
11
  export async function show(around, _toolbar, _props = {}) {
@@ -20,20 +18,39 @@ export async function show(around, _toolbar, _props = {}) {
20
18
  y = around.y;
21
19
  around_rect = new DOMRect(x, y, 0, 0);
22
20
  }
21
+ const was_visible = visible;
23
22
  visible = true;
24
23
  toolbar = _toolbar;
25
24
  props = _props;
26
25
  props.onhide = () => {
27
26
  hide();
28
27
  };
28
+ hide_window_indicator = 0;
29
+ window.addEventListener("click", on_before_window_click, true);
29
30
  await tick();
30
- focus_first_element();
31
+ if (!was_visible)
32
+ root_element.addEventListener("click", on_before_container_click, true);
31
33
  }
32
34
  export function is_visible() {
33
35
  return visible;
34
36
  }
35
37
  export function hide() {
36
38
  visible = false;
39
+ window.removeEventListener("click", on_before_window_click, true);
40
+ root_element.removeEventListener("click", on_before_container_click, true);
41
+ }
42
+ let hide_window_indicator = 0;
43
+ function on_before_window_click() {
44
+ hide_window_indicator++;
45
+ setTimeout(() => {
46
+ if (hide_window_indicator != 0) {
47
+ hide_window_indicator = 0;
48
+ hide();
49
+ }
50
+ }, 0);
51
+ }
52
+ function on_before_container_click() {
53
+ hide_window_indicator--;
37
54
  }
38
55
  afterUpdate(() => {
39
56
  if (!root_element)
@@ -51,28 +68,12 @@ afterUpdate(() => {
51
68
  if (rect.top < container_rect.top)
52
69
  y = container_rect.top;
53
70
  });
54
- function focus_first_element() {
55
- invisible_button.focus();
56
- return;
57
- let focusable = root_element.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
58
- focusable.focus();
59
- }
60
- function on_focus_out(e) {
61
- if (!is_device_smaller_than("sm")) {
62
- if (e.relatedTarget && root_element?.contains(e.relatedTarget)) {
63
- } else
64
- hide();
65
- } else {
66
- }
67
- }
68
71
  </script>
69
72
 
70
73
  <div id="__hd_svelte_floating_container"
71
- class="p-2 bg-slate-100 dark:bg-slate-800 rounded-lg shadow {display}"
74
+ class="p-2 bg-slate-100 dark:bg-slate-800 rounded-lg shadow {display} z-30"
72
75
  style="left:{x}px; top:{y}px; width: max-content; height:max-content"
73
- on:focusout={on_focus_out}
74
76
  bind:this={root_element}>
75
- <button class="w-0 h-0 fixed bg-transparent " bind:this={invisible_button}></button>
76
77
  <svelte:component this={toolbar} {...props} />
77
78
  </div>
78
79
 
@@ -1,21 +1,21 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- show?: ((around: DOMRect | DOMPoint, _toolbar: any, _props?: {}) => Promise<void>) | undefined;
5
- is_visible?: (() => boolean) | undefined;
6
- hide?: (() => void) | undefined;
7
- };
8
- events: {
9
- [evt: string]: CustomEvent<any>;
10
- };
11
- slots: {};
12
- };
13
- export type FloatingContainerProps = typeof __propDef.props;
14
- export type FloatingContainerEvents = typeof __propDef.events;
15
- export type FloatingContainerSlots = typeof __propDef.slots;
16
- export default class FloatingContainer extends SvelteComponentTyped<FloatingContainerProps, FloatingContainerEvents, FloatingContainerSlots> {
17
- get show(): (around: DOMRect | DOMPoint, _toolbar: any, _props?: {}) => Promise<void>;
18
- get is_visible(): () => boolean;
19
- get hide(): () => void;
20
- }
21
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ show?: ((around: DOMRect | DOMPoint, _toolbar: any, _props?: {}) => Promise<void>) | undefined;
5
+ is_visible?: (() => boolean) | undefined;
6
+ hide?: (() => void) | undefined;
7
+ };
8
+ events: {
9
+ [evt: string]: CustomEvent<any>;
10
+ };
11
+ slots: {};
12
+ };
13
+ export type FloatingContainerProps = typeof __propDef.props;
14
+ export type FloatingContainerEvents = typeof __propDef.events;
15
+ export type FloatingContainerSlots = typeof __propDef.slots;
16
+ export default class FloatingContainer extends SvelteComponentTyped<FloatingContainerProps, FloatingContainerEvents, FloatingContainerSlots> {
17
+ get show(): (around: DOMRect | DOMPoint, _toolbar: any, _props?: {}) => Promise<void>;
18
+ get is_visible(): () => boolean;
19
+ get hide(): () => void;
20
+ }
21
+ export {};
@@ -1,25 +1,25 @@
1
- /** @typedef {typeof __propDef.props} GridProps */
2
- /** @typedef {typeof __propDef.events} GridEvents */
3
- /** @typedef {typeof __propDef.slots} GridSlots */
4
- export default class Grid extends SvelteComponentTyped<{
5
- onhide?: any;
6
- operations?: any[] | undefined;
7
- }, {
8
- [evt: string]: CustomEvent<any>;
9
- }, {}> {
10
- }
11
- export type GridProps = typeof __propDef.props;
12
- export type GridEvents = typeof __propDef.events;
13
- export type GridSlots = typeof __propDef.slots;
14
- import { SvelteComponentTyped } from "svelte";
15
- declare const __propDef: {
16
- props: {
17
- onhide?: any;
18
- operations?: any[] | undefined;
19
- };
20
- events: {
21
- [evt: string]: CustomEvent<any>;
22
- };
23
- slots: {};
24
- };
25
- export {};
1
+ /** @typedef {typeof __propDef.props} GridProps */
2
+ /** @typedef {typeof __propDef.events} GridEvents */
3
+ /** @typedef {typeof __propDef.slots} GridSlots */
4
+ export default class Grid extends SvelteComponentTyped<{
5
+ onhide?: any;
6
+ operations?: any[] | undefined;
7
+ }, {
8
+ [evt: string]: CustomEvent<any>;
9
+ }, {}> {
10
+ }
11
+ export type GridProps = typeof __propDef.props;
12
+ export type GridEvents = typeof __propDef.events;
13
+ export type GridSlots = typeof __propDef.slots;
14
+ import { SvelteComponentTyped } from "svelte";
15
+ declare const __propDef: {
16
+ props: {
17
+ onhide?: any;
18
+ operations?: any[] | undefined;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {};
24
+ };
25
+ export {};
@@ -1,24 +1,24 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- self?: null | undefined;
6
- operation?: string | undefined;
7
- params?: null | undefined;
8
- context?: string | undefined;
9
- typename?: string | undefined;
10
- action?: null | undefined;
11
- };
12
- events: {
13
- [evt: string]: CustomEvent<any>;
14
- };
15
- slots: {
16
- default: {};
17
- };
18
- };
19
- export type ButtonProps = typeof __propDef.props;
20
- export type ButtonEvents = typeof __propDef.events;
21
- export type ButtonSlots = typeof __propDef.slots;
22
- export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
23
- }
24
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ self?: null | undefined;
6
+ operation?: string | undefined;
7
+ params?: null | undefined;
8
+ context?: string | undefined;
9
+ typename?: string | undefined;
10
+ action?: null | undefined;
11
+ };
12
+ events: {
13
+ [evt: string]: CustomEvent<any>;
14
+ };
15
+ slots: {
16
+ default: {};
17
+ };
18
+ };
19
+ export type ButtonProps = typeof __propDef.props;
20
+ export type ButtonEvents = typeof __propDef.events;
21
+ export type ButtonSlots = typeof __propDef.slots;
22
+ export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
23
+ }
24
+ export {};
@@ -1,25 +1,25 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- checked?: boolean | undefined;
6
- disabled?: boolean | undefined;
7
- self?: null | undefined;
8
- a?: string | undefined;
9
- context?: string | undefined;
10
- typename?: string | undefined;
11
- c?: string | undefined;
12
- };
13
- events: {
14
- [evt: string]: CustomEvent<any>;
15
- };
16
- slots: {
17
- default: {};
18
- };
19
- };
20
- export type CheckboxProps = typeof __propDef.props;
21
- export type CheckboxEvents = typeof __propDef.events;
22
- export type CheckboxSlots = typeof __propDef.slots;
23
- export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
24
- }
25
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ checked?: boolean | undefined;
6
+ disabled?: boolean | undefined;
7
+ self?: null | undefined;
8
+ a?: string | undefined;
9
+ context?: string | undefined;
10
+ typename?: string | undefined;
11
+ c?: string | undefined;
12
+ };
13
+ events: {
14
+ [evt: string]: CustomEvent<any>;
15
+ };
16
+ slots: {
17
+ default: {};
18
+ };
19
+ };
20
+ export type CheckboxProps = typeof __propDef.props;
21
+ export type CheckboxEvents = typeof __propDef.events;
22
+ export type CheckboxSlots = typeof __propDef.slots;
23
+ export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
24
+ }
25
+ export {};
@@ -1,17 +1,17 @@
1
- export declare class rCombo_item {
2
- Key: any | undefined;
3
- Name: string | undefined;
4
- Avatar: string | undefined;
5
- Color: string | undefined;
6
- }
7
- export declare class rCombo_definition {
8
- source: rCombo_item[];
9
- collection_expr: string | undefined;
10
- collection_path: string | undefined;
11
- collection: object[] | undefined;
12
- on_collect: undefined;
13
- element_key: string | undefined;
14
- element_name: string | undefined;
15
- element_avatar: string | undefined;
16
- }
17
- export declare const cached_sources: Map<string, Promise<object>>;
1
+ export declare class rCombo_item {
2
+ Key: any | undefined;
3
+ Name: string | undefined;
4
+ Avatar: string | undefined;
5
+ Color: string | undefined;
6
+ }
7
+ export declare class rCombo_definition {
8
+ source: rCombo_item[];
9
+ collection_expr: string | undefined;
10
+ collection_path: string | undefined;
11
+ collection: object[] | undefined;
12
+ on_collect: undefined;
13
+ element_key: string | undefined;
14
+ element_name: string | undefined;
15
+ element_avatar: string | undefined;
16
+ }
17
+ export declare const cached_sources: Map<string, Promise<object>>;
@@ -1,19 +1,19 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- key?: any | undefined;
5
- name?: string | undefined;
6
- avatar?: string | undefined;
7
- color?: string | undefined;
8
- };
9
- events: {
10
- [evt: string]: CustomEvent<any>;
11
- };
12
- slots: {};
13
- };
14
- export type ComboProps = typeof __propDef.props;
15
- export type ComboEvents = typeof __propDef.events;
16
- export type ComboSlots = typeof __propDef.slots;
17
- export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
18
- }
19
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ key?: any | undefined;
5
+ name?: string | undefined;
6
+ avatar?: string | undefined;
7
+ color?: string | undefined;
8
+ };
9
+ events: {
10
+ [evt: string]: CustomEvent<any>;
11
+ };
12
+ slots: {};
13
+ };
14
+ export type ComboProps = typeof __propDef.props;
15
+ export type ComboEvents = typeof __propDef.events;
16
+ export type ComboSlots = typeof __propDef.slots;
17
+ export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
18
+ }
19
+ export {};
@@ -1,17 +1,17 @@
1
- export class rCombo_item {
2
- Key;
3
- Name;
4
- Avatar; //url to avatar
5
- Color;
6
- }
7
- export class rCombo_definition {
8
- source = [];
9
- collection_expr;
10
- collection_path;
11
- collection;
12
- on_collect = undefined;
13
- element_key;
14
- element_name;
15
- element_avatar;
16
- }
17
- export const cached_sources = new Map();
1
+ export class rCombo_item {
2
+ Key;
3
+ Name;
4
+ Avatar; //url to avatar
5
+ Color;
6
+ }
7
+ export class rCombo_definition {
8
+ source = [];
9
+ collection_expr;
10
+ collection_path;
11
+ collection;
12
+ on_collect = undefined;
13
+ element_key;
14
+ element_name;
15
+ element_avatar;
16
+ }
17
+ export const cached_sources = new Map();