@robuust-digital/vue-components 2.3.2 → 2.5.0-beta.1
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/CHANGELOG.md +6 -0
- package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-CxRv55TC.js → Combobox.vue_vue_type_script_setup_true_lang-C3AfEWj5.js} +61 -72
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-Dc0jC2cn.js +836 -0
- package/dist/_shared/XMarkIcon-DdMV8USU.js +53 -0
- package/dist/combobox/index.js +1 -1
- package/dist/core/file.css +206 -0
- package/dist/core/index.js +10 -9
- package/dist/core/styles.css +1 -0
- package/dist/core.d.ts +100 -31
- package/dist/index/index.js +18 -17
- package/dist/index.d.ts +147 -78
- package/package.json +1 -1
- package/dist/_shared/ChevronDownIcon-CcE_K1lg.js +0 -41
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-DMUJ5Emt.js +0 -670
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,24 @@ import { VNodeProps } from 'vue';
|
|
|
19
19
|
|
|
20
20
|
declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
21
|
|
|
22
|
-
declare const __VLS_component_10: DefineComponent<
|
|
22
|
+
declare const __VLS_component_10: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
23
|
+
"update:modelValue": (value: FormSelectModelValue) => any;
|
|
24
|
+
}, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
icon: Icon | null;
|
|
28
|
+
size: FormSelectSize;
|
|
29
|
+
modelValue: FormSelectModelValue;
|
|
30
|
+
rootClass: string;
|
|
31
|
+
prefixIcon: Icon | null;
|
|
32
|
+
options: FormSelectOption[];
|
|
33
|
+
optionLabel: string;
|
|
34
|
+
optionValue: string;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
36
|
+
select: HTMLSelectElement;
|
|
37
|
+
}, any>;
|
|
38
|
+
|
|
39
|
+
declare const __VLS_component_11: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
23
40
|
"pagination:change": (url: string) => any;
|
|
24
41
|
"pagination:perPage": (perPage: number) => any;
|
|
25
42
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
@@ -32,7 +49,7 @@ perPageOptions: number[];
|
|
|
32
49
|
fromLabel: string;
|
|
33
50
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
34
51
|
|
|
35
|
-
declare const
|
|
52
|
+
declare const __VLS_component_12: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
36
53
|
"update:modelValue": (value: RadioModelValue) => any;
|
|
37
54
|
}, string, PublicProps, Readonly<RadioProps> & Readonly<{
|
|
38
55
|
"onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
|
|
@@ -44,7 +61,7 @@ rootClass: string;
|
|
|
44
61
|
input: HTMLInputElement;
|
|
45
62
|
}, any>;
|
|
46
63
|
|
|
47
|
-
declare const
|
|
64
|
+
declare const __VLS_component_13: DefineComponent<ComboboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
48
65
|
"update:modelValue": (value: ComboboxModelValue) => any;
|
|
49
66
|
"update:requestParams": (value: Record<string, unknown>) => any;
|
|
50
67
|
"combobox:noResults": (value: string | null) => any;
|
|
@@ -83,7 +100,7 @@ minLoadingTime: number;
|
|
|
83
100
|
onCancel: (cancelToken: (() => void) | null) => void;
|
|
84
101
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
85
102
|
|
|
86
|
-
declare const
|
|
103
|
+
declare const __VLS_component_14: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
87
104
|
"drawer:open": () => any;
|
|
88
105
|
"drawer:opened": () => any;
|
|
89
106
|
"drawer:close": () => any;
|
|
@@ -110,7 +127,7 @@ resetFooter: boolean;
|
|
|
110
127
|
contentRef: HTMLDivElement;
|
|
111
128
|
}, any>;
|
|
112
129
|
|
|
113
|
-
declare const
|
|
130
|
+
declare const __VLS_component_15: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
114
131
|
"modal:open": () => any;
|
|
115
132
|
"modal:opened": () => any;
|
|
116
133
|
"modal:close": () => any;
|
|
@@ -135,7 +152,7 @@ resetFooter: boolean;
|
|
|
135
152
|
contentRef: HTMLDivElement;
|
|
136
153
|
}, any>;
|
|
137
154
|
|
|
138
|
-
declare const
|
|
155
|
+
declare const __VLS_component_16: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
139
156
|
"dropdown:click": (item: DropdownItem) => any;
|
|
140
157
|
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
141
158
|
"onDropdown:click"?: ((item: DropdownItem) => any) | undefined;
|
|
@@ -146,7 +163,7 @@ alignLeft: boolean;
|
|
|
146
163
|
fullWidth: boolean;
|
|
147
164
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
148
165
|
|
|
149
|
-
declare const
|
|
166
|
+
declare const __VLS_component_17: DefineComponent<LightswitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
150
167
|
"update:modelValue": (value: boolean) => any;
|
|
151
168
|
}, string, PublicProps, Readonly<LightswitchProps> & Readonly<{
|
|
152
169
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -154,7 +171,7 @@ declare const __VLS_component_16: DefineComponent<LightswitchProps, {}, {}, {},
|
|
|
154
171
|
modelValue: boolean;
|
|
155
172
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
156
173
|
|
|
157
|
-
declare const
|
|
174
|
+
declare const __VLS_component_18: DefineComponent<RichTextEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
158
175
|
"update:modelValue": (value: string) => any;
|
|
159
176
|
"tiptap:onCreate": (editor: any) => any;
|
|
160
177
|
}, string, PublicProps, Readonly<RichTextEditorProps> & Readonly<{
|
|
@@ -169,7 +186,7 @@ customExtensions: Extension[];
|
|
|
169
186
|
customCommands: CustomCommand[];
|
|
170
187
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
171
188
|
|
|
172
|
-
declare const
|
|
189
|
+
declare const __VLS_component_19: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
173
190
|
"toast:close": () => any;
|
|
174
191
|
}, string, PublicProps, Readonly<ToastProps> & Readonly<{
|
|
175
192
|
"onToast:close"?: (() => any) | undefined;
|
|
@@ -184,18 +201,6 @@ position: ToastPosition;
|
|
|
184
201
|
timeout: number | boolean;
|
|
185
202
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
186
203
|
|
|
187
|
-
declare const __VLS_component_19: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
188
|
-
blur: boolean;
|
|
189
|
-
size: TooltipSize;
|
|
190
|
-
maxWidth: number | null;
|
|
191
|
-
tooltipClass: string;
|
|
192
|
-
placement: TooltipPlacement;
|
|
193
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
194
|
-
wrapperRef: HTMLDivElement;
|
|
195
|
-
tooltipRef: HTMLDivElement;
|
|
196
|
-
arrowRef: HTMLDivElement;
|
|
197
|
-
}, HTMLDivElement>;
|
|
198
|
-
|
|
199
204
|
declare const __VLS_component_2: DefineComponent<AlertProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
200
205
|
"alert:close": () => any;
|
|
201
206
|
}, string, PublicProps, Readonly<AlertProps> & Readonly<{
|
|
@@ -208,6 +213,18 @@ icon: Icon | null;
|
|
|
208
213
|
type: AlertType;
|
|
209
214
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
210
215
|
|
|
216
|
+
declare const __VLS_component_20: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
217
|
+
blur: boolean;
|
|
218
|
+
size: TooltipSize;
|
|
219
|
+
maxWidth: number | null;
|
|
220
|
+
tooltipClass: string;
|
|
221
|
+
placement: TooltipPlacement;
|
|
222
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
223
|
+
wrapperRef: HTMLDivElement;
|
|
224
|
+
tooltipRef: HTMLDivElement;
|
|
225
|
+
arrowRef: HTMLDivElement;
|
|
226
|
+
}, HTMLDivElement>;
|
|
227
|
+
|
|
211
228
|
declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
212
229
|
label: string;
|
|
213
230
|
as: string;
|
|
@@ -260,35 +277,38 @@ defaultSort: DataTableSortBy | null;
|
|
|
260
277
|
|
|
261
278
|
declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
262
279
|
|
|
263
|
-
declare const __VLS_component_8: DefineComponent<
|
|
264
|
-
"update:modelValue": (value:
|
|
265
|
-
|
|
266
|
-
|
|
280
|
+
declare const __VLS_component_8: DefineComponent<FormFileProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
281
|
+
"update:modelValue": (value: ExistingFile | File | null) => any;
|
|
282
|
+
delete: () => any;
|
|
283
|
+
}, string, PublicProps, Readonly<FormFileProps> & Readonly<{
|
|
284
|
+
"onUpdate:modelValue"?: ((value: ExistingFile | File | null) => any) | undefined;
|
|
285
|
+
onDelete?: (() => any) | undefined;
|
|
267
286
|
}>, {
|
|
268
287
|
icon: Icon | null;
|
|
269
|
-
size:
|
|
270
|
-
modelValue:
|
|
288
|
+
size: FormFileSize;
|
|
289
|
+
modelValue: File | ExistingFile | null;
|
|
271
290
|
rootClass: string;
|
|
272
291
|
prefixIcon: Icon | null;
|
|
292
|
+
placeholder: string;
|
|
293
|
+
showPreview: boolean;
|
|
294
|
+
clearLabel: string;
|
|
295
|
+
deleteLabel: string;
|
|
273
296
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
274
|
-
|
|
297
|
+
fileInput: HTMLInputElement;
|
|
275
298
|
}, any>;
|
|
276
299
|
|
|
277
|
-
declare const __VLS_component_9: DefineComponent<
|
|
278
|
-
"update:modelValue": (value:
|
|
279
|
-
}, string, PublicProps, Readonly<
|
|
280
|
-
"onUpdate:modelValue"?: ((value:
|
|
300
|
+
declare const __VLS_component_9: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
301
|
+
"update:modelValue": (value: FormInputModelValue) => any;
|
|
302
|
+
}, string, PublicProps, Readonly<FormInputProps> & Readonly<{
|
|
303
|
+
"onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
|
|
281
304
|
}>, {
|
|
282
305
|
icon: Icon | null;
|
|
283
|
-
size:
|
|
284
|
-
modelValue:
|
|
306
|
+
size: FormInputSize;
|
|
307
|
+
modelValue: string | number;
|
|
285
308
|
rootClass: string;
|
|
286
309
|
prefixIcon: Icon | null;
|
|
287
|
-
options: FormSelectOption[];
|
|
288
|
-
optionLabel: string;
|
|
289
|
-
optionValue: string;
|
|
290
310
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
291
|
-
|
|
311
|
+
input: HTMLInputElement;
|
|
292
312
|
}, any>;
|
|
293
313
|
|
|
294
314
|
declare function __VLS_template(): {
|
|
@@ -311,6 +331,25 @@ declare function __VLS_template(): {
|
|
|
311
331
|
};
|
|
312
332
|
|
|
313
333
|
declare function __VLS_template_10(): {
|
|
334
|
+
attrs: Partial<{}>;
|
|
335
|
+
slots: {
|
|
336
|
+
prefixIcon?(_: {
|
|
337
|
+
icon: Icon;
|
|
338
|
+
}): any;
|
|
339
|
+
select?(_: {}): any;
|
|
340
|
+
default?(_: {}): any;
|
|
341
|
+
default?(_: {}): any;
|
|
342
|
+
icon?(_: {
|
|
343
|
+
icon: Icon | null;
|
|
344
|
+
}): any;
|
|
345
|
+
};
|
|
346
|
+
refs: {
|
|
347
|
+
select: HTMLSelectElement;
|
|
348
|
+
};
|
|
349
|
+
rootEl: any;
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
declare function __VLS_template_11(): {
|
|
314
353
|
attrs: Partial<{}>;
|
|
315
354
|
slots: {
|
|
316
355
|
perPage?(_: {
|
|
@@ -332,7 +371,7 @@ declare function __VLS_template_10(): {
|
|
|
332
371
|
rootEl: any;
|
|
333
372
|
};
|
|
334
373
|
|
|
335
|
-
declare function
|
|
374
|
+
declare function __VLS_template_12(): {
|
|
336
375
|
attrs: Partial<{}>;
|
|
337
376
|
slots: {
|
|
338
377
|
default?(_: {}): any;
|
|
@@ -343,7 +382,7 @@ declare function __VLS_template_11(): {
|
|
|
343
382
|
rootEl: any;
|
|
344
383
|
};
|
|
345
384
|
|
|
346
|
-
declare function
|
|
385
|
+
declare function __VLS_template_13(): {
|
|
347
386
|
attrs: Partial<{}>;
|
|
348
387
|
slots: {
|
|
349
388
|
prefixIcon?(_: {
|
|
@@ -378,7 +417,7 @@ declare function __VLS_template_12(): {
|
|
|
378
417
|
rootEl: any;
|
|
379
418
|
};
|
|
380
419
|
|
|
381
|
-
declare function
|
|
420
|
+
declare function __VLS_template_14(): {
|
|
382
421
|
attrs: Partial<{}>;
|
|
383
422
|
slots: {
|
|
384
423
|
header?(_: {
|
|
@@ -434,7 +473,7 @@ declare function __VLS_template_13(): {
|
|
|
434
473
|
rootEl: any;
|
|
435
474
|
};
|
|
436
475
|
|
|
437
|
-
declare function
|
|
476
|
+
declare function __VLS_template_15(): {
|
|
438
477
|
attrs: Partial<{}>;
|
|
439
478
|
slots: {
|
|
440
479
|
header?(_: {
|
|
@@ -489,7 +528,7 @@ declare function __VLS_template_14(): {
|
|
|
489
528
|
rootEl: any;
|
|
490
529
|
};
|
|
491
530
|
|
|
492
|
-
declare function
|
|
531
|
+
declare function __VLS_template_16(): {
|
|
493
532
|
attrs: Partial<{}>;
|
|
494
533
|
slots: {
|
|
495
534
|
button?(_: {
|
|
@@ -576,7 +615,7 @@ declare function __VLS_template_15(): {
|
|
|
576
615
|
rootEl: any;
|
|
577
616
|
};
|
|
578
617
|
|
|
579
|
-
declare function
|
|
618
|
+
declare function __VLS_template_17(): {
|
|
580
619
|
attrs: Partial<{}>;
|
|
581
620
|
slots: {
|
|
582
621
|
default?(_: {}): any;
|
|
@@ -585,7 +624,7 @@ declare function __VLS_template_16(): {
|
|
|
585
624
|
rootEl: any;
|
|
586
625
|
};
|
|
587
626
|
|
|
588
|
-
declare function
|
|
627
|
+
declare function __VLS_template_18(): {
|
|
589
628
|
attrs: Partial<{}>;
|
|
590
629
|
slots: {
|
|
591
630
|
default?(_: {}): any;
|
|
@@ -614,7 +653,7 @@ declare function __VLS_template_17(): {
|
|
|
614
653
|
rootEl: any;
|
|
615
654
|
};
|
|
616
655
|
|
|
617
|
-
declare function
|
|
656
|
+
declare function __VLS_template_19(): {
|
|
618
657
|
attrs: Partial<{}>;
|
|
619
658
|
slots: {
|
|
620
659
|
icon?(_: {}): any;
|
|
@@ -626,7 +665,19 @@ declare function __VLS_template_18(): {
|
|
|
626
665
|
rootEl: any;
|
|
627
666
|
};
|
|
628
667
|
|
|
629
|
-
declare function
|
|
668
|
+
declare function __VLS_template_2(): {
|
|
669
|
+
attrs: Partial<{}>;
|
|
670
|
+
slots: {
|
|
671
|
+
icon?(_: {}): any;
|
|
672
|
+
title?(_: {}): any;
|
|
673
|
+
default?(_: {}): any;
|
|
674
|
+
close?(_: {}): any;
|
|
675
|
+
};
|
|
676
|
+
refs: {};
|
|
677
|
+
rootEl: any;
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
declare function __VLS_template_20(): {
|
|
630
681
|
attrs: Partial<{}>;
|
|
631
682
|
slots: {
|
|
632
683
|
default?(_: {}): any;
|
|
@@ -642,18 +693,6 @@ declare function __VLS_template_19(): {
|
|
|
642
693
|
rootEl: HTMLDivElement;
|
|
643
694
|
};
|
|
644
695
|
|
|
645
|
-
declare function __VLS_template_2(): {
|
|
646
|
-
attrs: Partial<{}>;
|
|
647
|
-
slots: {
|
|
648
|
-
icon?(_: {}): any;
|
|
649
|
-
title?(_: {}): any;
|
|
650
|
-
default?(_: {}): any;
|
|
651
|
-
close?(_: {}): any;
|
|
652
|
-
};
|
|
653
|
-
refs: {};
|
|
654
|
-
rootEl: any;
|
|
655
|
-
};
|
|
656
|
-
|
|
657
696
|
declare function __VLS_template_3(): {
|
|
658
697
|
attrs: Partial<{}>;
|
|
659
698
|
slots: {
|
|
@@ -772,14 +811,15 @@ declare function __VLS_template_8(): {
|
|
|
772
811
|
prefixIcon?(_: {
|
|
773
812
|
icon: Icon | null;
|
|
774
813
|
}): any;
|
|
775
|
-
input?(_: {}): any;
|
|
776
814
|
suffix?(_: {}): any;
|
|
777
815
|
icon?(_: {
|
|
778
816
|
icon: Icon | null;
|
|
779
817
|
}): any;
|
|
818
|
+
clearIcon?(_: {}): any;
|
|
819
|
+
deleteIcon?(_: {}): any;
|
|
780
820
|
};
|
|
781
821
|
refs: {
|
|
782
|
-
|
|
822
|
+
fileInput: HTMLInputElement;
|
|
783
823
|
};
|
|
784
824
|
rootEl: any;
|
|
785
825
|
};
|
|
@@ -787,18 +827,18 @@ declare function __VLS_template_8(): {
|
|
|
787
827
|
declare function __VLS_template_9(): {
|
|
788
828
|
attrs: Partial<{}>;
|
|
789
829
|
slots: {
|
|
830
|
+
prefix?(_: {}): any;
|
|
790
831
|
prefixIcon?(_: {
|
|
791
|
-
icon: Icon;
|
|
832
|
+
icon: Icon | null;
|
|
792
833
|
}): any;
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
default?(_: {}): any;
|
|
834
|
+
input?(_: {}): any;
|
|
835
|
+
suffix?(_: {}): any;
|
|
796
836
|
icon?(_: {
|
|
797
837
|
icon: Icon | null;
|
|
798
838
|
}): any;
|
|
799
839
|
};
|
|
800
840
|
refs: {
|
|
801
|
-
|
|
841
|
+
input: HTMLInputElement;
|
|
802
842
|
};
|
|
803
843
|
rootEl: any;
|
|
804
844
|
};
|
|
@@ -827,6 +867,8 @@ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
|
827
867
|
|
|
828
868
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
829
869
|
|
|
870
|
+
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
871
|
+
|
|
830
872
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
831
873
|
|
|
832
874
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -913,6 +955,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
913
955
|
};
|
|
914
956
|
};
|
|
915
957
|
|
|
958
|
+
declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
959
|
+
new (): {
|
|
960
|
+
$slots: S;
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
|
|
916
964
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
917
965
|
new (): {
|
|
918
966
|
$slots: S;
|
|
@@ -1019,7 +1067,7 @@ declare interface CheckboxProps {
|
|
|
1019
1067
|
rootClass?: string;
|
|
1020
1068
|
}
|
|
1021
1069
|
|
|
1022
|
-
export declare const Combobox:
|
|
1070
|
+
export declare const Combobox: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1023
1071
|
|
|
1024
1072
|
declare type ComboboxModelValue = object | Array<unknown> | null;
|
|
1025
1073
|
|
|
@@ -1112,7 +1160,7 @@ declare interface DataTableSortBy {
|
|
|
1112
1160
|
direction: 'asc' | 'desc';
|
|
1113
1161
|
}
|
|
1114
1162
|
|
|
1115
|
-
export declare const Drawer:
|
|
1163
|
+
export declare const Drawer: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1116
1164
|
|
|
1117
1165
|
declare interface DrawerProps {
|
|
1118
1166
|
as?: string;
|
|
@@ -1129,7 +1177,7 @@ declare interface DrawerProps {
|
|
|
1129
1177
|
resetFooter?: boolean;
|
|
1130
1178
|
}
|
|
1131
1179
|
|
|
1132
|
-
export declare const Dropdown:
|
|
1180
|
+
export declare const Dropdown: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1133
1181
|
|
|
1134
1182
|
declare interface DropdownItem {
|
|
1135
1183
|
name: string;
|
|
@@ -1156,7 +1204,28 @@ declare interface EmptyStateProps {
|
|
|
1156
1204
|
icon?: Icon | null;
|
|
1157
1205
|
}
|
|
1158
1206
|
|
|
1159
|
-
export declare
|
|
1207
|
+
export declare interface ExistingFile {
|
|
1208
|
+
url: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export declare const FormFile: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1213
|
+
|
|
1214
|
+
export declare interface FormFileProps {
|
|
1215
|
+
modelValue?: File | ExistingFile | null;
|
|
1216
|
+
rootClass?: string;
|
|
1217
|
+
prefixIcon?: Icon | null;
|
|
1218
|
+
icon?: Icon | null;
|
|
1219
|
+
size?: FormFileSize;
|
|
1220
|
+
placeholder?: string;
|
|
1221
|
+
showPreview?: boolean;
|
|
1222
|
+
clearLabel?: string;
|
|
1223
|
+
deleteLabel?: string;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
declare type FormFileSize = 'sm' | 'base';
|
|
1227
|
+
|
|
1228
|
+
export declare const FormInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1160
1229
|
|
|
1161
1230
|
declare type FormInputModelValue = string | number | undefined;
|
|
1162
1231
|
|
|
@@ -1170,7 +1239,7 @@ declare interface FormInputProps {
|
|
|
1170
1239
|
|
|
1171
1240
|
declare type FormInputSize = 'sm' | 'base';
|
|
1172
1241
|
|
|
1173
|
-
export declare const FormSelect:
|
|
1242
|
+
export declare const FormSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1174
1243
|
|
|
1175
1244
|
declare type FormSelectModelValue = string | number | object | boolean | null;
|
|
1176
1245
|
|
|
@@ -1211,13 +1280,13 @@ declare type FormTextareaSize = 'sm' | 'base';
|
|
|
1211
1280
|
|
|
1212
1281
|
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
1213
1282
|
|
|
1214
|
-
export declare const Lightswitch:
|
|
1283
|
+
export declare const Lightswitch: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1215
1284
|
|
|
1216
1285
|
declare interface LightswitchProps {
|
|
1217
1286
|
modelValue?: boolean;
|
|
1218
1287
|
}
|
|
1219
1288
|
|
|
1220
|
-
export declare const Modal:
|
|
1289
|
+
export declare const Modal: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1221
1290
|
|
|
1222
1291
|
declare interface ModalProps {
|
|
1223
1292
|
as?: string;
|
|
@@ -1232,7 +1301,7 @@ declare interface ModalProps {
|
|
|
1232
1301
|
resetFooter?: boolean;
|
|
1233
1302
|
}
|
|
1234
1303
|
|
|
1235
|
-
export declare const Pagination:
|
|
1304
|
+
export declare const Pagination: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1236
1305
|
|
|
1237
1306
|
declare interface PaginationData {
|
|
1238
1307
|
total: number;
|
|
@@ -1256,7 +1325,7 @@ declare interface PaginationProps {
|
|
|
1256
1325
|
fromLabel?: string;
|
|
1257
1326
|
}
|
|
1258
1327
|
|
|
1259
|
-
export declare const Radio:
|
|
1328
|
+
export declare const Radio: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1260
1329
|
|
|
1261
1330
|
declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
|
|
1262
1331
|
|
|
@@ -1268,7 +1337,7 @@ declare interface RadioProps {
|
|
|
1268
1337
|
|
|
1269
1338
|
declare type RichTextConfig = 'default' | 'simple';
|
|
1270
1339
|
|
|
1271
|
-
export declare const RichTextEditor:
|
|
1340
|
+
export declare const RichTextEditor: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1272
1341
|
|
|
1273
1342
|
declare interface RichTextEditorProps {
|
|
1274
1343
|
id: string;
|
|
@@ -1309,7 +1378,7 @@ declare interface TabsProps {
|
|
|
1309
1378
|
|
|
1310
1379
|
declare type TabStyle = 'buttons' | 'default';
|
|
1311
1380
|
|
|
1312
|
-
export declare const Toast:
|
|
1381
|
+
export declare const Toast: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1313
1382
|
|
|
1314
1383
|
declare type ToastPosition = 'top' | 'bottom';
|
|
1315
1384
|
|
|
@@ -1326,7 +1395,7 @@ declare interface ToastProps {
|
|
|
1326
1395
|
|
|
1327
1396
|
declare type ToastType = 'success' | 'warning' | 'danger' | 'info';
|
|
1328
1397
|
|
|
1329
|
-
export declare const Tooltip:
|
|
1398
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1330
1399
|
|
|
1331
1400
|
declare type TooltipPlacement = AlignedPlacement | Side;
|
|
1332
1401
|
|
package/package.json
CHANGED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, createBlock as r, openBlock as l, resolveDynamicComponent as o, normalizeClass as n, withCtx as c, renderSlot as d, createTextVNode as s, toDisplayString as i, createElementBlock as u, createElementVNode as f } from "vue";
|
|
2
|
-
const b = /* @__PURE__ */ t({
|
|
3
|
-
__name: "Badge",
|
|
4
|
-
props: {
|
|
5
|
-
as: { default: "span" },
|
|
6
|
-
label: { default: "" },
|
|
7
|
-
size: { default: "base" },
|
|
8
|
-
color: { default: "default" }
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
return (a, m) => (l(), r(o(e.as), {
|
|
12
|
-
class: n(["rvc-badge", `rvc-badge-${e.color}`, `rvc-badge-${e.size}`])
|
|
13
|
-
}, {
|
|
14
|
-
default: c(() => [
|
|
15
|
-
d(a.$slots, "default", { label: e.label }, () => [
|
|
16
|
-
s(i(e.label), 1)
|
|
17
|
-
])
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 8, ["class"]));
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
function g(e, a) {
|
|
24
|
-
return l(), u("svg", {
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
viewBox: "0 0 20 20",
|
|
27
|
-
fill: "currentColor",
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
"data-slot": "icon"
|
|
30
|
-
}, [
|
|
31
|
-
f("path", {
|
|
32
|
-
"fill-rule": "evenodd",
|
|
33
|
-
d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
|
|
34
|
-
"clip-rule": "evenodd"
|
|
35
|
-
})
|
|
36
|
-
]);
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
b as _,
|
|
40
|
-
g as r
|
|
41
|
-
};
|