@volverjs/ui-vue 0.0.10-beta.15 → 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.
Files changed (153) hide show
  1. package/README.md +96 -2
  2. package/auto-imports.d.ts +2 -0
  3. package/dist/components/VvAccordion/VvAccordion.es.js +33 -9
  4. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  5. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +9 -2
  6. package/dist/components/VvAccordion/index.d.ts +4 -1
  7. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +33 -9
  8. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  9. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +9 -2
  10. package/dist/components/VvAccordionGroup/index.d.ts +4 -1
  11. package/dist/components/VvAction/VvAction.es.js +29 -8
  12. package/dist/components/VvAction/VvAction.umd.js +1 -1
  13. package/dist/components/VvAction/VvAction.vue.d.ts +44 -10
  14. package/dist/components/VvAction/index.d.ts +21 -5
  15. package/dist/components/VvAlert/VvAlert.es.js +91 -107
  16. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  17. package/dist/components/VvAlert/VvAlert.vue.d.ts +14 -4
  18. package/dist/components/VvAlert/index.d.ts +7 -3
  19. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +91 -107
  20. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  21. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -2
  22. package/dist/components/VvAlertGroup/index.d.ts +6 -2
  23. package/dist/components/VvAvatar/VvAvatar.es.js +33 -9
  24. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  25. package/dist/components/VvAvatar/VvAvatar.vue.d.ts +11 -3
  26. package/dist/components/VvAvatar/index.d.ts +4 -1
  27. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +33 -9
  28. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  29. package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +9 -2
  30. package/dist/components/VvAvatarGroup/index.d.ts +4 -1
  31. package/dist/components/VvBadge/VvBadge.es.js +33 -9
  32. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  33. package/dist/components/VvBadge/VvBadge.vue.d.ts +11 -3
  34. package/dist/components/VvBadge/index.d.ts +4 -1
  35. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +33 -9
  36. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  37. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +11 -3
  38. package/dist/components/VvBreadcrumb/index.d.ts +4 -1
  39. package/dist/components/VvButton/VvButton.es.js +100 -119
  40. package/dist/components/VvButton/VvButton.umd.js +1 -1
  41. package/dist/components/VvButton/VvButton.vue.d.ts +78 -20
  42. package/dist/components/VvButton/index.d.ts +34 -12
  43. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +33 -9
  44. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  45. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +17 -4
  46. package/dist/components/VvButtonGroup/index.d.ts +8 -2
  47. package/dist/components/VvCard/VvCard.es.js +33 -9
  48. package/dist/components/VvCard/VvCard.umd.js +1 -1
  49. package/dist/components/VvCard/VvCard.vue.d.ts +11 -3
  50. package/dist/components/VvCard/index.d.ts +4 -1
  51. package/dist/components/VvCheckbox/VvCheckbox.es.js +56 -17
  52. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  53. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +94 -22
  54. package/dist/components/VvCheckbox/index.d.ts +44 -11
  55. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +64 -19
  56. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  57. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +93 -22
  58. package/dist/components/VvCheckboxGroup/index.d.ts +44 -11
  59. package/dist/components/VvCombobox/VvCombobox.es.js +108 -165
  60. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  61. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +97 -24
  62. package/dist/components/VvCombobox/index.d.ts +42 -11
  63. package/dist/components/VvDialog/VvDialog.es.js +51 -103
  64. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  65. package/dist/components/VvDropdown/VvDropdown.es.js +33 -9
  66. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  67. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +14 -2
  68. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +61 -12
  69. package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +11 -3
  70. package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +25 -6
  71. package/dist/components/VvDropdown/index.d.ts +6 -1
  72. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +33 -9
  73. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  74. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +29 -8
  75. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
  76. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +37 -10
  77. package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
  78. package/dist/components/VvIcon/VvIcon.es.js +22 -95
  79. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  80. package/dist/components/VvIcon/VvIcon.vue.d.ts +81 -44
  81. package/dist/components/VvIcon/index.d.ts +21 -48
  82. package/dist/components/VvInputFile/VvInputFile.es.js +107 -123
  83. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  84. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +52 -12
  85. package/dist/components/VvInputFile/index.d.ts +24 -6
  86. package/dist/components/VvInputText/VvInputText.es.js +115 -147
  87. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  88. package/dist/components/VvInputText/VvInputText.vue.d.ts +141 -34
  89. package/dist/components/VvInputText/index.d.ts +71 -26
  90. package/dist/components/VvNav/VvNav.es.js +33 -9
  91. package/dist/components/VvNav/VvNav.umd.js +1 -1
  92. package/dist/components/VvNav/VvNav.vue.d.ts +9 -2
  93. package/dist/components/VvNav/index.d.ts +4 -1
  94. package/dist/components/VvNavItem/VvNavItem.es.js +29 -8
  95. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  96. package/dist/components/VvProgress/VvProgress.es.js +33 -9
  97. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  98. package/dist/components/VvProgress/VvProgress.vue.d.ts +9 -2
  99. package/dist/components/VvProgress/index.d.ts +4 -1
  100. package/dist/components/VvRadio/VvRadio.es.js +56 -17
  101. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  102. package/dist/components/VvRadio/VvRadio.vue.d.ts +94 -22
  103. package/dist/components/VvRadio/index.d.ts +44 -11
  104. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +64 -19
  105. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  106. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +93 -22
  107. package/dist/components/VvRadioGroup/index.d.ts +44 -11
  108. package/dist/components/VvSelect/VvSelect.es.js +95 -138
  109. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  110. package/dist/components/VvSelect/VvSelect.vue.d.ts +97 -24
  111. package/dist/components/VvSelect/index.d.ts +46 -12
  112. package/dist/components/VvTab/VvTab.es.js +33 -9
  113. package/dist/components/VvTab/VvTab.umd.js +1 -1
  114. package/dist/components/VvTab/VvTab.vue.d.ts +9 -2
  115. package/dist/components/VvTab/index.d.ts +4 -1
  116. package/dist/components/VvTextarea/VvTextarea.es.js +109 -143
  117. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  118. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +141 -34
  119. package/dist/components/VvTextarea/index.d.ts +66 -17
  120. package/dist/components/VvTooltip/VvTooltip.es.js +33 -9
  121. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  122. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +9 -2
  123. package/dist/components/VvTooltip/index.d.ts +4 -1
  124. package/dist/components/index.es.js +178 -232
  125. package/dist/components/index.umd.js +1 -1
  126. package/dist/composables/useComponentIcon.d.ts +9 -8
  127. package/dist/directives/index.es.js +33 -9
  128. package/dist/directives/index.umd.js +1 -1
  129. package/dist/directives/v-tooltip.es.js +33 -9
  130. package/dist/directives/v-tooltip.umd.js +1 -1
  131. package/dist/icons.es.js +3 -3
  132. package/dist/icons.umd.js +1 -1
  133. package/dist/props/index.d.ts +251 -61
  134. package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +15 -4
  135. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +77 -22
  136. package/dist/stories/Icon/Icon.settings.d.ts +1 -0
  137. package/package.json +33 -33
  138. package/src/assets/icons/detailed.json +1 -1
  139. package/src/assets/icons/normal.json +1 -1
  140. package/src/assets/icons/simple.json +1 -1
  141. package/src/components/VvAlert/index.ts +1 -3
  142. package/src/components/VvAlertGroup/index.ts +2 -1
  143. package/src/components/VvButton/VvButton.vue +6 -6
  144. package/src/components/VvButton/index.ts +2 -4
  145. package/src/components/VvCombobox/VvCombobox.vue +5 -8
  146. package/src/components/VvIcon/VvIcon.vue +2 -2
  147. package/src/components/VvIcon/index.ts +22 -48
  148. package/src/components/VvInputText/VvInputText.vue +11 -12
  149. package/src/components/VvSelect/VvSelect.vue +5 -8
  150. package/src/components/VvTextarea/VvTextarea.vue +5 -8
  151. package/src/composables/useComponentIcon.ts +15 -14
  152. package/src/props/index.ts +89 -25
  153. package/src/stories/Icon/Icon.settings.ts +3 -3
@@ -17,28 +17,56 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
17
  default: string;
18
18
  };
19
19
  resizable: BooleanConstructor;
20
- minlength: (StringConstructor | NumberConstructor)[];
21
- maxlength: (StringConstructor | NumberConstructor)[];
22
- placeholder: StringConstructor;
23
- required: BooleanConstructor;
24
- label: (StringConstructor | NumberConstructor)[];
25
- floating: BooleanConstructor;
20
+ minlength: {
21
+ type: (StringConstructor | NumberConstructor)[];
22
+ default: undefined;
23
+ };
24
+ maxlength: {
25
+ type: (StringConstructor | NumberConstructor)[];
26
+ default: undefined;
27
+ };
28
+ placeholder: {
29
+ type: StringConstructor;
30
+ default: undefined;
31
+ };
32
+ required: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ label: {
37
+ type: (StringConstructor | NumberConstructor)[];
38
+ default: undefined;
39
+ };
40
+ floating: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
26
44
  icon: {
27
- type: (ObjectConstructor | StringConstructor)[];
45
+ type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
46
+ default: undefined;
28
47
  };
29
48
  iconPosition: {
30
49
  type: globalThis.PropType<"before" | "after">;
31
50
  default: import("../../constants").Position;
32
51
  validation: (value: import("../../constants").Position) => boolean;
33
52
  };
34
- debounce: (StringConstructor | NumberConstructor)[];
53
+ debounce: {
54
+ type: (StringConstructor | NumberConstructor)[];
55
+ default: undefined;
56
+ };
35
57
  count: {
36
58
  type: (StringConstructor | BooleanConstructor)[];
37
59
  default: boolean;
38
60
  validator: (value: string) => boolean;
39
61
  };
40
- modifiers: globalThis.PropType<string | string[]>;
41
- loading: BooleanConstructor;
62
+ modifiers: {
63
+ type: globalThis.PropType<string | string[]>;
64
+ default: undefined;
65
+ };
66
+ loading: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
42
70
  loadingLabel: {
43
71
  type: StringConstructor;
44
72
  default: string;
@@ -47,12 +75,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
75
  type: StringConstructor;
48
76
  default: string;
49
77
  };
50
- invalid: BooleanConstructor;
51
- invalidLabel: (ArrayConstructor | StringConstructor)[];
52
- valid: BooleanConstructor;
53
- validLabel: (ArrayConstructor | StringConstructor)[];
54
- readonly: BooleanConstructor;
55
- disabled: BooleanConstructor;
78
+ invalid: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ invalidLabel: {
83
+ type: (ArrayConstructor | StringConstructor)[];
84
+ default: undefined;
85
+ };
86
+ valid: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ validLabel: {
91
+ type: (ArrayConstructor | StringConstructor)[];
92
+ default: undefined;
93
+ };
94
+ readonly: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ disabled: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
56
102
  tabindex: {
57
103
  type: (StringConstructor | NumberConstructor)[];
58
104
  default: number;
@@ -61,7 +107,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
61
107
  type: StringConstructor;
62
108
  default: string;
63
109
  };
64
- autofocus: BooleanConstructor;
110
+ autofocus: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
65
114
  name: {
66
115
  type: StringConstructor;
67
116
  required: boolean;
@@ -88,28 +137,56 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
88
137
  default: string;
89
138
  };
90
139
  resizable: BooleanConstructor;
91
- minlength: (StringConstructor | NumberConstructor)[];
92
- maxlength: (StringConstructor | NumberConstructor)[];
93
- placeholder: StringConstructor;
94
- required: BooleanConstructor;
95
- label: (StringConstructor | NumberConstructor)[];
96
- floating: BooleanConstructor;
140
+ minlength: {
141
+ type: (StringConstructor | NumberConstructor)[];
142
+ default: undefined;
143
+ };
144
+ maxlength: {
145
+ type: (StringConstructor | NumberConstructor)[];
146
+ default: undefined;
147
+ };
148
+ placeholder: {
149
+ type: StringConstructor;
150
+ default: undefined;
151
+ };
152
+ required: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ label: {
157
+ type: (StringConstructor | NumberConstructor)[];
158
+ default: undefined;
159
+ };
160
+ floating: {
161
+ type: BooleanConstructor;
162
+ default: boolean;
163
+ };
97
164
  icon: {
98
- type: (ObjectConstructor | StringConstructor)[];
165
+ type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
166
+ default: undefined;
99
167
  };
100
168
  iconPosition: {
101
169
  type: globalThis.PropType<"before" | "after">;
102
170
  default: import("../../constants").Position;
103
171
  validation: (value: import("../../constants").Position) => boolean;
104
172
  };
105
- debounce: (StringConstructor | NumberConstructor)[];
173
+ debounce: {
174
+ type: (StringConstructor | NumberConstructor)[];
175
+ default: undefined;
176
+ };
106
177
  count: {
107
178
  type: (StringConstructor | BooleanConstructor)[];
108
179
  default: boolean;
109
180
  validator: (value: string) => boolean;
110
181
  };
111
- modifiers: globalThis.PropType<string | string[]>;
112
- loading: BooleanConstructor;
182
+ modifiers: {
183
+ type: globalThis.PropType<string | string[]>;
184
+ default: undefined;
185
+ };
186
+ loading: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ };
113
190
  loadingLabel: {
114
191
  type: StringConstructor;
115
192
  default: string;
@@ -118,12 +195,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
118
195
  type: StringConstructor;
119
196
  default: string;
120
197
  };
121
- invalid: BooleanConstructor;
122
- invalidLabel: (ArrayConstructor | StringConstructor)[];
123
- valid: BooleanConstructor;
124
- validLabel: (ArrayConstructor | StringConstructor)[];
125
- readonly: BooleanConstructor;
126
- disabled: BooleanConstructor;
198
+ invalid: {
199
+ type: BooleanConstructor;
200
+ default: boolean;
201
+ };
202
+ invalidLabel: {
203
+ type: (ArrayConstructor | StringConstructor)[];
204
+ default: undefined;
205
+ };
206
+ valid: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ };
210
+ validLabel: {
211
+ type: (ArrayConstructor | StringConstructor)[];
212
+ default: undefined;
213
+ };
214
+ readonly: {
215
+ type: BooleanConstructor;
216
+ default: boolean;
217
+ };
218
+ disabled: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
127
222
  tabindex: {
128
223
  type: (StringConstructor | NumberConstructor)[];
129
224
  default: number;
@@ -132,7 +227,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
132
227
  type: StringConstructor;
133
228
  default: string;
134
229
  };
135
- autofocus: BooleanConstructor;
230
+ autofocus: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
136
234
  name: {
137
235
  type: StringConstructor;
138
236
  required: boolean;
@@ -143,16 +241,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
143
241
  disabled: boolean;
144
242
  valid: boolean;
145
243
  invalid: boolean;
244
+ modifiers: string | string[];
146
245
  floating: boolean;
246
+ label: string | number;
147
247
  required: boolean;
248
+ icon: string | import("../VvIcon").VvIconProps;
148
249
  iconPosition: "before" | "after";
149
250
  loading: boolean;
150
251
  loadingLabel: string;
151
252
  hintLabel: string;
253
+ invalidLabel: string | unknown[];
254
+ validLabel: string | unknown[];
152
255
  tabindex: string | number;
256
+ placeholder: string;
153
257
  autocomplete: string;
154
258
  autofocus: boolean;
155
259
  spellcheck: string | boolean;
260
+ minlength: string | number;
261
+ maxlength: string | number;
262
+ debounce: string | number;
156
263
  count: string | boolean;
157
264
  cols: string | number;
158
265
  rows: string | number;
@@ -51,28 +51,56 @@ export declare const VvTextareaProps: {
51
51
  * If true, the textarea will be resizable
52
52
  */
53
53
  resizable: BooleanConstructor;
54
- minlength: (StringConstructor | NumberConstructor)[];
55
- maxlength: (StringConstructor | NumberConstructor)[];
56
- placeholder: StringConstructor;
57
- required: BooleanConstructor;
58
- label: (StringConstructor | NumberConstructor)[];
59
- floating: BooleanConstructor;
54
+ minlength: {
55
+ type: (StringConstructor | NumberConstructor)[];
56
+ default: undefined;
57
+ };
58
+ maxlength: {
59
+ type: (StringConstructor | NumberConstructor)[];
60
+ default: undefined;
61
+ };
62
+ placeholder: {
63
+ type: StringConstructor;
64
+ default: undefined;
65
+ };
66
+ required: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ label: {
71
+ type: (StringConstructor | NumberConstructor)[];
72
+ default: undefined;
73
+ };
74
+ floating: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
60
78
  icon: {
61
- type: (ObjectConstructor | StringConstructor)[];
79
+ type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
80
+ default: undefined;
62
81
  };
63
82
  iconPosition: {
64
83
  type: globalThis.PropType<"before" | "after">;
65
84
  default: import("../../constants").Position;
66
85
  validation: (value: import("../../constants").Position) => boolean;
67
86
  };
68
- debounce: (StringConstructor | NumberConstructor)[];
87
+ debounce: {
88
+ type: (StringConstructor | NumberConstructor)[];
89
+ default: undefined;
90
+ };
69
91
  count: {
70
92
  type: (StringConstructor | BooleanConstructor)[];
71
93
  default: boolean;
72
94
  validator: (value: string) => boolean;
73
95
  };
74
- modifiers: globalThis.PropType<string | string[]>;
75
- loading: BooleanConstructor;
96
+ modifiers: {
97
+ type: globalThis.PropType<string | string[]>;
98
+ default: undefined;
99
+ };
100
+ loading: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
76
104
  loadingLabel: {
77
105
  type: StringConstructor;
78
106
  default: string;
@@ -81,12 +109,30 @@ export declare const VvTextareaProps: {
81
109
  type: StringConstructor;
82
110
  default: string;
83
111
  };
84
- invalid: BooleanConstructor;
85
- invalidLabel: (ArrayConstructor | StringConstructor)[];
86
- valid: BooleanConstructor;
87
- validLabel: (ArrayConstructor | StringConstructor)[];
88
- readonly: BooleanConstructor;
89
- disabled: BooleanConstructor;
112
+ invalid: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ invalidLabel: {
117
+ type: (ArrayConstructor | StringConstructor)[];
118
+ default: undefined;
119
+ };
120
+ valid: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ validLabel: {
125
+ type: (ArrayConstructor | StringConstructor)[];
126
+ default: undefined;
127
+ };
128
+ readonly: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ disabled: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
90
136
  tabindex: {
91
137
  type: (StringConstructor | NumberConstructor)[];
92
138
  default: number;
@@ -95,7 +141,10 @@ export declare const VvTextareaProps: {
95
141
  type: StringConstructor;
96
142
  default: string;
97
143
  };
98
- autofocus: BooleanConstructor;
144
+ autofocus: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
99
148
  name: {
100
149
  type: StringConstructor;
101
150
  required: boolean;
@@ -64,6 +64,7 @@ const LinkProps = {
64
64
  */
65
65
  target: {
66
66
  type: String,
67
+ default: void 0,
67
68
  validator: (value) => Object.values(AnchorTarget).includes(value)
68
69
  },
69
70
  /**
@@ -78,44 +79,65 @@ const DisabledProps = {
78
79
  /**
79
80
  * Whether the form control is disabled
80
81
  */
81
- disabled: Boolean
82
+ disabled: {
83
+ type: Boolean,
84
+ default: false
85
+ }
82
86
  };
83
87
  const ActiveProps = {
84
88
  /**
85
89
  * Whether the item is active
86
90
  */
87
- active: Boolean
91
+ active: {
92
+ type: Boolean,
93
+ default: false
94
+ }
88
95
  };
89
96
  const CurrentProps = {
90
97
  /**
91
98
  * Whether the item is current
92
99
  */
93
- current: Boolean
100
+ current: {
101
+ type: Boolean,
102
+ default: false
103
+ }
94
104
  };
95
105
  const PressedProps = {
96
106
  /**
97
107
  * Whether the item is pressed
98
108
  */
99
- pressed: Boolean
109
+ pressed: {
110
+ type: Boolean,
111
+ default: false
112
+ }
100
113
  };
101
114
  const LabelProps = {
102
115
  /**
103
116
  * The item label
104
117
  */
105
- label: [String, Number]
118
+ label: {
119
+ type: [String, Number],
120
+ default: void 0
121
+ }
106
122
  };
107
123
  const ModifiersProps = {
108
124
  /**
109
125
  * Component BEM modifiers
110
126
  */
111
- modifiers: [String, Array]
127
+ modifiers: {
128
+ type: [String, Array],
129
+ default: void 0
130
+ }
112
131
  };
113
132
  ({
114
133
  /**
115
134
  * VvIcon name or props
116
135
  * @see VVIcon
117
136
  */
118
- icon: { type: [String, Object] },
137
+ icon: {
138
+ type: [String, Object],
139
+ default: void 0
140
+ },
119
141
  /**
120
142
  * VvIcon position
121
143
  */
@@ -146,7 +168,8 @@ const ModifiersProps = {
146
168
  * Dropdown show / hide transition name
147
169
  */
148
170
  transitionName: {
149
- type: String
171
+ type: String,
172
+ default: void 0
150
173
  },
151
174
  /**
152
175
  * Offset of the dropdown from the trigger
@@ -214,7 +237,8 @@ const ModifiersProps = {
214
237
  * Set dropdown width to the same as the trigger
215
238
  */
216
239
  triggerWidth: {
217
- type: Boolean
240
+ type: Boolean,
241
+ default: false
218
242
  }
219
243
  });
220
244
  ({
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).VvTooltip=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{}),r=(e=>(e.nuxtLink="nuxt-link",e.routerLink="router-link",e.a="a",e.button="button",e))(r||{});Boolean,Boolean,Boolean,Boolean;const l={modifiers:[String,Array]};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button,r.button;const i={...l,position:{type:String,default:o.bottom},value:{type:String}};return e.defineComponent({__name:"VvTooltip",props:i,setup(o){const t=o,{modifiers:n}=e.toRefs(t),r=function(o,t,n){return e.computed((()=>{const r={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(r[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{r[`${o}--${t}`]=e.unref(n.value[t])})),r}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).VvTooltip=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{}),l=(e=>(e.nuxtLink="nuxt-link",e.routerLink="router-link",e.a="a",e.button="button",e))(l||{});Boolean,Boolean,Boolean,Boolean;const r={modifiers:{type:[String,Array],default:void 0}};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button,l.button;const i={...r,position:{type:String,default:o.bottom},value:{type:String}};return e.defineComponent({__name:"VvTooltip",props:i,setup(o){const t=o,{modifiers:n}=e.toRefs(t),l=function(o,t,n){return e.computed((()=>{const l={[o]:!0},r="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return r&&Array.isArray(r)&&r.forEach((e=>{e&&(l[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{l[`${o}--${t}`]=e.unref(n.value[t])})),l}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(l)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}})}));
@@ -6,7 +6,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
6
  value: {
7
7
  type: StringConstructor;
8
8
  };
9
- modifiers: globalThis.PropType<string | string[]>;
9
+ modifiers: {
10
+ type: globalThis.PropType<string | string[]>;
11
+ default: undefined;
12
+ };
10
13
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
14
  position: {
12
15
  type: globalThis.PropType<"left" | "right" | "top" | "bottom">;
@@ -15,8 +18,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
18
  value: {
16
19
  type: StringConstructor;
17
20
  };
18
- modifiers: globalThis.PropType<string | string[]>;
21
+ modifiers: {
22
+ type: globalThis.PropType<string | string[]>;
23
+ default: undefined;
24
+ };
19
25
  }>>, {
26
+ modifiers: string | string[];
20
27
  position: "left" | "right" | "top" | "bottom";
21
28
  }, {}>, {
22
29
  default?(_: {}): any;
@@ -12,5 +12,8 @@ export declare const VvTooltipProps: {
12
12
  value: {
13
13
  type: StringConstructor;
14
14
  };
15
- modifiers: PropType<string | string[]>;
15
+ modifiers: {
16
+ type: PropType<string | string[]>;
17
+ default: undefined;
18
+ };
16
19
  };