@rotki/ui-library 0.1.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/LICENSE.md +659 -0
- package/README.md +170 -0
- package/dist/all-icons.d.ts +2495 -0
- package/dist/colors-01d79c7b.mjs +47 -0
- package/dist/components/alerts/Alert.vue.d.ts +84 -0
- package/dist/components/buttons/button/Button.vue.d.ts +97 -0
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +48 -0
- package/dist/components/chips/Chip.vue.d.ts +78 -0
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +184 -0
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +81 -0
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +101 -0
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +98 -0
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +61 -0
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +10 -0
- package/dist/components/forms/text-field/TextField.vue.d.ts +156 -0
- package/dist/components/icons/Icon.vue.d.ts +37 -0
- package/dist/components/logos/Logo.vue.d.ts +17 -0
- package/dist/components/progress/Progress.vue.d.ts +102 -0
- package/dist/components/steppers/FooterStepper.vue.d.ts +40 -0
- package/dist/components/steppers/Stepper.vue.d.ts +77 -0
- package/dist/components/steppers/StepperCustomIcon.vue.d.ts +21 -0
- package/dist/components/steppers/StepperIcon.vue.d.ts +21 -0
- package/dist/composables/icons.d.ts +5 -0
- package/dist/composables/theme.d.ts +6 -0
- package/dist/consts/colors.d.ts +8 -0
- package/dist/consts/typography.d.ts +5 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.es.js +13500 -0
- package/dist/style.css +1 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme.es.js +169 -0
- package/dist/types/icons.d.ts +4 -0
- package/dist/types/stepper.d.ts +20 -0
- package/dist/types/theme.d.ts +40 -0
- package/dist/utils/generate-id.d.ts +4 -0
- package/package.json +128 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
color?: ContextColorsType;
|
|
7
|
+
size?: 'sm' | 'lg';
|
|
8
|
+
hint?: string;
|
|
9
|
+
errorMessages?: string[];
|
|
10
|
+
hideDetails?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
13
|
+
indeterminate: {
|
|
14
|
+
type: globalThis.PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
color: {
|
|
18
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: globalThis.PropType<"sm" | "lg">;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: globalThis.PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: globalThis.PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
hint: {
|
|
34
|
+
type: globalThis.PropType<string>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
errorMessages: {
|
|
38
|
+
type: globalThis.PropType<string[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
hideDetails: {
|
|
42
|
+
type: globalThis.PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
47
|
+
"update:indeterminate": (indeterminate: boolean) => void;
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
indeterminate: {
|
|
50
|
+
type: globalThis.PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
size: {
|
|
58
|
+
type: globalThis.PropType<"sm" | "lg">;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
type: globalThis.PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: globalThis.PropType<boolean>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
hint: {
|
|
70
|
+
type: globalThis.PropType<string>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
errorMessages: {
|
|
74
|
+
type: globalThis.PropType<string[]>;
|
|
75
|
+
default: () => never[];
|
|
76
|
+
};
|
|
77
|
+
hideDetails: {
|
|
78
|
+
type: globalThis.PropType<boolean>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>> & {
|
|
82
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
83
|
+
"onUpdate:indeterminate"?: ((indeterminate: boolean) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
indeterminate: boolean;
|
|
86
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
87
|
+
size: "sm" | "lg";
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
modelValue: boolean;
|
|
90
|
+
hint: string;
|
|
91
|
+
errorMessages: string[];
|
|
92
|
+
hideDetails: boolean;
|
|
93
|
+
}, {}>, {
|
|
94
|
+
default?(_: {}): any;
|
|
95
|
+
}>;
|
|
96
|
+
export default _default;
|
|
97
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { type ContextColorsType } from '../../../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
value: string;
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
color?: ContextColorsType;
|
|
7
|
+
size?: 'sm' | 'lg';
|
|
8
|
+
hint?: string;
|
|
9
|
+
errorMessages?: string[];
|
|
10
|
+
hideDetails?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
13
|
+
value: {
|
|
14
|
+
type: globalThis.PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
color: {
|
|
18
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: globalThis.PropType<"sm" | "lg">;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: globalThis.PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: globalThis.PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
hint: {
|
|
34
|
+
type: globalThis.PropType<string>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
errorMessages: {
|
|
38
|
+
type: globalThis.PropType<string[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
hideDetails: {
|
|
42
|
+
type: globalThis.PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
"update:modelValue": (modelValue: string) => void;
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
value: {
|
|
49
|
+
type: globalThis.PropType<string>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
color: {
|
|
53
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
type: globalThis.PropType<"sm" | "lg">;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: globalThis.PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: globalThis.PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
hint: {
|
|
69
|
+
type: globalThis.PropType<string>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
errorMessages: {
|
|
73
|
+
type: globalThis.PropType<string[]>;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
hideDetails: {
|
|
77
|
+
type: globalThis.PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
81
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
84
|
+
size: "sm" | "lg";
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
modelValue: string;
|
|
87
|
+
hint: string;
|
|
88
|
+
errorMessages: string[];
|
|
89
|
+
hideDetails: boolean;
|
|
90
|
+
}, {}>, {
|
|
91
|
+
default?(_: {}): any;
|
|
92
|
+
}>;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
95
|
+
new (): {
|
|
96
|
+
$slots: S;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
inline?: boolean;
|
|
4
|
+
hint?: string;
|
|
5
|
+
errorMessages?: string[];
|
|
6
|
+
hideDetails?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: globalThis.PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
hint: {
|
|
14
|
+
type: globalThis.PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
errorMessages: {
|
|
18
|
+
type: globalThis.PropType<string[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
hideDetails: {
|
|
22
|
+
type: globalThis.PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
inline: {
|
|
26
|
+
type: globalThis.PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (value: string) => void;
|
|
31
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: globalThis.PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
hint: {
|
|
37
|
+
type: globalThis.PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
errorMessages: {
|
|
41
|
+
type: globalThis.PropType<string[]>;
|
|
42
|
+
default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
hideDetails: {
|
|
45
|
+
type: globalThis.PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
inline: {
|
|
49
|
+
type: globalThis.PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & {
|
|
53
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
modelValue: string;
|
|
56
|
+
hint: string;
|
|
57
|
+
errorMessages: string[];
|
|
58
|
+
hideDetails: boolean;
|
|
59
|
+
inline: boolean;
|
|
60
|
+
}, {}>;
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
prepend?(_: {}): any;
|
|
3
|
+
append?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
8
|
+
color?: 'grey' | ContextColorsType;
|
|
9
|
+
dense?: boolean;
|
|
10
|
+
hint?: string;
|
|
11
|
+
as?: string | object;
|
|
12
|
+
errorMessages?: string[];
|
|
13
|
+
hideDetails?: boolean;
|
|
14
|
+
prependIcon?: string;
|
|
15
|
+
appendIcon?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
18
|
+
variant: {
|
|
19
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
color: {
|
|
23
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
type: globalThis.PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
placeholder: {
|
|
31
|
+
type: globalThis.PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: globalThis.PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: globalThis.PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
dense: {
|
|
43
|
+
type: globalThis.PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
hint: {
|
|
47
|
+
type: globalThis.PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
as: {
|
|
51
|
+
type: globalThis.PropType<string | object>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
errorMessages: {
|
|
55
|
+
type: globalThis.PropType<string[]>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
hideDetails: {
|
|
59
|
+
type: globalThis.PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
prependIcon: {
|
|
63
|
+
type: globalThis.PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
appendIcon: {
|
|
67
|
+
type: globalThis.PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
"update:modelValue": (modelValue: string) => void;
|
|
72
|
+
"focus-input": (event: Event) => void;
|
|
73
|
+
blur: (event: Event) => void;
|
|
74
|
+
remove: (value: unknown) => void;
|
|
75
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
variant: {
|
|
77
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
color: {
|
|
81
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
label: {
|
|
85
|
+
type: globalThis.PropType<string>;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
placeholder: {
|
|
89
|
+
type: globalThis.PropType<string>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
type: globalThis.PropType<boolean>;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
modelValue: {
|
|
97
|
+
type: globalThis.PropType<string>;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
dense: {
|
|
101
|
+
type: globalThis.PropType<boolean>;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
hint: {
|
|
105
|
+
type: globalThis.PropType<string>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
as: {
|
|
109
|
+
type: globalThis.PropType<string | object>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
errorMessages: {
|
|
113
|
+
type: globalThis.PropType<string[]>;
|
|
114
|
+
default: () => never[];
|
|
115
|
+
};
|
|
116
|
+
hideDetails: {
|
|
117
|
+
type: globalThis.PropType<boolean>;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
prependIcon: {
|
|
121
|
+
type: globalThis.PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
appendIcon: {
|
|
125
|
+
type: globalThis.PropType<string>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
130
|
+
onRemove?: ((value: unknown) => any) | undefined;
|
|
131
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
132
|
+
"onFocus-input"?: ((event: Event) => any) | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
variant: "default" | "outlined" | "filled";
|
|
135
|
+
color: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
136
|
+
label: string;
|
|
137
|
+
placeholder: string;
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
modelValue: string;
|
|
140
|
+
dense: boolean;
|
|
141
|
+
hint: string;
|
|
142
|
+
as: string | object;
|
|
143
|
+
errorMessages: string[];
|
|
144
|
+
hideDetails: boolean;
|
|
145
|
+
prependIcon: string;
|
|
146
|
+
appendIcon: string;
|
|
147
|
+
}, {}>, {
|
|
148
|
+
prepend?(_: {}): any;
|
|
149
|
+
append?(_: {}): any;
|
|
150
|
+
}>;
|
|
151
|
+
export default _default;
|
|
152
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
153
|
+
new (): {
|
|
154
|
+
$slots: S;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ContextColorsType } from '../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
name: string;
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: ContextColorsType;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
color: {
|
|
9
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: globalThis.PropType<string | number>;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: globalThis.PropType<string>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
color: {
|
|
22
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
type: globalThis.PropType<string | number>;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
name: {
|
|
30
|
+
type: globalThis.PropType<string>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
35
|
+
size: string | number;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
text?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
text: {
|
|
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<import("vue").ExtractPropTypes<{
|
|
10
|
+
text: {
|
|
11
|
+
type: globalThis.PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>>, {
|
|
15
|
+
text: boolean;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type ContextColorsType } from '../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* in percentage value, required when variant === determinate or buffer
|
|
5
|
+
* @example - 0 <= value <= 100
|
|
6
|
+
*/
|
|
7
|
+
value?: number;
|
|
8
|
+
/**
|
|
9
|
+
* in percentage value, required when variant === buffer
|
|
10
|
+
* @example - 0 <= value <= 100
|
|
11
|
+
*/
|
|
12
|
+
bufferValue?: number;
|
|
13
|
+
variant?: 'determinate' | 'indeterminate' | 'buffer';
|
|
14
|
+
color?: ContextColorsType | 'inherit';
|
|
15
|
+
circular?: boolean;
|
|
16
|
+
showLabel?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the stroke thickness in pixels
|
|
19
|
+
*/
|
|
20
|
+
thickness?: number | string;
|
|
21
|
+
/**
|
|
22
|
+
* only used for circular progress
|
|
23
|
+
*/
|
|
24
|
+
size?: number | string;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import("vue").DefineComponent<{
|
|
27
|
+
value: {
|
|
28
|
+
type: globalThis.PropType<number>;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
bufferValue: {
|
|
32
|
+
type: globalThis.PropType<number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: globalThis.PropType<"determinate" | "indeterminate" | "buffer">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
color: {
|
|
40
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "inherit">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
circular: {
|
|
44
|
+
type: globalThis.PropType<boolean>;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
showLabel: {
|
|
48
|
+
type: globalThis.PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
thickness: {
|
|
52
|
+
type: globalThis.PropType<string | number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
type: globalThis.PropType<string | number>;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
value: {
|
|
61
|
+
type: globalThis.PropType<number>;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
bufferValue: {
|
|
65
|
+
type: globalThis.PropType<number>;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
variant: {
|
|
69
|
+
type: globalThis.PropType<"determinate" | "indeterminate" | "buffer">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
color: {
|
|
73
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "inherit">;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
circular: {
|
|
77
|
+
type: globalThis.PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
showLabel: {
|
|
81
|
+
type: globalThis.PropType<boolean>;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
thickness: {
|
|
85
|
+
type: globalThis.PropType<string | number>;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
size: {
|
|
89
|
+
type: globalThis.PropType<string | number>;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
}>>, {
|
|
93
|
+
value: number;
|
|
94
|
+
bufferValue: number;
|
|
95
|
+
variant: "determinate" | "indeterminate" | "buffer";
|
|
96
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "inherit";
|
|
97
|
+
circular: boolean;
|
|
98
|
+
showLabel: boolean;
|
|
99
|
+
thickness: string | number;
|
|
100
|
+
size: string | number;
|
|
101
|
+
}, {}>;
|
|
102
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
pages: number;
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
variant?: 'numeric' | 'bullet' | 'progress' | 'pill';
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
variant: {
|
|
8
|
+
type: globalThis.PropType<"progress" | "numeric" | "bullet" | "pill">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: globalThis.PropType<number>;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
pages: {
|
|
16
|
+
type: globalThis.PropType<number>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (modelValue: number) => void;
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
variant: {
|
|
23
|
+
type: globalThis.PropType<"progress" | "numeric" | "bullet" | "pill">;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: globalThis.PropType<number>;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
pages: {
|
|
31
|
+
type: globalThis.PropType<number>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
variant: "progress" | "numeric" | "bullet" | "pill";
|
|
38
|
+
modelValue: number;
|
|
39
|
+
}, {}>;
|
|
40
|
+
export default _default;
|