@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.13

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 (224) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/json/attributes.json +37 -29
  3. package/dist/json/importMap.json +46 -46
  4. package/dist/json/tags.json +10 -8
  5. package/dist/json/web-types.json +101 -87
  6. package/dist/vuetify.css +545 -441
  7. package/dist/vuetify.d.ts +12095 -10059
  8. package/dist/vuetify.esm.js +401 -266
  9. package/dist/vuetify.esm.js.map +1 -1
  10. package/dist/vuetify.js +371 -236
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +3 -3
  13. package/dist/vuetify.min.js +496 -490
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/blueprints/index.d.ts +171 -0
  16. package/lib/blueprints/md1.d.ts +167 -0
  17. package/lib/blueprints/md2.d.ts +167 -0
  18. package/lib/blueprints/md3.d.ts +167 -0
  19. package/lib/components/VAlert/index.d.ts +185 -0
  20. package/lib/components/VApp/index.d.ts +83 -0
  21. package/lib/components/VAppBar/VAppBar.css +3 -0
  22. package/lib/components/VAppBar/VAppBar.sass +3 -0
  23. package/lib/components/VAppBar/index.d.ts +156 -0
  24. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  26. package/lib/components/VAutocomplete/index.d.ts +1569 -0
  27. package/lib/components/VAvatar/VAvatar.css +44 -2
  28. package/lib/components/VAvatar/VAvatar.mjs +16 -12
  29. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  30. package/lib/components/VAvatar/VAvatar.sass +5 -1
  31. package/lib/components/VAvatar/_variables.scss +9 -4
  32. package/lib/components/VAvatar/index.d.ts +80 -0
  33. package/lib/components/VBadge/index.d.ts +123 -0
  34. package/lib/components/VBanner/index.d.ts +122 -0
  35. package/lib/components/VBottomNavigation/index.d.ts +143 -0
  36. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -2
  37. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  38. package/lib/components/VBreadcrumbs/index.d.ts +301 -0
  39. package/lib/components/VBtn/VBtn.css +8 -3
  40. package/lib/components/VBtn/VBtn.mjs +16 -6
  41. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  42. package/lib/components/VBtn/index.d.ts +210 -0
  43. package/lib/components/VBtnGroup/index.d.ts +65 -0
  44. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
  45. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  46. package/lib/components/VBtnToggle/index.d.ts +175 -0
  47. package/lib/components/VCard/VCard.css +8 -3
  48. package/lib/components/VCard/index.d.ts +230 -0
  49. package/lib/components/VCarousel/VCarousel.mjs +3 -3
  50. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  51. package/lib/components/VCarousel/index.d.ts +80 -0
  52. package/lib/components/VCheckbox/index.d.ts +291 -0
  53. package/lib/components/VChip/index.d.ts +195 -0
  54. package/lib/components/VChipGroup/index.d.ts +89 -0
  55. package/lib/components/VCode/index.d.ts +19 -0
  56. package/lib/components/VColorPicker/index.d.ts +116 -0
  57. package/lib/components/VCombobox/VCombobox.mjs +1 -1
  58. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  59. package/lib/components/VCombobox/index.d.ts +1590 -0
  60. package/lib/components/VCounter/index.d.ts +223 -0
  61. package/lib/components/VDefaultsProvider/index.d.ts +26 -0
  62. package/lib/components/VDialog/VDialog.css +2 -0
  63. package/lib/components/VDialog/VDialog.mjs +17 -12
  64. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  65. package/lib/components/VDialog/VDialog.sass +2 -0
  66. package/lib/components/VDialog/index.d.ts +859 -0
  67. package/lib/components/VDivider/index.d.ts +22 -0
  68. package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
  69. package/lib/components/VExpansionPanel/index.d.ts +206 -0
  70. package/lib/components/VField/VField.css +27 -24
  71. package/lib/components/VField/VField.mjs +1 -1
  72. package/lib/components/VField/VField.mjs.map +1 -1
  73. package/lib/components/VField/VField.sass +23 -21
  74. package/lib/components/VField/index.d.ts +332 -0
  75. package/lib/components/VFileInput/VFileInput.mjs +3 -3
  76. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  77. package/lib/components/VFileInput/index.d.ts +236 -0
  78. package/lib/components/VFooter/VFooter.css +7 -0
  79. package/lib/components/VFooter/VFooter.sass +1 -1
  80. package/lib/components/VFooter/_variables.scss +11 -0
  81. package/lib/components/VFooter/index.d.ts +76 -0
  82. package/lib/components/VForm/index.d.ts +72 -0
  83. package/lib/components/VGrid/index.d.ts +154 -0
  84. package/lib/components/VHover/index.d.ts +30 -0
  85. package/lib/components/VIcon/index.d.ts +124 -0
  86. package/lib/components/VImg/VImg.mjs +29 -27
  87. package/lib/components/VImg/VImg.mjs.map +1 -1
  88. package/lib/components/VImg/index.d.ts +89 -0
  89. package/lib/components/VInput/VInput.mjs +4 -4
  90. package/lib/components/VInput/VInput.mjs.map +1 -1
  91. package/lib/components/VInput/index.d.ts +325 -0
  92. package/lib/components/VItemGroup/index.d.ts +210 -0
  93. package/lib/components/VKbd/index.d.ts +19 -0
  94. package/lib/components/VLabel/VLabel.css +4 -1
  95. package/lib/components/VLabel/VLabel.mjs +4 -1
  96. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  97. package/lib/components/VLabel/VLabel.sass +3 -1
  98. package/lib/components/VLabel/index.d.ts +16 -0
  99. package/lib/components/VLayout/index.d.ts +75 -0
  100. package/lib/components/VLazy/index.d.ts +85 -0
  101. package/lib/components/VList/VListItem.css +8 -3
  102. package/lib/components/VList/VListItem.mjs +4 -4
  103. package/lib/components/VList/VListItem.mjs.map +1 -1
  104. package/lib/components/VList/index.d.ts +1250 -0
  105. package/lib/components/VLocaleProvider/index.d.ts +23 -0
  106. package/lib/components/VMain/index.d.ts +26 -0
  107. package/lib/components/VMenu/VMenu.mjs +16 -3
  108. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  109. package/lib/components/VMenu/index.d.ts +817 -0
  110. package/lib/components/VMessages/index.d.ts +234 -0
  111. package/lib/components/VNavigationDrawer/index.d.ts +148 -0
  112. package/lib/components/VNoSsr/index.d.ts +7 -0
  113. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  114. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  115. package/lib/components/VOverlay/index.d.ts +579 -0
  116. package/lib/components/VOverlay/useActivator.mjs +27 -1
  117. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  118. package/lib/components/VPagination/VPagination.mjs +6 -3
  119. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  120. package/lib/components/VPagination/index.d.ts +247 -0
  121. package/lib/components/VParallax/VParallax.mjs +24 -10
  122. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  123. package/lib/components/VParallax/index.d.ts +18 -0
  124. package/lib/components/VProgressCircular/index.d.ts +68 -0
  125. package/lib/components/VProgressLinear/index.d.ts +101 -0
  126. package/lib/components/VRadio/index.d.ts +103 -0
  127. package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
  128. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
  129. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  130. package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
  131. package/lib/components/VRadioGroup/_variables.scss +0 -1
  132. package/lib/components/VRadioGroup/index.d.ts +186 -0
  133. package/lib/components/VRangeSlider/VRangeSlider.mjs +12 -2
  134. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  135. package/lib/components/VRangeSlider/index.d.ts +242 -0
  136. package/lib/components/VRating/index.d.ts +356 -0
  137. package/lib/components/VResponsive/index.d.ts +23 -0
  138. package/lib/components/VSelect/VSelect.mjs +1 -1
  139. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  140. package/lib/components/VSelect/index.d.ts +1521 -0
  141. package/lib/components/VSelectionControl/VSelectionControl.mjs +2 -1
  142. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  143. package/lib/components/VSelectionControl/index.d.ts +275 -0
  144. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
  145. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -1
  146. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  147. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +5 -0
  148. package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
  149. package/lib/components/VSheet/index.d.ts +68 -0
  150. package/lib/components/VSlideGroup/index.d.ts +151 -0
  151. package/lib/components/VSlider/VSlider.css +7 -2
  152. package/lib/components/VSlider/VSlider.mjs +14 -4
  153. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  154. package/lib/components/VSlider/VSlider.sass +6 -2
  155. package/lib/components/VSlider/VSliderTrack.css +20 -20
  156. package/lib/components/VSlider/VSliderTrack.mjs +7 -3
  157. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  158. package/lib/components/VSlider/VSliderTrack.sass +14 -14
  159. package/lib/components/VSlider/_variables.scss +2 -2
  160. package/lib/components/VSlider/index.d.ts +239 -0
  161. package/lib/components/VSlider/slider.mjs +2 -2
  162. package/lib/components/VSlider/slider.mjs.map +1 -1
  163. package/lib/components/VSnackbar/VSnackbar.mjs +3 -2
  164. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  165. package/lib/components/VSnackbar/index.d.ts +892 -0
  166. package/lib/components/VSwitch/index.d.ts +175 -0
  167. package/lib/components/VSystemBar/index.d.ts +61 -0
  168. package/lib/components/VTable/index.d.ts +39 -0
  169. package/lib/components/VTabs/VTab.mjs +1 -0
  170. package/lib/components/VTabs/VTab.mjs.map +1 -1
  171. package/lib/components/VTabs/index.d.ts +178 -0
  172. package/lib/components/VTextField/VTextField.css +2 -3
  173. package/lib/components/VTextField/VTextField.sass +2 -4
  174. package/lib/components/VTextField/index.d.ts +582 -0
  175. package/lib/components/VTextarea/VTextarea.css +5 -3
  176. package/lib/components/VTextarea/VTextarea.mjs +2 -1
  177. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  178. package/lib/components/VTextarea/VTextarea.sass +5 -4
  179. package/lib/components/VTextarea/index.d.ts +218 -0
  180. package/lib/components/VThemeProvider/index.d.ts +24 -0
  181. package/lib/components/VTimeline/VTimeline.css +21 -6
  182. package/lib/components/VTimeline/VTimeline.mjs +6 -1
  183. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  184. package/lib/components/VTimeline/VTimeline.sass +16 -2
  185. package/lib/components/VTimeline/_variables.scss +4 -3
  186. package/lib/components/VTimeline/index.d.ts +154 -0
  187. package/lib/components/VToolbar/VToolbar.css +0 -1
  188. package/lib/components/VToolbar/VToolbar.sass +0 -1
  189. package/lib/components/VToolbar/index.d.ts +414 -0
  190. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  191. package/lib/components/VTooltip/index.d.ts +799 -0
  192. package/lib/components/VValidation/index.d.ts +61 -0
  193. package/lib/components/VWindow/index.d.ts +428 -0
  194. package/lib/components/index.d.ts +12037 -10009
  195. package/lib/components/transitions/index.d.ts +454 -0
  196. package/lib/composables/display.mjs +3 -3
  197. package/lib/composables/display.mjs.map +1 -1
  198. package/lib/composables/items.mjs.map +1 -1
  199. package/lib/composables/locale.mjs +10 -3
  200. package/lib/composables/locale.mjs.map +1 -1
  201. package/lib/composables/proxiedModel.mjs +28 -10
  202. package/lib/composables/proxiedModel.mjs.map +1 -1
  203. package/lib/composables/router.mjs +10 -2
  204. package/lib/composables/router.mjs.map +1 -1
  205. package/lib/composables/selectLink.mjs +4 -4
  206. package/lib/composables/selectLink.mjs.map +1 -1
  207. package/lib/composables/theme.mjs +37 -33
  208. package/lib/composables/theme.mjs.map +1 -1
  209. package/lib/composables/validation.mjs +1 -1
  210. package/lib/composables/validation.mjs.map +1 -1
  211. package/lib/entry-bundler.mjs +1 -1
  212. package/lib/framework.mjs +46 -51
  213. package/lib/framework.mjs.map +1 -1
  214. package/lib/index.d.ts +31 -22
  215. package/lib/locale/adapters/vue-i18n.d.ts +35 -0
  216. package/lib/locale/adapters/vue-intl.d.ts +42 -0
  217. package/lib/styles/main.css +73 -73
  218. package/lib/styles/settings/_colors.scss +84 -84
  219. package/lib/styles/tools/_states.sass +8 -3
  220. package/lib/util/getCurrentInstance.mjs +2 -3
  221. package/lib/util/getCurrentInstance.mjs.map +1 -1
  222. package/lib/util/helpers.mjs +6 -11
  223. package/lib/util/helpers.mjs.map +1 -1
  224. package/package.json +4 -2
@@ -0,0 +1,242 @@
1
+ import * as vue from 'vue';
2
+ import { PropType, JSXComponent } from 'vue';
3
+
4
+ declare type EventProp<T = (...args: any[]) => any> = T | T[];
5
+ declare const EventProp: PropType<EventProp<(...args: any[]) => any>>;
6
+
7
+ declare type IconValue = string | JSXComponent;
8
+ declare const IconValue: PropType<IconValue>;
9
+
10
+ declare type ValidationResult = string | boolean;
11
+ declare type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
12
+
13
+ declare const VRangeSlider: vue.DefineComponent<{
14
+ strict: BooleanConstructor;
15
+ modelValue: {
16
+ type: PropType<number[]>;
17
+ default: () => number[];
18
+ };
19
+ elevation: Omit<{
20
+ type: (StringConstructor | NumberConstructor)[];
21
+ validator(v: any): boolean;
22
+ }, "type" | "default"> & {
23
+ type: PropType<string | number>;
24
+ default: string | number;
25
+ };
26
+ rounded: {
27
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
28
+ default: undefined;
29
+ };
30
+ disabled: BooleanConstructor;
31
+ error: BooleanConstructor;
32
+ readonly: BooleanConstructor;
33
+ max: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: number;
36
+ };
37
+ min: {
38
+ type: (StringConstructor | NumberConstructor)[];
39
+ default: number;
40
+ };
41
+ step: {
42
+ type: (StringConstructor | NumberConstructor)[];
43
+ default: number;
44
+ };
45
+ thumbColor: StringConstructor;
46
+ thumbLabel: {
47
+ type: PropType<boolean | "always" | undefined>;
48
+ default: undefined;
49
+ validator: (v: any) => boolean;
50
+ };
51
+ thumbSize: {
52
+ type: (StringConstructor | NumberConstructor)[];
53
+ default: number;
54
+ };
55
+ showTicks: {
56
+ type: PropType<boolean | "always">;
57
+ default: boolean;
58
+ validator: (v: any) => boolean;
59
+ };
60
+ ticks: {
61
+ type: PropType<number[] | Record<number, string>>;
62
+ };
63
+ tickSize: {
64
+ type: (StringConstructor | NumberConstructor)[];
65
+ default: number;
66
+ };
67
+ color: StringConstructor;
68
+ trackColor: StringConstructor;
69
+ trackFillColor: StringConstructor;
70
+ trackSize: {
71
+ type: (StringConstructor | NumberConstructor)[];
72
+ default: number;
73
+ };
74
+ direction: {
75
+ type: PropType<"horizontal" | "vertical">;
76
+ default: string;
77
+ validator: (v: any) => boolean;
78
+ };
79
+ reverse: BooleanConstructor;
80
+ errorMessages: {
81
+ type: PropType<string | string[]>;
82
+ default: () => never[];
83
+ };
84
+ maxErrors: {
85
+ type: (StringConstructor | NumberConstructor)[];
86
+ default: number;
87
+ };
88
+ name: StringConstructor;
89
+ label: StringConstructor;
90
+ rules: {
91
+ type: PropType<ValidationRule[]>;
92
+ default: () => never[];
93
+ };
94
+ validationValue: null;
95
+ density: {
96
+ type: PropType<"default" | "compact" | "comfortable" | null>;
97
+ default: string;
98
+ validator: (v: any) => boolean;
99
+ };
100
+ id: StringConstructor;
101
+ appendIcon: PropType<IconValue>;
102
+ prependIcon: PropType<IconValue>;
103
+ hideDetails: PropType<boolean | "auto">;
104
+ messages: {
105
+ type: PropType<string | string[]>;
106
+ default: () => never[];
107
+ };
108
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
109
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
110
+ focused: BooleanConstructor;
111
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
112
+ 'update:focused': (value: boolean) => true;
113
+ 'update:modelValue': (value: [number, number]) => true;
114
+ }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
115
+ strict: BooleanConstructor;
116
+ modelValue: {
117
+ type: PropType<number[]>;
118
+ default: () => number[];
119
+ };
120
+ elevation: Omit<{
121
+ type: (StringConstructor | NumberConstructor)[];
122
+ validator(v: any): boolean;
123
+ }, "type" | "default"> & {
124
+ type: PropType<string | number>;
125
+ default: string | number;
126
+ };
127
+ rounded: {
128
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
129
+ default: undefined;
130
+ };
131
+ disabled: BooleanConstructor;
132
+ error: BooleanConstructor;
133
+ readonly: BooleanConstructor;
134
+ max: {
135
+ type: (StringConstructor | NumberConstructor)[];
136
+ default: number;
137
+ };
138
+ min: {
139
+ type: (StringConstructor | NumberConstructor)[];
140
+ default: number;
141
+ };
142
+ step: {
143
+ type: (StringConstructor | NumberConstructor)[];
144
+ default: number;
145
+ };
146
+ thumbColor: StringConstructor;
147
+ thumbLabel: {
148
+ type: PropType<boolean | "always" | undefined>;
149
+ default: undefined;
150
+ validator: (v: any) => boolean;
151
+ };
152
+ thumbSize: {
153
+ type: (StringConstructor | NumberConstructor)[];
154
+ default: number;
155
+ };
156
+ showTicks: {
157
+ type: PropType<boolean | "always">;
158
+ default: boolean;
159
+ validator: (v: any) => boolean;
160
+ };
161
+ ticks: {
162
+ type: PropType<number[] | Record<number, string>>;
163
+ };
164
+ tickSize: {
165
+ type: (StringConstructor | NumberConstructor)[];
166
+ default: number;
167
+ };
168
+ color: StringConstructor;
169
+ trackColor: StringConstructor;
170
+ trackFillColor: StringConstructor;
171
+ trackSize: {
172
+ type: (StringConstructor | NumberConstructor)[];
173
+ default: number;
174
+ };
175
+ direction: {
176
+ type: PropType<"horizontal" | "vertical">;
177
+ default: string;
178
+ validator: (v: any) => boolean;
179
+ };
180
+ reverse: BooleanConstructor;
181
+ errorMessages: {
182
+ type: PropType<string | string[]>;
183
+ default: () => never[];
184
+ };
185
+ maxErrors: {
186
+ type: (StringConstructor | NumberConstructor)[];
187
+ default: number;
188
+ };
189
+ name: StringConstructor;
190
+ label: StringConstructor;
191
+ rules: {
192
+ type: PropType<ValidationRule[]>;
193
+ default: () => never[];
194
+ };
195
+ validationValue: null;
196
+ density: {
197
+ type: PropType<"default" | "compact" | "comfortable" | null>;
198
+ default: string;
199
+ validator: (v: any) => boolean;
200
+ };
201
+ id: StringConstructor;
202
+ appendIcon: PropType<IconValue>;
203
+ prependIcon: PropType<IconValue>;
204
+ hideDetails: PropType<boolean | "auto">;
205
+ messages: {
206
+ type: PropType<string | string[]>;
207
+ default: () => never[];
208
+ };
209
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
210
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
211
+ focused: BooleanConstructor;
212
+ }>> & {
213
+ "onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
214
+ "onUpdate:focused"?: ((value: boolean) => any) | undefined;
215
+ }, {
216
+ reverse: boolean;
217
+ max: string | number;
218
+ error: boolean;
219
+ direction: "horizontal" | "vertical";
220
+ disabled: boolean;
221
+ readonly: boolean;
222
+ strict: boolean;
223
+ step: string | number;
224
+ min: string | number;
225
+ elevation: string | number;
226
+ messages: string | string[];
227
+ rounded: string | number | boolean;
228
+ density: "default" | "compact" | "comfortable" | null;
229
+ modelValue: number[];
230
+ errorMessages: string | string[];
231
+ maxErrors: string | number;
232
+ rules: ValidationRule[];
233
+ focused: boolean;
234
+ showTicks: boolean | "always";
235
+ tickSize: string | number;
236
+ trackSize: string | number;
237
+ thumbLabel: boolean | "always" | undefined;
238
+ thumbSize: string | number;
239
+ }>;
240
+ declare type VRangeSlider = InstanceType<typeof VRangeSlider>;
241
+
242
+ export { VRangeSlider };
@@ -0,0 +1,356 @@
1
+ import * as vue from 'vue';
2
+ import { VNodeChild, JSXComponent, PropType, Prop } from 'vue';
3
+
4
+ declare type SlotsToProps<T extends Record<string, Slot>> = {
5
+ $children: () => (T['default'] | VNodeChild | {
6
+ [K in keyof T]?: T[K];
7
+ });
8
+ 'v-slots': new () => {
9
+ [K in keyof T]?: T[K] | false;
10
+ };
11
+ };
12
+ declare type Slot<T extends any[] = any[]> = (...args: T) => VNodeChild;
13
+ declare type MakeSlots<T extends Record<string, any[]>> = {
14
+ [K in keyof T]?: Slot<T[K]>;
15
+ };
16
+
17
+ declare type IconValue = string | JSXComponent;
18
+ declare const IconValue: PropType<IconValue>;
19
+
20
+ declare type VRatingItemSlot = {
21
+ value: number;
22
+ index: number;
23
+ isFilled: boolean;
24
+ isHovered: boolean;
25
+ icon: IconValue;
26
+ color?: string;
27
+ props: Record<string, unknown>;
28
+ };
29
+ declare type VRatingItemLabelSlot = {
30
+ value: number;
31
+ index: number;
32
+ label?: string;
33
+ };
34
+ declare const VRating: {
35
+ new (...args: any[]): {
36
+ $: vue.ComponentInternalInstance;
37
+ $data: {};
38
+ $props: Partial<{
39
+ length: string | number;
40
+ disabled: boolean;
41
+ size: string | number;
42
+ readonly: boolean;
43
+ tag: string;
44
+ density: "default" | "compact" | "comfortable" | null;
45
+ modelValue: number;
46
+ ripple: boolean;
47
+ clearable: boolean;
48
+ hover: boolean;
49
+ halfIncrements: boolean;
50
+ itemAriaLabel: string;
51
+ emptyIcon: IconValue;
52
+ fullIcon: IconValue;
53
+ itemLabelPosition: string;
54
+ }> & Omit<Readonly<vue.ExtractPropTypes<{
55
+ theme: StringConstructor;
56
+ tag: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ size: {
61
+ type: (StringConstructor | NumberConstructor)[];
62
+ default: string;
63
+ };
64
+ density: {
65
+ type: vue.PropType<"default" | "compact" | "comfortable" | null>;
66
+ default: string;
67
+ validator: (v: any) => boolean;
68
+ };
69
+ name: StringConstructor;
70
+ itemAriaLabel: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ activeColor: StringConstructor;
75
+ color: StringConstructor;
76
+ clearable: BooleanConstructor;
77
+ disabled: BooleanConstructor;
78
+ emptyIcon: {
79
+ type: vue.PropType<IconValue>;
80
+ default: string;
81
+ };
82
+ fullIcon: {
83
+ type: vue.PropType<IconValue>;
84
+ default: string;
85
+ };
86
+ halfIncrements: BooleanConstructor;
87
+ hover: BooleanConstructor;
88
+ length: {
89
+ type: (StringConstructor | NumberConstructor)[];
90
+ default: number;
91
+ };
92
+ readonly: BooleanConstructor;
93
+ modelValue: {
94
+ type: NumberConstructor;
95
+ default: number;
96
+ };
97
+ itemLabels: Prop<string[], string[]>;
98
+ itemLabelPosition: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ validator: (v: any) => boolean;
102
+ };
103
+ ripple: BooleanConstructor;
104
+ } & SlotsToProps<MakeSlots<{
105
+ item: [VRatingItemSlot];
106
+ 'item-label': [VRatingItemLabelSlot];
107
+ }>>>> & {
108
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
109
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "length" | "disabled" | "size" | "readonly" | "tag" | "density" | "modelValue" | "ripple" | "clearable" | "hover" | "halfIncrements" | "itemAriaLabel" | "emptyIcon" | "fullIcon" | "itemLabelPosition">;
110
+ $attrs: {
111
+ [x: string]: unknown;
112
+ };
113
+ $refs: {
114
+ [x: string]: unknown;
115
+ };
116
+ $slots: Readonly<{
117
+ [name: string]: vue.Slot | undefined;
118
+ }>;
119
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
120
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
121
+ $emit: (event: "update:modelValue", value: number) => void;
122
+ $el: any;
123
+ $options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
124
+ theme: StringConstructor;
125
+ tag: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ size: {
130
+ type: (StringConstructor | NumberConstructor)[];
131
+ default: string;
132
+ };
133
+ density: {
134
+ type: vue.PropType<"default" | "compact" | "comfortable" | null>;
135
+ default: string;
136
+ validator: (v: any) => boolean;
137
+ };
138
+ name: StringConstructor;
139
+ itemAriaLabel: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ activeColor: StringConstructor;
144
+ color: StringConstructor;
145
+ clearable: BooleanConstructor;
146
+ disabled: BooleanConstructor;
147
+ emptyIcon: {
148
+ type: vue.PropType<IconValue>;
149
+ default: string;
150
+ };
151
+ fullIcon: {
152
+ type: vue.PropType<IconValue>;
153
+ default: string;
154
+ };
155
+ halfIncrements: BooleanConstructor;
156
+ hover: BooleanConstructor;
157
+ length: {
158
+ type: (StringConstructor | NumberConstructor)[];
159
+ default: number;
160
+ };
161
+ readonly: BooleanConstructor;
162
+ modelValue: {
163
+ type: NumberConstructor;
164
+ default: number;
165
+ };
166
+ itemLabels: Prop<string[], string[]>;
167
+ itemLabelPosition: {
168
+ type: StringConstructor;
169
+ default: string;
170
+ validator: (v: any) => boolean;
171
+ };
172
+ ripple: BooleanConstructor;
173
+ } & SlotsToProps<MakeSlots<{
174
+ item: [VRatingItemSlot];
175
+ 'item-label': [VRatingItemLabelSlot];
176
+ }>>>> & {
177
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
178
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
179
+ 'update:modelValue': (value: number) => boolean;
180
+ }, string, {
181
+ length: string | number;
182
+ disabled: boolean;
183
+ size: string | number;
184
+ readonly: boolean;
185
+ tag: string;
186
+ density: "default" | "compact" | "comfortable" | null;
187
+ modelValue: number;
188
+ ripple: boolean;
189
+ clearable: boolean;
190
+ hover: boolean;
191
+ halfIncrements: boolean;
192
+ itemAriaLabel: string;
193
+ emptyIcon: IconValue;
194
+ fullIcon: IconValue;
195
+ itemLabelPosition: string;
196
+ }> & {
197
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
198
+ created?: ((() => void) | (() => void)[]) | undefined;
199
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
200
+ mounted?: ((() => void) | (() => void)[]) | undefined;
201
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
202
+ updated?: ((() => void) | (() => void)[]) | undefined;
203
+ activated?: ((() => void) | (() => void)[]) | undefined;
204
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
205
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
206
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
207
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
208
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
209
+ renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
210
+ renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
211
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
212
+ };
213
+ $forceUpdate: () => void;
214
+ $nextTick: typeof vue.nextTick;
215
+ $watch(source: string | Function, cb: Function, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
216
+ } & Readonly<vue.ExtractPropTypes<{
217
+ theme: StringConstructor;
218
+ tag: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
222
+ size: {
223
+ type: (StringConstructor | NumberConstructor)[];
224
+ default: string;
225
+ };
226
+ density: {
227
+ type: vue.PropType<"default" | "compact" | "comfortable" | null>;
228
+ default: string;
229
+ validator: (v: any) => boolean;
230
+ };
231
+ name: StringConstructor;
232
+ itemAriaLabel: {
233
+ type: StringConstructor;
234
+ default: string;
235
+ };
236
+ activeColor: StringConstructor;
237
+ color: StringConstructor;
238
+ clearable: BooleanConstructor;
239
+ disabled: BooleanConstructor;
240
+ emptyIcon: {
241
+ type: vue.PropType<IconValue>;
242
+ default: string;
243
+ };
244
+ fullIcon: {
245
+ type: vue.PropType<IconValue>;
246
+ default: string;
247
+ };
248
+ halfIncrements: BooleanConstructor;
249
+ hover: BooleanConstructor;
250
+ length: {
251
+ type: (StringConstructor | NumberConstructor)[];
252
+ default: number;
253
+ };
254
+ readonly: BooleanConstructor;
255
+ modelValue: {
256
+ type: NumberConstructor;
257
+ default: number;
258
+ };
259
+ itemLabels: Prop<string[], string[]>;
260
+ itemLabelPosition: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ validator: (v: any) => boolean;
264
+ };
265
+ ripple: BooleanConstructor;
266
+ } & SlotsToProps<MakeSlots<{
267
+ item: [VRatingItemSlot];
268
+ 'item-label': [VRatingItemLabelSlot];
269
+ }>>>> & {
270
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
271
+ } & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties;
272
+ __isFragment?: undefined;
273
+ __isTeleport?: undefined;
274
+ __isSuspense?: undefined;
275
+ } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
276
+ theme: StringConstructor;
277
+ tag: {
278
+ type: StringConstructor;
279
+ default: string;
280
+ };
281
+ size: {
282
+ type: (StringConstructor | NumberConstructor)[];
283
+ default: string;
284
+ };
285
+ density: {
286
+ type: vue.PropType<"default" | "compact" | "comfortable" | null>;
287
+ default: string;
288
+ validator: (v: any) => boolean;
289
+ };
290
+ name: StringConstructor;
291
+ itemAriaLabel: {
292
+ type: StringConstructor;
293
+ default: string;
294
+ };
295
+ activeColor: StringConstructor;
296
+ color: StringConstructor;
297
+ clearable: BooleanConstructor;
298
+ disabled: BooleanConstructor;
299
+ emptyIcon: {
300
+ type: vue.PropType<IconValue>;
301
+ default: string;
302
+ };
303
+ fullIcon: {
304
+ type: vue.PropType<IconValue>;
305
+ default: string;
306
+ };
307
+ halfIncrements: BooleanConstructor;
308
+ hover: BooleanConstructor;
309
+ length: {
310
+ type: (StringConstructor | NumberConstructor)[];
311
+ default: number;
312
+ };
313
+ readonly: BooleanConstructor;
314
+ modelValue: {
315
+ type: NumberConstructor;
316
+ default: number;
317
+ };
318
+ itemLabels: Prop<string[], string[]>;
319
+ itemLabelPosition: {
320
+ type: StringConstructor;
321
+ default: string;
322
+ validator: (v: any) => boolean;
323
+ };
324
+ ripple: BooleanConstructor;
325
+ } & SlotsToProps<MakeSlots<{
326
+ item: [VRatingItemSlot];
327
+ 'item-label': [VRatingItemLabelSlot];
328
+ }>>>> & {
329
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
330
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
331
+ 'update:modelValue': (value: number) => boolean;
332
+ }, string, {
333
+ length: string | number;
334
+ disabled: boolean;
335
+ size: string | number;
336
+ readonly: boolean;
337
+ tag: string;
338
+ density: "default" | "compact" | "comfortable" | null;
339
+ modelValue: number;
340
+ ripple: boolean;
341
+ clearable: boolean;
342
+ hover: boolean;
343
+ halfIncrements: boolean;
344
+ itemAriaLabel: string;
345
+ emptyIcon: IconValue;
346
+ fullIcon: IconValue;
347
+ itemLabelPosition: string;
348
+ }> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>() => {
349
+ $slots: MakeSlots<{
350
+ item: [VRatingItemSlot];
351
+ 'item-label': [VRatingItemLabelSlot];
352
+ }>;
353
+ });
354
+ declare type VRating = InstanceType<typeof VRating>;
355
+
356
+ export { VRating };
@@ -0,0 +1,23 @@
1
+ import * as vue from 'vue';
2
+
3
+ declare const VResponsive: vue.DefineComponent<{
4
+ height: (StringConstructor | NumberConstructor)[];
5
+ maxHeight: (StringConstructor | NumberConstructor)[];
6
+ maxWidth: (StringConstructor | NumberConstructor)[];
7
+ minHeight: (StringConstructor | NumberConstructor)[];
8
+ minWidth: (StringConstructor | NumberConstructor)[];
9
+ width: (StringConstructor | NumberConstructor)[];
10
+ aspectRatio: (StringConstructor | NumberConstructor)[];
11
+ contentClass: StringConstructor;
12
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
13
+ height: (StringConstructor | NumberConstructor)[];
14
+ maxHeight: (StringConstructor | NumberConstructor)[];
15
+ maxWidth: (StringConstructor | NumberConstructor)[];
16
+ minHeight: (StringConstructor | NumberConstructor)[];
17
+ minWidth: (StringConstructor | NumberConstructor)[];
18
+ width: (StringConstructor | NumberConstructor)[];
19
+ aspectRatio: (StringConstructor | NumberConstructor)[];
20
+ contentClass: StringConstructor;
21
+ }>>, {}>;
22
+
23
+ export { VResponsive };
@@ -138,7 +138,7 @@ export const VSelect = genericComponent()({
138
138
  "onUpdate:modelValue": v => {
139
139
  if (v == null) model.value = [];
140
140
  },
141
- "validationValue": props.modelValue ?? model.value,
141
+ "validationValue": model.externalValue,
142
142
  "dirty": model.value.length > 0,
143
143
  "class": ['v-select', {
144
144
  'v-select--active-menu': menu.value,