@robuust-digital/vue-components 2.5.0-beta.2 → 2.5.0-beta.3
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 +32 -2
- package/README.md +15 -0
- package/dist/_shared/{ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js → ButtonBase.vue_vue_type_script_setup_true_lang-ZYVNEyNx.js} +2 -2
- package/dist/_shared/ChevronDownIcon-BYWciGnh.js +41 -0
- package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-C3AfEWj5.js → Combobox.vue_vue_type_script_setup_true_lang-BwTRzqr6.js} +72 -61
- package/dist/_shared/{Drawer.vue_vue_type_script_setup_true_lang-XMND_Yzl.js → Drawer.vue_vue_type_script_setup_true_lang-CZMVooMV.js} +4 -4
- package/dist/_shared/{Dropdown.vue_vue_type_script_setup_true_lang-BtkiBqxy.js → Dropdown.vue_vue_type_script_setup_true_lang-L_lQEUBC.js} +2 -2
- package/dist/_shared/{FormInput.vue_vue_type_script_setup_true_lang-C_1WSzbH.js → FormInput.vue_vue_type_script_setup_true_lang-Bg7YPGyY.js} +9 -9
- package/dist/_shared/{Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js → Lightswitch.vue_vue_type_script_setup_true_lang-hiuDVfo5.js} +7 -7
- package/dist/_shared/{Modal.vue_vue_type_script_setup_true_lang-2AljJgxw.js → Modal.vue_vue_type_script_setup_true_lang-CB0Gez7v.js} +5 -5
- package/dist/_shared/{RichTextEditor.vue_vue_type_script_setup_true_lang-BLs_S_-D.js → RichTextEditor.vue_vue_type_script_setup_true_lang-DaCv0Gii.js} +11 -11
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-B0RIqYLz.js +696 -0
- package/dist/_shared/{Toast.vue_vue_type_script_setup_true_lang-BfMkJm5T.js → Toast.vue_vue_type_script_setup_true_lang-DS6keeu7.js} +2 -2
- package/dist/_shared/{Tooltip.vue_vue_type_script_setup_true_lang-CKp1wzE2.js → Tooltip.vue_vue_type_script_setup_true_lang-B3MHy48T.js} +3 -3
- package/dist/_shared/{XMarkIcon-90mcPzBs.js → XMarkIcon-CPr_Rd8y.js} +2 -2
- package/dist/_shared/{icon-spinner-CP0VP_YM.js → icon-spinner-BYCMrTdL.js} +2 -2
- package/dist/combobox/index.js +1 -1
- package/dist/core/index.js +9 -10
- package/dist/core/styles.css +0 -1
- package/dist/core/table.css +4 -1
- package/dist/core.d.ts +57 -100
- package/dist/dialogs/index.js +2 -2
- package/dist/dropdown/index.js +1 -1
- package/dist/index/index.js +22 -23
- package/dist/index.d.ts +104 -147
- package/dist/lightswitch/index.js +1 -1
- package/dist/rich-text-editor/index.js +1 -1
- package/dist/toast/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/package.json +37 -8
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-Dc0jC2cn.js +0 -836
- package/dist/_shared/XMarkIcon-DdMV8USU.js +0 -53
- package/dist/core/file.css +0 -206
package/dist/index.d.ts
CHANGED
|
@@ -19,24 +19,7 @@ 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<
|
|
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, {} & {
|
|
22
|
+
declare const __VLS_component_10: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
40
23
|
"pagination:change": (url: string) => any;
|
|
41
24
|
"pagination:perPage": (perPage: number) => any;
|
|
42
25
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
@@ -47,9 +30,11 @@ perPage: number;
|
|
|
47
30
|
perPageLabel: string;
|
|
48
31
|
perPageOptions: number[];
|
|
49
32
|
fromLabel: string;
|
|
33
|
+
prevIcon: Icon | null;
|
|
34
|
+
nextIcon: Icon | null;
|
|
50
35
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
51
36
|
|
|
52
|
-
declare const
|
|
37
|
+
declare const __VLS_component_11: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
53
38
|
"update:modelValue": (value: RadioModelValue) => any;
|
|
54
39
|
}, string, PublicProps, Readonly<RadioProps> & Readonly<{
|
|
55
40
|
"onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
|
|
@@ -61,7 +46,7 @@ rootClass: string;
|
|
|
61
46
|
input: HTMLInputElement;
|
|
62
47
|
}, any>;
|
|
63
48
|
|
|
64
|
-
declare const
|
|
49
|
+
declare const __VLS_component_12: DefineComponent<ComboboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
65
50
|
"update:modelValue": (value: ComboboxModelValue) => any;
|
|
66
51
|
"update:requestParams": (value: Record<string, unknown>) => any;
|
|
67
52
|
"combobox:noResults": (value: string | null) => any;
|
|
@@ -100,7 +85,7 @@ minLoadingTime: number;
|
|
|
100
85
|
onCancel: (cancelToken: (() => void) | null) => void;
|
|
101
86
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
102
87
|
|
|
103
|
-
declare const
|
|
88
|
+
declare const __VLS_component_13: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
104
89
|
"drawer:open": () => any;
|
|
105
90
|
"drawer:opened": () => any;
|
|
106
91
|
"drawer:close": () => any;
|
|
@@ -127,7 +112,7 @@ resetFooter: boolean;
|
|
|
127
112
|
contentRef: HTMLDivElement;
|
|
128
113
|
}, any>;
|
|
129
114
|
|
|
130
|
-
declare const
|
|
115
|
+
declare const __VLS_component_14: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
131
116
|
"modal:open": () => any;
|
|
132
117
|
"modal:opened": () => any;
|
|
133
118
|
"modal:close": () => any;
|
|
@@ -152,7 +137,7 @@ resetFooter: boolean;
|
|
|
152
137
|
contentRef: HTMLDivElement;
|
|
153
138
|
}, any>;
|
|
154
139
|
|
|
155
|
-
declare const
|
|
140
|
+
declare const __VLS_component_15: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
156
141
|
"dropdown:click": (item: DropdownItem) => any;
|
|
157
142
|
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
158
143
|
"onDropdown:click"?: ((item: DropdownItem) => any) | undefined;
|
|
@@ -163,7 +148,7 @@ alignLeft: boolean;
|
|
|
163
148
|
fullWidth: boolean;
|
|
164
149
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
165
150
|
|
|
166
|
-
declare const
|
|
151
|
+
declare const __VLS_component_16: DefineComponent<LightswitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
167
152
|
"update:modelValue": (value: boolean) => any;
|
|
168
153
|
}, string, PublicProps, Readonly<LightswitchProps> & Readonly<{
|
|
169
154
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -171,7 +156,7 @@ declare const __VLS_component_17: DefineComponent<LightswitchProps, {}, {}, {},
|
|
|
171
156
|
modelValue: boolean;
|
|
172
157
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
173
158
|
|
|
174
|
-
declare const
|
|
159
|
+
declare const __VLS_component_17: DefineComponent<RichTextEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
175
160
|
"update:modelValue": (value: string) => any;
|
|
176
161
|
"tiptap:onCreate": (editor: any) => any;
|
|
177
162
|
}, string, PublicProps, Readonly<RichTextEditorProps> & Readonly<{
|
|
@@ -186,7 +171,7 @@ customExtensions: Extension[];
|
|
|
186
171
|
customCommands: CustomCommand[];
|
|
187
172
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
188
173
|
|
|
189
|
-
declare const
|
|
174
|
+
declare const __VLS_component_18: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
190
175
|
"toast:close": () => any;
|
|
191
176
|
}, string, PublicProps, Readonly<ToastProps> & Readonly<{
|
|
192
177
|
"onToast:close"?: (() => any) | undefined;
|
|
@@ -201,6 +186,18 @@ position: ToastPosition;
|
|
|
201
186
|
timeout: number | boolean;
|
|
202
187
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
203
188
|
|
|
189
|
+
declare const __VLS_component_19: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
190
|
+
blur: boolean;
|
|
191
|
+
size: TooltipSize;
|
|
192
|
+
maxWidth: number | null;
|
|
193
|
+
tooltipClass: string;
|
|
194
|
+
placement: TooltipPlacement;
|
|
195
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
196
|
+
wrapperRef: HTMLDivElement;
|
|
197
|
+
tooltipRef: HTMLDivElement;
|
|
198
|
+
arrowRef: HTMLDivElement;
|
|
199
|
+
}, HTMLDivElement>;
|
|
200
|
+
|
|
204
201
|
declare const __VLS_component_2: DefineComponent<AlertProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
205
202
|
"alert:close": () => any;
|
|
206
203
|
}, string, PublicProps, Readonly<AlertProps> & Readonly<{
|
|
@@ -213,18 +210,6 @@ icon: Icon | null;
|
|
|
213
210
|
type: AlertType;
|
|
214
211
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
215
212
|
|
|
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
|
-
|
|
228
213
|
declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
229
214
|
label: string;
|
|
230
215
|
as: string;
|
|
@@ -267,6 +252,12 @@ declare const __VLS_component_6: DefineComponent<DataTableProps, {}, {}, {}, {},
|
|
|
267
252
|
}>, {
|
|
268
253
|
spinning: boolean;
|
|
269
254
|
pagination: DataTablePagination | null;
|
|
255
|
+
perPage: number;
|
|
256
|
+
perPageLabel: string;
|
|
257
|
+
perPageOptions: number[];
|
|
258
|
+
fromLabel: string;
|
|
259
|
+
prevIcon: Icon | null;
|
|
260
|
+
nextIcon: Icon | null;
|
|
270
261
|
headers: DataTableHeader[];
|
|
271
262
|
noResultsText: string;
|
|
272
263
|
loadingText: string;
|
|
@@ -277,38 +268,35 @@ defaultSort: DataTableSortBy | null;
|
|
|
277
268
|
|
|
278
269
|
declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
279
270
|
|
|
280
|
-
declare const __VLS_component_8: DefineComponent<
|
|
281
|
-
"update:modelValue": (value:
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
"onUpdate:modelValue"?: ((value: ExistingFile | File | null) => any) | undefined;
|
|
285
|
-
onDelete?: (() => any) | undefined;
|
|
271
|
+
declare const __VLS_component_8: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
272
|
+
"update:modelValue": (value: FormInputModelValue) => any;
|
|
273
|
+
}, string, PublicProps, Readonly<FormInputProps> & Readonly<{
|
|
274
|
+
"onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
|
|
286
275
|
}>, {
|
|
287
276
|
icon: Icon | null;
|
|
288
|
-
size:
|
|
289
|
-
modelValue:
|
|
277
|
+
size: FormInputSize;
|
|
278
|
+
modelValue: string | number;
|
|
290
279
|
rootClass: string;
|
|
291
280
|
prefixIcon: Icon | null;
|
|
292
|
-
placeholder: string;
|
|
293
|
-
showPreview: boolean;
|
|
294
|
-
clearLabel: string;
|
|
295
|
-
deleteLabel: string;
|
|
296
281
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
297
|
-
|
|
282
|
+
input: HTMLInputElement;
|
|
298
283
|
}, any>;
|
|
299
284
|
|
|
300
|
-
declare const __VLS_component_9: DefineComponent<
|
|
301
|
-
"update:modelValue": (value:
|
|
302
|
-
}, string, PublicProps, Readonly<
|
|
303
|
-
"onUpdate:modelValue"?: ((value:
|
|
285
|
+
declare const __VLS_component_9: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
286
|
+
"update:modelValue": (value: FormSelectModelValue) => any;
|
|
287
|
+
}, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
|
|
288
|
+
"onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
|
|
304
289
|
}>, {
|
|
305
290
|
icon: Icon | null;
|
|
306
|
-
size:
|
|
307
|
-
modelValue:
|
|
291
|
+
size: FormSelectSize;
|
|
292
|
+
modelValue: FormSelectModelValue;
|
|
308
293
|
rootClass: string;
|
|
309
294
|
prefixIcon: Icon | null;
|
|
295
|
+
options: FormSelectOption[];
|
|
296
|
+
optionLabel: string;
|
|
297
|
+
optionValue: string;
|
|
310
298
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
311
|
-
|
|
299
|
+
select: HTMLSelectElement;
|
|
312
300
|
}, any>;
|
|
313
301
|
|
|
314
302
|
declare function __VLS_template(): {
|
|
@@ -331,25 +319,6 @@ declare function __VLS_template(): {
|
|
|
331
319
|
};
|
|
332
320
|
|
|
333
321
|
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(): {
|
|
353
322
|
attrs: Partial<{}>;
|
|
354
323
|
slots: {
|
|
355
324
|
perPage?(_: {
|
|
@@ -366,12 +335,22 @@ declare function __VLS_template_11(): {
|
|
|
366
335
|
to: number;
|
|
367
336
|
links: PaginationLink[];
|
|
368
337
|
}): any;
|
|
338
|
+
prevIcon?(_: {
|
|
339
|
+
icon: Icon | null;
|
|
340
|
+
link: PaginationLink;
|
|
341
|
+
index: number;
|
|
342
|
+
}): any;
|
|
343
|
+
nextIcon?(_: {
|
|
344
|
+
icon: Icon | null;
|
|
345
|
+
link: PaginationLink;
|
|
346
|
+
index: number;
|
|
347
|
+
}): any;
|
|
369
348
|
};
|
|
370
349
|
refs: {};
|
|
371
350
|
rootEl: any;
|
|
372
351
|
};
|
|
373
352
|
|
|
374
|
-
declare function
|
|
353
|
+
declare function __VLS_template_11(): {
|
|
375
354
|
attrs: Partial<{}>;
|
|
376
355
|
slots: {
|
|
377
356
|
default?(_: {}): any;
|
|
@@ -382,7 +361,7 @@ declare function __VLS_template_12(): {
|
|
|
382
361
|
rootEl: any;
|
|
383
362
|
};
|
|
384
363
|
|
|
385
|
-
declare function
|
|
364
|
+
declare function __VLS_template_12(): {
|
|
386
365
|
attrs: Partial<{}>;
|
|
387
366
|
slots: {
|
|
388
367
|
prefixIcon?(_: {
|
|
@@ -417,7 +396,7 @@ declare function __VLS_template_13(): {
|
|
|
417
396
|
rootEl: any;
|
|
418
397
|
};
|
|
419
398
|
|
|
420
|
-
declare function
|
|
399
|
+
declare function __VLS_template_13(): {
|
|
421
400
|
attrs: Partial<{}>;
|
|
422
401
|
slots: {
|
|
423
402
|
header?(_: {
|
|
@@ -473,7 +452,7 @@ declare function __VLS_template_14(): {
|
|
|
473
452
|
rootEl: any;
|
|
474
453
|
};
|
|
475
454
|
|
|
476
|
-
declare function
|
|
455
|
+
declare function __VLS_template_14(): {
|
|
477
456
|
attrs: Partial<{}>;
|
|
478
457
|
slots: {
|
|
479
458
|
header?(_: {
|
|
@@ -528,7 +507,7 @@ declare function __VLS_template_15(): {
|
|
|
528
507
|
rootEl: any;
|
|
529
508
|
};
|
|
530
509
|
|
|
531
|
-
declare function
|
|
510
|
+
declare function __VLS_template_15(): {
|
|
532
511
|
attrs: Partial<{}>;
|
|
533
512
|
slots: {
|
|
534
513
|
button?(_: {
|
|
@@ -615,7 +594,7 @@ declare function __VLS_template_16(): {
|
|
|
615
594
|
rootEl: any;
|
|
616
595
|
};
|
|
617
596
|
|
|
618
|
-
declare function
|
|
597
|
+
declare function __VLS_template_16(): {
|
|
619
598
|
attrs: Partial<{}>;
|
|
620
599
|
slots: {
|
|
621
600
|
default?(_: {}): any;
|
|
@@ -624,7 +603,7 @@ declare function __VLS_template_17(): {
|
|
|
624
603
|
rootEl: any;
|
|
625
604
|
};
|
|
626
605
|
|
|
627
|
-
declare function
|
|
606
|
+
declare function __VLS_template_17(): {
|
|
628
607
|
attrs: Partial<{}>;
|
|
629
608
|
slots: {
|
|
630
609
|
default?(_: {}): any;
|
|
@@ -653,19 +632,7 @@ declare function __VLS_template_18(): {
|
|
|
653
632
|
rootEl: any;
|
|
654
633
|
};
|
|
655
634
|
|
|
656
|
-
declare function
|
|
657
|
-
attrs: Partial<{}>;
|
|
658
|
-
slots: {
|
|
659
|
-
icon?(_: {}): any;
|
|
660
|
-
title?(_: {}): any;
|
|
661
|
-
default?(_: {}): any;
|
|
662
|
-
close?(_: {}): any;
|
|
663
|
-
};
|
|
664
|
-
refs: {};
|
|
665
|
-
rootEl: any;
|
|
666
|
-
};
|
|
667
|
-
|
|
668
|
-
declare function __VLS_template_2(): {
|
|
635
|
+
declare function __VLS_template_18(): {
|
|
669
636
|
attrs: Partial<{}>;
|
|
670
637
|
slots: {
|
|
671
638
|
icon?(_: {}): any;
|
|
@@ -677,7 +644,7 @@ declare function __VLS_template_2(): {
|
|
|
677
644
|
rootEl: any;
|
|
678
645
|
};
|
|
679
646
|
|
|
680
|
-
declare function
|
|
647
|
+
declare function __VLS_template_19(): {
|
|
681
648
|
attrs: Partial<{}>;
|
|
682
649
|
slots: {
|
|
683
650
|
default?(_: {}): any;
|
|
@@ -693,6 +660,18 @@ declare function __VLS_template_20(): {
|
|
|
693
660
|
rootEl: HTMLDivElement;
|
|
694
661
|
};
|
|
695
662
|
|
|
663
|
+
declare function __VLS_template_2(): {
|
|
664
|
+
attrs: Partial<{}>;
|
|
665
|
+
slots: {
|
|
666
|
+
icon?(_: {}): any;
|
|
667
|
+
title?(_: {}): any;
|
|
668
|
+
default?(_: {}): any;
|
|
669
|
+
close?(_: {}): any;
|
|
670
|
+
};
|
|
671
|
+
refs: {};
|
|
672
|
+
rootEl: any;
|
|
673
|
+
};
|
|
674
|
+
|
|
696
675
|
declare function __VLS_template_3(): {
|
|
697
676
|
attrs: Partial<{}>;
|
|
698
677
|
slots: {
|
|
@@ -811,15 +790,14 @@ declare function __VLS_template_8(): {
|
|
|
811
790
|
prefixIcon?(_: {
|
|
812
791
|
icon: Icon | null;
|
|
813
792
|
}): any;
|
|
793
|
+
input?(_: {}): any;
|
|
814
794
|
suffix?(_: {}): any;
|
|
815
795
|
icon?(_: {
|
|
816
796
|
icon: Icon | null;
|
|
817
797
|
}): any;
|
|
818
|
-
clearIcon?(_: {}): any;
|
|
819
|
-
deleteIcon?(_: {}): any;
|
|
820
798
|
};
|
|
821
799
|
refs: {
|
|
822
|
-
|
|
800
|
+
input: HTMLInputElement;
|
|
823
801
|
};
|
|
824
802
|
rootEl: any;
|
|
825
803
|
};
|
|
@@ -827,18 +805,18 @@ declare function __VLS_template_8(): {
|
|
|
827
805
|
declare function __VLS_template_9(): {
|
|
828
806
|
attrs: Partial<{}>;
|
|
829
807
|
slots: {
|
|
830
|
-
prefix?(_: {}): any;
|
|
831
808
|
prefixIcon?(_: {
|
|
832
|
-
icon: Icon
|
|
809
|
+
icon: Icon;
|
|
833
810
|
}): any;
|
|
834
|
-
|
|
835
|
-
|
|
811
|
+
select?(_: {}): any;
|
|
812
|
+
default?(_: {}): any;
|
|
813
|
+
default?(_: {}): any;
|
|
836
814
|
icon?(_: {
|
|
837
815
|
icon: Icon | null;
|
|
838
816
|
}): any;
|
|
839
817
|
};
|
|
840
818
|
refs: {
|
|
841
|
-
|
|
819
|
+
select: HTMLSelectElement;
|
|
842
820
|
};
|
|
843
821
|
rootEl: any;
|
|
844
822
|
};
|
|
@@ -867,8 +845,6 @@ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
|
867
845
|
|
|
868
846
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
869
847
|
|
|
870
|
-
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
871
|
-
|
|
872
848
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
873
849
|
|
|
874
850
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -955,12 +931,6 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
955
931
|
};
|
|
956
932
|
};
|
|
957
933
|
|
|
958
|
-
declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
959
|
-
new (): {
|
|
960
|
-
$slots: S;
|
|
961
|
-
};
|
|
962
|
-
};
|
|
963
|
-
|
|
964
934
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
965
935
|
new (): {
|
|
966
936
|
$slots: S;
|
|
@@ -1067,7 +1037,7 @@ declare interface CheckboxProps {
|
|
|
1067
1037
|
rootClass?: string;
|
|
1068
1038
|
}
|
|
1069
1039
|
|
|
1070
|
-
export declare const Combobox:
|
|
1040
|
+
export declare const Combobox: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1071
1041
|
|
|
1072
1042
|
declare type ComboboxModelValue = object | Array<unknown> | null;
|
|
1073
1043
|
|
|
@@ -1151,6 +1121,12 @@ declare interface DataTableProps {
|
|
|
1151
1121
|
striped?: boolean;
|
|
1152
1122
|
spinning?: boolean;
|
|
1153
1123
|
pagination?: DataTablePagination | null;
|
|
1124
|
+
perPage?: number;
|
|
1125
|
+
perPageLabel?: string;
|
|
1126
|
+
perPageOptions?: number[];
|
|
1127
|
+
fromLabel?: string;
|
|
1128
|
+
prevIcon?: Icon | null;
|
|
1129
|
+
nextIcon?: Icon | null;
|
|
1154
1130
|
wrapperClass?: string;
|
|
1155
1131
|
defaultSort?: DataTableSortBy | null;
|
|
1156
1132
|
}
|
|
@@ -1160,7 +1136,7 @@ declare interface DataTableSortBy {
|
|
|
1160
1136
|
direction: 'asc' | 'desc';
|
|
1161
1137
|
}
|
|
1162
1138
|
|
|
1163
|
-
export declare const Drawer:
|
|
1139
|
+
export declare const Drawer: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1164
1140
|
|
|
1165
1141
|
declare interface DrawerProps {
|
|
1166
1142
|
as?: string;
|
|
@@ -1177,7 +1153,7 @@ declare interface DrawerProps {
|
|
|
1177
1153
|
resetFooter?: boolean;
|
|
1178
1154
|
}
|
|
1179
1155
|
|
|
1180
|
-
export declare const Dropdown:
|
|
1156
|
+
export declare const Dropdown: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1181
1157
|
|
|
1182
1158
|
declare interface DropdownItem {
|
|
1183
1159
|
name: string;
|
|
@@ -1204,28 +1180,7 @@ declare interface EmptyStateProps {
|
|
|
1204
1180
|
icon?: Icon | null;
|
|
1205
1181
|
}
|
|
1206
1182
|
|
|
1207
|
-
export declare
|
|
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"]>;
|
|
1183
|
+
export declare const FormInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1229
1184
|
|
|
1230
1185
|
declare type FormInputModelValue = string | number | undefined;
|
|
1231
1186
|
|
|
@@ -1239,7 +1194,7 @@ declare interface FormInputProps {
|
|
|
1239
1194
|
|
|
1240
1195
|
declare type FormInputSize = 'sm' | 'base';
|
|
1241
1196
|
|
|
1242
|
-
export declare const FormSelect:
|
|
1197
|
+
export declare const FormSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1243
1198
|
|
|
1244
1199
|
declare type FormSelectModelValue = string | number | object | boolean | null;
|
|
1245
1200
|
|
|
@@ -1280,13 +1235,13 @@ declare type FormTextareaSize = 'sm' | 'base';
|
|
|
1280
1235
|
|
|
1281
1236
|
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
1282
1237
|
|
|
1283
|
-
export declare const Lightswitch:
|
|
1238
|
+
export declare const Lightswitch: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1284
1239
|
|
|
1285
1240
|
declare interface LightswitchProps {
|
|
1286
1241
|
modelValue?: boolean;
|
|
1287
1242
|
}
|
|
1288
1243
|
|
|
1289
|
-
export declare const Modal:
|
|
1244
|
+
export declare const Modal: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1290
1245
|
|
|
1291
1246
|
declare interface ModalProps {
|
|
1292
1247
|
as?: string;
|
|
@@ -1301,7 +1256,7 @@ declare interface ModalProps {
|
|
|
1301
1256
|
resetFooter?: boolean;
|
|
1302
1257
|
}
|
|
1303
1258
|
|
|
1304
|
-
export declare const Pagination:
|
|
1259
|
+
export declare const Pagination: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1305
1260
|
|
|
1306
1261
|
declare interface PaginationData {
|
|
1307
1262
|
total: number;
|
|
@@ -1323,9 +1278,11 @@ declare interface PaginationProps {
|
|
|
1323
1278
|
perPageLabel?: string;
|
|
1324
1279
|
perPageOptions?: number[];
|
|
1325
1280
|
fromLabel?: string;
|
|
1281
|
+
prevIcon?: Icon | null;
|
|
1282
|
+
nextIcon?: Icon | null;
|
|
1326
1283
|
}
|
|
1327
1284
|
|
|
1328
|
-
export declare const Radio:
|
|
1285
|
+
export declare const Radio: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1329
1286
|
|
|
1330
1287
|
declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
|
|
1331
1288
|
|
|
@@ -1337,7 +1294,7 @@ declare interface RadioProps {
|
|
|
1337
1294
|
|
|
1338
1295
|
declare type RichTextConfig = 'default' | 'simple';
|
|
1339
1296
|
|
|
1340
|
-
export declare const RichTextEditor:
|
|
1297
|
+
export declare const RichTextEditor: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1341
1298
|
|
|
1342
1299
|
declare interface RichTextEditorProps {
|
|
1343
1300
|
id: string;
|
|
@@ -1378,7 +1335,7 @@ declare interface TabsProps {
|
|
|
1378
1335
|
|
|
1379
1336
|
declare type TabStyle = 'buttons' | 'default';
|
|
1380
1337
|
|
|
1381
|
-
export declare const Toast:
|
|
1338
|
+
export declare const Toast: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1382
1339
|
|
|
1383
1340
|
declare type ToastPosition = 'top' | 'bottom';
|
|
1384
1341
|
|
|
@@ -1395,7 +1352,7 @@ declare interface ToastProps {
|
|
|
1395
1352
|
|
|
1396
1353
|
declare type ToastType = 'success' | 'warning' | 'danger' | 'info';
|
|
1397
1354
|
|
|
1398
|
-
export declare const Tooltip:
|
|
1355
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1399
1356
|
|
|
1400
1357
|
declare type TooltipPlacement = AlignedPlacement | Side;
|
|
1401
1358
|
|
package/dist/toast/index.js
CHANGED
package/dist/tooltip/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robuust-digital/vue-components",
|
|
3
|
-
"version": "2.5.0-beta.
|
|
3
|
+
"version": "2.5.0-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -78,6 +78,8 @@
|
|
|
78
78
|
"docs:dev": "vitepress dev docs --host",
|
|
79
79
|
"docs:build": "vitepress build docs",
|
|
80
80
|
"docs:preview": "vitepress preview docs",
|
|
81
|
+
"mcp:build-catalog": "node scripts/generate-mcp-catalog.mjs",
|
|
82
|
+
"mcp:serve": "node mcp/server.mjs",
|
|
81
83
|
"test:unit": "vitest run",
|
|
82
84
|
"lint": "eslint .",
|
|
83
85
|
"lint:style": "stylelint 'src/**/*.{vue,css}'",
|
|
@@ -90,9 +92,35 @@
|
|
|
90
92
|
"@tiptap/starter-kit": "^3.10.4",
|
|
91
93
|
"@tiptap/vue-3": "^3.10.4",
|
|
92
94
|
"@vueuse/core": "^14.0.0",
|
|
93
|
-
"vue": "^3.5.
|
|
95
|
+
"vue": "^3.5.27"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"@floating-ui/vue": "^1.0.0",
|
|
99
|
+
"@headlessui/vue": "^1.7.0",
|
|
100
|
+
"@tiptap/starter-kit": "^3.0.0",
|
|
101
|
+
"@tiptap/vue-3": "^3.0.0",
|
|
102
|
+
"@vueuse/core": "^14.0.0",
|
|
103
|
+
"vue": "*"
|
|
104
|
+
},
|
|
105
|
+
"peerDependenciesMeta": {
|
|
106
|
+
"@floating-ui/vue": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@headlessui/vue": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@tiptap/starter-kit": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"@tiptap/vue-3": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"@vueuse/core": {
|
|
119
|
+
"optional": true
|
|
120
|
+
}
|
|
94
121
|
},
|
|
95
122
|
"devDependencies": {
|
|
123
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
96
124
|
"@rushstack/eslint-patch": "^1.14.1",
|
|
97
125
|
"@tailwindcss/postcss": "^4.1.17",
|
|
98
126
|
"@tailwindcss/vite": "^4.1.17",
|
|
@@ -105,13 +133,13 @@
|
|
|
105
133
|
"@vue/test-utils": "^2.4.6",
|
|
106
134
|
"eslint": "^8.57.1",
|
|
107
135
|
"eslint-plugin-vue": "^9.33.0",
|
|
108
|
-
"jsdom": "^
|
|
136
|
+
"jsdom": "^28.1.0",
|
|
109
137
|
"postcss": "^8.5.6",
|
|
110
138
|
"postcss-html": "^1.8.0",
|
|
111
139
|
"postcss-scss": "^4.0.9",
|
|
112
|
-
"stylelint": "^
|
|
113
|
-
"stylelint-config-property-sort-order-smacss": "^
|
|
114
|
-
"stylelint-config-standard": "^
|
|
140
|
+
"stylelint": "^17.0.0",
|
|
141
|
+
"stylelint-config-property-sort-order-smacss": "^11.1.0",
|
|
142
|
+
"stylelint-config-standard": "^40.0.0",
|
|
115
143
|
"tailwindcss": "^4.1.17",
|
|
116
144
|
"typescript": "^5.9.3",
|
|
117
145
|
"vite": "^7.2.2",
|
|
@@ -120,7 +148,8 @@
|
|
|
120
148
|
"vite-plugin-vue-devtools": "^8.0.3",
|
|
121
149
|
"vite-svg-loader": "^5.1.0",
|
|
122
150
|
"vitepress": "^2.0.0-alpha.12",
|
|
123
|
-
"vitest": "^3.2.4"
|
|
151
|
+
"vitest": "^3.2.4",
|
|
152
|
+
"zod": "^4.3.6"
|
|
124
153
|
},
|
|
125
|
-
"packageManager": "yarn@4.
|
|
154
|
+
"packageManager": "yarn@4.12.0"
|
|
126
155
|
}
|