@rotki/ui-library 0.5.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-icons.d.ts +82 -21
- package/dist/all-icons.es.js +4996 -4752
- package/dist/components/alerts/Alert.vue.d.ts +1 -1
- package/dist/components/buttons/button/Button.vue.d.ts +39 -95
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +29 -41
- 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 +1 -1
- 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 +160 -1
- 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 +66 -34
- 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 +22 -18
- package/dist/components/index.es.js +29 -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 +1 -1
- 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 +8 -1
- package/dist/components/tables/TablePagination.vue.d.ts +1 -1
- package/dist/components/tabs/tab/Tab.vue.d.ts +6 -2
- 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/index.es.js +2 -2
- package/dist/composables/popper.d.ts +1 -1
- package/dist/index-Q2a5R3OH.js +6090 -0
- package/dist/{index-393a0e94.js → index-W2poXQa4.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +2629 -2563
- 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 +44 -42
- package/dist/index-c62f6196.js +0 -5605
- /package/dist/{colors-01d79c7b.js → colors-ikihApJv.js} +0 -0
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
export interface Props {
|
|
2
|
+
export interface Props<T = undefined> {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
color?: ContextColorsType;
|
|
@@ -7,101 +7,45 @@ export interface Props {
|
|
|
7
7
|
elevation?: number | string | null;
|
|
8
8
|
variant?: 'default' | 'outlined' | 'text' | 'fab';
|
|
9
9
|
icon?: boolean;
|
|
10
|
+
active?: boolean;
|
|
10
11
|
size?: 'sm' | 'lg';
|
|
11
12
|
tag?: 'button' | 'a';
|
|
13
|
+
type?: 'button' | 'submit';
|
|
14
|
+
value?: T;
|
|
12
15
|
}
|
|
13
|
-
declare const _default:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
type: globalThis.PropType<"a" | "button">;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
-
variant: {
|
|
52
|
-
type: globalThis.PropType<"default" | "text" | "outlined" | "fab">;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
color: {
|
|
56
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
57
|
-
default: undefined;
|
|
58
|
-
};
|
|
59
|
-
size: {
|
|
60
|
-
type: globalThis.PropType<"sm" | "lg">;
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
|
-
elevation: {
|
|
64
|
-
type: globalThis.PropType<string | number | null>;
|
|
65
|
-
default: null;
|
|
66
|
-
};
|
|
67
|
-
disabled: {
|
|
68
|
-
type: globalThis.PropType<boolean>;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
loading: {
|
|
72
|
-
type: globalThis.PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
rounded: {
|
|
76
|
-
type: globalThis.PropType<boolean>;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
icon: {
|
|
80
|
-
type: globalThis.PropType<boolean>;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
tag: {
|
|
84
|
-
type: globalThis.PropType<"a" | "button">;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
}>>, {
|
|
88
|
-
variant: "default" | "text" | "outlined" | "fab";
|
|
89
|
-
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
90
|
-
size: "sm" | "lg";
|
|
91
|
-
elevation: string | number | null;
|
|
92
|
-
disabled: boolean;
|
|
93
|
-
loading: boolean;
|
|
94
|
-
rounded: boolean;
|
|
95
|
-
icon: boolean;
|
|
96
|
-
tag: "a" | "button";
|
|
97
|
-
}, {}>, {
|
|
98
|
-
prepend?(_: {}): any;
|
|
99
|
-
default?(_: {}): any;
|
|
100
|
-
append?(_: {}): any;
|
|
101
|
-
}>;
|
|
102
|
-
export default _default;
|
|
103
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
-
new (): {
|
|
105
|
-
$slots: S;
|
|
106
|
-
};
|
|
16
|
+
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
17
|
+
props: Props<T>;
|
|
18
|
+
expose(exposed: {}): void;
|
|
19
|
+
attrs: any;
|
|
20
|
+
slots: {
|
|
21
|
+
prepend?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
append?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
26
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
27
|
+
props: Props<T>;
|
|
28
|
+
expose(exposed: {}): void;
|
|
29
|
+
attrs: any;
|
|
30
|
+
slots: {
|
|
31
|
+
prepend?(_: {}): any;
|
|
32
|
+
default?(_: {}): any;
|
|
33
|
+
append?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
36
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}> & {
|
|
39
|
+
__ctx?: {
|
|
40
|
+
props: Props<T>;
|
|
41
|
+
expose(exposed: {}): void;
|
|
42
|
+
attrs: any;
|
|
43
|
+
slots: {
|
|
44
|
+
prepend?(_: {}): any;
|
|
45
|
+
default?(_: {}): any;
|
|
46
|
+
append?(_: {}): any;
|
|
47
|
+
};
|
|
48
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
49
|
+
} | undefined;
|
|
107
50
|
};
|
|
51
|
+
export default _default;
|
|
@@ -1,48 +1,36 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
export interface Props {
|
|
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';
|
|
8
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
9
|
+
required?: boolean;
|
|
10
|
+
modelValue?: T | T[];
|
|
11
|
+
disabled?: boolean;
|
|
7
12
|
}
|
|
8
|
-
declare const _default: import("vue").
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: globalThis.PropType<"sm" | "lg">;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
|
-
vertical: {
|
|
39
|
-
type: globalThis.PropType<boolean>;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
}>>, {
|
|
43
|
-
variant: "default" | "text" | "outlined";
|
|
44
|
-
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
45
|
-
size: "sm" | "lg";
|
|
46
|
-
vertical: boolean;
|
|
47
|
-
}, {}>;
|
|
13
|
+
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
14
|
+
props: Props<T>;
|
|
15
|
+
expose(exposed: {}): void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {};
|
|
18
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
19
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
20
|
+
props: Props<T>;
|
|
21
|
+
expose(exposed: {}): void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: {};
|
|
24
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
25
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}> & {
|
|
28
|
+
__ctx?: {
|
|
29
|
+
props: Props<T>;
|
|
30
|
+
expose(exposed: {}): void;
|
|
31
|
+
attrs: any;
|
|
32
|
+
slots: {};
|
|
33
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
34
|
+
} | undefined;
|
|
35
|
+
};
|
|
48
36
|
export default _default;
|
|
@@ -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;
|
|
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
};
|
|
35
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
remove: () => void;
|
|
37
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
38
|
variant: {
|
|
39
39
|
type: globalThis.PropType<"outlined" | "filled">;
|
|
40
40
|
default: string;
|
|
@@ -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;
|