@volverjs/ui-vue 0.0.10-beta.41 → 0.0.10-beta.43
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/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
- package/dist/components/VvAccordionGroup/index.d.ts +4 -4
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
- package/dist/components/VvAlert/index.d.ts +4 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
- package/dist/components/VvAlertGroup/index.d.ts +4 -4
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
- package/dist/components/VvAvatarGroup/index.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
- package/dist/components/VvBreadcrumb/index.d.ts +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvButtonGroup/index.d.ts +2 -2
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +4 -1
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
- package/dist/components/VvCombobox/index.d.ts +21 -241
- package/dist/components/VvDialog/VvDialog.es.js +41 -165
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
- package/dist/components/VvDialog/index.d.ts +7 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
- package/dist/components/VvDropdown/index.d.ts +9 -117
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
- package/dist/components/VvInputFile/index.d.ts +7 -28
- package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
- package/dist/components/VvInputText/index.d.ts +4 -9
- package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
- package/dist/components/VvTab/index.d.ts +2 -2
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
- package/dist/components/VvTextarea/index.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +27 -26
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +47 -77
- package/dist/composables/index.es.js +1 -2
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1 -4
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +14 -121
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
- package/dist/test/expect.d.ts +0 -1
- package/dist/types/input-file.d.ts +2 -9
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +29 -30
- package/src/Volver.ts +6 -6
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvButtonGroup/index.ts +1 -1
- package/src/components/VvCombobox/VvCombobox.vue +4 -1
- package/src/components/VvCombobox/index.ts +6 -6
- package/src/components/VvDialog/VvDialog.vue +3 -5
- package/src/components/VvDialog/index.ts +4 -0
- package/src/components/VvInputText/VvInputText.vue +18 -18
- package/src/components/common/HintSlot.ts +2 -2
- package/src/composables/group/useInjectedGroupState.ts +3 -3
- package/src/composables/group/useProvideGroupState.ts +3 -3
- package/src/composables/useDefaults.ts +4 -4
- package/src/props/index.ts +1 -1
- package/src/types/group.ts +1 -1
- package/src/types/input-file.ts +10 -18
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<VvIconProps>, {
|
|
5
5
|
prefix: import(".").IconPrefix;
|
|
6
6
|
}>>>, {
|
|
7
|
-
prefix: string;
|
|
7
|
+
prefix: import(".").IconPrefix | string;
|
|
8
8
|
}, {}>;
|
|
9
9
|
export default _default;
|
|
10
10
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
+
import type { UploadedFile } from '../../types';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
3
|
modelValue: {
|
|
3
|
-
type:
|
|
4
|
-
name: string;
|
|
5
|
-
size: number;
|
|
6
|
-
type: string;
|
|
7
|
-
url?: string | undefined;
|
|
8
|
-
thumbnailUrl?: string | undefined;
|
|
9
|
-
lastModified?: number | undefined;
|
|
10
|
-
} | File | ({
|
|
11
|
-
name: string;
|
|
12
|
-
size: number;
|
|
13
|
-
type: string;
|
|
14
|
-
url?: string | undefined;
|
|
15
|
-
thumbnailUrl?: string | undefined;
|
|
16
|
-
lastModified?: number | undefined;
|
|
17
|
-
} | File)[]>;
|
|
4
|
+
type: PropType<File | UploadedFile | (File | UploadedFile)[]>;
|
|
18
5
|
};
|
|
19
6
|
progress: {
|
|
20
7
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -33,9 +20,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
20
|
default: boolean;
|
|
34
21
|
};
|
|
35
22
|
capture: {
|
|
36
|
-
type:
|
|
23
|
+
type: PropType<"user" | "environment">;
|
|
37
24
|
default: undefined;
|
|
38
|
-
validation: (value?: string
|
|
25
|
+
validation: (value?: string) => boolean;
|
|
39
26
|
};
|
|
40
27
|
max: {
|
|
41
28
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -54,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
41
|
default: string;
|
|
55
42
|
};
|
|
56
43
|
iconAdd: {
|
|
57
|
-
type:
|
|
44
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
58
45
|
default: "add";
|
|
59
46
|
};
|
|
60
47
|
labelReplace: {
|
|
@@ -62,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
49
|
default: string;
|
|
63
50
|
};
|
|
64
51
|
iconReplace: {
|
|
65
|
-
type:
|
|
52
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
66
53
|
default: "edit";
|
|
67
54
|
};
|
|
68
55
|
labelDownload: {
|
|
@@ -70,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
70
57
|
default: string;
|
|
71
58
|
};
|
|
72
59
|
iconDownload: {
|
|
73
|
-
type:
|
|
60
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
74
61
|
default: "download";
|
|
75
62
|
};
|
|
76
63
|
labelRemove: {
|
|
@@ -82,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
69
|
default: undefined;
|
|
83
70
|
};
|
|
84
71
|
iconPosition: {
|
|
85
|
-
type: globalThis.PropType
|
|
72
|
+
type: globalThis.PropType<`${import("../../constants").Position}`>;
|
|
86
73
|
default: import("../../constants").Position;
|
|
87
74
|
validation: (value: import("../../constants").Position) => boolean;
|
|
88
75
|
};
|
|
@@ -132,54 +119,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
132
119
|
};
|
|
133
120
|
id: (StringConstructor | NumberConstructor)[];
|
|
134
121
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
-
download: (args_0:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
type: string;
|
|
139
|
-
url?: string | undefined;
|
|
140
|
-
thumbnailUrl?: string | undefined;
|
|
141
|
-
lastModified?: number | undefined;
|
|
142
|
-
} | File) => void;
|
|
143
|
-
"update:modelValue": (args_0: {
|
|
144
|
-
name: string;
|
|
145
|
-
size: number;
|
|
146
|
-
type: string;
|
|
147
|
-
url?: string | undefined;
|
|
148
|
-
thumbnailUrl?: string | undefined;
|
|
149
|
-
lastModified?: number | undefined;
|
|
150
|
-
} | File | ({
|
|
151
|
-
name: string;
|
|
152
|
-
size: number;
|
|
153
|
-
type: string;
|
|
154
|
-
url?: string | undefined;
|
|
155
|
-
thumbnailUrl?: string | undefined;
|
|
156
|
-
lastModified?: number | undefined;
|
|
157
|
-
} | File)[] | undefined) => void;
|
|
158
|
-
remove: (args_0: {
|
|
159
|
-
name: string;
|
|
160
|
-
size: number;
|
|
161
|
-
type: string;
|
|
162
|
-
url?: string | undefined;
|
|
163
|
-
thumbnailUrl?: string | undefined;
|
|
164
|
-
lastModified?: number | undefined;
|
|
165
|
-
} | File) => void;
|
|
122
|
+
download: (args_0: File | UploadedFile) => void;
|
|
123
|
+
"update:modelValue": (args_0: File | UploadedFile | (File | UploadedFile)[] | undefined) => void;
|
|
124
|
+
remove: (args_0: File | UploadedFile) => void;
|
|
166
125
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
167
126
|
modelValue: {
|
|
168
|
-
type:
|
|
169
|
-
name: string;
|
|
170
|
-
size: number;
|
|
171
|
-
type: string;
|
|
172
|
-
url?: string | undefined;
|
|
173
|
-
thumbnailUrl?: string | undefined;
|
|
174
|
-
lastModified?: number | undefined;
|
|
175
|
-
} | File | ({
|
|
176
|
-
name: string;
|
|
177
|
-
size: number;
|
|
178
|
-
type: string;
|
|
179
|
-
url?: string | undefined;
|
|
180
|
-
thumbnailUrl?: string | undefined;
|
|
181
|
-
lastModified?: number | undefined;
|
|
182
|
-
} | File)[]>;
|
|
127
|
+
type: PropType<File | UploadedFile | (File | UploadedFile)[]>;
|
|
183
128
|
};
|
|
184
129
|
progress: {
|
|
185
130
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -198,9 +143,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
198
143
|
default: boolean;
|
|
199
144
|
};
|
|
200
145
|
capture: {
|
|
201
|
-
type:
|
|
146
|
+
type: PropType<"user" | "environment">;
|
|
202
147
|
default: undefined;
|
|
203
|
-
validation: (value?: string
|
|
148
|
+
validation: (value?: string) => boolean;
|
|
204
149
|
};
|
|
205
150
|
max: {
|
|
206
151
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -219,7 +164,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
219
164
|
default: string;
|
|
220
165
|
};
|
|
221
166
|
iconAdd: {
|
|
222
|
-
type:
|
|
167
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
223
168
|
default: "add";
|
|
224
169
|
};
|
|
225
170
|
labelReplace: {
|
|
@@ -227,7 +172,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
227
172
|
default: string;
|
|
228
173
|
};
|
|
229
174
|
iconReplace: {
|
|
230
|
-
type:
|
|
175
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
231
176
|
default: "edit";
|
|
232
177
|
};
|
|
233
178
|
labelDownload: {
|
|
@@ -235,7 +180,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
235
180
|
default: string;
|
|
236
181
|
};
|
|
237
182
|
iconDownload: {
|
|
238
|
-
type:
|
|
183
|
+
type: PropType<string | import("../VvIcon").VvIconProps>;
|
|
239
184
|
default: "download";
|
|
240
185
|
};
|
|
241
186
|
labelRemove: {
|
|
@@ -247,7 +192,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
247
192
|
default: undefined;
|
|
248
193
|
};
|
|
249
194
|
iconPosition: {
|
|
250
|
-
type: globalThis.PropType
|
|
195
|
+
type: globalThis.PropType<`${import("../../constants").Position}`>;
|
|
251
196
|
default: import("../../constants").Position;
|
|
252
197
|
validation: (value: import("../../constants").Position) => boolean;
|
|
253
198
|
};
|
|
@@ -297,42 +242,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
297
242
|
};
|
|
298
243
|
id: (StringConstructor | NumberConstructor)[];
|
|
299
244
|
}>> & {
|
|
300
|
-
"onUpdate:modelValue"?: ((args_0:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
type: string;
|
|
304
|
-
url?: string | undefined;
|
|
305
|
-
thumbnailUrl?: string | undefined;
|
|
306
|
-
lastModified?: number | undefined;
|
|
307
|
-
} | File | ({
|
|
308
|
-
name: string;
|
|
309
|
-
size: number;
|
|
310
|
-
type: string;
|
|
311
|
-
url?: string | undefined;
|
|
312
|
-
thumbnailUrl?: string | undefined;
|
|
313
|
-
lastModified?: number | undefined;
|
|
314
|
-
} | File)[] | undefined) => any) | undefined;
|
|
315
|
-
onDownload?: ((args_0: {
|
|
316
|
-
name: string;
|
|
317
|
-
size: number;
|
|
318
|
-
type: string;
|
|
319
|
-
url?: string | undefined;
|
|
320
|
-
thumbnailUrl?: string | undefined;
|
|
321
|
-
lastModified?: number | undefined;
|
|
322
|
-
} | File) => any) | undefined;
|
|
323
|
-
onRemove?: ((args_0: {
|
|
324
|
-
name: string;
|
|
325
|
-
size: number;
|
|
326
|
-
type: string;
|
|
327
|
-
url?: string | undefined;
|
|
328
|
-
thumbnailUrl?: string | undefined;
|
|
329
|
-
lastModified?: number | undefined;
|
|
330
|
-
} | File) => any) | undefined;
|
|
245
|
+
"onUpdate:modelValue"?: ((args_0: File | UploadedFile | (File | UploadedFile)[] | undefined) => any) | undefined;
|
|
246
|
+
onDownload?: ((args_0: File | UploadedFile) => any) | undefined;
|
|
247
|
+
onRemove?: ((args_0: File | UploadedFile) => any) | undefined;
|
|
331
248
|
}, {
|
|
332
249
|
label: string | number;
|
|
333
250
|
modifiers: string | string[];
|
|
334
|
-
progress: string | number;
|
|
335
251
|
readonly: boolean;
|
|
252
|
+
progress: string | number;
|
|
336
253
|
icon: string | import("../VvIcon").VvIconProps;
|
|
337
254
|
iconPosition: "before" | "after";
|
|
338
255
|
loading: boolean;
|
|
@@ -16,21 +16,7 @@ export declare const VvInputFileProps: {
|
|
|
16
16
|
* Input value
|
|
17
17
|
*/
|
|
18
18
|
modelValue: {
|
|
19
|
-
type:
|
|
20
|
-
name: string;
|
|
21
|
-
size: number;
|
|
22
|
-
type: string;
|
|
23
|
-
url?: string | undefined;
|
|
24
|
-
thumbnailUrl?: string | undefined;
|
|
25
|
-
lastModified?: number | undefined;
|
|
26
|
-
} | File | ({
|
|
27
|
-
name: string;
|
|
28
|
-
size: number;
|
|
29
|
-
type: string;
|
|
30
|
-
url?: string | undefined;
|
|
31
|
-
thumbnailUrl?: string | undefined;
|
|
32
|
-
lastModified?: number | undefined;
|
|
33
|
-
} | File)[]>;
|
|
19
|
+
type: PropType<File | UploadedFile | (File | UploadedFile)[]>;
|
|
34
20
|
};
|
|
35
21
|
/**
|
|
36
22
|
* Whether to show progress bar
|
|
@@ -69,7 +55,7 @@ export declare const VvInputFileProps: {
|
|
|
69
55
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
|
|
70
56
|
*/
|
|
71
57
|
capture: {
|
|
72
|
-
type:
|
|
58
|
+
type: PropType<"user" | "environment">;
|
|
73
59
|
default: undefined;
|
|
74
60
|
validation: (value?: string) => boolean;
|
|
75
61
|
};
|
|
@@ -106,7 +92,7 @@ export declare const VvInputFileProps: {
|
|
|
106
92
|
* @see VVIcon
|
|
107
93
|
*/
|
|
108
94
|
iconAdd: {
|
|
109
|
-
type:
|
|
95
|
+
type: PropType<string | VvIconProps>;
|
|
110
96
|
default: "add";
|
|
111
97
|
};
|
|
112
98
|
/**
|
|
@@ -121,7 +107,7 @@ export declare const VvInputFileProps: {
|
|
|
121
107
|
* @see VVIcon
|
|
122
108
|
*/
|
|
123
109
|
iconReplace: {
|
|
124
|
-
type:
|
|
110
|
+
type: PropType<string | VvIconProps>;
|
|
125
111
|
default: "edit";
|
|
126
112
|
};
|
|
127
113
|
/**
|
|
@@ -136,7 +122,7 @@ export declare const VvInputFileProps: {
|
|
|
136
122
|
* @see VVIcon
|
|
137
123
|
*/
|
|
138
124
|
iconDownload: {
|
|
139
|
-
type:
|
|
125
|
+
type: PropType<string | VvIconProps>;
|
|
140
126
|
default: "download";
|
|
141
127
|
};
|
|
142
128
|
/**
|
|
@@ -151,7 +137,7 @@ export declare const VvInputFileProps: {
|
|
|
151
137
|
default: undefined;
|
|
152
138
|
};
|
|
153
139
|
iconPosition: {
|
|
154
|
-
type: globalThis.PropType
|
|
140
|
+
type: globalThis.PropType<`${import("../../constants").Position}`>;
|
|
155
141
|
default: import("../../constants").Position;
|
|
156
142
|
validation: (value: import("../../constants").Position) => boolean;
|
|
157
143
|
};
|
|
@@ -161,10 +147,6 @@ export declare const VvInputFileProps: {
|
|
|
161
147
|
};
|
|
162
148
|
loading: {
|
|
163
149
|
type: BooleanConstructor;
|
|
164
|
-
/**
|
|
165
|
-
* Front or rear camera
|
|
166
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
|
|
167
|
-
*/
|
|
168
150
|
default: boolean;
|
|
169
151
|
};
|
|
170
152
|
loadingLabel: {
|
|
@@ -193,10 +175,7 @@ export declare const VvInputFileProps: {
|
|
|
193
175
|
};
|
|
194
176
|
validLabel: {
|
|
195
177
|
type: (ArrayConstructor | StringConstructor)[];
|
|
196
|
-
default: undefined;
|
|
197
|
-
* File types to accept
|
|
198
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
199
|
-
*/
|
|
178
|
+
default: undefined;
|
|
200
179
|
};
|
|
201
180
|
modifiers: {
|
|
202
181
|
type: globalThis.PropType<string | string[]>;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
icon: {
|
|
12
|
-
type:
|
|
12
|
+
type: PropType<string | VvIconProps>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
icon: {
|
|
28
|
-
type:
|
|
28
|
+
type: PropType<string | VvIconProps>;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}>> & {
|
|
@@ -13,11 +13,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
iconShow: {
|
|
16
|
-
type:
|
|
16
|
+
type: PropType<string | VvIconProps>;
|
|
17
17
|
default: "eye-on";
|
|
18
18
|
};
|
|
19
19
|
iconHide: {
|
|
20
|
-
type:
|
|
20
|
+
type: PropType<string | VvIconProps>;
|
|
21
21
|
default: "eye-off";
|
|
22
22
|
};
|
|
23
23
|
}, {
|
|
@@ -39,11 +39,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
iconShow: {
|
|
42
|
-
type:
|
|
42
|
+
type: PropType<string | VvIconProps>;
|
|
43
43
|
default: "eye-on";
|
|
44
44
|
};
|
|
45
45
|
iconHide: {
|
|
46
|
-
type:
|
|
46
|
+
type: PropType<string | VvIconProps>;
|
|
47
47
|
default: "eye-off";
|
|
48
48
|
};
|
|
49
49
|
}>> & {
|
|
@@ -81,7 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
81
|
default: number;
|
|
82
82
|
};
|
|
83
83
|
storageType: {
|
|
84
|
-
type: globalThis.PropType
|
|
84
|
+
type: globalThis.PropType<`${import("../../constants").StorageType}`>;
|
|
85
85
|
default: import("../../constants").StorageType;
|
|
86
86
|
validator: (value: import("../../constants").StorageType) => boolean;
|
|
87
87
|
};
|
|
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
115
115
|
default: undefined;
|
|
116
116
|
};
|
|
117
117
|
iconPosition: {
|
|
118
|
-
type: globalThis.PropType
|
|
118
|
+
type: globalThis.PropType<`${import("../../constants").Position}`>;
|
|
119
119
|
default: import("../../constants").Position;
|
|
120
120
|
validation: (value: import("../../constants").Position) => boolean;
|
|
121
121
|
};
|
|
@@ -272,7 +272,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
272
272
|
default: number;
|
|
273
273
|
};
|
|
274
274
|
storageType: {
|
|
275
|
-
type: globalThis.PropType
|
|
275
|
+
type: globalThis.PropType<`${import("../../constants").StorageType}`>;
|
|
276
276
|
default: import("../../constants").StorageType;
|
|
277
277
|
validator: (value: import("../../constants").StorageType) => boolean;
|
|
278
278
|
};
|
|
@@ -306,7 +306,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
306
306
|
default: undefined;
|
|
307
307
|
};
|
|
308
308
|
iconPosition: {
|
|
309
|
-
type: globalThis.PropType
|
|
309
|
+
type: globalThis.PropType<`${import("../../constants").Position}`>;
|
|
310
310
|
default: import("../../constants").Position;
|
|
311
311
|
validation: (value: import("../../constants").Position) => boolean;
|
|
312
312
|
};
|
|
@@ -190,7 +190,7 @@ export declare const VvInputTextProps: {
|
|
|
190
190
|
default: number;
|
|
191
191
|
};
|
|
192
192
|
storageType: {
|
|
193
|
-
type: PropType
|
|
193
|
+
type: PropType<`${import("../../constants").StorageType}`>;
|
|
194
194
|
default: import("../../constants").StorageType;
|
|
195
195
|
validator: (value: import("../../constants").StorageType) => boolean;
|
|
196
196
|
};
|
|
@@ -213,10 +213,7 @@ export declare const VvInputTextProps: {
|
|
|
213
213
|
};
|
|
214
214
|
label: {
|
|
215
215
|
type: (StringConstructor | NumberConstructor)[];
|
|
216
|
-
default: undefined;
|
|
217
|
-
* VvIcon name for show password button
|
|
218
|
-
* @see VVIcon
|
|
219
|
-
*/
|
|
216
|
+
default: undefined;
|
|
220
217
|
};
|
|
221
218
|
floating: {
|
|
222
219
|
type: BooleanConstructor;
|
|
@@ -227,11 +224,9 @@ export declare const VvInputTextProps: {
|
|
|
227
224
|
default: undefined;
|
|
228
225
|
};
|
|
229
226
|
iconPosition: {
|
|
230
|
-
type: PropType
|
|
227
|
+
type: PropType<`${import("../../constants").Position}`>;
|
|
231
228
|
default: import("../../constants").Position;
|
|
232
|
-
validation: (value: import("../../constants").Position) => boolean;
|
|
233
|
-
* Adjust input width to content
|
|
234
|
-
*/
|
|
229
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
235
230
|
};
|
|
236
231
|
debounce: {
|
|
237
232
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
26
|
item?(_: {
|
|
27
27
|
item: {
|
|
28
28
|
label: string;
|
|
29
|
-
ariaLabel?: string
|
|
30
|
-
title?: string
|
|
31
|
-
to?: string | Record<string, unknown
|
|
32
|
-
href?: string
|
|
33
|
-
target?: string
|
|
34
|
-
rel?: string
|
|
35
|
-
disabled?: boolean
|
|
36
|
-
current?: boolean
|
|
37
|
-
class?: string | string[]
|
|
29
|
+
ariaLabel?: string;
|
|
30
|
+
title?: string;
|
|
31
|
+
to?: string | Record<string, unknown>;
|
|
32
|
+
href?: string;
|
|
33
|
+
target?: string;
|
|
34
|
+
rel?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
current?: boolean;
|
|
37
|
+
class?: string | string[];
|
|
38
38
|
};
|
|
39
39
|
data: Record<string, unknown> | undefined;
|
|
40
40
|
index: number;
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
options: {
|
|
44
|
-
type: globalThis.PropType<(
|
|
44
|
+
type: globalThis.PropType<(Option | string)[]>;
|
|
45
45
|
default: () => never[];
|
|
46
46
|
};
|
|
47
47
|
labelKey: {
|
|
@@ -116,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
116
116
|
default: string;
|
|
117
117
|
};
|
|
118
118
|
options: {
|
|
119
|
-
type: globalThis.PropType<(
|
|
119
|
+
type: globalThis.PropType<(Option | string)[]>;
|
|
120
120
|
default: () => never[];
|
|
121
121
|
};
|
|
122
122
|
labelKey: {
|
|
@@ -148,7 +148,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
148
148
|
default: undefined;
|
|
149
149
|
};
|
|
150
150
|
}>>, {
|
|
151
|
-
options: (string | Option)[];
|
|
152
151
|
label: string | number;
|
|
153
152
|
disabled: boolean;
|
|
154
153
|
modelValue: string | number | boolean | symbol | unknown[];
|
|
@@ -162,6 +161,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
162
161
|
invalid: boolean;
|
|
163
162
|
invalidLabel: string | unknown[];
|
|
164
163
|
vertical: boolean;
|
|
164
|
+
options: (string | Option)[];
|
|
165
165
|
labelKey: string | Function;
|
|
166
166
|
valueKey: string | Function;
|
|
167
167
|
disabledKey: string | Function;
|
|
@@ -40,7 +40,7 @@ export declare const VvRadioGroupProps: {
|
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
options: {
|
|
43
|
-
type: globalThis.PropType<(
|
|
43
|
+
type: globalThis.PropType<(import("../..").Option | string)[]>;
|
|
44
44
|
default: () => never[];
|
|
45
45
|
};
|
|
46
46
|
labelKey: {
|