@rotki/ui-library 0.14.0 → 0.16.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/RuiColorPicker.vue_vue_type_script_setup_true_lang-ByCIjyQ_.js +8945 -0
- package/dist/breakpoint-DAvEs_TA.js +37 -0
- package/dist/components/alerts/{Alert.vue.d.ts → RuiAlert.vue.d.ts} +10 -10
- package/dist/components/buttons/button/{Button.vue.d.ts → RuiButton.vue.d.ts} +5 -5
- package/dist/components/buttons/button-group/{ButtonGroup.vue.d.ts → RuiButtonGroup.vue.d.ts} +4 -4
- package/dist/components/cards/{Card.vue.d.ts → RuiCard.vue.d.ts} +12 -12
- package/dist/components/chips/{Chip.vue.d.ts → RuiChip.vue.d.ts} +19 -19
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +23 -0
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +12 -0
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +12 -0
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +13 -0
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +21 -0
- package/dist/components/color-picker/utils.d.ts +44 -0
- package/dist/components/forms/auto-complete/{AutoComplete.vue.d.ts → RuiAutoComplete.vue.d.ts} +1 -1
- package/dist/components/forms/auto-complete/{AutoCompleteSelection.vue.d.ts → RuiAutoCompleteSelection.vue.d.ts} +2 -2
- package/dist/components/forms/radio-button/radio-group/{RadioGroup.vue.d.ts → RuiRadioGroup.vue.d.ts} +10 -10
- package/dist/components/forms/revealable-text-field/{RevealableTextField.vue.d.ts → RuiRevealableTextField.vue.d.ts} +37 -37
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +153 -0
- package/dist/components/forms/slider/{Slider.vue.d.ts → RuiSlider.vue.d.ts} +19 -19
- package/dist/components/forms/text-area/{TextArea.vue.d.ts → RuiTextArea.vue.d.ts} +37 -37
- package/dist/components/forms/text-field/{TextField.vue.d.ts → RuiTextField.vue.d.ts} +38 -38
- package/dist/components/icons/{Icon.vue.d.ts → RuiIcon.vue.d.ts} +9 -9
- package/dist/components/index.d.ts +41 -39
- package/dist/components/index.es.js +36 -34
- package/dist/components/loaders/{SkeletonBase.vue.d.ts → RuiSkeletonBase.vue.d.ts} +3 -3
- package/dist/components/loaders/{Skeleton.vue.d.ts → RuiSkeletonLoader.vue.d.ts} +7 -7
- package/dist/components/logos/RuiLogo.vue.d.ts +65 -0
- package/dist/components/overlays/badge/{Badge.vue.d.ts → RuiBadge.vue.d.ts} +19 -19
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +46 -0
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +87 -0
- package/dist/components/overlays/menu/{Menu.vue.d.ts → RuiMenu.vue.d.ts} +90 -7
- package/dist/components/steppers/{FooterStepper.vue.d.ts → RuiFooterStepper.vue.d.ts} +19 -9
- package/dist/components/tables/{DataTable.vue.d.ts → RuiDataTable.vue.d.ts} +13 -9
- package/dist/components/tables/{ExpandButton.vue.d.ts → RuiExpandButton.vue.d.ts} +1 -1
- package/dist/components/tables/{TableHead.vue.d.ts → RuiTableHead.vue.d.ts} +16 -4
- package/dist/composables/dropdown-menu.d.ts +40 -0
- package/dist/composables/index.es.js +5 -81
- package/dist/consts/forms/auto-complete/index.d.ts +3 -3
- package/dist/consts/typography.d.ts +1 -2
- package/dist/index-RsNqSz2V.js +177 -0
- package/dist/index.es.js +2787 -2785
- package/dist/style.css +1 -1
- package/dist/theme/index.es.js +1 -1
- package/dist/utils/assert.d.ts +1 -0
- package/dist/utils/helpers.d.ts +7 -0
- package/package.json +45 -49
- package/dist/components/forms/select/MenuSelect.vue.d.ts +0 -62
- package/dist/components/logos/Logo.vue.d.ts +0 -27
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +0 -60
- package/dist/index-4pX97qAk.js +0 -8090
- package/dist/theme-DT8UjYf9.js +0 -124
- package/dist/{colors-ikihApJv.js → colors-D563Ic3q.js} +0 -0
- package/dist/components/accordions/accordion/{Accordion.vue.d.ts → RuiAccordion.vue.d.ts} +0 -0
- package/dist/components/accordions/accordions/{Accordions.vue.d.ts → RuiAccordions.vue.d.ts} +0 -0
- package/dist/components/cards/{CardHeader.vue.d.ts → RuiCardHeader.vue.d.ts} +0 -0
- package/dist/components/divider/{Divider.vue.d.ts → RuiDivider.vue.d.ts} +0 -0
- package/dist/components/forms/checkbox/{Checkbox.vue.d.ts → RuiCheckbox.vue.d.ts} +18 -18
- package/dist/components/forms/radio-button/radio/{Radio.vue.d.ts → RuiRadio.vue.d.ts} +17 -17
- package/dist/components/forms/select/{SimpleSelect.vue.d.ts → RuiSimpleSelect.vue.d.ts} +8 -8
- package/dist/components/forms/switch/{Switch.vue.d.ts → RuiSwitch.vue.d.ts} +9 -9
- package/dist/components/helpers/{FormTextDetail.vue.d.ts → RuiFormTextDetail.vue.d.ts} +0 -0
- package/dist/components/overlays/tooltip/{Tooltip.vue.d.ts → RuiTooltip.vue.d.ts} +0 -0
- package/dist/components/progress/{Progress.vue.d.ts → RuiProgress.vue.d.ts} +9 -9
- package/dist/components/steppers/{Stepper.vue.d.ts → RuiStepper.vue.d.ts} +9 -9
- package/dist/components/steppers/{StepperCustomIcon.vue.d.ts → RuiStepperCustomIcon.vue.d.ts} +0 -0
- package/dist/components/steppers/{StepperIcon.vue.d.ts → RuiStepperIcon.vue.d.ts} +0 -0
- package/dist/components/tables/{TablePagination.vue.d.ts → RuiTablePagination.vue.d.ts} +8 -8
- package/dist/components/tabs/tab/{Tab.vue.d.ts → RuiTab.vue.d.ts} +18 -18
- package/dist/components/tabs/tab-item/{TabItem.vue.d.ts → RuiTabItem.vue.d.ts} +8 -8
- package/dist/components/tabs/tab-items/{TabItems.vue.d.ts → RuiTabItems.vue.d.ts} +0 -0
- package/dist/components/tabs/tabs/{Tabs.vue.d.ts → RuiTabs.vue.d.ts} +16 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TextFieldProps } from '../../../components/forms/text-field/
|
|
1
|
+
import { type TextFieldProps } from '../../../components/forms/text-field/RuiTextField.vue';
|
|
2
2
|
export interface Props extends TextFieldProps {
|
|
3
3
|
}
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
@@ -6,10 +6,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
6
6
|
type: globalThis.PropType<boolean>;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
variant: {
|
|
10
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
9
|
color: {
|
|
14
10
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
15
11
|
default: undefined;
|
|
@@ -22,10 +18,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
18
|
type: globalThis.PropType<string>;
|
|
23
19
|
default: string;
|
|
24
20
|
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: globalThis.PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
variant: {
|
|
26
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
25
29
|
disabled: {
|
|
26
30
|
type: globalThis.PropType<boolean>;
|
|
27
31
|
default: boolean;
|
|
28
32
|
};
|
|
33
|
+
dense: {
|
|
34
|
+
type: globalThis.PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
textColor: {
|
|
38
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
29
41
|
errorMessages: {
|
|
30
42
|
type: globalThis.PropType<string | string[]>;
|
|
31
43
|
default: () => never[];
|
|
@@ -38,18 +50,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
50
|
type: globalThis.PropType<string>;
|
|
39
51
|
default: string;
|
|
40
52
|
};
|
|
41
|
-
modelValue: {
|
|
42
|
-
type: globalThis.PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
textColor: {
|
|
46
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
47
|
-
default: undefined;
|
|
48
|
-
};
|
|
49
|
-
dense: {
|
|
50
|
-
type: globalThis.PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
53
|
as: {
|
|
54
54
|
type: globalThis.PropType<string | object>;
|
|
55
55
|
default: undefined;
|
|
@@ -75,10 +75,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
75
|
type: globalThis.PropType<boolean>;
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
|
-
variant: {
|
|
79
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
78
|
color: {
|
|
83
79
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
84
80
|
default: undefined;
|
|
@@ -91,10 +87,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
91
87
|
type: globalThis.PropType<string>;
|
|
92
88
|
default: string;
|
|
93
89
|
};
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: globalThis.PropType<string>;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
variant: {
|
|
95
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
94
98
|
disabled: {
|
|
95
99
|
type: globalThis.PropType<boolean>;
|
|
96
100
|
default: boolean;
|
|
97
101
|
};
|
|
102
|
+
dense: {
|
|
103
|
+
type: globalThis.PropType<boolean>;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
textColor: {
|
|
107
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
98
110
|
errorMessages: {
|
|
99
111
|
type: globalThis.PropType<string | string[]>;
|
|
100
112
|
default: () => never[];
|
|
@@ -107,18 +119,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
119
|
type: globalThis.PropType<string>;
|
|
108
120
|
default: string;
|
|
109
121
|
};
|
|
110
|
-
modelValue: {
|
|
111
|
-
type: globalThis.PropType<string>;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
textColor: {
|
|
115
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
|
-
dense: {
|
|
119
|
-
type: globalThis.PropType<boolean>;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
122
|
as: {
|
|
123
123
|
type: globalThis.PropType<string | object>;
|
|
124
124
|
default: undefined;
|
|
@@ -141,17 +141,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
141
141
|
};
|
|
142
142
|
}>>, {
|
|
143
143
|
readonly: boolean;
|
|
144
|
-
variant: "default" | "outlined" | "filled";
|
|
145
144
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
146
145
|
label: string;
|
|
147
146
|
placeholder: string;
|
|
147
|
+
modelValue: string;
|
|
148
|
+
variant: "default" | "outlined" | "filled";
|
|
148
149
|
disabled: boolean;
|
|
150
|
+
dense: boolean;
|
|
151
|
+
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
149
152
|
errorMessages: string | string[];
|
|
150
153
|
successMessages: string | string[];
|
|
151
154
|
hint: string;
|
|
152
|
-
modelValue: string;
|
|
153
|
-
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
154
|
-
dense: boolean;
|
|
155
155
|
as: string | object;
|
|
156
156
|
hideDetails: boolean;
|
|
157
157
|
prependIcon: import("../../..").RuiIcons;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { type MenuProps } from '../../../components/overlays/menu/RuiMenu.vue';
|
|
2
|
+
export interface Props<T, K extends keyof T = keyof T> {
|
|
3
|
+
options: T[];
|
|
4
|
+
keyAttr?: K;
|
|
5
|
+
textAttr?: keyof T;
|
|
6
|
+
modelValue?: T extends string ? T : T[K];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readOnly?: boolean;
|
|
9
|
+
dense?: boolean;
|
|
10
|
+
clearable?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
menuOptions?: MenuProps;
|
|
13
|
+
labelClass?: string;
|
|
14
|
+
menuClass?: string;
|
|
15
|
+
optionClass?: string;
|
|
16
|
+
prependWidth?: number;
|
|
17
|
+
appendWidth?: number;
|
|
18
|
+
itemHeight?: number;
|
|
19
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
20
|
+
hint?: string;
|
|
21
|
+
errorMessages?: string | string[];
|
|
22
|
+
successMessages?: string | string[];
|
|
23
|
+
showDetails?: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: <T extends string | object, K extends keyof T = keyof T>(__VLS_props: Props<T, K> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
26
|
+
props: Props<T, K>;
|
|
27
|
+
expose(exposed: {}): void;
|
|
28
|
+
attrs: any;
|
|
29
|
+
slots: {
|
|
30
|
+
activator?(_: {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
value: T | undefined;
|
|
33
|
+
variant: "default" | "outlined" | "filled";
|
|
34
|
+
readOnly: boolean;
|
|
35
|
+
on: any;
|
|
36
|
+
open: any;
|
|
37
|
+
hasError: any;
|
|
38
|
+
hasSuccess: any;
|
|
39
|
+
}): any;
|
|
40
|
+
"activator.label"?(_: {
|
|
41
|
+
value: T | undefined;
|
|
42
|
+
}): any;
|
|
43
|
+
"activator.prepend"?(_: {
|
|
44
|
+
value: T;
|
|
45
|
+
}): any;
|
|
46
|
+
"activator.text"?(_: {
|
|
47
|
+
value: T;
|
|
48
|
+
}): any;
|
|
49
|
+
"item.prepend"?(_: {
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
option: T;
|
|
52
|
+
active: boolean;
|
|
53
|
+
}): any;
|
|
54
|
+
"item.text"?(_: {
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
option: T;
|
|
57
|
+
active: boolean;
|
|
58
|
+
}): any;
|
|
59
|
+
"item.append"?(_: {
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
option: T;
|
|
62
|
+
active: boolean;
|
|
63
|
+
}): any;
|
|
64
|
+
};
|
|
65
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
66
|
+
}, "slots" | "attrs" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
67
|
+
props: Props<T, K>;
|
|
68
|
+
expose(exposed: {}): void;
|
|
69
|
+
attrs: any;
|
|
70
|
+
slots: {
|
|
71
|
+
activator?(_: {
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
value: T | undefined;
|
|
74
|
+
variant: "default" | "outlined" | "filled";
|
|
75
|
+
readOnly: boolean;
|
|
76
|
+
on: any;
|
|
77
|
+
open: any;
|
|
78
|
+
hasError: any;
|
|
79
|
+
hasSuccess: any;
|
|
80
|
+
}): any;
|
|
81
|
+
"activator.label"?(_: {
|
|
82
|
+
value: T | undefined;
|
|
83
|
+
}): any;
|
|
84
|
+
"activator.prepend"?(_: {
|
|
85
|
+
value: T;
|
|
86
|
+
}): any;
|
|
87
|
+
"activator.text"?(_: {
|
|
88
|
+
value: T;
|
|
89
|
+
}): any;
|
|
90
|
+
"item.prepend"?(_: {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
option: T;
|
|
93
|
+
active: boolean;
|
|
94
|
+
}): any;
|
|
95
|
+
"item.text"?(_: {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
option: T;
|
|
98
|
+
active: boolean;
|
|
99
|
+
}): any;
|
|
100
|
+
"item.append"?(_: {
|
|
101
|
+
disabled: boolean;
|
|
102
|
+
option: T;
|
|
103
|
+
active: boolean;
|
|
104
|
+
}): any;
|
|
105
|
+
};
|
|
106
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
107
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
}> & {
|
|
110
|
+
__ctx?: {
|
|
111
|
+
props: Props<T, K>;
|
|
112
|
+
expose(exposed: {}): void;
|
|
113
|
+
attrs: any;
|
|
114
|
+
slots: {
|
|
115
|
+
activator?(_: {
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
value: T | undefined;
|
|
118
|
+
variant: "default" | "outlined" | "filled";
|
|
119
|
+
readOnly: boolean;
|
|
120
|
+
on: any;
|
|
121
|
+
open: any;
|
|
122
|
+
hasError: any;
|
|
123
|
+
hasSuccess: any;
|
|
124
|
+
}): any;
|
|
125
|
+
"activator.label"?(_: {
|
|
126
|
+
value: T | undefined;
|
|
127
|
+
}): any;
|
|
128
|
+
"activator.prepend"?(_: {
|
|
129
|
+
value: T;
|
|
130
|
+
}): any;
|
|
131
|
+
"activator.text"?(_: {
|
|
132
|
+
value: T;
|
|
133
|
+
}): any;
|
|
134
|
+
"item.prepend"?(_: {
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
option: T;
|
|
137
|
+
active: boolean;
|
|
138
|
+
}): any;
|
|
139
|
+
"item.text"?(_: {
|
|
140
|
+
disabled: boolean;
|
|
141
|
+
option: T;
|
|
142
|
+
active: boolean;
|
|
143
|
+
}): any;
|
|
144
|
+
"item.append"?(_: {
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
option: T;
|
|
147
|
+
active: boolean;
|
|
148
|
+
}): any;
|
|
149
|
+
};
|
|
150
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
151
|
+
} | undefined;
|
|
152
|
+
};
|
|
153
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContextColorsType } from '
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
2
|
export interface Props {
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
min?: number;
|
|
@@ -20,10 +20,6 @@ export interface Props {
|
|
|
20
20
|
tickClass?: string;
|
|
21
21
|
}
|
|
22
22
|
declare const _default: import("vue").DefineComponent<{
|
|
23
|
-
vertical: {
|
|
24
|
-
type: globalThis.PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
23
|
color: {
|
|
28
24
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
29
25
|
default: string;
|
|
@@ -40,10 +36,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
36
|
type: globalThis.PropType<number>;
|
|
41
37
|
default: number;
|
|
42
38
|
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: globalThis.PropType<number>;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
43
|
disabled: {
|
|
44
44
|
type: globalThis.PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
vertical: {
|
|
48
|
+
type: globalThis.PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
47
51
|
errorMessages: {
|
|
48
52
|
type: globalThis.PropType<string | string[]>;
|
|
49
53
|
default: () => never[];
|
|
@@ -56,10 +60,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
type: globalThis.PropType<string>;
|
|
57
61
|
default: string;
|
|
58
62
|
};
|
|
59
|
-
modelValue: {
|
|
60
|
-
type: globalThis.PropType<number>;
|
|
61
|
-
default: number;
|
|
62
|
-
};
|
|
63
63
|
hideDetails: {
|
|
64
64
|
type: globalThis.PropType<boolean>;
|
|
65
65
|
default: boolean;
|
|
@@ -95,10 +95,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
96
96
|
"update:model-value": (value: number) => void;
|
|
97
97
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
98
|
-
vertical: {
|
|
99
|
-
type: globalThis.PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
98
|
color: {
|
|
103
99
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
104
100
|
default: string;
|
|
@@ -115,10 +111,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
111
|
type: globalThis.PropType<number>;
|
|
116
112
|
default: number;
|
|
117
113
|
};
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: globalThis.PropType<number>;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
118
|
disabled: {
|
|
119
119
|
type: globalThis.PropType<boolean>;
|
|
120
120
|
default: boolean;
|
|
121
121
|
};
|
|
122
|
+
vertical: {
|
|
123
|
+
type: globalThis.PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
122
126
|
errorMessages: {
|
|
123
127
|
type: globalThis.PropType<string | string[]>;
|
|
124
128
|
default: () => never[];
|
|
@@ -131,10 +135,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
135
|
type: globalThis.PropType<string>;
|
|
132
136
|
default: string;
|
|
133
137
|
};
|
|
134
|
-
modelValue: {
|
|
135
|
-
type: globalThis.PropType<number>;
|
|
136
|
-
default: number;
|
|
137
|
-
};
|
|
138
138
|
hideDetails: {
|
|
139
139
|
type: globalThis.PropType<boolean>;
|
|
140
140
|
default: boolean;
|
|
@@ -170,16 +170,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
170
|
}>> & {
|
|
171
171
|
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
172
172
|
}, {
|
|
173
|
-
vertical: boolean;
|
|
174
173
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
175
174
|
label: string;
|
|
176
175
|
max: number;
|
|
177
176
|
min: number;
|
|
177
|
+
modelValue: number;
|
|
178
178
|
disabled: boolean;
|
|
179
|
+
vertical: boolean;
|
|
179
180
|
errorMessages: string | string[];
|
|
180
181
|
successMessages: string | string[];
|
|
181
182
|
hint: string;
|
|
182
|
-
modelValue: number;
|
|
183
183
|
hideDetails: boolean;
|
|
184
184
|
step: number;
|
|
185
185
|
showThumbLabel: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
import type { RuiIcons } from '
|
|
2
|
+
import type { RuiIcons } from '../../../icons';
|
|
3
3
|
export interface Props {
|
|
4
4
|
value?: string;
|
|
5
5
|
label?: string;
|
|
@@ -24,18 +24,10 @@ export interface Props {
|
|
|
24
24
|
autoGrow?: boolean;
|
|
25
25
|
}
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
27
|
-
value: {
|
|
28
|
-
type: globalThis.PropType<string>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
27
|
readonly: {
|
|
32
28
|
type: globalThis.PropType<boolean>;
|
|
33
29
|
default: boolean;
|
|
34
30
|
};
|
|
35
|
-
variant: {
|
|
36
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
31
|
color: {
|
|
40
32
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
41
33
|
default: undefined;
|
|
@@ -48,10 +40,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
40
|
type: globalThis.PropType<string>;
|
|
49
41
|
default: string;
|
|
50
42
|
};
|
|
43
|
+
value: {
|
|
44
|
+
type: globalThis.PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
variant: {
|
|
48
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
51
|
disabled: {
|
|
52
52
|
type: globalThis.PropType<boolean>;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
dense: {
|
|
56
|
+
type: globalThis.PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
textColor: {
|
|
60
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
55
63
|
errorMessages: {
|
|
56
64
|
type: globalThis.PropType<string | string[]>;
|
|
57
65
|
default: () => never[];
|
|
@@ -64,14 +72,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
72
|
type: globalThis.PropType<string>;
|
|
65
73
|
default: string;
|
|
66
74
|
};
|
|
67
|
-
textColor: {
|
|
68
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
69
|
-
default: undefined;
|
|
70
|
-
};
|
|
71
|
-
dense: {
|
|
72
|
-
type: globalThis.PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
75
|
hideDetails: {
|
|
76
76
|
type: globalThis.PropType<boolean>;
|
|
77
77
|
default: boolean;
|
|
@@ -112,18 +112,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
112
112
|
input: (modelValue: string) => void;
|
|
113
113
|
"click:clear": () => void;
|
|
114
114
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
115
|
-
value: {
|
|
116
|
-
type: globalThis.PropType<string>;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
115
|
readonly: {
|
|
120
116
|
type: globalThis.PropType<boolean>;
|
|
121
117
|
default: boolean;
|
|
122
118
|
};
|
|
123
|
-
variant: {
|
|
124
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
119
|
color: {
|
|
128
120
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
129
121
|
default: undefined;
|
|
@@ -136,10 +128,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
136
128
|
type: globalThis.PropType<string>;
|
|
137
129
|
default: string;
|
|
138
130
|
};
|
|
131
|
+
value: {
|
|
132
|
+
type: globalThis.PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
variant: {
|
|
136
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
139
|
disabled: {
|
|
140
140
|
type: globalThis.PropType<boolean>;
|
|
141
141
|
default: boolean;
|
|
142
142
|
};
|
|
143
|
+
dense: {
|
|
144
|
+
type: globalThis.PropType<boolean>;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
textColor: {
|
|
148
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
143
151
|
errorMessages: {
|
|
144
152
|
type: globalThis.PropType<string | string[]>;
|
|
145
153
|
default: () => never[];
|
|
@@ -152,14 +160,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
152
160
|
type: globalThis.PropType<string>;
|
|
153
161
|
default: string;
|
|
154
162
|
};
|
|
155
|
-
textColor: {
|
|
156
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
157
|
-
default: undefined;
|
|
158
|
-
};
|
|
159
|
-
dense: {
|
|
160
|
-
type: globalThis.PropType<boolean>;
|
|
161
|
-
default: boolean;
|
|
162
|
-
};
|
|
163
163
|
hideDetails: {
|
|
164
164
|
type: globalThis.PropType<boolean>;
|
|
165
165
|
default: boolean;
|
|
@@ -200,18 +200,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
200
200
|
onInput?: ((modelValue: string) => any) | undefined;
|
|
201
201
|
"onClick:clear"?: (() => any) | undefined;
|
|
202
202
|
}, {
|
|
203
|
-
value: string;
|
|
204
203
|
readonly: boolean;
|
|
205
|
-
variant: "default" | "outlined" | "filled";
|
|
206
204
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
207
205
|
label: string;
|
|
208
206
|
placeholder: string;
|
|
207
|
+
value: string;
|
|
208
|
+
variant: "default" | "outlined" | "filled";
|
|
209
209
|
disabled: boolean;
|
|
210
|
+
dense: boolean;
|
|
211
|
+
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
210
212
|
errorMessages: string | string[];
|
|
211
213
|
successMessages: string | string[];
|
|
212
214
|
hint: string;
|
|
213
|
-
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
214
|
-
dense: boolean;
|
|
215
215
|
hideDetails: boolean;
|
|
216
216
|
prependIcon: RuiIcons;
|
|
217
217
|
appendIcon: RuiIcons;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
import type { RuiIcons } from '
|
|
2
|
+
import type { RuiIcons } from '../../../icons';
|
|
3
3
|
export interface TextFieldProps {
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
label?: string;
|
|
@@ -24,10 +24,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
type: globalThis.PropType<boolean>;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
-
variant: {
|
|
28
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
27
|
color: {
|
|
32
28
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
33
29
|
default: undefined;
|
|
@@ -40,10 +36,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
36
|
type: globalThis.PropType<string>;
|
|
41
37
|
default: string;
|
|
42
38
|
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: globalThis.PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
variant: {
|
|
44
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
43
47
|
disabled: {
|
|
44
48
|
type: globalThis.PropType<boolean>;
|
|
45
49
|
default: boolean;
|
|
46
50
|
};
|
|
51
|
+
dense: {
|
|
52
|
+
type: globalThis.PropType<boolean>;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
textColor: {
|
|
56
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
47
59
|
errorMessages: {
|
|
48
60
|
type: globalThis.PropType<string | string[]>;
|
|
49
61
|
default: () => never[];
|
|
@@ -56,18 +68,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
68
|
type: globalThis.PropType<string>;
|
|
57
69
|
default: string;
|
|
58
70
|
};
|
|
59
|
-
modelValue: {
|
|
60
|
-
type: globalThis.PropType<string>;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
textColor: {
|
|
64
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
65
|
-
default: undefined;
|
|
66
|
-
};
|
|
67
|
-
dense: {
|
|
68
|
-
type: globalThis.PropType<boolean>;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
71
|
as: {
|
|
72
72
|
type: globalThis.PropType<string | object>;
|
|
73
73
|
default: string;
|
|
@@ -99,10 +99,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
type: globalThis.PropType<boolean>;
|
|
100
100
|
default: boolean;
|
|
101
101
|
};
|
|
102
|
-
variant: {
|
|
103
|
-
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
102
|
color: {
|
|
107
103
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
108
104
|
default: undefined;
|
|
@@ -115,10 +111,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
115
111
|
type: globalThis.PropType<string>;
|
|
116
112
|
default: string;
|
|
117
113
|
};
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: globalThis.PropType<string>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
variant: {
|
|
119
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
118
122
|
disabled: {
|
|
119
123
|
type: globalThis.PropType<boolean>;
|
|
120
124
|
default: boolean;
|
|
121
125
|
};
|
|
126
|
+
dense: {
|
|
127
|
+
type: globalThis.PropType<boolean>;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
textColor: {
|
|
131
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
122
134
|
errorMessages: {
|
|
123
135
|
type: globalThis.PropType<string | string[]>;
|
|
124
136
|
default: () => never[];
|
|
@@ -131,18 +143,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
131
143
|
type: globalThis.PropType<string>;
|
|
132
144
|
default: string;
|
|
133
145
|
};
|
|
134
|
-
modelValue: {
|
|
135
|
-
type: globalThis.PropType<string>;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
|
-
textColor: {
|
|
139
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
140
|
-
default: undefined;
|
|
141
|
-
};
|
|
142
|
-
dense: {
|
|
143
|
-
type: globalThis.PropType<boolean>;
|
|
144
|
-
default: boolean;
|
|
145
|
-
};
|
|
146
146
|
as: {
|
|
147
147
|
type: globalThis.PropType<string | object>;
|
|
148
148
|
default: string;
|
|
@@ -165,23 +165,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
165
165
|
};
|
|
166
166
|
}>> & {
|
|
167
167
|
onBlur?: ((event: Event) => any) | undefined;
|
|
168
|
-
onClear?: (() => any) | undefined;
|
|
169
168
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
169
|
+
onClear?: (() => any) | undefined;
|
|
170
170
|
"onFocus-input"?: ((event: Event) => any) | undefined;
|
|
171
171
|
onRemove?: ((value: unknown) => any) | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
readonly: boolean;
|
|
174
|
-
variant: "default" | "outlined" | "filled";
|
|
175
174
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
176
175
|
label: string;
|
|
177
176
|
placeholder: string;
|
|
177
|
+
modelValue: string;
|
|
178
|
+
variant: "default" | "outlined" | "filled";
|
|
178
179
|
disabled: boolean;
|
|
180
|
+
dense: boolean;
|
|
181
|
+
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
179
182
|
errorMessages: string | string[];
|
|
180
183
|
successMessages: string | string[];
|
|
181
184
|
hint: string;
|
|
182
|
-
modelValue: string;
|
|
183
|
-
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
184
|
-
dense: boolean;
|
|
185
185
|
as: string | object;
|
|
186
186
|
hideDetails: boolean;
|
|
187
187
|
prependIcon: RuiIcons;
|