@robuust-digital/vue-components 2.6.8 → 2.7.0

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.
package/dist/index.d.ts CHANGED
@@ -20,7 +20,24 @@ import { VNodeProps } from 'vue';
20
20
 
21
21
  declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
22
22
 
23
- declare const __VLS_component_10: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
23
+ declare const __VLS_component_10: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
24
+ "update:modelValue": (value: FormSelectModelValue) => any;
25
+ }, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
27
+ }>, {
28
+ icon: Icon | null;
29
+ size: FormSelectSize;
30
+ modelValue: FormSelectModelValue;
31
+ rootClass: string;
32
+ prefixIcon: Icon | null;
33
+ options: FormSelectOption[];
34
+ optionLabel: string;
35
+ optionValue: string;
36
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
+ select: HTMLSelectElement;
38
+ }, any>;
39
+
40
+ declare const __VLS_component_11: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
24
41
  "pagination:change": (url: string) => any;
25
42
  "pagination:perPage": (perPage: number) => any;
26
43
  }, string, PublicProps, Readonly<PaginationProps> & Readonly<{
@@ -35,7 +52,7 @@ prevIcon: Icon | null;
35
52
  nextIcon: Icon | null;
36
53
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
37
54
 
38
- declare const __VLS_component_11: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
55
+ declare const __VLS_component_12: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
39
56
  "update:modelValue": (value: RadioModelValue) => any;
40
57
  }, string, PublicProps, Readonly<RadioProps> & Readonly<{
41
58
  "onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
@@ -47,7 +64,7 @@ rootClass: string;
47
64
  input: HTMLInputElement;
48
65
  }, any>;
49
66
 
50
- declare const __VLS_component_12: DefineComponent<ComboboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
67
+ declare const __VLS_component_13: DefineComponent<ComboboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
51
68
  "update:modelValue": (value: ComboboxModelValue) => any;
52
69
  "update:requestParams": (value: Record<string, unknown>) => any;
53
70
  "combobox:noResults": (value: string | null) => any;
@@ -64,6 +81,7 @@ modelValue: ComboboxModelValue;
64
81
  rootClass: string;
65
82
  prefixIcon: Icon | null;
66
83
  disabled: boolean;
84
+ multiple: boolean;
67
85
  endpoint: string;
68
86
  requestParams: Record<string, unknown>;
69
87
  manualInput: boolean;
@@ -74,7 +92,6 @@ minLength: number;
74
92
  itemKey: string;
75
93
  clearable: boolean;
76
94
  rootAttrs: Record<string, unknown>;
77
- multiple: boolean;
78
95
  onSearch: (value: string | null, params: Record<string, unknown>, endpoint?: string) => Promise<{
79
96
  data: unknown;
80
97
  error?: unknown;
@@ -86,7 +103,7 @@ minLoadingTime: number;
86
103
  onCancel: (cancelToken: (() => void) | null) => void;
87
104
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
88
105
 
89
- declare const __VLS_component_13: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
106
+ declare const __VLS_component_14: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
90
107
  "drawer:open": () => any;
91
108
  "drawer:opened": () => any;
92
109
  "drawer:close": () => any;
@@ -113,7 +130,7 @@ resetFooter: boolean;
113
130
  contentRef: HTMLDivElement;
114
131
  }, any>;
115
132
 
116
- declare const __VLS_component_14: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
133
+ declare const __VLS_component_15: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
117
134
  "modal:open": () => any;
118
135
  "modal:opened": () => any;
119
136
  "modal:close": () => any;
@@ -138,7 +155,7 @@ resetFooter: boolean;
138
155
  contentRef: HTMLDivElement;
139
156
  }, any>;
140
157
 
141
- declare const __VLS_component_15: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
158
+ declare const __VLS_component_16: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
142
159
  "dropdown:click": (item: DropdownItem) => any;
143
160
  "update:open": (value: boolean) => any;
144
161
  }, string, PublicProps, Readonly<DropdownProps> & Readonly<{
@@ -152,7 +169,7 @@ alignLeft: boolean;
152
169
  fullWidth: boolean;
153
170
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
154
171
 
155
- declare const __VLS_component_16: DefineComponent<LightswitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
172
+ declare const __VLS_component_17: DefineComponent<LightswitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
156
173
  "update:modelValue": (value: boolean) => any;
157
174
  }, string, PublicProps, Readonly<LightswitchProps> & Readonly<{
158
175
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -160,7 +177,7 @@ declare const __VLS_component_16: DefineComponent<LightswitchProps, {}, {}, {},
160
177
  modelValue: boolean;
161
178
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
162
179
 
163
- declare const __VLS_component_17: DefineComponent<RichTextEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
180
+ declare const __VLS_component_18: DefineComponent<RichTextEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
164
181
  "update:modelValue": (value: string) => any;
165
182
  "tiptap:onCreate": (editor: any) => any;
166
183
  }, string, PublicProps, Readonly<RichTextEditorProps> & Readonly<{
@@ -175,7 +192,7 @@ customExtensions: Extension[];
175
192
  customCommands: CustomCommand[];
176
193
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
177
194
 
178
- declare const __VLS_component_18: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
195
+ declare const __VLS_component_19: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
179
196
  "toast:close": () => any;
180
197
  }, string, PublicProps, Readonly<ToastProps> & Readonly<{
181
198
  "onToast:close"?: (() => any) | undefined;
@@ -190,18 +207,6 @@ position: ToastPosition;
190
207
  timeout: number | boolean;
191
208
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
192
209
 
193
- declare const __VLS_component_19: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
194
- blur: boolean;
195
- size: TooltipSize;
196
- maxWidth: number | null;
197
- tooltipClass: string;
198
- placement: TooltipPlacement;
199
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
200
- wrapperRef: HTMLDivElement;
201
- tooltipRef: HTMLDivElement;
202
- arrowRef: HTMLDivElement;
203
- }, HTMLDivElement>;
204
-
205
210
  declare const __VLS_component_2: DefineComponent<AlertProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
206
211
  "alert:close": () => any;
207
212
  }, string, PublicProps, Readonly<AlertProps> & Readonly<{
@@ -214,6 +219,18 @@ icon: Icon | null;
214
219
  type: AlertType;
215
220
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
216
221
 
222
+ declare const __VLS_component_20: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
223
+ blur: boolean;
224
+ size: TooltipSize;
225
+ maxWidth: number | null;
226
+ tooltipClass: string;
227
+ placement: TooltipPlacement;
228
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
229
+ wrapperRef: HTMLDivElement;
230
+ tooltipRef: HTMLDivElement;
231
+ arrowRef: HTMLDivElement;
232
+ }, HTMLDivElement>;
233
+
217
234
  declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
218
235
  label: string;
219
236
  as: string;
@@ -272,35 +289,47 @@ defaultSort: DataTableSortBy | null;
272
289
 
273
290
  declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
274
291
 
275
- declare const __VLS_component_8: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
276
- "update:modelValue": (value: FormInputModelValue) => any;
277
- }, string, PublicProps, Readonly<FormInputProps> & Readonly<{
278
- "onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
292
+ declare const __VLS_component_8: DefineComponent<FileUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
293
+ "update:modelValue": (value: FileUploadModelValue) => any;
294
+ "file-upload:add": (files: File[]) => any;
295
+ "file-upload:remove": (file: File) => any;
296
+ "file-upload:remove-existing": (file: FileUploadExistingFile) => any;
297
+ }, string, PublicProps, Readonly<FileUploadProps> & Readonly<{
298
+ "onUpdate:modelValue"?: ((value: FileUploadModelValue) => any) | undefined;
299
+ "onFile-upload:add"?: ((files: File[]) => any) | undefined;
300
+ "onFile-upload:remove"?: ((file: File) => any) | undefined;
301
+ "onFile-upload:remove-existing"?: ((file: FileUploadExistingFile) => any) | undefined;
279
302
  }>, {
303
+ label: string;
280
304
  icon: Icon | null;
281
- size: FormInputSize;
282
- modelValue: string | number;
305
+ size: FileUploadSize;
306
+ modelValue: FileUploadModelValue;
283
307
  rootClass: string;
284
- prefixIcon: Icon | null;
308
+ disabled: boolean;
309
+ existingFiles: FileUploadExistingFile[];
310
+ variant: FileUploadVariant;
311
+ multiple: boolean;
312
+ accept: string;
313
+ showThumbnails: boolean;
314
+ description: string;
315
+ buttonLabel: string;
316
+ buttonColor: FileUploadButtonColor;
285
317
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
286
318
  input: HTMLInputElement;
287
319
  }, any>;
288
320
 
289
- declare const __VLS_component_9: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
290
- "update:modelValue": (value: FormSelectModelValue) => any;
291
- }, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
292
- "onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
321
+ declare const __VLS_component_9: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
322
+ "update:modelValue": (value: FormInputModelValue) => any;
323
+ }, string, PublicProps, Readonly<FormInputProps> & Readonly<{
324
+ "onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
293
325
  }>, {
294
326
  icon: Icon | null;
295
- size: FormSelectSize;
296
- modelValue: FormSelectModelValue;
327
+ size: FormInputSize;
328
+ modelValue: string | number;
297
329
  rootClass: string;
298
330
  prefixIcon: Icon | null;
299
- options: FormSelectOption[];
300
- optionLabel: string;
301
- optionValue: string;
302
331
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
303
- select: HTMLSelectElement;
332
+ input: HTMLInputElement;
304
333
  }, any>;
305
334
 
306
335
  declare function __VLS_template(): {
@@ -323,6 +352,25 @@ declare function __VLS_template(): {
323
352
  };
324
353
 
325
354
  declare function __VLS_template_10(): {
355
+ attrs: Partial<{}>;
356
+ slots: {
357
+ prefixIcon?(_: {
358
+ icon: Icon;
359
+ }): any;
360
+ select?(_: {}): any;
361
+ default?(_: {}): any;
362
+ default?(_: {}): any;
363
+ icon?(_: {
364
+ icon: Icon | null;
365
+ }): any;
366
+ };
367
+ refs: {
368
+ select: HTMLSelectElement;
369
+ };
370
+ rootEl: any;
371
+ };
372
+
373
+ declare function __VLS_template_11(): {
326
374
  attrs: Partial<{}>;
327
375
  slots: {
328
376
  perPage?(_: {
@@ -354,7 +402,7 @@ declare function __VLS_template_10(): {
354
402
  rootEl: any;
355
403
  };
356
404
 
357
- declare function __VLS_template_11(): {
405
+ declare function __VLS_template_12(): {
358
406
  attrs: Partial<{}>;
359
407
  slots: {
360
408
  default?(_: {}): any;
@@ -365,7 +413,7 @@ declare function __VLS_template_11(): {
365
413
  rootEl: any;
366
414
  };
367
415
 
368
- declare function __VLS_template_12(): {
416
+ declare function __VLS_template_13(): {
369
417
  attrs: Partial<{}>;
370
418
  slots: {
371
419
  prefixIcon?(_: {
@@ -400,7 +448,7 @@ declare function __VLS_template_12(): {
400
448
  rootEl: any;
401
449
  };
402
450
 
403
- declare function __VLS_template_13(): {
451
+ declare function __VLS_template_14(): {
404
452
  attrs: Partial<{}>;
405
453
  slots: {
406
454
  panel?(_: {
@@ -492,7 +540,7 @@ declare function __VLS_template_13(): {
492
540
  rootEl: any;
493
541
  };
494
542
 
495
- declare function __VLS_template_14(): {
543
+ declare function __VLS_template_15(): {
496
544
  attrs: Partial<{}>;
497
545
  slots: {
498
546
  panel?(_: {
@@ -584,7 +632,7 @@ declare function __VLS_template_14(): {
584
632
  rootEl: any;
585
633
  };
586
634
 
587
- declare function __VLS_template_15(): {
635
+ declare function __VLS_template_16(): {
588
636
  attrs: Partial<{}>;
589
637
  slots: {
590
638
  button?(_: {
@@ -671,7 +719,7 @@ declare function __VLS_template_15(): {
671
719
  rootEl: any;
672
720
  };
673
721
 
674
- declare function __VLS_template_16(): {
722
+ declare function __VLS_template_17(): {
675
723
  attrs: Partial<{}>;
676
724
  slots: {
677
725
  default?(_: {}): any;
@@ -680,7 +728,7 @@ declare function __VLS_template_16(): {
680
728
  rootEl: any;
681
729
  };
682
730
 
683
- declare function __VLS_template_17(): {
731
+ declare function __VLS_template_18(): {
684
732
  attrs: Partial<{}>;
685
733
  slots: {
686
734
  default?(_: {}): any;
@@ -709,7 +757,7 @@ declare function __VLS_template_17(): {
709
757
  rootEl: any;
710
758
  };
711
759
 
712
- declare function __VLS_template_18(): {
760
+ declare function __VLS_template_19(): {
713
761
  attrs: Partial<{}>;
714
762
  slots: {
715
763
  icon?(_: {}): any;
@@ -721,7 +769,19 @@ declare function __VLS_template_18(): {
721
769
  rootEl: any;
722
770
  };
723
771
 
724
- declare function __VLS_template_19(): {
772
+ declare function __VLS_template_2(): {
773
+ attrs: Partial<{}>;
774
+ slots: {
775
+ icon?(_: {}): any;
776
+ title?(_: {}): any;
777
+ default?(_: {}): any;
778
+ close?(_: {}): any;
779
+ };
780
+ refs: {};
781
+ rootEl: any;
782
+ };
783
+
784
+ declare function __VLS_template_20(): {
725
785
  attrs: Partial<{}>;
726
786
  slots: {
727
787
  default?(_: {}): any;
@@ -737,18 +797,6 @@ declare function __VLS_template_19(): {
737
797
  rootEl: HTMLDivElement;
738
798
  };
739
799
 
740
- declare function __VLS_template_2(): {
741
- attrs: Partial<{}>;
742
- slots: {
743
- icon?(_: {}): any;
744
- title?(_: {}): any;
745
- default?(_: {}): any;
746
- close?(_: {}): any;
747
- };
748
- refs: {};
749
- rootEl: any;
750
- };
751
-
752
800
  declare function __VLS_template_3(): {
753
801
  attrs: Partial<{}>;
754
802
  slots: {
@@ -866,15 +914,18 @@ declare function __VLS_template_7(): {
866
914
  declare function __VLS_template_8(): {
867
915
  attrs: Partial<{}>;
868
916
  slots: {
869
- prefix?(_: {}): any;
870
- prefixIcon?(_: {
871
- icon: Icon | null;
917
+ icon?(_: {
918
+ icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}> | Icon;
872
919
  }): any;
873
- input?(_: {}): any;
874
- suffix?(_: {}): any;
875
920
  icon?(_: {
876
921
  icon: Icon | null;
877
922
  }): any;
923
+ preview?(_: {
924
+ files: File[];
925
+ existingFiles: FileUploadExistingFile[];
926
+ removeFile: (fileOrIndex: File | number) => void;
927
+ removeExistingFile: (file: FileUploadExistingFile) => void;
928
+ }): any;
878
929
  };
879
930
  refs: {
880
931
  input: HTMLInputElement;
@@ -885,18 +936,18 @@ declare function __VLS_template_8(): {
885
936
  declare function __VLS_template_9(): {
886
937
  attrs: Partial<{}>;
887
938
  slots: {
939
+ prefix?(_: {}): any;
888
940
  prefixIcon?(_: {
889
- icon: Icon;
941
+ icon: Icon | null;
890
942
  }): any;
891
- select?(_: {}): any;
892
- default?(_: {}): any;
893
- default?(_: {}): any;
943
+ input?(_: {}): any;
944
+ suffix?(_: {}): any;
894
945
  icon?(_: {
895
946
  icon: Icon | null;
896
947
  }): any;
897
948
  };
898
949
  refs: {
899
- select: HTMLSelectElement;
950
+ input: HTMLInputElement;
900
951
  };
901
952
  rootEl: any;
902
953
  };
@@ -925,6 +976,8 @@ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
925
976
 
926
977
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
927
978
 
979
+ declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
980
+
928
981
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
929
982
 
930
983
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -1011,6 +1064,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1011
1064
  };
1012
1065
  };
1013
1066
 
1067
+ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1068
+ new (): {
1069
+ $slots: S;
1070
+ };
1071
+ };
1072
+
1014
1073
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1015
1074
  new (): {
1016
1075
  $slots: S;
@@ -1117,7 +1176,7 @@ declare interface CheckboxProps {
1117
1176
  rootClass?: string;
1118
1177
  }
1119
1178
 
1120
- export declare const Combobox: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1179
+ export declare const Combobox: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1121
1180
 
1122
1181
  declare type ComboboxModelValue = object | Array<unknown> | null;
1123
1182
 
@@ -1216,7 +1275,7 @@ declare interface DataTableSortBy {
1216
1275
  direction: 'asc' | 'desc';
1217
1276
  }
1218
1277
 
1219
- export declare const Drawer: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1278
+ export declare const Drawer: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1220
1279
 
1221
1280
  declare interface DrawerProps {
1222
1281
  as?: string | Component;
@@ -1233,7 +1292,7 @@ declare interface DrawerProps {
1233
1292
  resetFooter?: boolean;
1234
1293
  }
1235
1294
 
1236
- export declare const Dropdown: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1295
+ export declare const Dropdown: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1237
1296
 
1238
1297
  declare interface DropdownItem {
1239
1298
  name: string;
@@ -1261,7 +1320,43 @@ declare interface EmptyStateProps {
1261
1320
  icon?: Icon | null;
1262
1321
  }
1263
1322
 
1264
- export declare const FormInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1323
+ export declare const FileUpload: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1324
+
1325
+ declare type FileUploadButtonColor = NonNullable<ButtonProps['color']>;
1326
+
1327
+ declare interface FileUploadExistingFile {
1328
+ id: string | number;
1329
+ name: string;
1330
+ url?: string;
1331
+ thumbnailUrl?: string;
1332
+ size?: number;
1333
+ type?: string;
1334
+ }
1335
+
1336
+ declare type FileUploadModelValue = File | File[] | null;
1337
+
1338
+ declare interface FileUploadProps {
1339
+ modelValue?: FileUploadModelValue;
1340
+ existingFiles?: FileUploadExistingFile[];
1341
+ variant?: FileUploadVariant;
1342
+ size?: FileUploadSize;
1343
+ multiple?: boolean;
1344
+ accept?: string;
1345
+ disabled?: boolean;
1346
+ showThumbnails?: boolean;
1347
+ label?: string;
1348
+ description?: string;
1349
+ buttonLabel?: string;
1350
+ buttonColor?: FileUploadButtonColor;
1351
+ icon?: Icon | null;
1352
+ rootClass?: string;
1353
+ }
1354
+
1355
+ declare type FileUploadSize = 'sm' | 'base';
1356
+
1357
+ declare type FileUploadVariant = 'area' | 'button';
1358
+
1359
+ export declare const FormInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1265
1360
 
1266
1361
  declare type FormInputModelValue = string | number | undefined;
1267
1362
 
@@ -1275,7 +1370,7 @@ declare interface FormInputProps {
1275
1370
 
1276
1371
  declare type FormInputSize = 'sm' | 'base';
1277
1372
 
1278
- export declare const FormSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1373
+ export declare const FormSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1279
1374
 
1280
1375
  declare type FormSelectModelValue = string | number | object | boolean | null;
1281
1376
 
@@ -1316,13 +1411,13 @@ declare type FormTextareaSize = 'sm' | 'base';
1316
1411
 
1317
1412
  declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
1318
1413
 
1319
- export declare const Lightswitch: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1414
+ export declare const Lightswitch: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1320
1415
 
1321
1416
  declare interface LightswitchProps {
1322
1417
  modelValue?: boolean;
1323
1418
  }
1324
1419
 
1325
- export declare const Modal: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1420
+ export declare const Modal: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1326
1421
 
1327
1422
  declare interface ModalProps {
1328
1423
  as?: string | Component;
@@ -1337,7 +1432,7 @@ declare interface ModalProps {
1337
1432
  resetFooter?: boolean;
1338
1433
  }
1339
1434
 
1340
- export declare const Pagination: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1435
+ export declare const Pagination: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1341
1436
 
1342
1437
  declare interface PaginationData {
1343
1438
  total: number;
@@ -1363,7 +1458,7 @@ declare interface PaginationProps {
1363
1458
  nextIcon?: Icon | null;
1364
1459
  }
1365
1460
 
1366
- export declare const Radio: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1461
+ export declare const Radio: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1367
1462
 
1368
1463
  declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
1369
1464
 
@@ -1375,7 +1470,7 @@ declare interface RadioProps {
1375
1470
 
1376
1471
  declare type RichTextConfig = 'default' | 'simple';
1377
1472
 
1378
- export declare const RichTextEditor: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1473
+ export declare const RichTextEditor: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1379
1474
 
1380
1475
  declare interface RichTextEditorProps {
1381
1476
  id: string;
@@ -1416,7 +1511,7 @@ declare interface TabsProps {
1416
1511
 
1417
1512
  declare type TabStyle = 'buttons' | 'default';
1418
1513
 
1419
- export declare const Toast: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1514
+ export declare const Toast: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1420
1515
 
1421
1516
  declare type ToastPosition = 'top' | 'bottom';
1422
1517
 
@@ -1433,7 +1528,7 @@ declare interface ToastProps {
1433
1528
 
1434
1529
  declare type ToastType = 'success' | 'warning' | 'danger' | 'info';
1435
1530
 
1436
- export declare const Tooltip: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1531
+ export declare const Tooltip: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1437
1532
 
1438
1533
  declare type TooltipPlacement = AlignedPlacement | Side;
1439
1534
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robuust-digital/vue-components",
3
- "version": "2.6.8",
3
+ "version": "2.7.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"