@rotki/ui-library 0.6.0 → 0.8.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/README.md +11 -8
- package/dist/all-icons.d.ts +82 -21
- package/dist/all-icons.es.js +4996 -4752
- package/dist/components/alerts/Alert.vue.d.ts +10 -10
- package/dist/components/buttons/button/Button.vue.d.ts +1 -0
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +1 -0
- package/dist/components/cards/Card.vue.d.ts +21 -1
- package/dist/components/cards/CardHeader.vue.d.ts +1 -1
- package/dist/components/chips/Chip.vue.d.ts +55 -15
- package/dist/components/divider/Divider.vue.d.ts +17 -0
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +25 -25
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +1 -1
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +36 -16
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +37 -17
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +63 -12
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +52 -43
- package/dist/components/forms/select/SimpleSelect.vue.d.ts +1 -1
- package/dist/components/forms/text-area/TextArea.vue.d.ts +233 -0
- package/dist/components/forms/text-field/TextField.vue.d.ts +59 -47
- package/dist/components/helpers/FormTextDetail.vue.d.ts +32 -0
- package/dist/components/icons/Icon.vue.d.ts +1 -1
- package/dist/components/index.d.ts +6 -2
- package/dist/components/index.es.js +28 -24
- package/dist/components/loaders/Skeleton.vue.d.ts +27 -0
- package/dist/components/loaders/SkeletonBase.vue.d.ts +17 -0
- package/dist/components/logos/Logo.vue.d.ts +1 -1
- package/dist/components/overlays/badge/Badge.vue.d.ts +4 -4
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +1 -1
- package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/components/progress/Progress.vue.d.ts +1 -1
- package/dist/components/steppers/FooterStepper.vue.d.ts +1 -1
- package/dist/components/steppers/Stepper.vue.d.ts +1 -1
- package/dist/components/steppers/StepperCustomIcon.vue.d.ts +1 -1
- package/dist/components/steppers/StepperIcon.vue.d.ts +1 -1
- package/dist/components/tables/DataTable.vue.d.ts +47 -2
- package/dist/components/tables/ExpandButton.vue.d.ts +34 -0
- package/dist/components/tables/TablePagination.vue.d.ts +1 -1
- package/dist/components/tabs/tab/Tab.vue.d.ts +1 -1
- package/dist/components/tabs/tab-item/TabItem.vue.d.ts +1 -1
- package/dist/components/tabs/tab-items/TabItems.vue.d.ts +1 -1
- package/dist/components/tabs/tabs/Tabs.vue.d.ts +1 -1
- package/dist/composables/defaults/table.d.ts +9 -0
- package/dist/composables/index.es.js +2 -2
- package/dist/composables/popper.d.ts +1 -1
- package/dist/composables/sticky-header.d.ts +9 -0
- package/dist/index-2YbRDW3N.js +6333 -0
- package/dist/{index-393a0e94.js → index-W2poXQa4.js} +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.es.js +2578 -2505
- package/dist/style.css +1 -1
- package/dist/theme/index.es.js +1 -1
- package/dist/utils/form-text-detail.d.ts +8 -0
- package/dist/utils/helpers.d.ts +27 -0
- package/package.json +39 -39
- package/dist/index-2e3eeb1f.js +0 -5701
- /package/dist/{colors-01d79c7b.js → colors-ikihApJv.js} +0 -0
|
@@ -26,6 +26,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
26
|
type: globalThis.PropType<RuiIcons>;
|
|
27
27
|
default: undefined;
|
|
28
28
|
};
|
|
29
|
+
closeable: {
|
|
30
|
+
type: globalThis.PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
29
33
|
description: {
|
|
30
34
|
type: globalThis.PropType<string>;
|
|
31
35
|
default: string;
|
|
@@ -34,14 +38,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
38
|
type: globalThis.PropType<string>;
|
|
35
39
|
default: string;
|
|
36
40
|
};
|
|
37
|
-
closeable: {
|
|
38
|
-
type: globalThis.PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
41
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
42
|
action: () => void;
|
|
43
43
|
close: () => void;
|
|
44
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
44
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
45
45
|
variant: {
|
|
46
46
|
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
47
47
|
default: string;
|
|
@@ -58,6 +58,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
58
|
type: globalThis.PropType<RuiIcons>;
|
|
59
59
|
default: undefined;
|
|
60
60
|
};
|
|
61
|
+
closeable: {
|
|
62
|
+
type: globalThis.PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
61
65
|
description: {
|
|
62
66
|
type: globalThis.PropType<string>;
|
|
63
67
|
default: string;
|
|
@@ -66,10 +70,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
70
|
type: globalThis.PropType<string>;
|
|
67
71
|
default: string;
|
|
68
72
|
};
|
|
69
|
-
closeable: {
|
|
70
|
-
type: globalThis.PropType<boolean>;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
73
|
}>> & {
|
|
74
74
|
onClose?: (() => any) | undefined;
|
|
75
75
|
onAction?: (() => any) | undefined;
|
|
@@ -78,9 +78,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
78
78
|
type: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
79
79
|
title: string;
|
|
80
80
|
icon: RuiIcons;
|
|
81
|
+
closeable: boolean;
|
|
81
82
|
description: string;
|
|
82
83
|
actionText: string;
|
|
83
|
-
closeable: boolean;
|
|
84
84
|
}, {}>, {
|
|
85
85
|
title?(_: {}): any;
|
|
86
86
|
default?(_: {}): any;
|
|
@@ -10,6 +10,7 @@ export interface Props<T = undefined> {
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
size?: 'sm' | 'lg';
|
|
12
12
|
tag?: 'button' | 'a';
|
|
13
|
+
type?: 'button' | 'submit';
|
|
13
14
|
value?: T;
|
|
14
15
|
}
|
|
15
16
|
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
@@ -2,6 +2,7 @@ import { type ContextColorsType } from '../../../consts/colors';
|
|
|
2
2
|
export interface Props<T = undefined> {
|
|
3
3
|
vertical?: boolean;
|
|
4
4
|
color?: ContextColorsType;
|
|
5
|
+
activeColor?: ContextColorsType;
|
|
5
6
|
variant?: 'default' | 'outlined' | 'text';
|
|
6
7
|
size?: 'sm' | 'lg';
|
|
7
8
|
gap?: 'sm' | 'md' | 'lg';
|
|
@@ -3,6 +3,8 @@ export interface Props {
|
|
|
3
3
|
divide?: boolean;
|
|
4
4
|
elevation?: number;
|
|
5
5
|
variant?: 'flat' | 'outlined';
|
|
6
|
+
rounded?: 'sm' | 'md' | 'lg';
|
|
7
|
+
noPadding?: boolean;
|
|
6
8
|
}
|
|
7
9
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
10
|
variant: {
|
|
@@ -13,6 +15,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
15
|
type: globalThis.PropType<number>;
|
|
14
16
|
default: number;
|
|
15
17
|
};
|
|
18
|
+
rounded: {
|
|
19
|
+
type: globalThis.PropType<"sm" | "lg" | "md">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
16
22
|
dense: {
|
|
17
23
|
type: globalThis.PropType<boolean>;
|
|
18
24
|
default: boolean;
|
|
@@ -21,7 +27,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
27
|
type: globalThis.PropType<boolean>;
|
|
22
28
|
default: boolean;
|
|
23
29
|
};
|
|
24
|
-
|
|
30
|
+
noPadding: {
|
|
31
|
+
type: globalThis.PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
25
35
|
variant: {
|
|
26
36
|
type: globalThis.PropType<"flat" | "outlined">;
|
|
27
37
|
default: string;
|
|
@@ -30,6 +40,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
40
|
type: globalThis.PropType<number>;
|
|
31
41
|
default: number;
|
|
32
42
|
};
|
|
43
|
+
rounded: {
|
|
44
|
+
type: globalThis.PropType<"sm" | "lg" | "md">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
33
47
|
dense: {
|
|
34
48
|
type: globalThis.PropType<boolean>;
|
|
35
49
|
default: boolean;
|
|
@@ -38,11 +52,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
52
|
type: globalThis.PropType<boolean>;
|
|
39
53
|
default: boolean;
|
|
40
54
|
};
|
|
55
|
+
noPadding: {
|
|
56
|
+
type: globalThis.PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
41
59
|
}>>, {
|
|
42
60
|
variant: "flat" | "outlined";
|
|
43
61
|
elevation: number;
|
|
62
|
+
rounded: "sm" | "lg" | "md";
|
|
44
63
|
dense: boolean;
|
|
45
64
|
divide: boolean;
|
|
65
|
+
noPadding: boolean;
|
|
46
66
|
}, {}>, {
|
|
47
67
|
image?(_: {}): any;
|
|
48
68
|
"custom-header"?(_: {}): any;
|
|
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
6
6
|
type: globalThis.PropType<boolean>;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
10
10
|
dense: {
|
|
11
11
|
type: globalThis.PropType<boolean>;
|
|
12
12
|
default: boolean;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../consts/colors';
|
|
2
|
+
import { type RuiIcons } from '~/src';
|
|
2
3
|
export interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
tile?: boolean;
|
|
5
|
+
clickable?: boolean;
|
|
6
|
+
closeable?: boolean;
|
|
5
7
|
disabled?: boolean;
|
|
6
8
|
size?: 'sm' | 'md';
|
|
7
9
|
variant?: 'filled' | 'outlined';
|
|
8
10
|
color?: 'grey' | ContextColorsType;
|
|
11
|
+
closeIcon?: RuiIcons;
|
|
12
|
+
bgColor?: string;
|
|
13
|
+
textColor?: string;
|
|
9
14
|
}
|
|
10
15
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
11
16
|
variant: {
|
|
@@ -20,21 +25,37 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
20
25
|
type: globalThis.PropType<"sm" | "md">;
|
|
21
26
|
default: string;
|
|
22
27
|
};
|
|
23
|
-
|
|
28
|
+
disabled: {
|
|
29
|
+
type: globalThis.PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
textColor: {
|
|
24
33
|
type: globalThis.PropType<string>;
|
|
25
|
-
default:
|
|
34
|
+
default: undefined;
|
|
26
35
|
};
|
|
27
|
-
|
|
36
|
+
tile: {
|
|
37
|
+
type: globalThis.PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
clickable: {
|
|
28
40
|
type: globalThis.PropType<boolean>;
|
|
29
41
|
default: boolean;
|
|
30
42
|
};
|
|
31
|
-
|
|
43
|
+
closeable: {
|
|
32
44
|
type: globalThis.PropType<boolean>;
|
|
33
45
|
default: boolean;
|
|
34
46
|
};
|
|
47
|
+
closeIcon: {
|
|
48
|
+
type: globalThis.PropType<RuiIcons>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
bgColor: {
|
|
52
|
+
type: globalThis.PropType<string>;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
35
55
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
|
|
37
|
-
|
|
56
|
+
"click:close": () => void;
|
|
57
|
+
click: () => void;
|
|
58
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
59
|
variant: {
|
|
39
60
|
type: globalThis.PropType<"outlined" | "filled">;
|
|
40
61
|
default: string;
|
|
@@ -47,27 +68,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
68
|
type: globalThis.PropType<"sm" | "md">;
|
|
48
69
|
default: string;
|
|
49
70
|
};
|
|
50
|
-
|
|
71
|
+
disabled: {
|
|
72
|
+
type: globalThis.PropType<boolean>;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
textColor: {
|
|
51
76
|
type: globalThis.PropType<string>;
|
|
52
|
-
default:
|
|
77
|
+
default: undefined;
|
|
53
78
|
};
|
|
54
|
-
|
|
79
|
+
tile: {
|
|
80
|
+
type: globalThis.PropType<boolean>;
|
|
81
|
+
};
|
|
82
|
+
clickable: {
|
|
55
83
|
type: globalThis.PropType<boolean>;
|
|
56
84
|
default: boolean;
|
|
57
85
|
};
|
|
58
|
-
|
|
86
|
+
closeable: {
|
|
59
87
|
type: globalThis.PropType<boolean>;
|
|
60
88
|
default: boolean;
|
|
61
89
|
};
|
|
90
|
+
closeIcon: {
|
|
91
|
+
type: globalThis.PropType<RuiIcons>;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
bgColor: {
|
|
95
|
+
type: globalThis.PropType<string>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
62
98
|
}>> & {
|
|
63
|
-
|
|
99
|
+
onClick?: (() => any) | undefined;
|
|
100
|
+
"onClick:close"?: (() => any) | undefined;
|
|
64
101
|
}, {
|
|
65
102
|
variant: "outlined" | "filled";
|
|
66
103
|
color: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
67
104
|
size: "sm" | "md";
|
|
68
|
-
label: string;
|
|
69
105
|
disabled: boolean;
|
|
70
|
-
|
|
106
|
+
textColor: string;
|
|
107
|
+
clickable: boolean;
|
|
108
|
+
closeable: boolean;
|
|
109
|
+
closeIcon: RuiIcons;
|
|
110
|
+
bgColor: string;
|
|
71
111
|
}, {}>, {
|
|
72
112
|
prepend?(_: {}): any;
|
|
73
113
|
default?(_: {}): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
vertical?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
vertical: {
|
|
6
|
+
type: globalThis.PropType<boolean>;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
10
|
+
vertical: {
|
|
11
|
+
type: globalThis.PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>>, {
|
|
15
|
+
vertical: boolean;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
@@ -14,7 +14,7 @@ export interface Props {
|
|
|
14
14
|
textProp?: string;
|
|
15
15
|
itemDisabledProp?: string;
|
|
16
16
|
variant?: 'default' | 'filled' | 'outlined';
|
|
17
|
-
color?:
|
|
17
|
+
color?: ContextColorsType;
|
|
18
18
|
dense?: boolean;
|
|
19
19
|
hint?: string;
|
|
20
20
|
errorMessages?: string[];
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
color: {
|
|
28
|
-
type: globalThis.PropType<"
|
|
29
|
-
default:
|
|
28
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
29
|
+
default: undefined;
|
|
30
30
|
};
|
|
31
31
|
label: {
|
|
32
32
|
type: globalThis.PropType<string>;
|
|
@@ -44,6 +44,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
type: globalThis.PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
errorMessages: {
|
|
48
|
+
type: globalThis.PropType<string[]>;
|
|
49
|
+
default: () => never[];
|
|
50
|
+
};
|
|
51
|
+
hint: {
|
|
52
|
+
type: globalThis.PropType<string>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
47
55
|
modelValue: {
|
|
48
56
|
type: globalThis.PropType<ModelValue>;
|
|
49
57
|
required: true;
|
|
@@ -52,14 +60,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
60
|
type: globalThis.PropType<boolean>;
|
|
53
61
|
default: boolean;
|
|
54
62
|
};
|
|
55
|
-
hint: {
|
|
56
|
-
type: globalThis.PropType<string>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
errorMessages: {
|
|
60
|
-
type: globalThis.PropType<string[]>;
|
|
61
|
-
default: () => never[];
|
|
62
|
-
};
|
|
63
63
|
textProp: {
|
|
64
64
|
type: globalThis.PropType<string>;
|
|
65
65
|
default: string;
|
|
@@ -86,14 +86,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
86
|
};
|
|
87
87
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
88
|
"update:modelValue": (modelValue: ModelValue) => void;
|
|
89
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
89
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
90
90
|
variant: {
|
|
91
91
|
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
94
|
color: {
|
|
95
|
-
type: globalThis.PropType<"
|
|
96
|
-
default:
|
|
95
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
96
|
+
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
label: {
|
|
99
99
|
type: globalThis.PropType<string>;
|
|
@@ -111,6 +111,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
111
111
|
type: globalThis.PropType<boolean>;
|
|
112
112
|
default: boolean;
|
|
113
113
|
};
|
|
114
|
+
errorMessages: {
|
|
115
|
+
type: globalThis.PropType<string[]>;
|
|
116
|
+
default: () => never[];
|
|
117
|
+
};
|
|
118
|
+
hint: {
|
|
119
|
+
type: globalThis.PropType<string>;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
114
122
|
modelValue: {
|
|
115
123
|
type: globalThis.PropType<ModelValue>;
|
|
116
124
|
required: true;
|
|
@@ -119,14 +127,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
119
127
|
type: globalThis.PropType<boolean>;
|
|
120
128
|
default: boolean;
|
|
121
129
|
};
|
|
122
|
-
hint: {
|
|
123
|
-
type: globalThis.PropType<string>;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
|
-
errorMessages: {
|
|
127
|
-
type: globalThis.PropType<string[]>;
|
|
128
|
-
default: () => never[];
|
|
129
|
-
};
|
|
130
130
|
textProp: {
|
|
131
131
|
type: globalThis.PropType<string>;
|
|
132
132
|
default: string;
|
|
@@ -155,13 +155,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
155
155
|
"onUpdate:modelValue"?: ((modelValue: ModelValue) => any) | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
variant: "default" | "outlined" | "filled";
|
|
158
|
-
color: "
|
|
158
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
159
159
|
label: string;
|
|
160
160
|
placeholder: string;
|
|
161
161
|
disabled: boolean;
|
|
162
|
-
dense: boolean;
|
|
163
|
-
hint: string;
|
|
164
162
|
errorMessages: string[];
|
|
163
|
+
hint: string;
|
|
164
|
+
dense: boolean;
|
|
165
165
|
textProp: string;
|
|
166
166
|
keyProp: string;
|
|
167
167
|
itemDisabledProp: string;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
};
|
|
39
39
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
40
|
remove: (option: Option) => void;
|
|
41
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
42
42
|
variant: {
|
|
43
43
|
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
44
44
|
};
|
|
@@ -5,8 +5,10 @@ export interface Props {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
color?: ContextColorsType;
|
|
7
7
|
size?: 'sm' | 'lg';
|
|
8
|
+
label?: string;
|
|
8
9
|
hint?: string;
|
|
9
|
-
errorMessages?: string[];
|
|
10
|
+
errorMessages?: string | string[];
|
|
11
|
+
successMessages?: string | string[];
|
|
10
12
|
hideDetails?: boolean;
|
|
11
13
|
}
|
|
12
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
@@ -22,21 +24,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
24
|
type: globalThis.PropType<"sm" | "lg">;
|
|
23
25
|
default: undefined;
|
|
24
26
|
};
|
|
27
|
+
label: {
|
|
28
|
+
type: globalThis.PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
25
31
|
disabled: {
|
|
26
32
|
type: globalThis.PropType<boolean>;
|
|
27
33
|
default: boolean;
|
|
28
34
|
};
|
|
29
|
-
|
|
30
|
-
type: globalThis.PropType<
|
|
31
|
-
default:
|
|
35
|
+
errorMessages: {
|
|
36
|
+
type: globalThis.PropType<string | string[]>;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
successMessages: {
|
|
40
|
+
type: globalThis.PropType<string | string[]>;
|
|
41
|
+
default: () => never[];
|
|
32
42
|
};
|
|
33
43
|
hint: {
|
|
34
44
|
type: globalThis.PropType<string>;
|
|
35
45
|
default: string;
|
|
36
46
|
};
|
|
37
|
-
|
|
38
|
-
type: globalThis.PropType<
|
|
39
|
-
default:
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: globalThis.PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
40
50
|
};
|
|
41
51
|
hideDetails: {
|
|
42
52
|
type: globalThis.PropType<boolean>;
|
|
@@ -45,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
55
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
56
|
"update:modelValue": (modelValue: boolean) => void;
|
|
47
57
|
"update:indeterminate": (indeterminate: boolean) => void;
|
|
48
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
58
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
49
59
|
indeterminate: {
|
|
50
60
|
type: globalThis.PropType<boolean>;
|
|
51
61
|
default: boolean;
|
|
@@ -58,21 +68,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
68
|
type: globalThis.PropType<"sm" | "lg">;
|
|
59
69
|
default: undefined;
|
|
60
70
|
};
|
|
71
|
+
label: {
|
|
72
|
+
type: globalThis.PropType<string>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
61
75
|
disabled: {
|
|
62
76
|
type: globalThis.PropType<boolean>;
|
|
63
77
|
default: boolean;
|
|
64
78
|
};
|
|
65
|
-
|
|
66
|
-
type: globalThis.PropType<
|
|
67
|
-
default:
|
|
79
|
+
errorMessages: {
|
|
80
|
+
type: globalThis.PropType<string | string[]>;
|
|
81
|
+
default: () => never[];
|
|
82
|
+
};
|
|
83
|
+
successMessages: {
|
|
84
|
+
type: globalThis.PropType<string | string[]>;
|
|
85
|
+
default: () => never[];
|
|
68
86
|
};
|
|
69
87
|
hint: {
|
|
70
88
|
type: globalThis.PropType<string>;
|
|
71
89
|
default: string;
|
|
72
90
|
};
|
|
73
|
-
|
|
74
|
-
type: globalThis.PropType<
|
|
75
|
-
default:
|
|
91
|
+
modelValue: {
|
|
92
|
+
type: globalThis.PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
76
94
|
};
|
|
77
95
|
hideDetails: {
|
|
78
96
|
type: globalThis.PropType<boolean>;
|
|
@@ -85,10 +103,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
85
103
|
indeterminate: boolean;
|
|
86
104
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
87
105
|
size: "sm" | "lg";
|
|
106
|
+
label: string;
|
|
88
107
|
disabled: boolean;
|
|
89
|
-
|
|
108
|
+
errorMessages: string | string[];
|
|
109
|
+
successMessages: string | string[];
|
|
90
110
|
hint: string;
|
|
91
|
-
|
|
111
|
+
modelValue: boolean;
|
|
92
112
|
hideDetails: boolean;
|
|
93
113
|
}, {}>, {
|
|
94
114
|
default?(_: {}): any;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../../consts/colors';
|
|
2
|
-
export interface
|
|
2
|
+
export interface RadioProps {
|
|
3
3
|
value: string;
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
color?: ContextColorsType;
|
|
7
7
|
size?: 'sm' | 'lg';
|
|
8
|
+
label?: string;
|
|
8
9
|
hint?: string;
|
|
9
|
-
errorMessages?: string[];
|
|
10
|
+
errorMessages?: string | string[];
|
|
11
|
+
successMessages?: string | string[];
|
|
10
12
|
hideDetails?: boolean;
|
|
11
13
|
}
|
|
12
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
@@ -22,21 +24,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
24
|
type: globalThis.PropType<"sm" | "lg">;
|
|
23
25
|
default: undefined;
|
|
24
26
|
};
|
|
27
|
+
label: {
|
|
28
|
+
type: globalThis.PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
25
31
|
disabled: {
|
|
26
32
|
type: globalThis.PropType<boolean>;
|
|
27
33
|
default: boolean;
|
|
28
34
|
};
|
|
29
|
-
|
|
30
|
-
type: globalThis.PropType<string>;
|
|
31
|
-
default:
|
|
35
|
+
errorMessages: {
|
|
36
|
+
type: globalThis.PropType<string | string[]>;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
successMessages: {
|
|
40
|
+
type: globalThis.PropType<string | string[]>;
|
|
41
|
+
default: () => never[];
|
|
32
42
|
};
|
|
33
43
|
hint: {
|
|
34
44
|
type: globalThis.PropType<string>;
|
|
35
45
|
default: string;
|
|
36
46
|
};
|
|
37
|
-
|
|
38
|
-
type: globalThis.PropType<string
|
|
39
|
-
default:
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: globalThis.PropType<string>;
|
|
49
|
+
default: string;
|
|
40
50
|
};
|
|
41
51
|
hideDetails: {
|
|
42
52
|
type: globalThis.PropType<boolean>;
|
|
@@ -44,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
54
|
};
|
|
45
55
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
56
|
"update:modelValue": (modelValue: string) => void;
|
|
47
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
57
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
48
58
|
value: {
|
|
49
59
|
type: globalThis.PropType<string>;
|
|
50
60
|
required: true;
|
|
@@ -57,21 +67,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
57
67
|
type: globalThis.PropType<"sm" | "lg">;
|
|
58
68
|
default: undefined;
|
|
59
69
|
};
|
|
70
|
+
label: {
|
|
71
|
+
type: globalThis.PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
60
74
|
disabled: {
|
|
61
75
|
type: globalThis.PropType<boolean>;
|
|
62
76
|
default: boolean;
|
|
63
77
|
};
|
|
64
|
-
|
|
65
|
-
type: globalThis.PropType<string>;
|
|
66
|
-
default:
|
|
78
|
+
errorMessages: {
|
|
79
|
+
type: globalThis.PropType<string | string[]>;
|
|
80
|
+
default: () => never[];
|
|
81
|
+
};
|
|
82
|
+
successMessages: {
|
|
83
|
+
type: globalThis.PropType<string | string[]>;
|
|
84
|
+
default: () => never[];
|
|
67
85
|
};
|
|
68
86
|
hint: {
|
|
69
87
|
type: globalThis.PropType<string>;
|
|
70
88
|
default: string;
|
|
71
89
|
};
|
|
72
|
-
|
|
73
|
-
type: globalThis.PropType<string
|
|
74
|
-
default:
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: globalThis.PropType<string>;
|
|
92
|
+
default: string;
|
|
75
93
|
};
|
|
76
94
|
hideDetails: {
|
|
77
95
|
type: globalThis.PropType<boolean>;
|
|
@@ -82,10 +100,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
100
|
}, {
|
|
83
101
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
84
102
|
size: "sm" | "lg";
|
|
103
|
+
label: string;
|
|
85
104
|
disabled: boolean;
|
|
86
|
-
|
|
105
|
+
errorMessages: string | string[];
|
|
106
|
+
successMessages: string | string[];
|
|
87
107
|
hint: string;
|
|
88
|
-
|
|
108
|
+
modelValue: string;
|
|
89
109
|
hideDetails: boolean;
|
|
90
110
|
}, {}>, {
|
|
91
111
|
default?(_: {}): any;
|