@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.
Files changed (135) hide show
  1. package/README.md +0 -0
  2. package/components/Fab.svelte +103 -31
  3. package/components/Fab.svelte.d.ts +17 -17
  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 +26 -26
  7. package/components/checkbox.svelte.d.ts +26 -26
  8. package/components/combo/combo.d.ts +19 -19
  9. package/components/combo/combo.item.svelte.d.ts +20 -20
  10. package/components/combo/combo.js +19 -19
  11. package/components/combo/combo.source.svelte.d.ts +23 -23
  12. package/components/combo/combo.svelte +25 -22
  13. package/components/combo/combo.svelte.d.ts +44 -44
  14. package/components/contextmenu.svelte.d.ts +26 -26
  15. package/components/date.svelte +40 -30
  16. package/components/date.svelte.d.ts +33 -33
  17. package/components/delayed.spinner.svelte.d.ts +19 -19
  18. package/components/document/editor.svelte +10 -4
  19. package/components/document/editor.svelte.d.ts +35 -35
  20. package/components/document/internal/Document_command.d.ts +12 -11
  21. package/components/document/internal/Document_command.js +12 -11
  22. package/components/document/internal/Selection_helper.d.ts +7 -7
  23. package/components/document/internal/Selection_helper.js +133 -133
  24. package/components/document/internal/Selection_range.d.ts +26 -26
  25. package/components/document/internal/Selection_range.js +58 -58
  26. package/components/document/internal/findSuggestionMatch.d.ts +16 -16
  27. package/components/document/internal/findSuggestionMatch.js +51 -51
  28. package/components/document/internal/h1.icon.svelte.d.ts +23 -23
  29. package/components/document/internal/h2.icon.svelte.d.ts +23 -23
  30. package/components/document/internal/h3.icon.svelte.d.ts +23 -23
  31. package/components/document/internal/h4.icon.svelte.d.ts +23 -23
  32. package/components/document/internal/palette.row.big.svelte.d.ts +46 -46
  33. package/components/document/internal/palette.row.svelte.d.ts +46 -46
  34. package/components/document/internal/palette.svelte +16 -10
  35. package/components/document/internal/palette.svelte.d.ts +82 -82
  36. package/components/document/internal/suggestion.d.ts +158 -158
  37. package/components/document/internal/suggestion.js +194 -194
  38. package/components/document/rich.edit.svelte.d.ts +34 -34
  39. package/components/edit.field.svelte.d.ts +31 -31
  40. package/components/file.loader.svelte.d.ts +25 -25
  41. package/components/icon.ex.svelte.d.ts +62 -62
  42. package/components/icon.svelte.d.ts +62 -62
  43. package/components/input.text.svelte.d.ts +29 -29
  44. package/components/inputbox.ltop.svelte.d.ts +59 -59
  45. package/components/kanban/Kanban.d.ts +47 -47
  46. package/components/kanban/Kanban.js +105 -105
  47. package/components/kanban/internal/kanban.card.svelte +5 -3
  48. package/components/kanban/internal/kanban.card.svelte.d.ts +32 -32
  49. package/components/kanban/internal/kanban.column.svelte.d.ts +53 -53
  50. package/components/kanban/internal/kanban.inserter.svelte.d.ts +18 -18
  51. package/components/kanban/internal/kanban.move.menu.svelte +135 -135
  52. package/components/kanban/internal/kanban.move.menu.svelte.d.ts +22 -22
  53. package/components/kanban/internal/kanban.props.svelte.d.ts +19 -19
  54. package/components/kanban/kanban.callbacks.svelte +1 -1
  55. package/components/kanban/kanban.callbacks.svelte.d.ts +18 -18
  56. package/components/kanban/kanban.column.svelte.d.ts +21 -21
  57. package/components/kanban/kanban.combo.svelte.d.ts +25 -25
  58. package/components/kanban/kanban.date.svelte +1 -1
  59. package/components/kanban/kanban.date.svelte.d.ts +21 -21
  60. package/components/kanban/kanban.source.svelte.d.ts +23 -23
  61. package/components/kanban/kanban.static.svelte.d.ts +20 -20
  62. package/components/kanban/kanban.summary.svelte.d.ts +18 -18
  63. package/components/kanban/kanban.svelte.d.ts +65 -65
  64. package/components/kanban/kanban.tags.svelte.d.ts +24 -24
  65. package/components/kanban/kanban.title.svelte.d.ts +21 -21
  66. package/components/list/List.d.ts +46 -46
  67. package/components/list/List.js +54 -54
  68. package/components/list/internal/list.element.props.svelte +2 -2
  69. package/components/list/internal/list.element.props.svelte.d.ts +21 -21
  70. package/components/list/internal/list.element.summary.svelte +46 -46
  71. package/components/list/internal/list.element.summary.svelte.d.ts +24 -24
  72. package/components/list/internal/list.element.svelte +8 -6
  73. package/components/list/internal/list.element.svelte.d.ts +31 -31
  74. package/components/list/internal/list.inserter.svelte.d.ts +19 -19
  75. package/components/list/list.combo.svelte.d.ts +22 -22
  76. package/components/list/list.date.svelte.d.ts +18 -18
  77. package/components/list/list.inserter.svelte.d.ts +17 -17
  78. package/components/list/list.static.svelte.d.ts +17 -17
  79. package/components/list/list.summary.svelte.d.ts +19 -19
  80. package/components/list/list.svelte.d.ts +59 -59
  81. package/components/list/list.title.svelte.d.ts +22 -22
  82. package/components/menu.d.ts +5 -5
  83. package/components/menu.js +57 -57
  84. package/components/radio.svelte.d.ts +26 -26
  85. package/components/sidebar/sidebar.brand.svelte.d.ts +33 -33
  86. package/components/sidebar/sidebar.group.svelte +2 -2
  87. package/components/sidebar/sidebar.group.svelte.d.ts +33 -33
  88. package/components/sidebar/sidebar.item.svelte +52 -29
  89. package/components/sidebar/sidebar.item.svelte.d.ts +32 -32
  90. package/components/sidebar/sidebar.list.svelte +4 -2
  91. package/components/sidebar/sidebar.list.svelte.d.ts +38 -38
  92. package/components/sidebar/sidebar.svelte.d.ts +27 -27
  93. package/components/simple.table.svelte.d.ts +41 -41
  94. package/components/table/_template.table.svelte.d.ts +57 -57
  95. package/components/table/column.svelte.d.ts +19 -19
  96. package/components/table/item.svelte.d.ts +17 -17
  97. package/components/table/table.d.ts +11 -11
  98. package/components/table/table.js +11 -11
  99. package/components/table/table.svelte +6 -3
  100. package/components/table/table.svelte.d.ts +75 -75
  101. package/components/tag.colors.svelte.d.ts +17 -17
  102. package/components/tag.svelte +12 -9
  103. package/components/tag.svelte.d.ts +20 -20
  104. package/components/tags.svelte +13 -11
  105. package/components/tags.svelte.d.ts +32 -32
  106. package/components/textarea.ltop.svelte.d.ts +35 -35
  107. package/components/tile.title.svelte.d.ts +29 -29
  108. package/console.svelte.d.ts +23 -23
  109. package/desk.svelte +58 -26
  110. package/desk.svelte.d.ts +23 -23
  111. package/form.box.svelte.d.ts +35 -35
  112. package/horizontal.toolbar.svelte +3 -3
  113. package/horizontal.toolbar.svelte.d.ts +25 -25
  114. package/index.d.ts +63 -63
  115. package/index.js +69 -69
  116. package/internal/configurable.content.svelte.d.ts +29 -29
  117. package/internal/loading.svelte.d.ts +23 -23
  118. package/modal.svelte.d.ts +39 -39
  119. package/operations.svelte +37 -8
  120. package/operations.svelte.d.ts +16 -16
  121. package/package.json +8 -8
  122. package/page.row.svelte.d.ts +31 -31
  123. package/page.svelte +7 -2
  124. package/page.svelte.d.ts +47 -47
  125. package/stores.d.ts +44 -44
  126. package/tenant.members.svelte +69 -39
  127. package/tenant.members.svelte.d.ts +33 -33
  128. package/tile.svelte.d.ts +33 -33
  129. package/tiles.row.svelte.d.ts +31 -31
  130. package/tiles.vertical.row.svelte.d.ts +29 -29
  131. package/updates.d.ts +4 -4
  132. package/utils.d.ts +50 -50
  133. package/utils.js +36 -7
  134. package/vertical.toolbar.svelte +1 -1
  135. package/vertical.toolbar.svelte.d.ts +27 -27
package/README.md CHANGED
File without changes
@@ -11,17 +11,26 @@ let toolboxOperations = [];
11
11
  let isExpandable = false;
12
12
  let vToolboxExpanded = false;
13
13
  let hToolboxExpanded = false;
14
- let isMain = false;
14
+ let isDirectPositioningMode = false;
15
15
  function update(...args) {
16
- if ($contextToolbarOperations && $contextToolbarOperations.length > 0)
16
+ isDirectPositioningMode = false;
17
+ if ($contextToolbarOperations && Array.isArray($contextToolbarOperations) && $contextToolbarOperations.length > 0)
17
18
  operations = $contextToolbarOperations;
18
- else
19
- operations = $pageToolbarOperations;
20
- if (operations && operations.length > 0 && operations[0].main) {
21
- isMain = true;
19
+ else if ($contextToolbarOperations && $contextToolbarOperations.operations && $contextToolbarOperations.operations.length > 0) {
20
+ operations = $contextToolbarOperations.operations;
21
+ if ($contextToolbarOperations.opver && $contextToolbarOperations.opver == 1)
22
+ isDirectPositioningMode = true;
22
23
  } else {
23
- isMain = false;
24
+ if (Array.isArray($pageToolbarOperations))
25
+ operations = $pageToolbarOperations;
26
+ else {
27
+ operations = $pageToolbarOperations.operations;
28
+ if ($pageToolbarOperations.opver && $pageToolbarOperations.opver == 1)
29
+ isDirectPositioningMode = true;
30
+ }
24
31
  }
32
+ if (isDirectPositioningMode)
33
+ return;
25
34
  if (operations.length > 0)
26
35
  mainOperation = operations[0];
27
36
  else
@@ -46,7 +55,6 @@ export function activateMainOperation() {
46
55
  const mainOperationButton = document.getElementById("__hd_fab_mainOperation");
47
56
  if (!mainOperationButton)
48
57
  return;
49
- console.log("activateMainOperation");
50
58
  mainOperationButton.click();
51
59
  }
52
60
  function on_click(e, operation) {
@@ -100,33 +108,97 @@ function getSelectionPos() {
100
108
  return 0;
101
109
  }
102
110
  function calculatePosition(operation) {
103
- let right = 0;
104
- let result = `bottom: 10px; right:${right}px`;
111
+ const isLeftHanded = false;
112
+ let result = "";
113
+ const fab = operation.fab;
114
+ if (fab.length != 3)
115
+ return "";
116
+ const section = fab[0];
117
+ const col_no = parseInt(fab[1]);
118
+ const row_no = parseInt(fab[2]);
119
+ if (col_no == NaN || row_no == NaN)
120
+ return "";
121
+ const width = 55;
122
+ const height = 55;
123
+ const margin = 10;
124
+ if (!isLeftHanded) {
125
+ switch (section) {
126
+ case "M":
127
+ result = `right: ${margin + col_no * width}px; bottom: ${margin + row_no * height}px`;
128
+ break;
129
+ case "S":
130
+ result = `left: ${margin + col_no * width}px; bottom: ${margin + row_no * height}px`;
131
+ break;
132
+ case "A":
133
+ result = `right: ${margin + col_no * width}px; top: calc(50vh - ${row_no * height}px)`;
134
+ break;
135
+ case "C":
136
+ result = `left: ${margin + col_no * width}px; top: calc(50vh - ${row_no * height}px)`;
137
+ break;
138
+ case "T":
139
+ result = `right: ${margin + col_no * width}px; top: ${margin + row_no * height}px`;
140
+ break;
141
+ case "F":
142
+ result = `left: ${margin + col_no * width}px; top: ${margin + row_no * height}px`;
143
+ break;
144
+ }
145
+ } else {
146
+ switch (section) {
147
+ case "M":
148
+ result = `left: ${margin + col_no * width}px; bottom: ${margin + row_no * height}px`;
149
+ break;
150
+ case "S":
151
+ result = `right: ${margin + col_no * width}px; bottom: ${margin + row_no * height}px`;
152
+ break;
153
+ case "A":
154
+ result = `left: ${margin + col_no * width}px; top: calc(50vh - ${row_no * height}px)`;
155
+ break;
156
+ case "C":
157
+ result = `right: ${margin + col_no * width}px; top: calc(50vh - ${row_no * height}px)`;
158
+ break;
159
+ case "T":
160
+ result = `left: ${margin + col_no * width}px; top: ${margin + row_no * height}px`;
161
+ break;
162
+ case "F":
163
+ result = `right: ${margin + col_no * width}px; top: ${margin + row_no * height}px`;
164
+ break;
165
+ }
166
+ }
105
167
  return result;
106
168
  }
107
169
  function operationVisible(operation) {
108
- return false;
170
+ if (!operation.fab)
171
+ return false;
172
+ return true;
109
173
  }
110
174
  </script>
111
175
 
112
- {#if isMain}
176
+ {#if isDirectPositioningMode}
113
177
  {#if operations && operations.length > 0}
114
- {#each operations as operation, idx}
115
- {#if operationVisible(operation)}
116
- <button
117
- class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
118
- font-medium rounded-full text-sm text-center shadow-md
119
- w-[55px] h-[55px]
120
- fixed m-0 absolute bottom-0
121
- dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
122
- flex items-center justify-center
123
- disable-dbl-tap-zoom"
124
- style={calculatePosition(operation)}
125
- on:click|stopPropagation={(e) => {on_click(e, mainOperation)}}
126
- on:mousedown={mousedown} >
127
- <div class="w-7 h-7"><svelte:component this={operation.icon}/></div>
128
- </button>
129
- {/if}
178
+ {#each operations as group}
179
+ {#if group.operations && group.operations.length > 0}
180
+ {#each group.operations as operation}
181
+ {#if operationVisible(operation)}
182
+ {@const position = calculatePosition(operation)}
183
+ {#if position}
184
+ <button
185
+ class="text-white bg-blue-700/70 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
186
+ font-medium rounded-full text-sm text-center shadow-md
187
+ w-[35px] h-[35px]
188
+ fixed m-0
189
+ dark:bg-blue-600/50 dark:hover:bg-blue-700 dark:focus:ring-blue-800
190
+ flex items-center justify-center
191
+ disable-dbl-tap-zoom
192
+ cursor-pointer z-10"
193
+ style={position}
194
+ on:click|stopPropagation={(e) => {on_click(e, operation)}}
195
+ on:mousedown={mousedown} >
196
+ <div class="w-5 h-5"><svelte:component this={operation.icon}/></div>
197
+ </button>
198
+ {/if}
199
+ {/if}
200
+ {/each}
201
+ {/if}
130
202
  {/each}
131
203
  {/if}
132
204
  {:else}
@@ -138,7 +210,7 @@ function operationVisible(operation) {
138
210
  class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300
139
211
  font-medium rounded-full text-sm text-center shadow-md
140
212
  w-[55px] h-[55px]
141
- fixed m-0 absolute bottom-0 right-[0px]
213
+ fixed m-0 bottom-0 right-[0px]
142
214
  dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
143
215
  flex items-center justify-center
144
216
  disable-dbl-tap-zoom"
@@ -151,7 +223,7 @@ function operationVisible(operation) {
151
223
  {#if secondaryOperation || isExpandable}
152
224
 
153
225
  <!-- horizontal container -->
154
- <div class="flex flex-row m-0 absolute bottom-[10px] right-[60px]">
226
+ <div class="flex flex-row m-0 fixed bottom-[10px] right-[60px]">
155
227
 
156
228
  {#if isExpandable}
157
229
  <!-- Expander -->
@@ -238,7 +310,7 @@ function operationVisible(operation) {
238
310
 
239
311
  {#if operations.length > 2} <!-- has vertical operations -->
240
312
  <!-- vertical tools container -->
241
- <ul class="list-none m-0 absolute bottom-[70px] right-0">
313
+ <ul class="list-none m-0 fixed bottom-[70px] right-0">
242
314
  {#if (isExpandable && vToolboxExpanded) || !isExpandable}
243
315
  {@const verticalOperations = operations.slice(2).reverse()}
244
316
  {#each verticalOperations as operation}
@@ -1,17 +1,17 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- activateMainOperation?: (() => void) | undefined;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type FabProps = typeof __propDef.props;
12
- export type FabEvents = typeof __propDef.events;
13
- export type FabSlots = typeof __propDef.slots;
14
- export default class Fab extends SvelteComponentTyped<FabProps, FabEvents, FabSlots> {
15
- get activateMainOperation(): () => void;
16
- }
17
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ activateMainOperation?: (() => void) | undefined;
5
+ };
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type FabProps = typeof __propDef.props;
12
+ export type FabEvents = typeof __propDef.events;
13
+ export type FabSlots = typeof __propDef.slots;
14
+ export default class Fab extends SvelteComponentTyped<FabProps, FabEvents, FabSlots> {
15
+ get activateMainOperation(): () => void;
16
+ }
17
+ 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
+ operations?: any[] | undefined;
6
+ onHide?: any;
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
+ operations?: any[] | undefined;
18
+ onHide?: any;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {};
24
+ };
25
+ export {};
@@ -1,26 +1,26 @@
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
- hiddenFunc?: undefined;
12
- disabledFunc?: undefined;
13
- };
14
- events: {
15
- [evt: string]: CustomEvent<any>;
16
- };
17
- slots: {
18
- default: {};
19
- };
20
- };
21
- export type ButtonProps = typeof __propDef.props;
22
- export type ButtonEvents = typeof __propDef.events;
23
- export type ButtonSlots = typeof __propDef.slots;
24
- export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
25
- }
26
- 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
+ hiddenFunc?: undefined;
12
+ disabledFunc?: undefined;
13
+ };
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {
18
+ default: {};
19
+ };
20
+ };
21
+ export type ButtonProps = typeof __propDef.props;
22
+ export type ButtonEvents = typeof __propDef.events;
23
+ export type ButtonSlots = typeof __propDef.slots;
24
+ export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
25
+ }
26
+ 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,19 +1,19 @@
1
- export declare class rCombo_item {
2
- Key: any | undefined;
3
- Name: string | undefined;
4
- Avatar: string | undefined;
5
- Color: string | undefined;
6
- Icon: any | undefined;
7
- }
8
- export declare class rCombo_definition {
9
- source: rCombo_item[];
10
- collection_expr: string | undefined;
11
- collection_path: string | undefined;
12
- collection: object[] | undefined;
13
- onCollect: undefined;
14
- element_key: string | undefined;
15
- element_name: string | undefined;
16
- element_avatar: string | undefined;
17
- element_icon: string | undefined;
18
- }
19
- 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
+ Icon: any | undefined;
7
+ }
8
+ export declare class rCombo_definition {
9
+ source: rCombo_item[];
10
+ collection_expr: string | undefined;
11
+ collection_path: string | undefined;
12
+ collection: object[] | undefined;
13
+ onCollect: undefined;
14
+ element_key: string | undefined;
15
+ element_name: string | undefined;
16
+ element_avatar: string | undefined;
17
+ element_icon: string | undefined;
18
+ }
19
+ export declare const cached_sources: Map<string, Promise<object>>;
@@ -1,20 +1,20 @@
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
- icon?: any | undefined;
9
- };
10
- events: {
11
- [evt: string]: CustomEvent<any>;
12
- };
13
- slots: {};
14
- };
15
- export type ComboProps = typeof __propDef.props;
16
- export type ComboEvents = typeof __propDef.events;
17
- export type ComboSlots = typeof __propDef.slots;
18
- export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
19
- }
20
- 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
+ icon?: any | undefined;
9
+ };
10
+ events: {
11
+ [evt: string]: CustomEvent<any>;
12
+ };
13
+ slots: {};
14
+ };
15
+ export type ComboProps = typeof __propDef.props;
16
+ export type ComboEvents = typeof __propDef.events;
17
+ export type ComboSlots = typeof __propDef.slots;
18
+ export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
19
+ }
20
+ export {};
@@ -1,19 +1,19 @@
1
- export class rCombo_item {
2
- Key;
3
- Name;
4
- Avatar; //url to avatar
5
- Color;
6
- Icon = undefined;
7
- }
8
- export class rCombo_definition {
9
- source = [];
10
- collection_expr;
11
- collection_path;
12
- collection;
13
- onCollect = undefined;
14
- element_key;
15
- element_name;
16
- element_avatar;
17
- element_icon;
18
- }
19
- export const cached_sources = new Map();
1
+ export class rCombo_item {
2
+ Key;
3
+ Name;
4
+ Avatar; //url to avatar
5
+ Color;
6
+ Icon = undefined;
7
+ }
8
+ export class rCombo_definition {
9
+ source = [];
10
+ collection_expr;
11
+ collection_path;
12
+ collection;
13
+ onCollect = undefined;
14
+ element_key;
15
+ element_name;
16
+ element_avatar;
17
+ element_icon;
18
+ }
19
+ export const cached_sources = new Map();
@@ -1,23 +1,23 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- association?: string | undefined;
5
- path?: string | undefined;
6
- objects?: object[] | undefined;
7
- onCollect?: undefined;
8
- key?: string | undefined;
9
- name?: string | undefined;
10
- avatar?: string | undefined;
11
- icon?: string | undefined;
12
- };
13
- events: {
14
- [evt: string]: CustomEvent<any>;
15
- };
16
- slots: {};
17
- };
18
- export type ComboProps = typeof __propDef.props;
19
- export type ComboEvents = typeof __propDef.events;
20
- export type ComboSlots = typeof __propDef.slots;
21
- export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
22
- }
23
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ association?: string | undefined;
5
+ path?: string | undefined;
6
+ objects?: object[] | undefined;
7
+ onCollect?: undefined;
8
+ key?: string | undefined;
9
+ name?: string | undefined;
10
+ avatar?: string | undefined;
11
+ icon?: string | undefined;
12
+ };
13
+ events: {
14
+ [evt: string]: CustomEvent<any>;
15
+ };
16
+ slots: {};
17
+ };
18
+ export type ComboProps = typeof __propDef.props;
19
+ export type ComboEvents = typeof __propDef.events;
20
+ export type ComboSlots = typeof __propDef.slots;
21
+ export default class Combo extends SvelteComponentTyped<ComboProps, ComboEvents, ComboSlots> {
22
+ }
23
+ export {};