@speckle/ui-components 2.23.7 → 2.23.9

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 (91) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/AvatarEditor-2d926b04.cjs +2 -0
  3. package/dist/AvatarEditor-2d926b04.cjs.map +1 -0
  4. package/dist/{AvatarEditor-25fde016.js → AvatarEditor-844e9444.js} +63 -63
  5. package/dist/AvatarEditor-844e9444.js.map +1 -0
  6. package/dist/components/InfiniteLoading.vue.d.ts +15 -36
  7. package/dist/components/SourceAppBadge.vue.d.ts +4 -14
  8. package/dist/components/common/Alert.vue.d.ts +25 -46
  9. package/dist/components/common/Badge.vue.d.ts +24 -50
  10. package/dist/components/common/ProgressBar.vue.d.ts +3 -14
  11. package/dist/components/common/VimeoEmbed.vue.d.ts +6 -20
  12. package/dist/components/common/animation/ClickIcon.vue.d.ts +1 -1
  13. package/dist/components/common/animation/Instructional.vue.d.ts +14 -6
  14. package/dist/components/common/animation/MouseIcon.vue.d.ts +1 -1
  15. package/dist/components/common/loading/Bar.vue.d.ts +4 -15
  16. package/dist/components/common/loading/Icon.vue.d.ts +6 -31
  17. package/dist/components/common/steps/Bullet.vue.d.ts +15 -32
  18. package/dist/components/common/steps/Number.vue.d.ts +14 -30
  19. package/dist/components/common/text/Link.vue.d.ts +23 -15
  20. package/dist/components/form/Button.vue.d.ts +34 -101
  21. package/dist/components/form/CardButton.vue.d.ts +19 -22
  22. package/dist/components/form/Checkbox.vue.d.ts +15 -15
  23. package/dist/components/form/ClipboardInput.vue.d.ts +5 -26
  24. package/dist/components/form/CodeInput.vue.d.ts +504 -0
  25. package/dist/components/form/Radio.vue.d.ts +15 -15
  26. package/dist/components/form/RadioGroup.vue.d.ts +25 -26
  27. package/dist/components/form/Switch.vue.d.ts +16 -40
  28. package/dist/components/form/Tags.vue.d.ts +95 -80
  29. package/dist/components/form/TextArea.vue.d.ts +45 -96
  30. package/dist/components/form/TextInput.vue.d.ts +53 -40
  31. package/dist/components/form/file-upload/Zone.vue.d.ts +36 -60
  32. package/dist/components/form/select/Badges.vue.d.ts +11 -30
  33. package/dist/components/form/select/Base.vue.d.ts +86 -173
  34. package/dist/components/form/select/Multi.vue.d.ts +84 -168
  35. package/dist/components/form/select/SourceApps.vue.d.ts +13 -10
  36. package/dist/components/form/tags/ContextManager.vue.d.ts +12 -4
  37. package/dist/components/global/ToastRenderer.vue.d.ts +8 -18
  38. package/dist/components/global/icon/ArrowFilled.vue.d.ts +1 -1
  39. package/dist/components/global/icon/Edit.vue.d.ts +1 -1
  40. package/dist/components/global/icon/Plus.vue.d.ts +1 -1
  41. package/dist/components/layout/Dialog.vue.d.ts +36 -65
  42. package/dist/components/layout/DialogSection.vue.d.ts +29 -16
  43. package/dist/components/layout/Disclosure.vue.d.ts +17 -36
  44. package/dist/components/layout/GridListToggle.vue.d.ts +8 -18
  45. package/dist/components/layout/Menu.vue.d.ts +253 -39
  46. package/dist/components/layout/Panel.vue.d.ts +19 -11
  47. package/dist/components/layout/Table.vue.d.ts +16 -54
  48. package/dist/components/layout/sidebar/Promo.vue.d.ts +9 -22
  49. package/dist/components/layout/sidebar/Sidebar.vue.d.ts +12 -4
  50. package/dist/components/layout/sidebar/menu/Menu.vue.d.ts +11 -3
  51. package/dist/components/layout/sidebar/menu/group/Group.vue.d.ts +30 -50
  52. package/dist/components/layout/sidebar/menu/group/Item.vue.d.ts +20 -29
  53. package/dist/components/layout/tabs/Horizontal.vue.d.ts +28 -22
  54. package/dist/components/layout/tabs/Vertical.vue.d.ts +23 -23
  55. package/dist/components/user/Avatar.vue.d.ts +25 -55
  56. package/dist/components/user/AvatarEditable.vue.d.ts +35 -91
  57. package/dist/components/user/AvatarEditor.vue.d.ts +239 -23
  58. package/dist/components/user/AvatarGroup.vue.d.ts +13 -47
  59. package/dist/composables/common/async.d.ts +3 -3
  60. package/dist/composables/common/steps.d.ts +6 -6
  61. package/dist/composables/common/window.d.ts +3 -3
  62. package/dist/composables/form/fileUpload.d.ts +6 -6
  63. package/dist/composables/form/input.d.ts +3 -3
  64. package/dist/composables/form/select.d.ts +4 -4
  65. package/dist/composables/form/textInput.d.ts +18 -18
  66. package/dist/composables/layout/resize.d.ts +3 -3
  67. package/dist/composables/testing.d.ts +2 -2
  68. package/dist/composables/user/avatar.d.ts +5 -5
  69. package/dist/directives/accessibility.d.ts +1 -1
  70. package/dist/helpers/common/components.d.ts +1 -1
  71. package/dist/helpers/common/validation.d.ts +2 -2
  72. package/dist/helpers/form/file.d.ts +2 -2
  73. package/dist/helpers/form/input.d.ts +1 -1
  74. package/dist/helpers/global/toast.d.ts +2 -1
  75. package/dist/helpers/layout/components.d.ts +3 -3
  76. package/dist/lib.cjs +1 -1
  77. package/dist/lib.cjs.map +1 -1
  78. package/dist/lib.d.ts +57 -62
  79. package/dist/lib.js +2924 -2838
  80. package/dist/lib.js.map +1 -1
  81. package/dist/stories/components/GlobalToast.vue.d.ts +2 -0
  82. package/dist/stories/components/SingletonManagers.vue.d.ts +2 -0
  83. package/dist/stories/composables/toast.d.ts +2 -2
  84. package/dist/stories/helpers/storybook.d.ts +2 -2
  85. package/dist/style.css +1 -1
  86. package/eslint.config.mjs +4 -3
  87. package/package.json +7 -8
  88. package/vite.config.ts +5 -10
  89. package/dist/AvatarEditor-25fde016.js.map +0 -1
  90. package/dist/AvatarEditor-a33fb9ec.cjs +0 -2
  91. package/dist/AvatarEditor-a33fb9ec.cjs.map +0 -1
@@ -0,0 +1,504 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ digitCount?: number;
4
+ disabled?: boolean;
5
+ error?: boolean;
6
+ clearErrorOnEdit?: boolean;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (...args: any[]) => void;
10
+ complete: (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ onComplete?: ((...args: any[]) => any) | undefined;
14
+ }>, {
15
+ digitCount: number;
16
+ clearErrorOnEdit: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
+ inputRefs: (({
19
+ $: import('vue').ComponentInternalInstance;
20
+ $data: {};
21
+ $props: Partial<{
22
+ size: "sm" | "base" | "lg" | "xl";
23
+ fullWidth: boolean;
24
+ color: import('../../composables/form/textInput').InputColor;
25
+ disabled: boolean;
26
+ loading: boolean;
27
+ type: string;
28
+ label: import('../../../../shared/dist/esm/index').Optional<string>;
29
+ modelValue: string;
30
+ rules: import('vee-validate').RuleExpression<string>;
31
+ validateOnMount: boolean;
32
+ showRequired: boolean;
33
+ labelPosition: import('../../composables/form/input').LabelPosition;
34
+ validateOnValueUpdate: boolean;
35
+ help: import('../../../../shared/dist/esm/index').Optional<string>;
36
+ showLabel: boolean;
37
+ autoFocus: boolean;
38
+ showClear: boolean;
39
+ useLabelInErrors: boolean;
40
+ customErrorMessage: string;
41
+ hideErrorMessage: boolean;
42
+ customHelpClass: string;
43
+ placeholder: import('../../../../shared/dist/esm/index').Optional<string>;
44
+ showOptional: boolean;
45
+ wrapperClasses: string;
46
+ readOnly: boolean;
47
+ customIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
48
+ inputClasses: string;
49
+ rightIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
50
+ rightIconTitle: string;
51
+ tooltipText: string;
52
+ }> & Omit<{
53
+ readonly size: "sm" | "base" | "lg" | "xl";
54
+ readonly fullWidth: boolean;
55
+ readonly color: import('../../composables/form/textInput').InputColor;
56
+ readonly disabled: boolean;
57
+ readonly loading: boolean;
58
+ readonly type: string;
59
+ readonly name: string;
60
+ readonly modelValue: string;
61
+ readonly validateOnMount: boolean;
62
+ readonly showRequired: boolean;
63
+ readonly labelPosition: import('../../composables/form/input').LabelPosition;
64
+ readonly validateOnValueUpdate: boolean;
65
+ readonly showLabel: boolean;
66
+ readonly autoFocus: boolean;
67
+ readonly showClear: boolean;
68
+ readonly useLabelInErrors: boolean;
69
+ readonly customErrorMessage: string;
70
+ readonly hideErrorMessage: boolean;
71
+ readonly showOptional: boolean;
72
+ readonly wrapperClasses: string;
73
+ readonly readOnly: boolean;
74
+ readonly inputClasses: string;
75
+ readonly label?: import('../../../../shared/dist/esm/index').Optional<string>;
76
+ readonly rules?: import('vee-validate').RuleExpression<string>;
77
+ readonly help?: import('../../../../shared/dist/esm/index').Optional<string>;
78
+ readonly customHelpClass?: string | undefined;
79
+ readonly placeholder?: import('../../../../shared/dist/esm/index').Optional<string>;
80
+ readonly customIcon?: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
81
+ readonly rightIcon?: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
82
+ readonly rightIconTitle?: string | undefined;
83
+ readonly tooltipText?: string | undefined;
84
+ readonly onClear?: (() => any) | undefined;
85
+ readonly onInput?: ((val: {
86
+ event?: Event;
87
+ value: string;
88
+ }) => any) | undefined;
89
+ readonly "onUpdate:modelValue"?: ((val: string) => any) | undefined;
90
+ readonly onChange?: ((val: {
91
+ event?: Event;
92
+ value: string;
93
+ }) => any) | undefined;
94
+ readonly onFocus?: (() => any) | undefined;
95
+ readonly onBlur?: (() => any) | undefined;
96
+ readonly onRightIconClick?: (() => any) | undefined;
97
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "fullWidth" | "color" | "disabled" | "loading" | "type" | "label" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "autoFocus" | "showClear" | "useLabelInErrors" | "customErrorMessage" | "hideErrorMessage" | "customHelpClass" | "placeholder" | "showOptional" | "wrapperClasses" | "readOnly" | "customIcon" | "inputClasses" | "rightIcon" | "rightIconTitle" | "tooltipText">;
98
+ $attrs: {
99
+ [x: string]: unknown;
100
+ };
101
+ $refs: {
102
+ [x: string]: unknown;
103
+ } & {
104
+ inputElement: HTMLInputElement;
105
+ };
106
+ $slots: Readonly<{
107
+ [name: string]: import('vue').Slot<any> | undefined;
108
+ }>;
109
+ $root: import('vue').ComponentPublicInstance | null;
110
+ $parent: import('vue').ComponentPublicInstance | null;
111
+ $host: Element | null;
112
+ $emit: ((event: "clear") => void) & ((event: "input", val: {
113
+ event?: Event;
114
+ value: string;
115
+ }) => void) & ((event: "update:modelValue", val: string) => void) & ((event: "change", val: {
116
+ event?: Event;
117
+ value: string;
118
+ }) => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "rightIconClick") => void);
119
+ $el: any;
120
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
121
+ type: {
122
+ type: import('vue').PropType<string>;
123
+ default: string;
124
+ };
125
+ name: {
126
+ type: StringConstructor;
127
+ required: true;
128
+ };
129
+ showLabel: {
130
+ type: BooleanConstructor;
131
+ required: false;
132
+ };
133
+ help: {
134
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
135
+ default: undefined;
136
+ };
137
+ placeholder: {
138
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
139
+ default: undefined;
140
+ };
141
+ label: {
142
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
143
+ default: undefined;
144
+ };
145
+ showRequired: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ showOptional: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ disabled: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ readOnly: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ rules: {
162
+ type: import('vue').PropType<import('vee-validate').RuleExpression<string>>;
163
+ default: undefined;
164
+ };
165
+ validateOnMount: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ validateOnValueUpdate: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
173
+ useLabelInErrors: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ customIcon: {
178
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>>;
179
+ default: undefined;
180
+ };
181
+ autoFocus: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ };
185
+ modelValue: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ size: {
190
+ type: import('vue').PropType<"sm" | "base" | "lg" | "xl">;
191
+ default: string;
192
+ };
193
+ showClear: {
194
+ type: BooleanConstructor;
195
+ default: boolean;
196
+ };
197
+ inputClasses: {
198
+ type: StringConstructor;
199
+ default: null;
200
+ };
201
+ fullWidth: {
202
+ type: BooleanConstructor;
203
+ default: boolean;
204
+ };
205
+ loading: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ hideErrorMessage: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
213
+ customErrorMessage: {
214
+ type: StringConstructor;
215
+ default: null;
216
+ };
217
+ wrapperClasses: {
218
+ type: StringConstructor;
219
+ default: () => string;
220
+ };
221
+ color: {
222
+ type: import('vue').PropType<import('../../composables/form/textInput').InputColor>;
223
+ default: string;
224
+ };
225
+ labelPosition: {
226
+ type: import('vue').PropType<import('../../composables/form/input').LabelPosition>;
227
+ default: string;
228
+ };
229
+ rightIcon: {
230
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>>;
231
+ default: undefined;
232
+ };
233
+ rightIconTitle: {
234
+ type: StringConstructor;
235
+ default: undefined;
236
+ };
237
+ tooltipText: {
238
+ type: StringConstructor;
239
+ default: undefined;
240
+ };
241
+ customHelpClass: {
242
+ type: StringConstructor;
243
+ default: undefined;
244
+ };
245
+ }>> & Readonly<{
246
+ onClear?: (() => any) | undefined;
247
+ onInput?: ((val: {
248
+ event?: Event;
249
+ value: string;
250
+ }) => any) | undefined;
251
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
252
+ onChange?: ((val: {
253
+ event?: Event;
254
+ value: string;
255
+ }) => any) | undefined;
256
+ onFocus?: (() => any) | undefined;
257
+ onBlur?: (() => any) | undefined;
258
+ onRightIconClick?: (() => any) | undefined;
259
+ }>, {
260
+ focus: () => void;
261
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
262
+ clear: () => any;
263
+ input: (val: {
264
+ event?: Event;
265
+ value: string;
266
+ }) => any;
267
+ "update:modelValue": (val: string) => any;
268
+ change: (val: {
269
+ event?: Event;
270
+ value: string;
271
+ }) => any;
272
+ focus: () => any;
273
+ blur: () => any;
274
+ rightIconClick: () => any;
275
+ }, string, {
276
+ size: "sm" | "base" | "lg" | "xl";
277
+ fullWidth: boolean;
278
+ color: import('../../composables/form/textInput').InputColor;
279
+ disabled: boolean;
280
+ loading: boolean;
281
+ type: string;
282
+ label: import('../../../../shared/dist/esm/index').Optional<string>;
283
+ modelValue: string;
284
+ rules: import('vee-validate').RuleExpression<string>;
285
+ validateOnMount: boolean;
286
+ showRequired: boolean;
287
+ labelPosition: import('../../composables/form/input').LabelPosition;
288
+ validateOnValueUpdate: boolean;
289
+ help: import('../../../../shared/dist/esm/index').Optional<string>;
290
+ showLabel: boolean;
291
+ autoFocus: boolean;
292
+ showClear: boolean;
293
+ useLabelInErrors: boolean;
294
+ customErrorMessage: string;
295
+ hideErrorMessage: boolean;
296
+ customHelpClass: string;
297
+ placeholder: import('../../../../shared/dist/esm/index').Optional<string>;
298
+ showOptional: boolean;
299
+ wrapperClasses: string;
300
+ readOnly: boolean;
301
+ customIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
302
+ inputClasses: string;
303
+ rightIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
304
+ rightIconTitle: string;
305
+ tooltipText: string;
306
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
307
+ beforeCreate?: (() => void) | (() => void)[];
308
+ created?: (() => void) | (() => void)[];
309
+ beforeMount?: (() => void) | (() => void)[];
310
+ mounted?: (() => void) | (() => void)[];
311
+ beforeUpdate?: (() => void) | (() => void)[];
312
+ updated?: (() => void) | (() => void)[];
313
+ activated?: (() => void) | (() => void)[];
314
+ deactivated?: (() => void) | (() => void)[];
315
+ beforeDestroy?: (() => void) | (() => void)[];
316
+ beforeUnmount?: (() => void) | (() => void)[];
317
+ destroyed?: (() => void) | (() => void)[];
318
+ unmounted?: (() => void) | (() => void)[];
319
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
320
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
321
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
322
+ };
323
+ $forceUpdate: () => void;
324
+ $nextTick: typeof import('vue').nextTick;
325
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
326
+ } & Readonly<{
327
+ size: "sm" | "base" | "lg" | "xl";
328
+ fullWidth: boolean;
329
+ color: import('../../composables/form/textInput').InputColor;
330
+ disabled: boolean;
331
+ loading: boolean;
332
+ type: string;
333
+ label: import('../../../../shared/dist/esm/index').Optional<string>;
334
+ modelValue: string;
335
+ rules: import('vee-validate').RuleExpression<string>;
336
+ validateOnMount: boolean;
337
+ showRequired: boolean;
338
+ labelPosition: import('../../composables/form/input').LabelPosition;
339
+ validateOnValueUpdate: boolean;
340
+ help: import('../../../../shared/dist/esm/index').Optional<string>;
341
+ showLabel: boolean;
342
+ autoFocus: boolean;
343
+ showClear: boolean;
344
+ useLabelInErrors: boolean;
345
+ customErrorMessage: string;
346
+ hideErrorMessage: boolean;
347
+ customHelpClass: string;
348
+ placeholder: import('../../../../shared/dist/esm/index').Optional<string>;
349
+ showOptional: boolean;
350
+ wrapperClasses: string;
351
+ readOnly: boolean;
352
+ customIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
353
+ inputClasses: string;
354
+ rightIcon: import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>;
355
+ rightIconTitle: string;
356
+ tooltipText: string;
357
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
358
+ type: {
359
+ type: import('vue').PropType<string>;
360
+ default: string;
361
+ };
362
+ name: {
363
+ type: StringConstructor;
364
+ required: true;
365
+ };
366
+ showLabel: {
367
+ type: BooleanConstructor;
368
+ required: false;
369
+ };
370
+ help: {
371
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
372
+ default: undefined;
373
+ };
374
+ placeholder: {
375
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
376
+ default: undefined;
377
+ };
378
+ label: {
379
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<string>>;
380
+ default: undefined;
381
+ };
382
+ showRequired: {
383
+ type: BooleanConstructor;
384
+ default: boolean;
385
+ };
386
+ showOptional: {
387
+ type: BooleanConstructor;
388
+ default: boolean;
389
+ };
390
+ disabled: {
391
+ type: BooleanConstructor;
392
+ default: boolean;
393
+ };
394
+ readOnly: {
395
+ type: BooleanConstructor;
396
+ default: boolean;
397
+ };
398
+ rules: {
399
+ type: import('vue').PropType<import('vee-validate').RuleExpression<string>>;
400
+ default: undefined;
401
+ };
402
+ validateOnMount: {
403
+ type: BooleanConstructor;
404
+ default: boolean;
405
+ };
406
+ validateOnValueUpdate: {
407
+ type: BooleanConstructor;
408
+ default: boolean;
409
+ };
410
+ useLabelInErrors: {
411
+ type: BooleanConstructor;
412
+ default: boolean;
413
+ };
414
+ customIcon: {
415
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>>;
416
+ default: undefined;
417
+ };
418
+ autoFocus: {
419
+ type: BooleanConstructor;
420
+ default: boolean;
421
+ };
422
+ modelValue: {
423
+ type: StringConstructor;
424
+ default: string;
425
+ };
426
+ size: {
427
+ type: import('vue').PropType<"sm" | "base" | "lg" | "xl">;
428
+ default: string;
429
+ };
430
+ showClear: {
431
+ type: BooleanConstructor;
432
+ default: boolean;
433
+ };
434
+ inputClasses: {
435
+ type: StringConstructor;
436
+ default: null;
437
+ };
438
+ fullWidth: {
439
+ type: BooleanConstructor;
440
+ default: boolean;
441
+ };
442
+ loading: {
443
+ type: BooleanConstructor;
444
+ default: boolean;
445
+ };
446
+ hideErrorMessage: {
447
+ type: BooleanConstructor;
448
+ default: boolean;
449
+ };
450
+ customErrorMessage: {
451
+ type: StringConstructor;
452
+ default: null;
453
+ };
454
+ wrapperClasses: {
455
+ type: StringConstructor;
456
+ default: () => string;
457
+ };
458
+ color: {
459
+ type: import('vue').PropType<import('../../composables/form/textInput').InputColor>;
460
+ default: string;
461
+ };
462
+ labelPosition: {
463
+ type: import('vue').PropType<import('../../composables/form/input').LabelPosition>;
464
+ default: string;
465
+ };
466
+ rightIcon: {
467
+ type: import('vue').PropType<import('../../../../shared/dist/esm/index').Optional<import('../../lib').PropAnyComponent>>;
468
+ default: undefined;
469
+ };
470
+ rightIconTitle: {
471
+ type: StringConstructor;
472
+ default: undefined;
473
+ };
474
+ tooltipText: {
475
+ type: StringConstructor;
476
+ default: undefined;
477
+ };
478
+ customHelpClass: {
479
+ type: StringConstructor;
480
+ default: undefined;
481
+ };
482
+ }>> & Readonly<{
483
+ onClear?: (() => any) | undefined;
484
+ onInput?: ((val: {
485
+ event?: Event;
486
+ value: string;
487
+ }) => any) | undefined;
488
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
489
+ onChange?: ((val: {
490
+ event?: Event;
491
+ value: string;
492
+ }) => any) | undefined;
493
+ onFocus?: (() => any) | undefined;
494
+ onBlur?: (() => any) | undefined;
495
+ onRightIconClick?: (() => any) | undefined;
496
+ }>, "focus" | ("size" | "fullWidth" | "color" | "disabled" | "loading" | "type" | "label" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "autoFocus" | "showClear" | "useLabelInErrors" | "customErrorMessage" | "hideErrorMessage" | "customHelpClass" | "placeholder" | "showOptional" | "wrapperClasses" | "readOnly" | "customIcon" | "inputClasses" | "rightIcon" | "rightIconTitle" | "tooltipText")> & import('vue').ShallowUnwrapRef<{
497
+ focus: () => void;
498
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
499
+ $slots: {
500
+ 'input-right'?(_: {}): any;
501
+ };
502
+ }) | null)[];
503
+ }, HTMLDivElement>;
504
+ export default _default;
@@ -1,6 +1,6 @@
1
- import type { RuleExpression } from 'vee-validate';
2
- import type { PropType, ConcreteComponent } from 'vue';
3
- import type { Optional } from '@speckle/shared';
1
+ import { RuleExpression } from 'vee-validate';
2
+ import { PropType, ConcreteComponent } from 'vue';
3
+ import { Optional } from '../../../../shared/dist/esm/index';
4
4
  /**
5
5
  * Troubleshooting:
6
6
  * - If clicking on the radio doesn't do anything, check if any of its ancestor elements
@@ -10,7 +10,7 @@ import type { Optional } from '@speckle/shared';
10
10
  * checked state
11
11
  */
12
12
  type ValueType = Optional<string | true> | string[];
13
- declare const _default: import("vue").DefineComponent<{
13
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
14
  /**
15
15
  * Input name/id. In a radio group, all radios must have the same name and different values.
16
16
  */
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
78
78
  * Radio group's value
79
79
  */
80
80
  modelValue: {
81
- type: PropType<false | ValueType>;
81
+ type: PropType<ValueType | false>;
82
82
  default: undefined;
83
83
  };
84
84
  /**
@@ -100,9 +100,9 @@ declare const _default: import("vue").DefineComponent<{
100
100
  type: BooleanConstructor;
101
101
  default: boolean;
102
102
  };
103
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
- "update:modelValue": (val: ValueType) => void;
105
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
104
+ "update:modelValue": (val: ValueType) => any;
105
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
106
106
  /**
107
107
  * Input name/id. In a radio group, all radios must have the same name and different values.
108
108
  */
@@ -170,7 +170,7 @@ declare const _default: import("vue").DefineComponent<{
170
170
  * Radio group's value
171
171
  */
172
172
  modelValue: {
173
- type: PropType<false | ValueType>;
173
+ type: PropType<ValueType | false>;
174
174
  default: undefined;
175
175
  };
176
176
  /**
@@ -192,20 +192,20 @@ declare const _default: import("vue").DefineComponent<{
192
192
  type: BooleanConstructor;
193
193
  default: boolean;
194
194
  };
195
- }>> & {
195
+ }>> & Readonly<{
196
196
  "onUpdate:modelValue"?: ((val: ValueType) => any) | undefined;
197
- }, {
197
+ }>, {
198
+ disabled: boolean;
199
+ description: Optional<string>;
198
200
  label: Optional<string>;
199
201
  modelValue: false | ValueType;
200
202
  value: Optional<string | true>;
201
- disabled: boolean;
202
- description: Optional<string>;
203
+ icon: ConcreteComponent;
203
204
  inlineDescription: boolean;
204
205
  rules: RuleExpression<ValueType>;
205
206
  validateOnMount: boolean;
206
207
  showRequired: boolean;
207
208
  id: Optional<string>;
208
209
  hideLabel: boolean;
209
- icon: ConcreteComponent;
210
- }, {}>;
210
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
211
211
  export default _default;
@@ -1,28 +1,27 @@
1
- import type { ConcreteComponent } from 'vue';
2
- type OptionType = {
3
- value: string;
4
- title: string;
5
- introduction?: string;
6
- icon: ConcreteComponent;
7
- help?: string;
1
+ import { ConcreteComponent } from 'vue';
2
+ declare const _default: <Value extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
6
+ modelValue?: Value;
7
+ } & {
8
+ options: {
9
+ value: Value;
10
+ title: string;
11
+ introduction?: string;
12
+ icon: ConcreteComponent;
13
+ help?: string;
14
+ }[];
15
+ disabled?: boolean;
16
+ }) & Partial<{}>> & import('vue').PublicProps;
17
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
18
+ attrs: any;
19
+ slots: {};
20
+ emit: (evt: "update:modelValue", value: Value) => void;
21
+ }>) => import('vue').VNode & {
22
+ __ctx?: Awaited<typeof __VLS_setup>;
8
23
  };
9
- declare const _default: import("vue").DefineComponent<{
10
- modelValue: import("vue").PropType<string>;
11
- options: {
12
- type: import("vue").PropType<OptionType[]>;
13
- required: true;
14
- };
15
- disabled: {
16
- type: import("vue").PropType<boolean>;
17
- };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
- modelValue: import("vue").PropType<string>;
20
- options: {
21
- type: import("vue").PropType<OptionType[]>;
22
- required: true;
23
- };
24
- disabled: {
25
- type: import("vue").PropType<boolean>;
26
- };
27
- }>>, {}, {}>;
28
24
  export default _default;
25
+ type __VLS_PrettifyLocal<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};