@robuust-digital/vue-components 2.4.0-beta.2 → 2.4.0-beta.4
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 +4 -3
- package/dist/_shared/ChevronDownIcon-CcE_K1lg.js +41 -0
- package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-C3AfEWj5.js → Combobox.vue_vue_type_script_setup_true_lang-CxRv55TC.js} +72 -61
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-DMUJ5Emt.js +670 -0
- package/dist/combobox/index.js +1 -1
- package/dist/core/index.js +9 -10
- package/dist/core/styles.css +0 -1
- package/dist/core.d.ts +31 -100
- package/dist/index/index.js +17 -18
- package/dist/index.d.ts +78 -147
- package/package.json +28 -3
- 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/core/index.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { _ as e, a as s, b as
|
|
2
|
-
import { _ as b } from "../_shared/
|
|
3
|
-
import { _
|
|
4
|
-
import { _ as
|
|
1
|
+
import { _ as e, a as s, b as t, c as r, d as m, e as p, f as x, g as c, h as f, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-DMUJ5Emt.js";
|
|
2
|
+
import { _ as b } from "../_shared/ChevronDownIcon-CcE_K1lg.js";
|
|
3
|
+
import { _ } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js";
|
|
4
|
+
import { _ as l } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-C_1WSzbH.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Accordion,
|
|
7
7
|
s as Alert,
|
|
8
8
|
b as Badge,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
_ as ButtonBase,
|
|
10
|
+
t as Checkbox,
|
|
11
|
+
r as DataTable,
|
|
12
12
|
m as EmptyState,
|
|
13
|
-
|
|
14
|
-
g as FormInput,
|
|
13
|
+
l as FormInput,
|
|
15
14
|
p as FormSelect,
|
|
16
15
|
x as FormTextarea,
|
|
17
16
|
c as Pagination,
|
|
18
17
|
f as Radio,
|
|
19
|
-
|
|
18
|
+
i as Tabs
|
|
20
19
|
};
|
package/dist/core/styles.css
CHANGED
package/dist/core.d.ts
CHANGED
|
@@ -9,24 +9,7 @@ import { VNodeProps } from 'vue';
|
|
|
9
9
|
|
|
10
10
|
declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
11
|
|
|
12
|
-
declare const __VLS_component_10: DefineComponent<
|
|
13
|
-
"update:modelValue": (value: FormSelectModelValue) => any;
|
|
14
|
-
}, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
|
|
16
|
-
}>, {
|
|
17
|
-
icon: Icon | null;
|
|
18
|
-
size: FormSelectSize;
|
|
19
|
-
modelValue: FormSelectModelValue;
|
|
20
|
-
rootClass: string;
|
|
21
|
-
prefixIcon: Icon | null;
|
|
22
|
-
options: FormSelectOption[];
|
|
23
|
-
optionLabel: string;
|
|
24
|
-
optionValue: string;
|
|
25
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
26
|
-
select: HTMLSelectElement;
|
|
27
|
-
}, any>;
|
|
28
|
-
|
|
29
|
-
declare const __VLS_component_11: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
declare const __VLS_component_10: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
30
13
|
"pagination:change": (url: string) => any;
|
|
31
14
|
"pagination:perPage": (perPage: number) => any;
|
|
32
15
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
@@ -39,7 +22,7 @@ perPageOptions: number[];
|
|
|
39
22
|
fromLabel: string;
|
|
40
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
24
|
|
|
42
|
-
declare const
|
|
25
|
+
declare const __VLS_component_11: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
43
26
|
"update:modelValue": (value: RadioModelValue) => any;
|
|
44
27
|
}, string, PublicProps, Readonly<RadioProps> & Readonly<{
|
|
45
28
|
"onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
|
|
@@ -115,38 +98,35 @@ defaultSort: DataTableSortBy | null;
|
|
|
115
98
|
|
|
116
99
|
declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
117
100
|
|
|
118
|
-
declare const __VLS_component_8: DefineComponent<
|
|
119
|
-
"update:modelValue": (value:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"onUpdate:modelValue"?: ((value: ExistingFile | File | null) => any) | undefined;
|
|
123
|
-
onDelete?: (() => any) | undefined;
|
|
101
|
+
declare const __VLS_component_8: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
102
|
+
"update:modelValue": (value: FormInputModelValue) => any;
|
|
103
|
+
}, string, PublicProps, Readonly<FormInputProps> & Readonly<{
|
|
104
|
+
"onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
|
|
124
105
|
}>, {
|
|
125
106
|
icon: Icon | null;
|
|
126
|
-
size:
|
|
127
|
-
modelValue:
|
|
107
|
+
size: FormInputSize;
|
|
108
|
+
modelValue: string | number;
|
|
128
109
|
rootClass: string;
|
|
129
110
|
prefixIcon: Icon | null;
|
|
130
|
-
placeholder: string;
|
|
131
|
-
showPreview: boolean;
|
|
132
|
-
clearLabel: string;
|
|
133
|
-
deleteLabel: string;
|
|
134
111
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
135
|
-
|
|
112
|
+
input: HTMLInputElement;
|
|
136
113
|
}, any>;
|
|
137
114
|
|
|
138
|
-
declare const __VLS_component_9: DefineComponent<
|
|
139
|
-
"update:modelValue": (value:
|
|
140
|
-
}, string, PublicProps, Readonly<
|
|
141
|
-
"onUpdate:modelValue"?: ((value:
|
|
115
|
+
declare const __VLS_component_9: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
116
|
+
"update:modelValue": (value: FormSelectModelValue) => any;
|
|
117
|
+
}, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
|
|
118
|
+
"onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
|
|
142
119
|
}>, {
|
|
143
120
|
icon: Icon | null;
|
|
144
|
-
size:
|
|
145
|
-
modelValue:
|
|
121
|
+
size: FormSelectSize;
|
|
122
|
+
modelValue: FormSelectModelValue;
|
|
146
123
|
rootClass: string;
|
|
147
124
|
prefixIcon: Icon | null;
|
|
125
|
+
options: FormSelectOption[];
|
|
126
|
+
optionLabel: string;
|
|
127
|
+
optionValue: string;
|
|
148
128
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
149
|
-
|
|
129
|
+
select: HTMLSelectElement;
|
|
150
130
|
}, any>;
|
|
151
131
|
|
|
152
132
|
declare function __VLS_template(): {
|
|
@@ -169,25 +149,6 @@ declare function __VLS_template(): {
|
|
|
169
149
|
};
|
|
170
150
|
|
|
171
151
|
declare function __VLS_template_10(): {
|
|
172
|
-
attrs: Partial<{}>;
|
|
173
|
-
slots: {
|
|
174
|
-
prefixIcon?(_: {
|
|
175
|
-
icon: Icon;
|
|
176
|
-
}): any;
|
|
177
|
-
select?(_: {}): any;
|
|
178
|
-
default?(_: {}): any;
|
|
179
|
-
default?(_: {}): any;
|
|
180
|
-
icon?(_: {
|
|
181
|
-
icon: Icon | null;
|
|
182
|
-
}): any;
|
|
183
|
-
};
|
|
184
|
-
refs: {
|
|
185
|
-
select: HTMLSelectElement;
|
|
186
|
-
};
|
|
187
|
-
rootEl: any;
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
declare function __VLS_template_11(): {
|
|
191
152
|
attrs: Partial<{}>;
|
|
192
153
|
slots: {
|
|
193
154
|
perPage?(_: {
|
|
@@ -209,7 +170,7 @@ declare function __VLS_template_11(): {
|
|
|
209
170
|
rootEl: any;
|
|
210
171
|
};
|
|
211
172
|
|
|
212
|
-
declare function
|
|
173
|
+
declare function __VLS_template_11(): {
|
|
213
174
|
attrs: Partial<{}>;
|
|
214
175
|
slots: {
|
|
215
176
|
default?(_: {}): any;
|
|
@@ -350,15 +311,14 @@ declare function __VLS_template_8(): {
|
|
|
350
311
|
prefixIcon?(_: {
|
|
351
312
|
icon: Icon | null;
|
|
352
313
|
}): any;
|
|
314
|
+
input?(_: {}): any;
|
|
353
315
|
suffix?(_: {}): any;
|
|
354
316
|
icon?(_: {
|
|
355
317
|
icon: Icon | null;
|
|
356
318
|
}): any;
|
|
357
|
-
clearIcon?(_: {}): any;
|
|
358
|
-
deleteIcon?(_: {}): any;
|
|
359
319
|
};
|
|
360
320
|
refs: {
|
|
361
|
-
|
|
321
|
+
input: HTMLInputElement;
|
|
362
322
|
};
|
|
363
323
|
rootEl: any;
|
|
364
324
|
};
|
|
@@ -366,18 +326,18 @@ declare function __VLS_template_8(): {
|
|
|
366
326
|
declare function __VLS_template_9(): {
|
|
367
327
|
attrs: Partial<{}>;
|
|
368
328
|
slots: {
|
|
369
|
-
prefix?(_: {}): any;
|
|
370
329
|
prefixIcon?(_: {
|
|
371
|
-
icon: Icon
|
|
330
|
+
icon: Icon;
|
|
372
331
|
}): any;
|
|
373
|
-
|
|
374
|
-
|
|
332
|
+
select?(_: {}): any;
|
|
333
|
+
default?(_: {}): any;
|
|
334
|
+
default?(_: {}): any;
|
|
375
335
|
icon?(_: {
|
|
376
336
|
icon: Icon | null;
|
|
377
337
|
}): any;
|
|
378
338
|
};
|
|
379
339
|
refs: {
|
|
380
|
-
|
|
340
|
+
select: HTMLSelectElement;
|
|
381
341
|
};
|
|
382
342
|
rootEl: any;
|
|
383
343
|
};
|
|
@@ -388,8 +348,6 @@ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
|
388
348
|
|
|
389
349
|
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
390
350
|
|
|
391
|
-
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
392
|
-
|
|
393
351
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
394
352
|
|
|
395
353
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -424,12 +382,6 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
|
424
382
|
};
|
|
425
383
|
};
|
|
426
384
|
|
|
427
|
-
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
428
|
-
new (): {
|
|
429
|
-
$slots: S;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
|
|
433
385
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
434
386
|
new (): {
|
|
435
387
|
$slots: S;
|
|
@@ -597,28 +549,7 @@ declare interface EmptyStateProps {
|
|
|
597
549
|
icon?: Icon | null;
|
|
598
550
|
}
|
|
599
551
|
|
|
600
|
-
export declare
|
|
601
|
-
url: string;
|
|
602
|
-
name: string;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
export declare const FormFile: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
606
|
-
|
|
607
|
-
export declare interface FormFileProps {
|
|
608
|
-
modelValue?: File | ExistingFile | null;
|
|
609
|
-
rootClass?: string;
|
|
610
|
-
prefixIcon?: Icon | null;
|
|
611
|
-
icon?: Icon | null;
|
|
612
|
-
size?: FormFileSize;
|
|
613
|
-
placeholder?: string;
|
|
614
|
-
showPreview?: boolean;
|
|
615
|
-
clearLabel?: string;
|
|
616
|
-
deleteLabel?: string;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
declare type FormFileSize = 'sm' | 'base';
|
|
620
|
-
|
|
621
|
-
export declare const FormInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
552
|
+
export declare const FormInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
622
553
|
|
|
623
554
|
declare type FormInputModelValue = string | number | undefined;
|
|
624
555
|
|
|
@@ -632,7 +563,7 @@ declare interface FormInputProps {
|
|
|
632
563
|
|
|
633
564
|
declare type FormInputSize = 'sm' | 'base';
|
|
634
565
|
|
|
635
|
-
export declare const FormSelect:
|
|
566
|
+
export declare const FormSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
636
567
|
|
|
637
568
|
declare type FormSelectModelValue = string | number | object | boolean | null;
|
|
638
569
|
|
|
@@ -673,7 +604,7 @@ declare type FormTextareaSize = 'sm' | 'base';
|
|
|
673
604
|
|
|
674
605
|
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
675
606
|
|
|
676
|
-
export declare const Pagination:
|
|
607
|
+
export declare const Pagination: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
677
608
|
|
|
678
609
|
declare interface PaginationData {
|
|
679
610
|
total: number;
|
|
@@ -697,7 +628,7 @@ declare interface PaginationProps {
|
|
|
697
628
|
fromLabel?: string;
|
|
698
629
|
}
|
|
699
630
|
|
|
700
|
-
export declare const Radio:
|
|
631
|
+
export declare const Radio: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
701
632
|
|
|
702
633
|
declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
|
|
703
634
|
|
package/dist/index/index.js
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-DMUJ5Emt.js";
|
|
2
|
+
import { _ as d } from "../_shared/ChevronDownIcon-CcE_K1lg.js";
|
|
3
3
|
import { _ as n } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js";
|
|
4
4
|
import { _ as h } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-C_1WSzbH.js";
|
|
5
|
-
import { _ as g } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as g } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-CxRv55TC.js";
|
|
6
6
|
import { _ as B } from "../_shared/Drawer.vue_vue_type_script_setup_true_lang-XMND_Yzl.js";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
7
|
+
import { _ as F } from "../_shared/Modal.vue_vue_type_script_setup_true_lang-2AljJgxw.js";
|
|
8
|
+
import { _ as A } from "../_shared/Dropdown.vue_vue_type_script_setup_true_lang-BtkiBqxy.js";
|
|
9
|
+
import { _ as E } from "../_shared/Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js";
|
|
10
|
+
import { _ as S } from "../_shared/RichTextEditor.vue_vue_type_script_setup_true_lang-BLs_S_-D.js";
|
|
11
11
|
import { _ as y } from "../_shared/Toast.vue_vue_type_script_setup_true_lang-BfMkJm5T.js";
|
|
12
12
|
import { _ as L } from "../_shared/Tooltip.vue_vue_type_script_setup_true_lang-CKp1wzE2.js";
|
|
13
13
|
export {
|
|
14
14
|
r as Accordion,
|
|
15
15
|
t as Alert,
|
|
16
|
-
|
|
16
|
+
d as Badge,
|
|
17
17
|
n as ButtonBase,
|
|
18
18
|
e as Checkbox,
|
|
19
19
|
g as Combobox,
|
|
20
20
|
s as DataTable,
|
|
21
21
|
B as Drawer,
|
|
22
|
-
|
|
22
|
+
A as Dropdown,
|
|
23
23
|
m as EmptyState,
|
|
24
|
-
p as FormFile,
|
|
25
24
|
h as FormInput,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
p as FormSelect,
|
|
26
|
+
x as FormTextarea,
|
|
27
|
+
E as Lightswitch,
|
|
28
|
+
F as Modal,
|
|
29
|
+
f as Pagination,
|
|
30
|
+
_ as Radio,
|
|
31
|
+
S as RichTextEditor,
|
|
32
|
+
i as Tabs,
|
|
34
33
|
y as Toast,
|
|
35
34
|
L as Tooltip
|
|
36
35
|
};
|