@humandialog/forms.svelte 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +0 -0
  2. package/components/Fab.svelte +165 -98
  3. package/components/Fab.svelte.d.ts +14 -14
  4. package/components/Floating_container.svelte.d.ts +21 -21
  5. package/components/Grid.menu.svelte.d.ts +25 -25
  6. package/components/button.svelte.d.ts +24 -24
  7. package/components/checkbox.svelte.d.ts +26 -26
  8. package/components/combo/combo.d.ts +17 -17
  9. package/components/combo/combo.item.svelte.d.ts +19 -19
  10. package/components/combo/combo.js +17 -17
  11. package/components/combo/combo.source.svelte.d.ts +22 -22
  12. package/components/combo/combo.svelte.d.ts +42 -42
  13. package/components/contextmenu.svelte +31 -9
  14. package/components/contextmenu.svelte.d.ts +26 -26
  15. package/components/date.svelte.d.ts +31 -31
  16. package/components/delayed.spinner.svelte.d.ts +19 -19
  17. package/components/document/internal/Document_command.d.ts +9 -9
  18. package/components/document/internal/Document_command.js +9 -9
  19. package/components/document/internal/Selection_helper.d.ts +7 -7
  20. package/components/document/internal/Selection_helper.js +133 -133
  21. package/components/document/internal/Selection_range.d.ts +26 -26
  22. package/components/document/internal/Selection_range.js +58 -58
  23. package/components/document/internal/palette.row.svelte.d.ts +36 -36
  24. package/components/document/internal/palette.svelte.d.ts +67 -67
  25. package/components/document/rich.edit.svelte +4 -4
  26. package/components/document/rich.edit.svelte.d.ts +32 -32
  27. package/components/edit.field.svelte +9 -4
  28. package/components/edit.field.svelte.d.ts +31 -28
  29. package/components/file.loader.svelte.d.ts +25 -25
  30. package/components/icon.svelte.d.ts +62 -62
  31. package/components/input.text.svelte.d.ts +29 -29
  32. package/components/inputbox.ltop.svelte.d.ts +52 -52
  33. package/components/kanban/Kanban.d.ts +43 -43
  34. package/components/kanban/Kanban.js +79 -79
  35. package/components/kanban/internal/kanban.card.svelte +106 -106
  36. package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
  37. package/components/kanban/internal/kanban.column.svelte +84 -69
  38. package/components/kanban/internal/kanban.column.svelte.d.ts +51 -51
  39. package/components/kanban/internal/kanban.inserter.svelte +14 -14
  40. package/components/kanban/internal/kanban.inserter.svelte.d.ts +18 -18
  41. package/components/kanban/internal/kanban.move.menu.svelte +135 -135
  42. package/components/kanban/internal/kanban.move.menu.svelte.d.ts +22 -22
  43. package/components/kanban/internal/kanban.props.svelte.d.ts +19 -19
  44. package/components/kanban/kanban.callbacks.svelte +1 -1
  45. package/components/kanban/kanban.callbacks.svelte.d.ts +18 -18
  46. package/components/kanban/kanban.column.svelte +2 -2
  47. package/components/kanban/kanban.column.svelte.d.ts +21 -21
  48. package/components/kanban/kanban.combo.svelte +3 -3
  49. package/components/kanban/kanban.combo.svelte.d.ts +24 -24
  50. package/components/kanban/kanban.date.svelte +1 -1
  51. package/components/kanban/kanban.date.svelte.d.ts +21 -21
  52. package/components/kanban/kanban.source.svelte.d.ts +23 -23
  53. package/components/kanban/kanban.static.svelte.d.ts +20 -20
  54. package/components/kanban/kanban.summary.svelte.d.ts +18 -18
  55. package/components/kanban/kanban.svelte +86 -85
  56. package/components/kanban/kanban.svelte.d.ts +65 -65
  57. package/components/kanban/kanban.tags.svelte.d.ts +24 -24
  58. package/components/kanban/kanban.title.svelte +2 -2
  59. package/components/kanban/kanban.title.svelte.d.ts +18 -18
  60. package/components/list/List.d.ts +45 -45
  61. package/components/list/List.js +53 -53
  62. package/components/list/internal/list.element.props.svelte +65 -65
  63. package/components/list/internal/list.element.props.svelte.d.ts +21 -21
  64. package/components/list/internal/list.element.summary.svelte +46 -46
  65. package/components/list/internal/list.element.summary.svelte.d.ts +24 -24
  66. package/components/list/internal/list.element.svelte.d.ts +31 -31
  67. package/components/list/internal/list.inserter.svelte.d.ts +19 -19
  68. package/components/list/list.combo.svelte.d.ts +21 -21
  69. package/components/list/list.date.svelte.d.ts +18 -18
  70. package/components/list/list.inserter.svelte.d.ts +17 -17
  71. package/components/list/list.static.svelte.d.ts +17 -17
  72. package/components/list/list.summary.svelte.d.ts +19 -19
  73. package/components/list/list.svelte.d.ts +59 -59
  74. package/components/list/list.title.svelte.d.ts +22 -22
  75. package/components/menu.d.ts +5 -5
  76. package/components/menu.js +57 -57
  77. package/components/radio.svelte.d.ts +26 -26
  78. package/components/sidebar/sidebar.brand.svelte.d.ts +31 -31
  79. package/components/sidebar/sidebar.group.svelte.d.ts +33 -33
  80. package/components/sidebar/sidebar.item.svelte +56 -6
  81. package/components/sidebar/sidebar.item.svelte.d.ts +29 -28
  82. package/components/sidebar/sidebar.list.svelte +36 -15
  83. package/components/sidebar/sidebar.list.svelte.d.ts +35 -33
  84. package/components/sidebar/sidebar.svelte.d.ts +27 -27
  85. package/components/simple.table.svelte.d.ts +41 -41
  86. package/components/table/_template.table.svelte.d.ts +57 -57
  87. package/components/table/column.svelte.d.ts +19 -19
  88. package/components/table/item.svelte.d.ts +17 -17
  89. package/components/table/table.d.ts +11 -11
  90. package/components/table/table.js +11 -11
  91. package/components/table/table.svelte.d.ts +75 -75
  92. package/components/tag.colors.svelte +20 -20
  93. package/components/tag.colors.svelte.d.ts +17 -17
  94. package/components/tag.svelte +24 -24
  95. package/components/tag.svelte.d.ts +20 -20
  96. package/components/tags.svelte.d.ts +32 -32
  97. package/components/textarea.ltop.svelte.d.ts +35 -35
  98. package/components/tile.title.svelte.d.ts +29 -29
  99. package/desk.svelte +1 -1
  100. package/desk.svelte.d.ts +23 -23
  101. package/form.box.svelte.d.ts +35 -35
  102. package/horizontal.toolbar.svelte +20 -13
  103. package/horizontal.toolbar.svelte.d.ts +25 -25
  104. package/index.d.ts +59 -59
  105. package/index.js +65 -65
  106. package/internal/configurable.content.svelte +8 -0
  107. package/internal/configurable.content.svelte.d.ts +29 -27
  108. package/internal/loading.svelte.d.ts +23 -23
  109. package/modal.svelte +5 -2
  110. package/modal.svelte.d.ts +37 -35
  111. package/operations.svelte +36 -16
  112. package/operations.svelte.d.ts +16 -16
  113. package/package.json +8 -8
  114. package/page.row.svelte.d.ts +31 -31
  115. package/page.svelte +17 -4
  116. package/page.svelte.d.ts +47 -45
  117. package/stores.d.ts +39 -39
  118. package/stores.js +0 -0
  119. package/tenant.members.svelte.d.ts +33 -33
  120. package/tile.svelte.d.ts +33 -33
  121. package/tiles.row.svelte.d.ts +31 -31
  122. package/tiles.vertical.row.svelte.d.ts +29 -29
  123. package/updates.d.ts +4 -4
  124. package/updates.js +0 -0
  125. package/utils.d.ts +35 -35
  126. package/utils.js +0 -0
  127. package/vertical.toolbar.svelte.d.ts +27 -27
package/README.md CHANGED
File without changes
@@ -1,16 +1,39 @@
1
1
  <script>import { contextToolbarOperations, pageToolbarOperations, contextItemsStore } from "../stores.js";
2
2
  import { showFloatingToolbar, showMenu, showGridMenu } from "./menu.js";
3
- import FaChevronUp from "svelte-icons/fa/FaChevronUp.svelte";
4
- import FaChevronDown from "svelte-icons/fa/FaChevronDown.svelte";
5
- let expanded = false;
3
+ import { FaChevronUp, FaChevronDown, FaChevronLeft, FaChevronRight, FaCircle } from "svelte-icons/fa/";
6
4
  $:
7
5
  update($pageToolbarOperations, $contextToolbarOperations);
8
6
  let operations = [];
7
+ let mainOperation = null;
8
+ let secondaryOperation = null;
9
+ let toolboxOperations = [];
10
+ let isExpandable = false;
11
+ let vToolboxExpanded = false;
12
+ let hToolboxExpanded = false;
9
13
  function update(...args) {
10
14
  if ($contextToolbarOperations && $contextToolbarOperations.length > 0)
11
15
  operations = $contextToolbarOperations;
12
16
  else
13
17
  operations = $pageToolbarOperations;
18
+ if (operations.length > 0)
19
+ mainOperation = operations[0];
20
+ else
21
+ mainOperation = null;
22
+ secondaryOperation = null;
23
+ toolboxOperations = [];
24
+ if (operations.length > 1) {
25
+ const operation = operations[1];
26
+ if (!operation.separator) {
27
+ if (!operation.toolbox)
28
+ secondaryOperation = operation;
29
+ else
30
+ toolboxOperations = operation.toolbox;
31
+ }
32
+ }
33
+ if (operations.length == 3 && secondaryOperation != null || operations.length > 3 || toolboxOperations.length > 0)
34
+ isExpandable = true;
35
+ else
36
+ isExpandable = false;
14
37
  }
15
38
  function on_click(e, operation) {
16
39
  if (!operation)
@@ -22,7 +45,7 @@ function on_click(e, operation) {
22
45
  operation.action(focused_item);
23
46
  }
24
47
  let owner = e.target;
25
- while (owner && owner.tagName != "BUTTON")
48
+ while (owner && (owner.tagName != "BUTTON" && owner.tagName != "LI"))
26
49
  owner = owner.parentElement;
27
50
  if (!owner)
28
51
  return;
@@ -39,113 +62,104 @@ function on_click(e, operation) {
39
62
  else if (operation.grid)
40
63
  showMenu(rect, operation.grid);
41
64
  }
42
- function toggle_expand(e) {
43
- expanded = !expanded;
65
+ function toggleExpandToolboxV(e) {
66
+ vToolboxExpanded = !vToolboxExpanded;
67
+ hToolboxExpanded = vToolboxExpanded;
68
+ }
69
+ function toggleExpandToolboxH(e) {
70
+ hToolboxExpanded = !hToolboxExpanded;
71
+ vToolboxExpanded = hToolboxExpanded;
44
72
  }
45
73
  function mousedown(e) {
46
74
  e.preventDefault();
47
75
  }
76
+ function getSelectionPos() {
77
+ const selection = window.getSelection();
78
+ if (selection?.rangeCount > 0) {
79
+ const range = selection.getRangeAt(0);
80
+ let rect;
81
+ rect = range.getBoundingClientRect();
82
+ let result = window.innerHeight - rect.top;
83
+ result = Math.floor(result);
84
+ console.log("selection box", result);
85
+ return result;
86
+ } else
87
+ return 0;
88
+ }
48
89
  </script>
49
90
 
50
91
  {#if operations && operations.length > 0}
51
-
52
- {@const main_operation = operations[0]}
92
+ {@const topPosition = 350}
93
+ {@const verticalPosition = mainOperation.aboveKeyboard ? `bottom: ${topPosition}px` : "bottom: 10px"}
53
94
  <button class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
54
95
  font-medium rounded-full text-sm text-center shadow-md
55
96
  w-[55px] h-[55px]
56
- fixed m-0 absolute bottom-[10px] right-[0px]
97
+ fixed m-0 absolute bottom-0 right-[0px]
57
98
  dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
58
99
  flex items-center justify-center
59
100
  disable-dbl-tap-zoom"
60
- on:click|stopPropagation={(e) => {on_click(e, main_operation)}}
101
+ style={verticalPosition}
102
+ on:click|stopPropagation={(e) => {on_click(e, mainOperation)}}
61
103
  on:mousedown={mousedown} >
62
- <div class="w-7 h-7"><svelte:component this={main_operation.icon}/></div>
104
+ <div class="w-7 h-7"><svelte:component this={mainOperation.icon}/></div>
63
105
  </button>
64
106
 
65
- {#if operations.length > 1}
66
- {@const secondary_operation = operations[1]}
67
- {#if !secondary_operation.separator}
68
- <button class=" bg-transparent
69
- w-[55px] h-[55px]
70
- fixed m-0 absolute bottom-[10px] right-[60px]
71
- flex items-center justify-center
72
- disable-dbl-tap-zoom"
73
- on:click|stopPropagation={(e) => {on_click(e, secondary_operation)}}
74
- on:mousedown={mousedown} >
75
- <div class=" w-10 h-10
76
- text-white bg-zinc-500 hover:bg-zinc-500
77
- dark:bg-zinc-500 dark:hover:bg-zinc-500
78
- font-medium rounded-full text-sm text-center shadow-md
79
- flex items-center justify-center">
80
- <div class="w-5 h-5">
81
- <svelte:component this={secondary_operation.icon}/>
107
+ {#if secondaryOperation || isExpandable}
108
+
109
+ <!-- horizontal container -->
110
+ <div class="flex flex-row m-0 absolute bottom-[10px] right-[60px]">
111
+
112
+ {#if isExpandable}
113
+ <!-- Expander -->
114
+ <button class=" bg-transparent mr-2
115
+ w-[55px] h-[55px]
116
+ flex items-center justify-center
117
+ disable-dbl-tap-zoom"
118
+ on:click|stopPropagation={toggleExpandToolboxH}
119
+ on:mousedown={mousedown}>
120
+ <div class=" w-10 h-10
121
+ text-white bg-zinc-500 hover:bg-zinc-500
122
+ font-medium rounded-full text-sm text-center shadow-md
123
+ dark:bg-zinc-500 dark:hover:bg-zinc-500
124
+ flex items-center justify-center">
125
+ <div class="w-2 h-2">
126
+ {#if hToolboxExpanded}
127
+ <FaCircle/>
128
+ {:else}
129
+ <FaCircle/>
130
+ {/if}
131
+ </div>
82
132
  </div>
83
- </div>
84
- </button>
85
- {/if}
133
+ </button>
86
134
 
87
- {#if operations.length == 3}
88
- {@const thrid_operation = operations[2]}
89
- <button class=" bg-transparent
90
- w-[55px] h-[55px]
91
- fixed m-0 absolute bottom-[70px] right-[0px]
92
-
93
- flex items-center justify-center
94
- disable-dbl-tap-zoom"
95
- on:click|stopPropagation={(e) => {on_click(e, thrid_operation)}}
96
- on:mousedown={mousedown} >
97
- <div class=" w-10 h-10
98
- text-white bg-zinc-500 hover:bg-zinc-500
99
- font-medium rounded-full text-sm text-center shadow-md
100
- dark:bg-zinc-500 dark:hover:bg-zinc-500
101
- flex items-center justify-center">
102
- <div class="w-5 h-5">
103
- <svelte:component this={thrid_operation.icon}/>
104
- </div>
105
- </div>
106
- </button>
107
- {:else if operations.length > 3}
108
- <button class=" bg-transparent
109
- w-[55px] h-[55px]
110
- fixed m-0 absolute bottom-[70px] right-[0px]
111
-
112
- flex items-center justify-center
113
- disable-dbl-tap-zoom"
114
- on:click|stopPropagation={toggle_expand}
115
- on:mousedown={mousedown}>
116
- <div class=" w-10 h-10
117
- text-white bg-zinc-500 hover:bg-zinc-500
118
- font-medium rounded-full text-sm text-center shadow-md
119
- dark:bg-zinc-500 dark:hover:bg-zinc-500
120
- flex items-center justify-center">
121
- <div class="w-5 h-5">
122
- {#if expanded}
123
- <FaChevronDown/>
124
- {:else}
125
- <FaChevronUp/>
126
- {/if}
127
- </div>
128
- </div>
129
- </button>
130
- {#if expanded}
131
- {@const operations_to_expand = operations.slice(2).reverse()}
132
- <ul class="list-none m-0 absolute bottom-[125px] right-0">
133
- {#each operations_to_expand as operation}
134
- {#if !operation.separator}
135
- <!-- svelte-ignore a11y-click-events-have-key-events -->
136
- <li class="flex flex-row px-0 py-0 justify-end group"
137
- on:click|stopPropagation={(e) => {on_click(e, operation)}}
138
- on:mousedown={mousedown}>
139
- {#if operation.caption}
140
- <div>
141
- <span class="block whitespace-nowrap text-sm mt-3 font-semibold text-white mr-3 select-none bg-stone-700 group-hover:bg-stone-800 px-1 shadow-lg rounded">{operation.caption}</span>
142
- </div>
143
- {/if}
135
+ {#if hToolboxExpanded}
136
+ {#if secondaryOperation}
137
+ <button class=" bg-transparent
138
+ mx-0 mr-2 w-[55px] h-[55px]
139
+ flex items-center justify-center
140
+ disable-dbl-tap-zoom"
141
+ on:click|stopPropagation={(e) => {on_click(e, secondaryOperation)}}
142
+ on:mousedown={mousedown}>
143
+ <div class=" w-10 h-10
144
+ text-white bg-zinc-500 group-hover:bg-zinc-500
145
+ dark:bg-zinc-500 dark:group-hover:bg-zinc-500
146
+ font-medium rounded-full text-sm text-center shadow-md
147
+ flex items-center justify-center">
148
+ <div class="w-5 h-5"><svelte:component this={secondaryOperation.icon}/></div>
149
+ </div>
150
+ </button>
151
+ {:else if toolboxOperations.length > 0}
152
+ {@const toolbox=toolboxOperations.reverse()}
153
+ {#each toolbox as operation}
154
+ {#if !operation.separator}
155
+ <!-- svelte-ignore a11y-click-events-have-key-events -->
144
156
  <button class=" bg-transparent
145
- mx-0 mb-4 w-[55px] h-[55px]
146
- flex items-center justify-center
147
- disable-dbl-tap-zoom">
148
- <div class=" w-[55px] h-[55px]
157
+ mx-0 mr-2 w-[55px] h-[55px]
158
+ flex items-center justify-center
159
+ disable-dbl-tap-zoom"
160
+ on:click|stopPropagation={(e) => {on_click(e, operation)}}
161
+ on:mousedown={mousedown}>
162
+ <div class=" w-10 h-10
149
163
  text-white bg-zinc-500 group-hover:bg-zinc-500
150
164
  dark:bg-zinc-500 dark:group-hover:bg-zinc-500
151
165
  font-medium rounded-full text-sm text-center shadow-md
@@ -153,13 +167,66 @@ function mousedown(e) {
153
167
  <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
154
168
  </div>
155
169
  </button>
156
- </li>
157
- {/if}
158
- {/each}
159
- </ul>
170
+ {/if}
171
+ {/each}
172
+
173
+ {/if}
174
+ {/if}
175
+ {:else}
176
+ <button class=" bg-transparent
177
+ mx-0 mr-2 w-[55px] h-[55px]
178
+ flex items-center justify-center
179
+ disable-dbl-tap-zoom"
180
+ on:click|stopPropagation={(e) => {on_click(e, secondaryOperation)}}
181
+ on:mousedown={mousedown}>
182
+ <div class=" w-10 h-10
183
+ text-white bg-zinc-500 group-hover:bg-zinc-500
184
+ dark:bg-zinc-500 dark:group-hover:bg-zinc-500
185
+ font-medium rounded-full text-sm text-center shadow-md
186
+ flex items-center justify-center">
187
+ <div class="w-5 h-5"><svelte:component this={secondaryOperation.icon}/></div>
188
+ </div>
189
+ </button>
160
190
  {/if}
161
- {/if}
162
- {/if}
191
+
192
+ </div>
193
+ {/if}
194
+
195
+ {#if operations.length > 2} <!-- has vertical operations -->
196
+ <!-- vertical tools container -->
197
+ <ul class="list-none m-0 absolute bottom-[70px] right-0">
198
+ {#if (isExpandable && vToolboxExpanded) || !isExpandable}
199
+ {@const verticalOperations = operations.slice(2).reverse()}
200
+ {#each verticalOperations as operation}
201
+ {#if !operation.separator}
202
+ <!-- svelte-ignore a11y-click-events-have-key-events -->
203
+ <li class="flex flex-row px-0 py-0 justify-end group"
204
+ on:click|stopPropagation={(e) => {on_click(e, operation)}}
205
+ on:mousedown={mousedown}>
206
+ {#if operation.caption}
207
+ <div>
208
+ <span class="block whitespace-nowrap text-sm mt-3 font-semibold text-white mr-3 select-none bg-stone-700 group-hover:bg-stone-800 px-1 shadow-lg rounded">{operation.caption}</span>
209
+ </div>
210
+ {/if}
211
+ <button class=" bg-transparent
212
+ mx-0 mb-2 w-[55px] h-[55px]
213
+ flex items-center justify-center
214
+ disable-dbl-tap-zoom">
215
+ <div class=" w-10 h-10
216
+ text-white bg-zinc-500 group-hover:bg-zinc-500
217
+ dark:bg-zinc-500 dark:group-hover:bg-zinc-500
218
+ font-medium rounded-full text-sm text-center shadow-md
219
+ flex items-center justify-center">
220
+ <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
221
+ </div>
222
+ </button>
223
+ </li>
224
+ {/if}
225
+ {/each}
226
+ {/if}
227
+ </ul>
228
+ {/if}
229
+
163
230
  {/if}
164
231
 
165
232
  <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,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
- isVisible?: (() => 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 isVisible(): () => 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
+ isVisible?: (() => 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 isVisible(): () => 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,26 +1,26 @@
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
- pushChangesImmediately?: boolean | undefined;
13
- };
14
- events: {
15
- [evt: string]: CustomEvent<any>;
16
- };
17
- slots: {
18
- default: {};
19
- };
20
- };
21
- export type CheckboxProps = typeof __propDef.props;
22
- export type CheckboxEvents = typeof __propDef.events;
23
- export type CheckboxSlots = typeof __propDef.slots;
24
- export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
25
- }
26
- 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
+ pushChangesImmediately?: boolean | undefined;
13
+ };
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {
18
+ default: {};
19
+ };
20
+ };
21
+ export type CheckboxProps = typeof __propDef.props;
22
+ export type CheckboxEvents = typeof __propDef.events;
23
+ export type CheckboxSlots = typeof __propDef.slots;
24
+ export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
25
+ }
26
+ 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
- onCollect: 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
+ onCollect: 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
- onCollect = 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
+ onCollect = undefined;
13
+ element_key;
14
+ element_name;
15
+ element_avatar;
16
+ }
17
+ export const cached_sources = new Map();