@volverjs/ui-vue 0.0.10-beta.14 → 0.0.10-beta.16
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/README.md +96 -2
- package/auto-imports.d.ts +2 -0
- package/dist/components/VvAccordion/VvAccordion.es.js +33 -9
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +9 -2
- package/dist/components/VvAccordion/index.d.ts +4 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +33 -9
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +9 -2
- package/dist/components/VvAccordionGroup/index.d.ts +4 -1
- package/dist/components/VvAction/VvAction.es.js +29 -8
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +44 -10
- package/dist/components/VvAction/index.d.ts +21 -5
- package/dist/components/VvAlert/VvAlert.es.js +91 -107
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +14 -4
- package/dist/components/VvAlert/index.d.ts +7 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +91 -107
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -2
- package/dist/components/VvAlertGroup/index.d.ts +6 -2
- package/dist/components/VvAvatar/VvAvatar.es.js +33 -9
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +11 -3
- package/dist/components/VvAvatar/index.d.ts +4 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +33 -9
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +9 -2
- package/dist/components/VvAvatarGroup/index.d.ts +4 -1
- package/dist/components/VvBadge/VvBadge.es.js +33 -9
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +11 -3
- package/dist/components/VvBadge/index.d.ts +4 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +33 -9
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +11 -3
- package/dist/components/VvBreadcrumb/index.d.ts +4 -1
- package/dist/components/VvButton/VvButton.es.js +100 -119
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +78 -20
- package/dist/components/VvButton/index.d.ts +34 -12
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +33 -9
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +17 -4
- package/dist/components/VvButtonGroup/index.d.ts +8 -2
- package/dist/components/VvCard/VvCard.es.js +33 -9
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +11 -3
- package/dist/components/VvCard/index.d.ts +4 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +56 -17
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +94 -22
- package/dist/components/VvCheckbox/index.d.ts +44 -11
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +64 -19
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +93 -22
- package/dist/components/VvCheckboxGroup/index.d.ts +44 -11
- package/dist/components/VvCombobox/VvCombobox.es.js +108 -165
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +97 -24
- package/dist/components/VvCombobox/index.d.ts +42 -11
- package/dist/components/VvDialog/VvDialog.es.js +51 -103
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +33 -9
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +14 -2
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +61 -12
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +11 -3
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +25 -6
- package/dist/components/VvDropdown/index.d.ts +6 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +33 -9
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +29 -8
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +37 -10
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +22 -95
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +81 -44
- package/dist/components/VvIcon/index.d.ts +21 -48
- package/dist/components/VvInputFile/VvInputFile.es.js +108 -124
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +52 -12
- package/dist/components/VvInputFile/index.d.ts +24 -6
- package/dist/components/VvInputText/VvInputText.es.js +115 -147
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +141 -34
- package/dist/components/VvInputText/index.d.ts +71 -26
- package/dist/components/VvNav/VvNav.es.js +33 -9
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +9 -2
- package/dist/components/VvNav/index.d.ts +4 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +29 -8
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +33 -9
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +9 -2
- package/dist/components/VvProgress/index.d.ts +4 -1
- package/dist/components/VvRadio/VvRadio.es.js +56 -17
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +94 -22
- package/dist/components/VvRadio/index.d.ts +44 -11
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +64 -19
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +93 -22
- package/dist/components/VvRadioGroup/index.d.ts +44 -11
- package/dist/components/VvSelect/VvSelect.es.js +95 -138
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +97 -24
- package/dist/components/VvSelect/index.d.ts +46 -12
- package/dist/components/VvTab/VvTab.es.js +33 -9
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +9 -2
- package/dist/components/VvTab/index.d.ts +4 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +109 -143
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +141 -34
- package/dist/components/VvTextarea/index.d.ts +66 -17
- package/dist/components/VvTooltip/VvTooltip.es.js +33 -9
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +9 -2
- package/dist/components/VvTooltip/index.d.ts +4 -1
- package/dist/components/index.es.js +179 -233
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/useComponentIcon.d.ts +9 -8
- package/dist/directives/index.es.js +33 -9
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +33 -9
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +251 -61
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +15 -4
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +77 -22
- package/dist/stories/Icon/Icon.settings.d.ts +1 -0
- package/package.json +33 -33
- 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/VvAlert/index.ts +1 -3
- package/src/components/VvAlertGroup/index.ts +2 -1
- package/src/components/VvButton/VvButton.vue +6 -6
- package/src/components/VvButton/index.ts +2 -4
- package/src/components/VvCombobox/VvCombobox.vue +5 -8
- package/src/components/VvIcon/VvIcon.vue +2 -2
- package/src/components/VvIcon/index.ts +22 -48
- package/src/components/VvInputFile/VvInputFile.vue +1 -1
- package/src/components/VvInputText/VvInputText.vue +11 -12
- package/src/components/VvSelect/VvSelect.vue +5 -8
- package/src/components/VvTextarea/VvTextarea.vue +5 -8
- package/src/composables/useComponentIcon.ts +15 -14
- package/src/props/index.ts +89 -25
- package/src/stories/Icon/Icon.settings.ts +3 -3
package/dist/props/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
import type { Option } from '@/types/generic';
|
|
3
3
|
import type { NavItem } from '@/types/nav';
|
|
4
4
|
import { Placement, Strategy, Position, Side, AnchorTarget, ButtonType, ActionTag } from '@/constants';
|
|
5
|
+
import type { VvIconProps } from '@/components/VvIcon';
|
|
5
6
|
export declare const LinkProps: {
|
|
6
7
|
/**
|
|
7
8
|
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
@@ -19,6 +20,7 @@ export declare const LinkProps: {
|
|
|
19
20
|
*/
|
|
20
21
|
target: {
|
|
21
22
|
type: PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
23
|
+
default: undefined;
|
|
22
24
|
validator: (value: AnchorTarget) => boolean;
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
@@ -33,27 +35,42 @@ export declare const ValidProps: {
|
|
|
33
35
|
/**
|
|
34
36
|
* Valid status
|
|
35
37
|
*/
|
|
36
|
-
valid:
|
|
38
|
+
valid: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
37
42
|
/**
|
|
38
43
|
* Valid label
|
|
39
44
|
*/
|
|
40
|
-
validLabel:
|
|
45
|
+
validLabel: {
|
|
46
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
41
49
|
};
|
|
42
50
|
export declare const InvalidProps: {
|
|
43
51
|
/**
|
|
44
52
|
* Invalid status
|
|
45
53
|
*/
|
|
46
|
-
invalid:
|
|
54
|
+
invalid: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
47
58
|
/**
|
|
48
59
|
* Invalid label
|
|
49
60
|
*/
|
|
50
|
-
invalidLabel:
|
|
61
|
+
invalidLabel: {
|
|
62
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
51
65
|
};
|
|
52
66
|
export declare const LoadingProps: {
|
|
53
67
|
/**
|
|
54
68
|
* Loading status
|
|
55
69
|
*/
|
|
56
|
-
loading:
|
|
70
|
+
loading: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
57
74
|
/**
|
|
58
75
|
* Loading label
|
|
59
76
|
*/
|
|
@@ -66,49 +83,73 @@ export declare const DisabledProps: {
|
|
|
66
83
|
/**
|
|
67
84
|
* Whether the form control is disabled
|
|
68
85
|
*/
|
|
69
|
-
disabled:
|
|
86
|
+
disabled: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
70
90
|
};
|
|
71
91
|
export declare const SelectedProps: {
|
|
72
92
|
/**
|
|
73
93
|
* Whether the item is selected
|
|
74
94
|
*/
|
|
75
|
-
selected:
|
|
95
|
+
selected: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
76
99
|
};
|
|
77
100
|
export declare const ActiveProps: {
|
|
78
101
|
/**
|
|
79
102
|
* Whether the item is active
|
|
80
103
|
*/
|
|
81
|
-
active:
|
|
104
|
+
active: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
82
108
|
};
|
|
83
109
|
export declare const CurrentProps: {
|
|
84
110
|
/**
|
|
85
111
|
* Whether the item is current
|
|
86
112
|
*/
|
|
87
|
-
current:
|
|
113
|
+
current: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
88
117
|
};
|
|
89
118
|
export declare const PressedProps: {
|
|
90
119
|
/**
|
|
91
120
|
* Whether the item is pressed
|
|
92
121
|
*/
|
|
93
|
-
pressed:
|
|
122
|
+
pressed: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
94
126
|
};
|
|
95
127
|
export declare const LabelProps: {
|
|
96
128
|
/**
|
|
97
129
|
* The item label
|
|
98
130
|
*/
|
|
99
|
-
label:
|
|
131
|
+
label: {
|
|
132
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
100
135
|
};
|
|
101
136
|
export declare const ReadonlyProps: {
|
|
102
137
|
/**
|
|
103
138
|
* The value is not editable
|
|
104
139
|
*/
|
|
105
|
-
readonly:
|
|
140
|
+
readonly: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
106
144
|
};
|
|
107
145
|
export declare const ModifiersProps: {
|
|
108
146
|
/**
|
|
109
147
|
* Component BEM modifiers
|
|
110
148
|
*/
|
|
111
|
-
modifiers:
|
|
149
|
+
modifiers: {
|
|
150
|
+
type: PropType<string | string[]>;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
112
153
|
};
|
|
113
154
|
export declare const HintProps: {
|
|
114
155
|
hintLabel: {
|
|
@@ -160,7 +201,10 @@ export declare const DebounceProps: {
|
|
|
160
201
|
/**
|
|
161
202
|
* Milliseconds to wait before emitting the input event
|
|
162
203
|
*/
|
|
163
|
-
debounce:
|
|
204
|
+
debounce: {
|
|
205
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
164
208
|
};
|
|
165
209
|
export declare const IconProps: {
|
|
166
210
|
/**
|
|
@@ -168,7 +212,8 @@ export declare const IconProps: {
|
|
|
168
212
|
* @see VVIcon
|
|
169
213
|
*/
|
|
170
214
|
icon: {
|
|
171
|
-
type:
|
|
215
|
+
type: PropType<string | VvIconProps>;
|
|
216
|
+
default: undefined;
|
|
172
217
|
};
|
|
173
218
|
/**
|
|
174
219
|
* VvIcon position
|
|
@@ -193,7 +238,10 @@ export declare const FloatingLabelProps: {
|
|
|
193
238
|
/**
|
|
194
239
|
* If true the label will be floating
|
|
195
240
|
*/
|
|
196
|
-
floating:
|
|
241
|
+
floating: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
197
245
|
};
|
|
198
246
|
export declare const UnselectableProps: {
|
|
199
247
|
/**
|
|
@@ -233,6 +281,7 @@ export declare const DropdownProps: {
|
|
|
233
281
|
*/
|
|
234
282
|
transitionName: {
|
|
235
283
|
type: StringConstructor;
|
|
284
|
+
default: undefined;
|
|
236
285
|
};
|
|
237
286
|
/**
|
|
238
287
|
* Offset of the dropdown from the trigger
|
|
@@ -329,6 +378,9 @@ export declare const DropdownProps: {
|
|
|
329
378
|
elements: import("@floating-ui/dom").Elements;
|
|
330
379
|
} & {
|
|
331
380
|
availableWidth: number;
|
|
381
|
+
/**
|
|
382
|
+
* Milliseconds to wait before emitting the input event
|
|
383
|
+
*/
|
|
332
384
|
availableHeight: number;
|
|
333
385
|
}) => void | Promise<void>) | undefined;
|
|
334
386
|
} | import("@floating-ui/dom").Derivable<{
|
|
@@ -349,6 +401,9 @@ export declare const DropdownProps: {
|
|
|
349
401
|
elements: import("@floating-ui/dom").Elements;
|
|
350
402
|
} & {
|
|
351
403
|
availableWidth: number;
|
|
404
|
+
/**
|
|
405
|
+
* Milliseconds to wait before emitting the input event
|
|
406
|
+
*/
|
|
352
407
|
availableHeight: number;
|
|
353
408
|
}) => void | Promise<void>) | undefined;
|
|
354
409
|
}> | undefined>;
|
|
@@ -411,6 +466,7 @@ export declare const DropdownProps: {
|
|
|
411
466
|
*/
|
|
412
467
|
triggerWidth: {
|
|
413
468
|
type: BooleanConstructor;
|
|
469
|
+
default: boolean;
|
|
414
470
|
};
|
|
415
471
|
};
|
|
416
472
|
export declare const IdNameProps: {
|
|
@@ -434,7 +490,10 @@ export declare const AutofocusProps: {
|
|
|
434
490
|
* Global attribute autofocus
|
|
435
491
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
|
|
436
492
|
*/
|
|
437
|
-
autofocus:
|
|
493
|
+
autofocus: {
|
|
494
|
+
type: BooleanConstructor;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
438
497
|
};
|
|
439
498
|
export declare const AutocompleteProps: {
|
|
440
499
|
/**
|
|
@@ -453,42 +512,61 @@ export declare const InputTextareaProps: {
|
|
|
453
512
|
* Available for input types: text, search, url, tel, email, password
|
|
454
513
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
455
514
|
*/
|
|
456
|
-
minlength:
|
|
515
|
+
minlength: {
|
|
516
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
517
|
+
default: undefined;
|
|
518
|
+
};
|
|
457
519
|
/**
|
|
458
520
|
* Input / Textarea maxlength
|
|
459
521
|
* Maximum length (number of characters) of value
|
|
460
522
|
* Available for input types: text, search, url, tel, email, password
|
|
461
523
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
462
524
|
*/
|
|
463
|
-
maxlength:
|
|
525
|
+
maxlength: {
|
|
526
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
527
|
+
default: undefined;
|
|
528
|
+
};
|
|
464
529
|
/**
|
|
465
530
|
* Input / Textarea placeholder
|
|
466
531
|
* Text that appears in the form control when it has no value set
|
|
467
532
|
* Available for input types: text, search, url, tel, email, password, number
|
|
468
533
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
469
534
|
*/
|
|
470
|
-
placeholder:
|
|
535
|
+
placeholder: {
|
|
536
|
+
type: StringConstructor;
|
|
537
|
+
default: undefined;
|
|
538
|
+
};
|
|
471
539
|
/**
|
|
472
540
|
* Input / Textarea required
|
|
473
541
|
* A value is required or must be check for the form to be submittable
|
|
474
542
|
* Available for all input types except color
|
|
475
543
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#required
|
|
476
544
|
*/
|
|
477
|
-
required:
|
|
545
|
+
required: {
|
|
546
|
+
type: BooleanConstructor;
|
|
547
|
+
default: boolean;
|
|
548
|
+
};
|
|
478
549
|
/**
|
|
479
550
|
* The item label
|
|
480
551
|
*/
|
|
481
|
-
label:
|
|
552
|
+
label: {
|
|
553
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
554
|
+
default: undefined;
|
|
555
|
+
};
|
|
482
556
|
/**
|
|
483
557
|
* If true the label will be floating
|
|
484
558
|
*/
|
|
485
|
-
floating:
|
|
559
|
+
floating: {
|
|
560
|
+
type: BooleanConstructor;
|
|
561
|
+
default: boolean;
|
|
562
|
+
};
|
|
486
563
|
/**
|
|
487
564
|
* VvIcon name or props
|
|
488
565
|
* @see VVIcon
|
|
489
566
|
*/
|
|
490
567
|
icon: {
|
|
491
|
-
type:
|
|
568
|
+
type: PropType<string | VvIconProps>;
|
|
569
|
+
default: undefined;
|
|
492
570
|
};
|
|
493
571
|
/**
|
|
494
572
|
* VvIcon position
|
|
@@ -501,7 +579,10 @@ export declare const InputTextareaProps: {
|
|
|
501
579
|
/**
|
|
502
580
|
* Milliseconds to wait before emitting the input event
|
|
503
581
|
*/
|
|
504
|
-
debounce:
|
|
582
|
+
debounce: {
|
|
583
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
584
|
+
default: undefined;
|
|
585
|
+
};
|
|
505
586
|
/**
|
|
506
587
|
* Show character limit
|
|
507
588
|
*/
|
|
@@ -513,11 +594,17 @@ export declare const InputTextareaProps: {
|
|
|
513
594
|
/**
|
|
514
595
|
* Component BEM modifiers
|
|
515
596
|
*/
|
|
516
|
-
modifiers:
|
|
597
|
+
modifiers: {
|
|
598
|
+
type: PropType<string | string[]>;
|
|
599
|
+
default: undefined;
|
|
600
|
+
};
|
|
517
601
|
/**
|
|
518
602
|
* Loading status
|
|
519
603
|
*/
|
|
520
|
-
loading:
|
|
604
|
+
loading: {
|
|
605
|
+
type: BooleanConstructor;
|
|
606
|
+
default: boolean;
|
|
607
|
+
};
|
|
521
608
|
/**
|
|
522
609
|
* Loading label
|
|
523
610
|
*/
|
|
@@ -532,27 +619,45 @@ export declare const InputTextareaProps: {
|
|
|
532
619
|
/**
|
|
533
620
|
* Invalid status
|
|
534
621
|
*/
|
|
535
|
-
invalid:
|
|
622
|
+
invalid: {
|
|
623
|
+
type: BooleanConstructor;
|
|
624
|
+
default: boolean;
|
|
625
|
+
};
|
|
536
626
|
/**
|
|
537
627
|
* Invalid label
|
|
538
628
|
*/
|
|
539
|
-
invalidLabel:
|
|
629
|
+
invalidLabel: {
|
|
630
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
631
|
+
default: undefined;
|
|
632
|
+
};
|
|
540
633
|
/**
|
|
541
634
|
* Valid status
|
|
542
635
|
*/
|
|
543
|
-
valid:
|
|
636
|
+
valid: {
|
|
637
|
+
type: BooleanConstructor;
|
|
638
|
+
default: boolean;
|
|
639
|
+
};
|
|
544
640
|
/**
|
|
545
641
|
* Valid label
|
|
546
642
|
*/
|
|
547
|
-
validLabel:
|
|
643
|
+
validLabel: {
|
|
644
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
645
|
+
default: undefined;
|
|
646
|
+
};
|
|
548
647
|
/**
|
|
549
648
|
* The value is not editable
|
|
550
649
|
*/
|
|
551
|
-
readonly:
|
|
650
|
+
readonly: {
|
|
651
|
+
type: BooleanConstructor;
|
|
652
|
+
default: boolean;
|
|
653
|
+
};
|
|
552
654
|
/**
|
|
553
655
|
* Whether the form control is disabled
|
|
554
656
|
*/
|
|
555
|
-
disabled:
|
|
657
|
+
disabled: {
|
|
658
|
+
type: BooleanConstructor;
|
|
659
|
+
default: boolean;
|
|
660
|
+
};
|
|
556
661
|
/**
|
|
557
662
|
* Global attribute tabindex
|
|
558
663
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
|
|
@@ -573,7 +678,10 @@ export declare const InputTextareaProps: {
|
|
|
573
678
|
* Global attribute autofocus
|
|
574
679
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
|
|
575
680
|
*/
|
|
576
|
-
autofocus:
|
|
681
|
+
autofocus: {
|
|
682
|
+
type: BooleanConstructor;
|
|
683
|
+
default: boolean;
|
|
684
|
+
};
|
|
577
685
|
/**
|
|
578
686
|
* Input / Textarea name
|
|
579
687
|
* Name of the form control. Submitted with the form as part of a name/value pair
|
|
@@ -594,15 +702,24 @@ export declare const CheckboxRadioProps: {
|
|
|
594
702
|
* Input value
|
|
595
703
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
596
704
|
*/
|
|
597
|
-
value:
|
|
705
|
+
value: {
|
|
706
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
707
|
+
default: undefined;
|
|
708
|
+
};
|
|
598
709
|
/**
|
|
599
710
|
* Input value
|
|
600
711
|
*/
|
|
601
|
-
modelValue:
|
|
712
|
+
modelValue: {
|
|
713
|
+
type: (ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
714
|
+
default: undefined;
|
|
715
|
+
};
|
|
602
716
|
/**
|
|
603
717
|
* Loading status
|
|
604
718
|
*/
|
|
605
|
-
loading:
|
|
719
|
+
loading: {
|
|
720
|
+
type: BooleanConstructor;
|
|
721
|
+
default: boolean;
|
|
722
|
+
};
|
|
606
723
|
/**
|
|
607
724
|
* Loading label
|
|
608
725
|
*/
|
|
@@ -613,19 +730,31 @@ export declare const CheckboxRadioProps: {
|
|
|
613
730
|
/**
|
|
614
731
|
* The item label
|
|
615
732
|
*/
|
|
616
|
-
label:
|
|
733
|
+
label: {
|
|
734
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
735
|
+
default: undefined;
|
|
736
|
+
};
|
|
617
737
|
/**
|
|
618
738
|
* Component BEM modifiers
|
|
619
739
|
*/
|
|
620
|
-
modifiers:
|
|
740
|
+
modifiers: {
|
|
741
|
+
type: PropType<string | string[]>;
|
|
742
|
+
default: undefined;
|
|
743
|
+
};
|
|
621
744
|
/**
|
|
622
745
|
* The value is not editable
|
|
623
746
|
*/
|
|
624
|
-
readonly:
|
|
747
|
+
readonly: {
|
|
748
|
+
type: BooleanConstructor;
|
|
749
|
+
default: boolean;
|
|
750
|
+
};
|
|
625
751
|
/**
|
|
626
752
|
* Whether the form control is disabled
|
|
627
753
|
*/
|
|
628
|
-
disabled:
|
|
754
|
+
disabled: {
|
|
755
|
+
type: BooleanConstructor;
|
|
756
|
+
default: boolean;
|
|
757
|
+
};
|
|
629
758
|
hintLabel: {
|
|
630
759
|
type: StringConstructor;
|
|
631
760
|
default: string;
|
|
@@ -633,19 +762,31 @@ export declare const CheckboxRadioProps: {
|
|
|
633
762
|
/**
|
|
634
763
|
* Invalid status
|
|
635
764
|
*/
|
|
636
|
-
invalid:
|
|
765
|
+
invalid: {
|
|
766
|
+
type: BooleanConstructor;
|
|
767
|
+
default: boolean;
|
|
768
|
+
};
|
|
637
769
|
/**
|
|
638
770
|
* Invalid label
|
|
639
771
|
*/
|
|
640
|
-
invalidLabel:
|
|
772
|
+
invalidLabel: {
|
|
773
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
774
|
+
default: undefined;
|
|
775
|
+
};
|
|
641
776
|
/**
|
|
642
777
|
* Valid status
|
|
643
778
|
*/
|
|
644
|
-
valid:
|
|
779
|
+
valid: {
|
|
780
|
+
type: BooleanConstructor;
|
|
781
|
+
default: boolean;
|
|
782
|
+
};
|
|
645
783
|
/**
|
|
646
784
|
* Valid label
|
|
647
785
|
*/
|
|
648
|
-
validLabel:
|
|
786
|
+
validLabel: {
|
|
787
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
788
|
+
default: undefined;
|
|
789
|
+
};
|
|
649
790
|
/**
|
|
650
791
|
* Global attribute tabindex
|
|
651
792
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
|
|
@@ -673,7 +814,10 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
673
814
|
/**
|
|
674
815
|
* Input value
|
|
675
816
|
*/
|
|
676
|
-
modelValue:
|
|
817
|
+
modelValue: {
|
|
818
|
+
type: (SymbolConstructor | ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
819
|
+
default: undefined;
|
|
820
|
+
};
|
|
677
821
|
/**
|
|
678
822
|
* Input name
|
|
679
823
|
*/
|
|
@@ -684,11 +828,17 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
684
828
|
/**
|
|
685
829
|
* If true, the group will be displayed in a vertical column
|
|
686
830
|
*/
|
|
687
|
-
vertical:
|
|
831
|
+
vertical: {
|
|
832
|
+
type: BooleanConstructor;
|
|
833
|
+
default: boolean;
|
|
834
|
+
};
|
|
688
835
|
/**
|
|
689
836
|
* Loading status
|
|
690
837
|
*/
|
|
691
|
-
loading:
|
|
838
|
+
loading: {
|
|
839
|
+
type: BooleanConstructor;
|
|
840
|
+
default: boolean;
|
|
841
|
+
};
|
|
692
842
|
/**
|
|
693
843
|
* Loading label
|
|
694
844
|
*/
|
|
@@ -699,19 +849,31 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
699
849
|
/**
|
|
700
850
|
* The item label
|
|
701
851
|
*/
|
|
702
|
-
label:
|
|
852
|
+
label: {
|
|
853
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
854
|
+
default: undefined;
|
|
855
|
+
};
|
|
703
856
|
/**
|
|
704
857
|
* Component BEM modifiers
|
|
705
858
|
*/
|
|
706
|
-
modifiers:
|
|
859
|
+
modifiers: {
|
|
860
|
+
type: PropType<string | string[]>;
|
|
861
|
+
default: undefined;
|
|
862
|
+
};
|
|
707
863
|
/**
|
|
708
864
|
* The value is not editable
|
|
709
865
|
*/
|
|
710
|
-
readonly:
|
|
866
|
+
readonly: {
|
|
867
|
+
type: BooleanConstructor;
|
|
868
|
+
default: boolean;
|
|
869
|
+
};
|
|
711
870
|
/**
|
|
712
871
|
* Whether the form control is disabled
|
|
713
872
|
*/
|
|
714
|
-
disabled:
|
|
873
|
+
disabled: {
|
|
874
|
+
type: BooleanConstructor;
|
|
875
|
+
default: boolean;
|
|
876
|
+
};
|
|
715
877
|
hintLabel: {
|
|
716
878
|
type: StringConstructor;
|
|
717
879
|
default: string;
|
|
@@ -747,19 +909,31 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
747
909
|
/**
|
|
748
910
|
* Invalid status
|
|
749
911
|
*/
|
|
750
|
-
invalid:
|
|
912
|
+
invalid: {
|
|
913
|
+
type: BooleanConstructor;
|
|
914
|
+
default: boolean;
|
|
915
|
+
};
|
|
751
916
|
/**
|
|
752
917
|
* Invalid label
|
|
753
918
|
*/
|
|
754
|
-
invalidLabel:
|
|
919
|
+
invalidLabel: {
|
|
920
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
921
|
+
default: undefined;
|
|
922
|
+
};
|
|
755
923
|
/**
|
|
756
924
|
* Valid status
|
|
757
925
|
*/
|
|
758
|
-
valid:
|
|
926
|
+
valid: {
|
|
927
|
+
type: BooleanConstructor;
|
|
928
|
+
default: boolean;
|
|
929
|
+
};
|
|
759
930
|
/**
|
|
760
931
|
* Valid label
|
|
761
932
|
*/
|
|
762
|
-
validLabel:
|
|
933
|
+
validLabel: {
|
|
934
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
935
|
+
default: undefined;
|
|
936
|
+
};
|
|
763
937
|
};
|
|
764
938
|
export declare const ActionProps: {
|
|
765
939
|
/**
|
|
@@ -800,6 +974,7 @@ export declare const ActionProps: {
|
|
|
800
974
|
*/
|
|
801
975
|
target: {
|
|
802
976
|
type: PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
977
|
+
default: undefined;
|
|
803
978
|
validator: (value: AnchorTarget) => boolean;
|
|
804
979
|
};
|
|
805
980
|
/**
|
|
@@ -812,23 +987,38 @@ export declare const ActionProps: {
|
|
|
812
987
|
/**
|
|
813
988
|
* Whether the item is current
|
|
814
989
|
*/
|
|
815
|
-
current:
|
|
990
|
+
current: {
|
|
991
|
+
type: BooleanConstructor;
|
|
992
|
+
default: boolean;
|
|
993
|
+
};
|
|
816
994
|
/**
|
|
817
995
|
* Whether the item is active
|
|
818
996
|
*/
|
|
819
|
-
active:
|
|
997
|
+
active: {
|
|
998
|
+
type: BooleanConstructor;
|
|
999
|
+
default: boolean;
|
|
1000
|
+
};
|
|
820
1001
|
/**
|
|
821
1002
|
* Whether the item is pressed
|
|
822
1003
|
*/
|
|
823
|
-
pressed:
|
|
1004
|
+
pressed: {
|
|
1005
|
+
type: BooleanConstructor;
|
|
1006
|
+
default: boolean;
|
|
1007
|
+
};
|
|
824
1008
|
/**
|
|
825
1009
|
* The item label
|
|
826
1010
|
*/
|
|
827
|
-
label:
|
|
1011
|
+
label: {
|
|
1012
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1013
|
+
default: undefined;
|
|
1014
|
+
};
|
|
828
1015
|
/**
|
|
829
1016
|
* Whether the form control is disabled
|
|
830
1017
|
*/
|
|
831
|
-
disabled:
|
|
1018
|
+
disabled: {
|
|
1019
|
+
type: BooleanConstructor;
|
|
1020
|
+
default: boolean;
|
|
1021
|
+
};
|
|
832
1022
|
};
|
|
833
1023
|
export declare const NavProps: {
|
|
834
1024
|
items: {
|
|
@@ -6,13 +6,13 @@ declare const _default: Meta<{
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: {
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
|
+
modifiers?: string | string[] | undefined;
|
|
9
10
|
collapse?: boolean | undefined;
|
|
10
11
|
not?: boolean | undefined;
|
|
11
12
|
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
|
|
12
13
|
itemModifiers?: string | string[] | undefined;
|
|
13
14
|
key?: string | number | symbol | undefined;
|
|
14
15
|
readonly modelValue?: string | unknown[] | undefined;
|
|
15
|
-
readonly modifiers?: string | string[] | undefined;
|
|
16
16
|
ref?: import("vue").VNodeRef | undefined;
|
|
17
17
|
style?: unknown;
|
|
18
18
|
class?: unknown;
|
|
@@ -85,11 +85,15 @@ declare const _default: Meta<{
|
|
|
85
85
|
disabled: BooleanConstructor;
|
|
86
86
|
not: BooleanConstructor;
|
|
87
87
|
storeKey: StringConstructor;
|
|
88
|
-
modifiers:
|
|
88
|
+
modifiers: {
|
|
89
|
+
type: globalThis.PropType<string | string[]>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
89
92
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
93
|
[x: string]: (...args: any[]) => void;
|
|
91
94
|
}, string, {
|
|
92
95
|
disabled: boolean;
|
|
96
|
+
modifiers: string | string[];
|
|
93
97
|
collapse: boolean;
|
|
94
98
|
not: boolean;
|
|
95
99
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
@@ -128,7 +132,10 @@ declare const _default: Meta<{
|
|
|
128
132
|
disabled: BooleanConstructor;
|
|
129
133
|
not: BooleanConstructor;
|
|
130
134
|
storeKey: StringConstructor;
|
|
131
|
-
modifiers:
|
|
135
|
+
modifiers: {
|
|
136
|
+
type: globalThis.PropType<string | string[]>;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
132
139
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
133
140
|
__isFragment?: undefined;
|
|
134
141
|
__isTeleport?: undefined;
|
|
@@ -147,11 +154,15 @@ declare const _default: Meta<{
|
|
|
147
154
|
disabled: BooleanConstructor;
|
|
148
155
|
not: BooleanConstructor;
|
|
149
156
|
storeKey: StringConstructor;
|
|
150
|
-
modifiers:
|
|
157
|
+
modifiers: {
|
|
158
|
+
type: globalThis.PropType<string | string[]>;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
151
161
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
162
|
[x: string]: (...args: any[]) => void;
|
|
153
163
|
}, string, {
|
|
154
164
|
disabled: boolean;
|
|
165
|
+
modifiers: string | string[];
|
|
155
166
|
collapse: boolean;
|
|
156
167
|
not: boolean;
|
|
157
168
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|