@volverjs/ui-vue 0.0.10-beta.20 → 0.0.10-beta.21
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/VvAccordion/VvAccordion.es.js +3 -1
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +6 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +1 -1
- package/dist/components/VvAction/VvAction.es.js +2 -1
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +7 -0
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +10 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +2 -1
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +1 -1
- package/dist/components/VvButton/VvButton.es.js +33 -15
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +2 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +1 -1
- package/dist/components/VvCard/VvCard.es.js +5 -1
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +2 -1
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +13 -2
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +48 -15
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +42 -42
- package/dist/components/VvDialog/VvDialog.es.js +3 -0
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +42 -42
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +2 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvIcon/index.d.ts +12 -0
- package/dist/components/VvInputFile/VvInputFile.es.js +258 -82
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +152 -29
- package/dist/components/VvInputFile/index.d.ts +119 -14
- package/dist/components/VvInputText/VvInputClearAction.d.ts +6 -4
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +10 -8
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +79 -65
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -10
- package/dist/components/VvInputText/index.d.ts +6 -15
- package/dist/components/VvNav/VvNav.es.js +2 -1
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +1 -1
- package/dist/components/VvNav/VvNavItem.vue.d.ts +1 -1
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +2 -1
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +13 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +4 -0
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +1 -1
- package/dist/components/VvTab/VvTab.es.js +7 -2
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +4 -0
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +1 -1
- package/dist/components/common/HintSlot.d.ts +1 -1
- package/dist/components/index.es.js +354 -115
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +1 -1
- package/dist/composables/dropdown/useProvideDropdown.d.ts +1 -1
- package/dist/icons.es.js +210 -210
- package/dist/icons.umd.js +1 -1
- package/dist/stories/InputFile/InputFile.stories.d.ts +1 -2
- package/dist/stories/InputFile/{InputFileModifiers.stories.d.ts → InputFileDropArea.stories.d.ts} +4 -4
- package/dist/stories/InputFile/InputFileIconPosition.stories.d.ts +8 -0
- package/dist/stories/InputFile/InputFileSlots.stories.d.ts +1 -0
- package/dist/types/input-file.d.ts +2 -0
- package/package.json +45 -45
- 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/VvIcon/index.ts +13 -0
- package/src/components/VvInputFile/VvInputFile.vue +103 -40
- package/src/components/VvInputFile/index.ts +88 -10
- package/src/components/VvInputText/VvInputClearAction.ts +10 -6
- package/src/components/VvInputText/VvInputPasswordAction.ts +13 -9
- package/src/components/VvInputText/VvInputText.vue +6 -6
- package/src/components/VvInputText/index.ts +7 -15
- package/src/stories/InputFile/InputFile.settings.ts +1 -1
- package/src/stories/InputFile/InputFile.stories.ts +7 -16
- package/src/stories/InputFile/{InputFileModifiers.stories.ts → InputFileDropArea.stories.ts} +18 -13
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +43 -0
- package/src/stories/InputFile/InputFileSlots.stories.ts +11 -3
- package/src/types/input-file.ts +4 -2
|
@@ -1,41 +1,91 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
name: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
};
|
|
5
|
-
id: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
};
|
|
8
2
|
modelValue: {
|
|
9
3
|
type: globalThis.PropType<{
|
|
10
4
|
name: string;
|
|
11
5
|
size: number;
|
|
12
6
|
type: string;
|
|
13
7
|
url: string;
|
|
8
|
+
thumbnailUrl?: string | undefined;
|
|
14
9
|
lastModified?: number | undefined;
|
|
15
10
|
} | File | ({
|
|
16
11
|
name: string;
|
|
17
12
|
size: number;
|
|
18
13
|
type: string;
|
|
19
14
|
url: string;
|
|
15
|
+
thumbnailUrl?: string | undefined;
|
|
20
16
|
lastModified?: number | undefined;
|
|
21
17
|
} | File)[]>;
|
|
22
18
|
required: boolean;
|
|
23
19
|
};
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
progress: {
|
|
21
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
placeholder: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
accept: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
multiple: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
max: {
|
|
37
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
dropArea: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
labelAdd: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
iconAdd: {
|
|
49
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
50
|
+
default: "add";
|
|
51
|
+
};
|
|
52
|
+
labelReplace: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
iconReplace: {
|
|
57
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
58
|
+
default: "edit";
|
|
59
|
+
};
|
|
60
|
+
labelDownload: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
iconDownload: {
|
|
65
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
66
|
+
default: "download";
|
|
67
|
+
};
|
|
68
|
+
labelRemove: {
|
|
26
69
|
type: StringConstructor;
|
|
27
70
|
default: string;
|
|
28
71
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
72
|
+
icon: {
|
|
73
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
iconPosition: {
|
|
77
|
+
type: globalThis.PropType<"before" | "after">;
|
|
78
|
+
default: import("../../constants").Position;
|
|
79
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
80
|
+
};
|
|
35
81
|
readonly: {
|
|
36
82
|
type: BooleanConstructor;
|
|
37
83
|
default: boolean;
|
|
38
84
|
};
|
|
85
|
+
loading: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
39
89
|
loadingLabel: {
|
|
40
90
|
type: StringConstructor;
|
|
41
91
|
default: string;
|
|
@@ -68,46 +118,101 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
118
|
type: globalThis.PropType<string | string[]>;
|
|
69
119
|
default: undefined;
|
|
70
120
|
};
|
|
71
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
-
"update:modelValue": (args_0: File | undefined) => void;
|
|
73
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
74
121
|
name: {
|
|
75
122
|
type: StringConstructor;
|
|
123
|
+
required: boolean;
|
|
76
124
|
};
|
|
77
|
-
id:
|
|
78
|
-
|
|
79
|
-
|
|
125
|
+
id: (StringConstructor | NumberConstructor)[];
|
|
126
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
"update:modelValue": (args_0: File | undefined) => void;
|
|
128
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
80
129
|
modelValue: {
|
|
81
130
|
type: globalThis.PropType<{
|
|
82
131
|
name: string;
|
|
83
132
|
size: number;
|
|
84
133
|
type: string;
|
|
85
134
|
url: string;
|
|
135
|
+
thumbnailUrl?: string | undefined;
|
|
86
136
|
lastModified?: number | undefined;
|
|
87
137
|
} | File | ({
|
|
88
138
|
name: string;
|
|
89
139
|
size: number;
|
|
90
140
|
type: string;
|
|
91
141
|
url: string;
|
|
142
|
+
thumbnailUrl?: string | undefined;
|
|
92
143
|
lastModified?: number | undefined;
|
|
93
144
|
} | File)[]>;
|
|
94
145
|
required: boolean;
|
|
95
146
|
};
|
|
96
|
-
|
|
97
|
-
|
|
147
|
+
progress: {
|
|
148
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
placeholder: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
accept: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
multiple: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
max: {
|
|
164
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
165
|
+
default: undefined;
|
|
166
|
+
};
|
|
167
|
+
dropArea: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
labelAdd: {
|
|
98
172
|
type: StringConstructor;
|
|
99
173
|
default: string;
|
|
100
174
|
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
175
|
+
iconAdd: {
|
|
176
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
177
|
+
default: "add";
|
|
178
|
+
};
|
|
179
|
+
labelReplace: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
iconReplace: {
|
|
184
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
185
|
+
default: "edit";
|
|
186
|
+
};
|
|
187
|
+
labelDownload: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
iconDownload: {
|
|
192
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
193
|
+
default: "download";
|
|
194
|
+
};
|
|
195
|
+
labelRemove: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
icon: {
|
|
200
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
201
|
+
default: undefined;
|
|
202
|
+
};
|
|
203
|
+
iconPosition: {
|
|
204
|
+
type: globalThis.PropType<"before" | "after">;
|
|
205
|
+
default: import("../../constants").Position;
|
|
206
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
207
|
+
};
|
|
107
208
|
readonly: {
|
|
108
209
|
type: BooleanConstructor;
|
|
109
210
|
default: boolean;
|
|
110
211
|
};
|
|
212
|
+
loading: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
111
216
|
loadingLabel: {
|
|
112
217
|
type: StringConstructor;
|
|
113
218
|
default: string;
|
|
@@ -140,6 +245,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
140
245
|
type: globalThis.PropType<string | string[]>;
|
|
141
246
|
default: undefined;
|
|
142
247
|
};
|
|
248
|
+
name: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
required: boolean;
|
|
251
|
+
};
|
|
252
|
+
id: (StringConstructor | NumberConstructor)[];
|
|
143
253
|
}>> & {
|
|
144
254
|
"onUpdate:modelValue"?: ((args_0: File | undefined) => any) | undefined;
|
|
145
255
|
}, {
|
|
@@ -149,12 +259,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
149
259
|
multiple: boolean;
|
|
150
260
|
modifiers: string | string[];
|
|
151
261
|
label: string | number;
|
|
262
|
+
progress: string | number;
|
|
263
|
+
icon: string | import("../VvIcon").VvIconProps;
|
|
264
|
+
iconPosition: "before" | "after";
|
|
152
265
|
loading: boolean;
|
|
153
266
|
loadingLabel: string;
|
|
154
267
|
hintLabel: string;
|
|
155
268
|
invalidLabel: string | unknown[];
|
|
156
269
|
validLabel: string | unknown[];
|
|
157
|
-
|
|
270
|
+
placeholder: string;
|
|
271
|
+
accept: string;
|
|
272
|
+
max: string | number;
|
|
273
|
+
dropArea: boolean;
|
|
274
|
+
labelAdd: string;
|
|
275
|
+
iconAdd: string | import("../VvIcon").VvIconProps;
|
|
276
|
+
labelReplace: string;
|
|
277
|
+
iconReplace: string | import("../VvIcon").VvIconProps;
|
|
278
|
+
labelDownload: string;
|
|
279
|
+
iconDownload: string | import("../VvIcon").VvIconProps;
|
|
280
|
+
labelRemove: string;
|
|
158
281
|
}, {}>, {
|
|
159
282
|
"drop-area"?(_: {}): any;
|
|
160
283
|
hint?(_: {
|
|
@@ -1,44 +1,144 @@
|
|
|
1
|
+
import { type VvIconProps } from '../VvIcon';
|
|
1
2
|
export type VvInputFileEvents = {
|
|
2
3
|
'update:modelValue': [File | undefined];
|
|
3
4
|
};
|
|
4
5
|
export declare const VvInputFileProps: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
id: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
};
|
|
6
|
+
/**
|
|
7
|
+
* Input value
|
|
8
|
+
*/
|
|
11
9
|
modelValue: {
|
|
12
10
|
type: globalThis.PropType<{
|
|
13
11
|
name: string;
|
|
14
12
|
size: number;
|
|
15
13
|
type: string;
|
|
16
14
|
url: string;
|
|
15
|
+
thumbnailUrl?: string | undefined;
|
|
17
16
|
lastModified?: number | undefined;
|
|
18
17
|
} | File | ({
|
|
19
18
|
name: string;
|
|
20
19
|
size: number;
|
|
21
20
|
type: string;
|
|
22
21
|
url: string;
|
|
22
|
+
thumbnailUrl?: string | undefined;
|
|
23
23
|
lastModified?: number | undefined;
|
|
24
24
|
} | File)[]>;
|
|
25
25
|
required: boolean;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Whether to show progress bar
|
|
29
|
+
*/
|
|
30
|
+
progress: {
|
|
31
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Input
|
|
36
|
+
* Text that appears in the form control when it has no value set
|
|
37
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
38
|
+
*/
|
|
39
|
+
placeholder: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* File types to accept
|
|
45
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
46
|
+
*/
|
|
47
|
+
accept: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Whether to allow multiple values
|
|
53
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#multiple
|
|
54
|
+
*/
|
|
55
|
+
multiple: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Max number of files
|
|
61
|
+
*/
|
|
62
|
+
max: {
|
|
63
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Show drop area
|
|
68
|
+
*/
|
|
69
|
+
dropArea: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Label for add button
|
|
75
|
+
*/
|
|
76
|
+
labelAdd: {
|
|
29
77
|
type: StringConstructor;
|
|
30
78
|
default: string;
|
|
31
79
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
80
|
+
/**
|
|
81
|
+
* VvIcon name for add button
|
|
82
|
+
* @see VVIcon
|
|
83
|
+
*/
|
|
84
|
+
iconAdd: {
|
|
85
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
86
|
+
default: "add";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Label for replace button
|
|
90
|
+
*/
|
|
91
|
+
labelReplace: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* VvIcon name for replace button
|
|
97
|
+
* @see VVIcon
|
|
98
|
+
*/
|
|
99
|
+
iconReplace: {
|
|
100
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
101
|
+
default: "edit";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Label for download button
|
|
105
|
+
*/
|
|
106
|
+
labelDownload: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* VvIcon name for download button
|
|
112
|
+
* @see VVIcon
|
|
113
|
+
*/
|
|
114
|
+
iconDownload: {
|
|
115
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
116
|
+
default: "download";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Label for remove button
|
|
120
|
+
*/
|
|
121
|
+
labelRemove: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
icon: {
|
|
126
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
iconPosition: {
|
|
130
|
+
type: globalThis.PropType<"before" | "after">;
|
|
131
|
+
default: import("../../constants").Position;
|
|
132
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
133
|
+
};
|
|
38
134
|
readonly: {
|
|
39
135
|
type: BooleanConstructor;
|
|
40
136
|
default: boolean;
|
|
41
137
|
};
|
|
138
|
+
loading: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
42
142
|
loadingLabel: {
|
|
43
143
|
type: StringConstructor;
|
|
44
144
|
default: string;
|
|
@@ -71,4 +171,9 @@ export declare const VvInputFileProps: {
|
|
|
71
171
|
type: globalThis.PropType<string | string[]>;
|
|
72
172
|
default: undefined;
|
|
73
173
|
};
|
|
174
|
+
name: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
required: boolean;
|
|
177
|
+
};
|
|
178
|
+
id: (StringConstructor | NumberConstructor)[];
|
|
74
179
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VvIconProps } from '../VvIcon';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
@@ -8,12 +9,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
9
|
default: string;
|
|
9
10
|
};
|
|
10
11
|
icon: {
|
|
11
|
-
type:
|
|
12
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
12
13
|
default: string;
|
|
13
14
|
};
|
|
14
15
|
}, {
|
|
16
|
+
hasIcon: globalThis.ComputedRef<VvIconProps | undefined>;
|
|
15
17
|
onClick: (e: Event) => void;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clear"[], "clear", import("vue").
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clear"[], "clear", import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
19
|
disabled: {
|
|
18
20
|
type: BooleanConstructor;
|
|
19
21
|
default: boolean;
|
|
@@ -23,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
25
|
default: string;
|
|
24
26
|
};
|
|
25
27
|
icon: {
|
|
26
|
-
type:
|
|
28
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
27
29
|
default: string;
|
|
28
30
|
};
|
|
29
31
|
}>> & {
|
|
@@ -31,6 +33,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
33
|
}, {
|
|
32
34
|
disabled: boolean;
|
|
33
35
|
label: string;
|
|
34
|
-
icon: string;
|
|
36
|
+
icon: string | VvIconProps;
|
|
35
37
|
}, {}>;
|
|
36
38
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type VvIconProps } from '../VvIcon';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
@@ -12,18 +13,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
13
|
default: string;
|
|
13
14
|
};
|
|
14
15
|
iconShow: {
|
|
15
|
-
type:
|
|
16
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
16
17
|
default: "eye-on";
|
|
17
18
|
};
|
|
18
19
|
iconHide: {
|
|
19
|
-
type:
|
|
20
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
20
21
|
default: "eye-off";
|
|
21
22
|
};
|
|
22
23
|
}, {
|
|
23
24
|
active: globalThis.Ref<boolean>;
|
|
24
|
-
activeIcon: globalThis.ComputedRef<string>;
|
|
25
|
+
activeIcon: globalThis.ComputedRef<string | VvIconProps>;
|
|
26
|
+
hasIcon: globalThis.ComputedRef<VvIconProps | undefined>;
|
|
25
27
|
onClick: (e: Event) => void;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggle-password"[], "toggle-password", import("vue").
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggle-password"[], "toggle-password", import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
27
29
|
disabled: {
|
|
28
30
|
type: BooleanConstructor;
|
|
29
31
|
default: boolean;
|
|
@@ -37,11 +39,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
39
|
default: string;
|
|
38
40
|
};
|
|
39
41
|
iconShow: {
|
|
40
|
-
type:
|
|
42
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
41
43
|
default: "eye-on";
|
|
42
44
|
};
|
|
43
45
|
iconHide: {
|
|
44
|
-
type:
|
|
46
|
+
type: globalThis.PropType<string | VvIconProps>;
|
|
45
47
|
default: "eye-off";
|
|
46
48
|
};
|
|
47
49
|
}>> & {
|
|
@@ -50,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
52
|
disabled: boolean;
|
|
51
53
|
labelShow: string;
|
|
52
54
|
labelHide: string;
|
|
53
|
-
iconShow: string;
|
|
54
|
-
iconHide: string;
|
|
55
|
+
iconShow: string | VvIconProps;
|
|
56
|
+
iconHide: string | VvIconProps;
|
|
55
57
|
}, {}>;
|
|
56
58
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
}, {
|
|
15
15
|
isUp: globalThis.ComputedRef<boolean>;
|
|
16
16
|
onClick: (e: Event) => void;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("step-up" | "step-down")[], "step-up" | "step-down", import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("step-up" | "step-down")[], "step-up" | "step-down", import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
18
|
disabled: {
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|