vuetify 3.5.9 → 3.5.10

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 (147) hide show
  1. package/dist/_component-variables-labs.sass +1 -0
  2. package/dist/json/attributes.json +106 -6
  3. package/dist/json/importMap-labs.json +8 -4
  4. package/dist/json/importMap.json +122 -122
  5. package/dist/json/tags.json +30 -0
  6. package/dist/json/web-types.json +582 -15
  7. package/dist/vuetify-labs.css +2456 -2414
  8. package/dist/vuetify-labs.d.ts +2711 -1996
  9. package/dist/vuetify-labs.esm.js +518 -40
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +518 -39
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +681 -676
  14. package/dist/vuetify.d.ts +2356 -2303
  15. package/dist/vuetify.esm.js +605 -330
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +604 -328
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +1106 -1098
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/components/VAlert/index.d.mts +15 -15
  23. package/lib/components/VApp/index.d.mts +8 -8
  24. package/lib/components/VAppBar/index.d.mts +7 -7
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
  26. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  27. package/lib/components/VAutocomplete/index.d.mts +94 -94
  28. package/lib/components/VAvatar/index.d.mts +8 -8
  29. package/lib/components/VBadge/index.d.mts +7 -7
  30. package/lib/components/VBanner/index.d.mts +20 -20
  31. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  32. package/lib/components/VBreadcrumbs/index.d.mts +27 -26
  33. package/lib/components/VBtnGroup/index.d.mts +8 -8
  34. package/lib/components/VCard/index.d.mts +32 -32
  35. package/lib/components/VCarousel/index.d.mts +6 -6
  36. package/lib/components/VCheckbox/index.d.mts +44 -44
  37. package/lib/components/VChip/index.d.mts +7 -7
  38. package/lib/components/VCode/index.d.mts +8 -8
  39. package/lib/components/VCombobox/VCombobox.mjs +5 -4
  40. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  41. package/lib/components/VCombobox/index.d.mts +94 -94
  42. package/lib/components/VDataTable/index.d.mts +6 -6
  43. package/lib/components/VDatePicker/VDatePickerMonth.mjs +10 -4
  44. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  45. package/lib/components/VDatePicker/index.d.mts +10 -10
  46. package/lib/components/VDefaultsProvider/index.d.mts +8 -8
  47. package/lib/components/VDialog/index.d.mts +12 -6
  48. package/lib/components/VDivider/index.d.mts +8 -8
  49. package/lib/components/VExpansionPanel/index.d.mts +19 -19
  50. package/lib/components/VField/VField.css +2 -0
  51. package/lib/components/VField/VField.mjs +1 -1
  52. package/lib/components/VField/VField.mjs.map +1 -1
  53. package/lib/components/VField/VField.sass +2 -0
  54. package/lib/components/VField/index.d.mts +28 -28
  55. package/lib/components/VFileInput/index.d.mts +133 -133
  56. package/lib/components/VFooter/index.d.mts +8 -8
  57. package/lib/components/VGrid/index.d.mts +32 -32
  58. package/lib/components/VIcon/VIcon.css +4 -0
  59. package/lib/components/VIcon/VIcon.mjs +7 -3
  60. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  61. package/lib/components/VIcon/VIcon.sass +4 -0
  62. package/lib/components/VIcon/_variables.scss +1 -0
  63. package/lib/components/VIcon/index.d.mts +25 -16
  64. package/lib/components/VImg/index.d.mts +4 -4
  65. package/lib/components/VInput/index.d.mts +21 -21
  66. package/lib/components/VKbd/index.d.mts +8 -8
  67. package/lib/components/VLabel/index.d.mts +8 -8
  68. package/lib/components/VLayout/index.d.mts +16 -16
  69. package/lib/components/VLazy/index.d.mts +8 -8
  70. package/lib/components/VList/VListItem.mjs +2 -2
  71. package/lib/components/VList/VListItem.mjs.map +1 -1
  72. package/lib/components/VList/index.d.mts +48 -48
  73. package/lib/components/VLocaleProvider/index.d.mts +12 -12
  74. package/lib/components/VMain/index.d.mts +8 -8
  75. package/lib/components/VMenu/VMenu.mjs +3 -0
  76. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  77. package/lib/components/VMenu/index.d.mts +14 -8
  78. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +1 -1
  79. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +22 -8
  80. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  81. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +2 -1
  82. package/lib/components/VNavigationDrawer/index.d.mts +11 -11
  83. package/lib/components/VOtpInput/VOtpInput.mjs +7 -2
  84. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  85. package/lib/components/VOtpInput/index.d.mts +31 -31
  86. package/lib/components/VOverlay/VOverlay.mjs +8 -3
  87. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  88. package/lib/components/VOverlay/index.d.mts +3 -0
  89. package/lib/components/VOverlay/scrollStrategies.mjs +2 -2
  90. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
  91. package/lib/components/VPagination/index.d.mts +7 -7
  92. package/lib/components/VProgressLinear/VProgressLinear.css +0 -1
  93. package/lib/components/VProgressLinear/VProgressLinear.sass +0 -1
  94. package/lib/components/VProgressLinear/index.d.mts +7 -7
  95. package/lib/components/VRadioGroup/index.d.mts +44 -44
  96. package/lib/components/VRangeSlider/index.d.mts +47 -47
  97. package/lib/components/VRating/index.d.mts +7 -7
  98. package/lib/components/VResponsive/index.d.mts +8 -8
  99. package/lib/components/VSelect/index.d.mts +94 -94
  100. package/lib/components/VSheet/index.d.mts +8 -8
  101. package/lib/components/VSkeletonLoader/index.d.mts +8 -8
  102. package/lib/components/VSlider/index.d.mts +47 -47
  103. package/lib/components/VSnackbar/index.d.mts +25 -19
  104. package/lib/components/VStepper/index.d.mts +41 -41
  105. package/lib/components/VSwitch/index.d.mts +39 -39
  106. package/lib/components/VSystemBar/index.d.mts +8 -8
  107. package/lib/components/VTabs/index.d.mts +15 -15
  108. package/lib/components/VTextField/index.d.mts +173 -173
  109. package/lib/components/VTextarea/index.d.mts +119 -119
  110. package/lib/components/VThemeProvider/index.d.mts +8 -8
  111. package/lib/components/VTimeline/index.d.mts +8 -8
  112. package/lib/components/VToolbar/index.d.mts +8 -8
  113. package/lib/components/VTooltip/index.d.mts +14 -8
  114. package/lib/components/VWindow/index.d.mts +10 -10
  115. package/lib/components/index.d.mts +1869 -1832
  116. package/lib/components/transitions/index.d.mts +128 -128
  117. package/lib/composables/date/adapters/vuetify.mjs +1 -1
  118. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  119. package/lib/composables/theme.mjs +1 -1
  120. package/lib/composables/theme.mjs.map +1 -1
  121. package/lib/entry-bundler.mjs +3 -2
  122. package/lib/entry-bundler.mjs.map +1 -1
  123. package/lib/framework.mjs +1 -1
  124. package/lib/framework.mjs.map +1 -1
  125. package/lib/index.d.mts +37 -36
  126. package/lib/labs/VCalendar/index.d.mts +32 -32
  127. package/lib/labs/VFab/index.d.mts +15 -15
  128. package/lib/labs/VNumberInput/VNumberInput.css +38 -0
  129. package/lib/labs/VNumberInput/VNumberInput.mjs +209 -0
  130. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -0
  131. package/lib/labs/VNumberInput/VNumberInput.sass +47 -0
  132. package/lib/labs/VNumberInput/_variables.scss +1 -0
  133. package/lib/labs/VNumberInput/index.d.mts +607 -0
  134. package/lib/labs/VNumberInput/index.mjs +2 -0
  135. package/lib/labs/VNumberInput/index.mjs.map +1 -0
  136. package/lib/labs/VPicker/index.d.mts +8 -8
  137. package/lib/labs/VSparkline/index.d.mts +7 -7
  138. package/lib/labs/VSpeedDial/VSpeedDial.mjs +9 -5
  139. package/lib/labs/VSpeedDial/VSpeedDial.mjs.map +1 -1
  140. package/lib/labs/VSpeedDial/index.d.mts +120 -24
  141. package/lib/labs/VTreeview/index.d.mts +8 -8
  142. package/lib/labs/components.d.mts +788 -95
  143. package/lib/labs/components.mjs +1 -0
  144. package/lib/labs/components.mjs.map +1 -1
  145. package/lib/locale/no.mjs +1 -1
  146. package/lib/locale/no.mjs.map +1 -1
  147. package/package.json +2 -2
@@ -102,16 +102,16 @@ declare const VCheckbox: {
102
102
  readonly: boolean | null;
103
103
  indeterminate: boolean;
104
104
  messages: string | readonly string[];
105
+ focused: boolean;
106
+ errorMessages: string | readonly string[] | null;
107
+ maxErrors: string | number;
108
+ rules: readonly ValidationRule[];
105
109
  density: Density;
106
110
  ripple: boolean;
107
111
  falseIcon: NonNullable<IconValue>;
108
112
  trueIcon: NonNullable<IconValue>;
109
113
  valueComparator: typeof deepEqual;
110
114
  indeterminateIcon: IconValue;
111
- focused: boolean;
112
- errorMessages: string | readonly string[] | null;
113
- maxErrors: string | number;
114
- rules: readonly ValidationRule[];
115
115
  centerAffix: boolean;
116
116
  hideSpinButtons: boolean;
117
117
  persistentHint: boolean;
@@ -124,6 +124,9 @@ declare const VCheckbox: {
124
124
  label?: string | undefined;
125
125
  class?: any;
126
126
  theme?: string | undefined;
127
+ 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
128
+ validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
129
+ validationValue?: any;
127
130
  prependIcon?: IconValue | undefined;
128
131
  appendIcon?: IconValue | undefined;
129
132
  defaultsTarget?: string | undefined;
@@ -132,9 +135,6 @@ declare const VCheckbox: {
132
135
  falseValue?: any;
133
136
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
134
137
  'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
135
- 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
136
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
137
- validationValue?: any;
138
138
  hint?: string | undefined;
139
139
  hideDetails?: boolean | "auto" | undefined;
140
140
  } & {
@@ -142,7 +142,7 @@ declare const VCheckbox: {
142
142
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
143
143
  'update:modelValue': (value: any) => boolean;
144
144
  'update:focused': (focused: boolean) => boolean;
145
- }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
145
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
146
146
  error: boolean;
147
147
  direction: "horizontal" | "vertical";
148
148
  style: vue.StyleValue;
@@ -151,16 +151,16 @@ declare const VCheckbox: {
151
151
  readonly: boolean | null;
152
152
  indeterminate: boolean;
153
153
  messages: string | readonly string[];
154
+ focused: boolean;
155
+ errorMessages: string | readonly string[] | null;
156
+ maxErrors: string | number;
157
+ rules: readonly ValidationRule[];
154
158
  density: Density;
155
159
  ripple: boolean;
156
160
  falseIcon: NonNullable<IconValue>;
157
161
  trueIcon: NonNullable<IconValue>;
158
162
  valueComparator: typeof deepEqual;
159
163
  indeterminateIcon: IconValue;
160
- focused: boolean;
161
- errorMessages: string | readonly string[] | null;
162
- maxErrors: string | number;
163
- rules: readonly ValidationRule[];
164
164
  centerAffix: boolean;
165
165
  hideSpinButtons: boolean;
166
166
  persistentHint: boolean;
@@ -173,6 +173,9 @@ declare const VCheckbox: {
173
173
  label?: string | undefined;
174
174
  class?: any;
175
175
  theme?: string | undefined;
176
+ 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
177
+ validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
178
+ validationValue?: any;
176
179
  prependIcon?: IconValue | undefined;
177
180
  appendIcon?: IconValue | undefined;
178
181
  defaultsTarget?: string | undefined;
@@ -181,9 +184,6 @@ declare const VCheckbox: {
181
184
  falseValue?: any;
182
185
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
183
186
  'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
184
- 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
185
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
186
- validationValue?: any;
187
187
  hint?: string | undefined;
188
188
  hideDetails?: boolean | "auto" | undefined;
189
189
  } & {
@@ -197,16 +197,16 @@ declare const VCheckbox: {
197
197
  readonly: boolean | null;
198
198
  indeterminate: boolean;
199
199
  messages: string | readonly string[];
200
+ focused: boolean;
201
+ errorMessages: string | readonly string[] | null;
202
+ maxErrors: string | number;
203
+ rules: readonly ValidationRule[];
200
204
  density: Density;
201
205
  ripple: boolean;
202
206
  falseIcon: NonNullable<IconValue>;
203
207
  trueIcon: NonNullable<IconValue>;
204
208
  valueComparator: typeof deepEqual;
205
209
  indeterminateIcon: IconValue;
206
- focused: boolean;
207
- errorMessages: string | readonly string[] | null;
208
- maxErrors: string | number;
209
- rules: readonly ValidationRule[];
210
210
  centerAffix: boolean;
211
211
  hideSpinButtons: boolean;
212
212
  persistentHint: boolean;
@@ -254,16 +254,16 @@ declare const VCheckbox: {
254
254
  readonly: boolean | null;
255
255
  indeterminate: boolean;
256
256
  messages: string | readonly string[];
257
+ focused: boolean;
258
+ errorMessages: string | readonly string[] | null;
259
+ maxErrors: string | number;
260
+ rules: readonly ValidationRule[];
257
261
  density: Density;
258
262
  ripple: boolean;
259
263
  falseIcon: NonNullable<IconValue>;
260
264
  trueIcon: NonNullable<IconValue>;
261
265
  valueComparator: typeof deepEqual;
262
266
  indeterminateIcon: IconValue;
263
- focused: boolean;
264
- errorMessages: string | readonly string[] | null;
265
- maxErrors: string | number;
266
- rules: readonly ValidationRule[];
267
267
  centerAffix: boolean;
268
268
  hideSpinButtons: boolean;
269
269
  persistentHint: boolean;
@@ -276,6 +276,9 @@ declare const VCheckbox: {
276
276
  label?: string | undefined;
277
277
  class?: any;
278
278
  theme?: string | undefined;
279
+ 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
280
+ validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
281
+ validationValue?: any;
279
282
  prependIcon?: IconValue | undefined;
280
283
  appendIcon?: IconValue | undefined;
281
284
  defaultsTarget?: string | undefined;
@@ -284,9 +287,6 @@ declare const VCheckbox: {
284
287
  falseValue?: any;
285
288
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
286
289
  'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
287
- 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
288
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
289
- validationValue?: any;
290
290
  hint?: string | undefined;
291
291
  hideDetails?: boolean | "auto" | undefined;
292
292
  } & {
@@ -300,16 +300,16 @@ declare const VCheckbox: {
300
300
  readonly: boolean | null;
301
301
  indeterminate: boolean;
302
302
  messages: string | readonly string[];
303
+ focused: boolean;
304
+ errorMessages: string | readonly string[] | null;
305
+ maxErrors: string | number;
306
+ rules: readonly ValidationRule[];
303
307
  density: Density;
304
308
  ripple: boolean;
305
309
  falseIcon: NonNullable<IconValue>;
306
310
  trueIcon: NonNullable<IconValue>;
307
311
  valueComparator: typeof deepEqual;
308
312
  indeterminateIcon: IconValue;
309
- focused: boolean;
310
- errorMessages: string | readonly string[] | null;
311
- maxErrors: string | number;
312
- rules: readonly ValidationRule[];
313
313
  centerAffix: boolean;
314
314
  hideSpinButtons: boolean;
315
315
  persistentHint: boolean;
@@ -326,16 +326,16 @@ declare const VCheckbox: {
326
326
  readonly: boolean | null;
327
327
  indeterminate: boolean;
328
328
  messages: string | readonly string[];
329
+ focused: boolean;
330
+ errorMessages: string | readonly string[] | null;
331
+ maxErrors: string | number;
332
+ rules: readonly ValidationRule[];
329
333
  density: Density;
330
334
  ripple: boolean;
331
335
  falseIcon: NonNullable<IconValue>;
332
336
  trueIcon: NonNullable<IconValue>;
333
337
  valueComparator: typeof deepEqual;
334
338
  indeterminateIcon: IconValue;
335
- focused: boolean;
336
- errorMessages: string | readonly string[] | null;
337
- maxErrors: string | number;
338
- rules: readonly ValidationRule[];
339
339
  centerAffix: boolean;
340
340
  hideSpinButtons: boolean;
341
341
  persistentHint: boolean;
@@ -348,6 +348,9 @@ declare const VCheckbox: {
348
348
  label?: string | undefined;
349
349
  class?: any;
350
350
  theme?: string | undefined;
351
+ 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
352
+ validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
353
+ validationValue?: any;
351
354
  prependIcon?: IconValue | undefined;
352
355
  appendIcon?: IconValue | undefined;
353
356
  defaultsTarget?: string | undefined;
@@ -356,9 +359,6 @@ declare const VCheckbox: {
356
359
  falseValue?: any;
357
360
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
358
361
  'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
359
- 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
360
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
361
- validationValue?: any;
362
362
  hint?: string | undefined;
363
363
  hideDetails?: boolean | "auto" | undefined;
364
364
  } & {
@@ -366,7 +366,7 @@ declare const VCheckbox: {
366
366
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
367
367
  'update:modelValue': (value: any) => boolean;
368
368
  'update:focused': (focused: boolean) => boolean;
369
- }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, string, {
369
+ }, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, string, {
370
370
  error: boolean;
371
371
  direction: "horizontal" | "vertical";
372
372
  style: vue.StyleValue;
@@ -375,16 +375,16 @@ declare const VCheckbox: {
375
375
  readonly: boolean | null;
376
376
  indeterminate: boolean;
377
377
  messages: string | readonly string[];
378
+ focused: boolean;
379
+ errorMessages: string | readonly string[] | null;
380
+ maxErrors: string | number;
381
+ rules: readonly ValidationRule[];
378
382
  density: Density;
379
383
  ripple: boolean;
380
384
  falseIcon: NonNullable<IconValue>;
381
385
  trueIcon: NonNullable<IconValue>;
382
386
  valueComparator: typeof deepEqual;
383
387
  indeterminateIcon: IconValue;
384
- focused: boolean;
385
- errorMessages: string | readonly string[] | null;
386
- maxErrors: string | number;
387
- rules: readonly ValidationRule[];
388
388
  centerAffix: boolean;
389
389
  hideSpinButtons: boolean;
390
390
  persistentHint: boolean;
@@ -449,12 +449,12 @@ declare const VCheckbox: {
449
449
  class: vue.PropType<any>;
450
450
  indeterminate: BooleanConstructor;
451
451
  theme: StringConstructor;
452
+ modelValue: null;
452
453
  density: {
453
454
  type: vue.PropType<Density>;
454
455
  default: string;
455
456
  validator: (v: any) => boolean;
456
457
  };
457
- modelValue: null;
458
458
  ripple: {
459
459
  type: BooleanConstructor;
460
460
  default: boolean;
@@ -543,12 +543,12 @@ declare const VCheckbox: {
543
543
  class: vue.PropType<any>;
544
544
  indeterminate: BooleanConstructor;
545
545
  theme: StringConstructor;
546
+ modelValue: null;
546
547
  density: {
547
548
  type: vue.PropType<Density>;
548
549
  default: string;
549
550
  validator: (v: any) => boolean;
550
551
  };
551
- modelValue: null;
552
552
  ripple: {
553
553
  type: BooleanConstructor;
554
554
  default: boolean;
@@ -24,9 +24,9 @@ declare const VChip: {
24
24
  disabled: boolean;
25
25
  size: string | number;
26
26
  tag: string;
27
+ modelValue: boolean;
27
28
  tile: boolean;
28
29
  density: Density;
29
- modelValue: boolean;
30
30
  ripple: boolean | {
31
31
  class: string;
32
32
  } | undefined;
@@ -132,9 +132,9 @@ declare const VChip: {
132
132
  disabled: boolean;
133
133
  size: string | number;
134
134
  tag: string;
135
+ modelValue: boolean;
135
136
  tile: boolean;
136
137
  density: Density;
137
- modelValue: boolean;
138
138
  ripple: boolean | {
139
139
  class: string;
140
140
  } | undefined;
@@ -234,10 +234,10 @@ declare const VChip: {
234
234
  disabled: boolean;
235
235
  size: string | number;
236
236
  tag: string;
237
+ modelValue: boolean;
237
238
  rounded: string | number | boolean;
238
239
  tile: boolean;
239
240
  density: Density;
240
- modelValue: boolean;
241
241
  ripple: boolean | {
242
242
  class: string;
243
243
  } | undefined;
@@ -290,9 +290,9 @@ declare const VChip: {
290
290
  disabled: boolean;
291
291
  size: string | number;
292
292
  tag: string;
293
+ modelValue: boolean;
293
294
  tile: boolean;
294
295
  density: Density;
295
- modelValue: boolean;
296
296
  ripple: boolean | {
297
297
  class: string;
298
298
  } | undefined;
@@ -392,10 +392,10 @@ declare const VChip: {
392
392
  disabled: boolean;
393
393
  size: string | number;
394
394
  tag: string;
395
+ modelValue: boolean;
395
396
  rounded: string | number | boolean;
396
397
  tile: boolean;
397
398
  density: Density;
398
- modelValue: boolean;
399
399
  ripple: boolean | {
400
400
  class: string;
401
401
  } | undefined;
@@ -419,9 +419,9 @@ declare const VChip: {
419
419
  disabled: boolean;
420
420
  size: string | number;
421
421
  tag: string;
422
+ modelValue: boolean;
422
423
  tile: boolean;
423
424
  density: Density;
424
- modelValue: boolean;
425
425
  ripple: boolean | {
426
426
  class: string;
427
427
  } | undefined;
@@ -528,10 +528,10 @@ declare const VChip: {
528
528
  disabled: boolean;
529
529
  size: string | number;
530
530
  tag: string;
531
+ modelValue: boolean;
531
532
  rounded: string | number | boolean;
532
533
  tile: boolean;
533
534
  density: Density;
534
- modelValue: boolean;
535
535
  ripple: boolean | {
536
536
  class: string;
537
537
  } | undefined;
@@ -12,9 +12,9 @@ declare const VCode: {
12
12
  } & {
13
13
  class?: any;
14
14
  } & {
15
- $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
15
+ $children?: vue.VNodeChild | {
16
16
  default?: (() => vue.VNodeChild) | undefined;
17
- };
17
+ } | (() => vue.VNodeChild);
18
18
  'v-slots'?: {
19
19
  default?: false | (() => vue.VNodeChild) | undefined;
20
20
  } | undefined;
@@ -28,9 +28,9 @@ declare const VCode: {
28
28
  } & {
29
29
  class?: any;
30
30
  } & {
31
- $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
31
+ $children?: vue.VNodeChild | {
32
32
  default?: (() => vue.VNodeChild) | undefined;
33
- };
33
+ } | (() => vue.VNodeChild);
34
34
  'v-slots'?: {
35
35
  default?: false | (() => vue.VNodeChild) | undefined;
36
36
  } | undefined;
@@ -56,9 +56,9 @@ declare const VCode: {
56
56
  } & {
57
57
  class?: any;
58
58
  } & {
59
- $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
59
+ $children?: vue.VNodeChild | {
60
60
  default?: (() => vue.VNodeChild) | undefined;
61
- };
61
+ } | (() => vue.VNodeChild);
62
62
  'v-slots'?: {
63
63
  default?: false | (() => vue.VNodeChild) | undefined;
64
64
  } | undefined;
@@ -79,9 +79,9 @@ declare const VCode: {
79
79
  } & {
80
80
  class?: any;
81
81
  } & {
82
- $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
82
+ $children?: vue.VNodeChild | {
83
83
  default?: (() => vue.VNodeChild) | undefined;
84
- };
84
+ } | (() => vue.VNodeChild);
85
85
  'v-slots'?: {
86
86
  default?: false | (() => vue.VNodeChild) | undefined;
87
87
  } | undefined;
@@ -192,6 +192,7 @@ export const VCombobox = genericComponent()({
192
192
  }
193
193
  menu.value = !menu.value;
194
194
  }
195
+ // eslint-disable-next-line complexity
195
196
  function onKeydown(e) {
196
197
  if (isComposingIgnoreKey(e) || props.readonly || form?.isReadonly.value) return;
197
198
  const selectionStart = vTextFieldRef.value.selectionStart;
@@ -218,8 +219,8 @@ export const VCombobox = genericComponent()({
218
219
  select(transformItem(props, search.value));
219
220
  if (hasSelectionSlot.value) _search.value = '';
220
221
  }
221
- if (!props.multiple) return;
222
222
  if (['Backspace', 'Delete'].includes(e.key)) {
223
+ if (!props.multiple && hasSelectionSlot.value && model.value.length > 0) return select(model.value[0], false);
223
224
  if (selectionIndex.value < 0) {
224
225
  if (e.key === 'Backspace' && !search.value) {
225
226
  selectionIndex.value = length - 1;
@@ -227,10 +228,10 @@ export const VCombobox = genericComponent()({
227
228
  return;
228
229
  }
229
230
  const originalSelectionIndex = selectionIndex.value;
230
- const selectedItem = model.value[selectionIndex.value];
231
- if (selectedItem && !selectedItem.props.disabled) select(selectedItem, false);
231
+ select(model.value[selectionIndex.value], false);
232
232
  selectionIndex.value = originalSelectionIndex >= length - 1 ? length - 2 : originalSelectionIndex;
233
233
  }
234
+ if (!props.multiple) return;
234
235
  if (e.key === 'ArrowLeft') {
235
236
  if (selectionIndex.value < 0 && selectionStart > 0) return;
236
237
  const prev = selectionIndex.value > -1 ? selectionIndex.value - 1 : length - 1;
@@ -261,7 +262,7 @@ export const VCombobox = genericComponent()({
261
262
  /** @param set - null means toggle */
262
263
  function select(item) {
263
264
  let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
264
- if (item.props.disabled) return;
265
+ if (!item || item.props.disabled) return;
265
266
  if (props.multiple) {
266
267
  const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
267
268
  const add = set == null ? !~index : set;