@vuetify/nightly 3.6.14-master.2024-08-04 → 3.6.14-master.2024-08-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 (139) hide show
  1. package/dist/json/attributes.json +7 -11
  2. package/dist/json/importMap-labs.json +30 -30
  3. package/dist/json/importMap.json +144 -144
  4. package/dist/json/tags.json +0 -1
  5. package/dist/json/web-types.json +8 -18
  6. package/dist/vuetify-labs.css +2162 -2162
  7. package/dist/vuetify-labs.d.ts +33122 -39828
  8. package/dist/vuetify-labs.esm.js +17 -9
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +17 -9
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1025 -1025
  13. package/dist/vuetify.d.ts +32674 -39040
  14. package/dist/vuetify.esm.js +16 -8
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +16 -8
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +22 -22
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/index.d.mts +50 -73
  22. package/lib/components/VApp/index.d.mts +9 -11
  23. package/lib/components/VAppBar/index.d.mts +92 -128
  24. package/lib/components/VAutocomplete/index.d.mts +4771 -3230
  25. package/lib/components/VAvatar/index.d.mts +23 -22
  26. package/lib/components/VBadge/index.d.mts +53 -59
  27. package/lib/components/VBanner/index.d.mts +44 -66
  28. package/lib/components/VBottomNavigation/index.d.mts +25 -32
  29. package/lib/components/VBottomSheet/index.d.mts +125 -135
  30. package/lib/components/VBreadcrumbs/index.d.mts +35 -78
  31. package/lib/components/VBtn/index.d.mts +49 -53
  32. package/lib/components/VBtnGroup/index.d.mts +14 -13
  33. package/lib/components/VBtnToggle/index.d.mts +21 -23
  34. package/lib/components/VCard/index.d.mts +104 -168
  35. package/lib/components/VCarousel/index.d.mts +59 -96
  36. package/lib/components/VCheckbox/index.d.mts +132 -155
  37. package/lib/components/VChip/index.d.mts +47 -59
  38. package/lib/components/VChipGroup/index.d.mts +39 -41
  39. package/lib/components/VCode/index.d.mts +9 -11
  40. package/lib/components/VColorPicker/index.d.mts +58 -133
  41. package/lib/components/VCombobox/index.d.mts +4785 -3244
  42. package/lib/components/VConfirmEdit/index.d.mts +11 -19
  43. package/lib/components/VCounter/index.d.mts +40 -42
  44. package/lib/components/VDataIterator/index.d.mts +171 -185
  45. package/lib/components/VDataTable/index.d.mts +480 -1204
  46. package/lib/components/VDatePicker/index.d.mts +120 -158
  47. package/lib/components/VDefaultsProvider/index.d.mts +5 -9
  48. package/lib/components/VDialog/index.d.mts +243 -277
  49. package/lib/components/VDivider/index.d.mts +9 -11
  50. package/lib/components/VEmptyState/index.d.mts +30 -52
  51. package/lib/components/VExpansionPanel/index.d.mts +60 -85
  52. package/lib/components/VFab/index.d.mts +81 -73
  53. package/lib/components/VField/index.d.mts +35 -62
  54. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  55. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  56. package/lib/components/VFileInput/index.d.mts +172 -259
  57. package/lib/components/VFooter/index.d.mts +9 -11
  58. package/lib/components/VForm/index.d.mts +105 -77
  59. package/lib/components/VGrid/index.d.mts +41 -52
  60. package/lib/components/VHover/index.d.mts +5 -9
  61. package/lib/components/VIcon/index.d.mts +23 -29
  62. package/lib/components/VImg/index.d.mts +28 -42
  63. package/lib/components/VInfiniteScroll/index.d.mts +17 -37
  64. package/lib/components/VInput/index.d.mts +48 -50
  65. package/lib/components/VItemGroup/index.d.mts +21 -30
  66. package/lib/components/VKbd/index.d.mts +9 -11
  67. package/lib/components/VLabel/index.d.mts +9 -11
  68. package/lib/components/VLayout/index.d.mts +18 -24
  69. package/lib/components/VLazy/index.d.mts +42 -44
  70. package/lib/components/VList/VList.mjs.map +1 -1
  71. package/lib/components/VList/index.d.mts +210 -329
  72. package/lib/components/VLocaleProvider/index.d.mts +9 -11
  73. package/lib/components/VMain/index.d.mts +9 -11
  74. package/lib/components/VMenu/index.d.mts +272 -306
  75. package/lib/components/VMessages/index.d.mts +49 -51
  76. package/lib/components/VNavigationDrawer/index.d.mts +27 -40
  77. package/lib/components/VOtpInput/index.d.mts +22 -28
  78. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  79. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  80. package/lib/components/VOverlay/index.d.mts +53 -63
  81. package/lib/components/VPagination/index.d.mts +31 -46
  82. package/lib/components/VParallax/index.d.mts +15 -29
  83. package/lib/components/VProgressCircular/index.d.mts +9 -11
  84. package/lib/components/VProgressLinear/index.d.mts +22 -24
  85. package/lib/components/VRadio/index.d.mts +49 -52
  86. package/lib/components/VRadioGroup/index.d.mts +66 -66
  87. package/lib/components/VRangeSlider/index.d.mts +58 -69
  88. package/lib/components/VRating/index.d.mts +13 -19
  89. package/lib/components/VResponsive/index.d.mts +11 -17
  90. package/lib/components/VSelect/index.d.mts +4762 -3221
  91. package/lib/components/VSelectionControl/index.d.mts +38 -44
  92. package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
  93. package/lib/components/VSheet/index.d.mts +15 -17
  94. package/lib/components/VSkeletonLoader/index.d.mts +41 -11
  95. package/lib/components/VSlideGroup/index.d.mts +112 -129
  96. package/lib/components/VSlider/index.d.mts +58 -69
  97. package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
  98. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  99. package/lib/components/VSnackbar/index.d.mts +231 -270
  100. package/lib/components/VSparkline/index.d.mts +11 -19
  101. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  102. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  103. package/lib/components/VSpeedDial/index.d.mts +179 -189
  104. package/lib/components/VStepper/index.d.mts +105 -180
  105. package/lib/components/VSwitch/index.d.mts +78 -98
  106. package/lib/components/VSystemBar/index.d.mts +13 -15
  107. package/lib/components/VTable/index.d.mts +15 -29
  108. package/lib/components/VTabs/index.d.mts +213 -297
  109. package/lib/components/VTextField/index.d.mts +253 -408
  110. package/lib/components/VTextarea/index.d.mts +157 -236
  111. package/lib/components/VThemeProvider/index.d.mts +9 -11
  112. package/lib/components/VTimeline/index.d.mts +29 -43
  113. package/lib/components/VToolbar/index.d.mts +49 -80
  114. package/lib/components/VTooltip/index.d.mts +282 -316
  115. package/lib/components/VValidation/index.d.mts +16 -23
  116. package/lib/components/VVirtualScroll/index.d.mts +14 -23
  117. package/lib/components/VWindow/index.d.mts +29 -50
  118. package/lib/components/index.d.mts +31169 -37524
  119. package/lib/components/transitions/index.d.mts +84 -148
  120. package/lib/composables/location.mjs.map +1 -1
  121. package/lib/directives/click-outside/index.mjs +3 -0
  122. package/lib/directives/click-outside/index.mjs.map +1 -1
  123. package/lib/entry-bundler.mjs +1 -1
  124. package/lib/framework.mjs +1 -1
  125. package/lib/index.d.mts +60 -60
  126. package/lib/labs/VCalendar/index.d.mts +146 -166
  127. package/lib/labs/VDateInput/index.d.mts +83 -62
  128. package/lib/labs/VNumberInput/index.d.mts +61 -88
  129. package/lib/labs/VPicker/index.d.mts +28 -46
  130. package/lib/labs/VPullToRefresh/index.d.mts +7 -15
  131. package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
  132. package/lib/labs/VStepperVertical/index.d.mts +109 -184
  133. package/lib/labs/VTimePicker/index.d.mts +35 -53
  134. package/lib/labs/VTreeview/VTreeview.mjs +1 -1
  135. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  136. package/lib/labs/VTreeview/index.d.mts +200 -292
  137. package/lib/labs/components.d.mts +905 -1246
  138. package/lib/util/propsFactory.mjs.map +1 -1
  139. package/package.json +3 -3
@@ -5,19 +5,21 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
5
5
  filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
6
6
  }
7
7
 
8
+ type ClassValue = any;
9
+
8
10
  type VMessageSlot = {
9
11
  message: string;
10
12
  };
11
13
  declare const VMessages: {
12
14
  new (...args: any[]): vue.CreateComponentPublicInstance<{
13
15
  active: boolean;
14
- transition: {
16
+ transition: string | boolean | (vue.TransitionProps & {
17
+ component?: Component;
18
+ }) | {
15
19
  component: Component;
16
20
  leaveAbsolute: boolean;
17
21
  group: boolean;
18
- } | NonNullable<string | boolean | (vue.TransitionProps & {
19
- component?: Component | undefined;
20
- })>;
22
+ };
21
23
  style: vue.StyleValue;
22
24
  messages: string | readonly string[];
23
25
  } & {
@@ -34,13 +36,13 @@ declare const VMessages: {
34
36
  "v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
35
37
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
36
38
  active: boolean;
37
- transition: {
39
+ transition: string | boolean | (vue.TransitionProps & {
40
+ component?: Component;
41
+ }) | {
38
42
  component: Component;
39
43
  leaveAbsolute: boolean;
40
44
  group: boolean;
41
- } | NonNullable<string | boolean | (vue.TransitionProps & {
42
- component?: Component | undefined;
43
- })>;
45
+ };
44
46
  style: vue.StyleValue;
45
47
  messages: string | readonly string[];
46
48
  } & {
@@ -57,19 +59,17 @@ declare const VMessages: {
57
59
  "v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
58
60
  }, {
59
61
  active: boolean;
60
- transition: {
62
+ transition: string | boolean | (vue.TransitionProps & {
63
+ component?: Component;
64
+ }) | {
61
65
  component: Component;
62
66
  leaveAbsolute: boolean;
63
67
  group: boolean;
64
- } | NonNullable<string | boolean | (vue.TransitionProps & {
65
- component?: Component | undefined;
66
- })>;
68
+ };
67
69
  style: vue.StyleValue;
68
70
  messages: string | readonly string[];
69
71
  }, true, {}, vue.SlotsType<Partial<{
70
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
71
- [key: string]: any;
72
- }>[];
72
+ message: (arg: VMessageSlot) => vue.VNode[];
73
73
  }>>, {
74
74
  P: {};
75
75
  B: {};
@@ -79,13 +79,13 @@ declare const VMessages: {
79
79
  Defaults: {};
80
80
  }, {
81
81
  active: boolean;
82
- transition: {
82
+ transition: string | boolean | (vue.TransitionProps & {
83
+ component?: Component;
84
+ }) | {
83
85
  component: Component;
84
86
  leaveAbsolute: boolean;
85
87
  group: boolean;
86
- } | NonNullable<string | boolean | (vue.TransitionProps & {
87
- component?: Component | undefined;
88
- })>;
88
+ };
89
89
  style: vue.StyleValue;
90
90
  messages: string | readonly string[];
91
91
  } & {
@@ -102,28 +102,28 @@ declare const VMessages: {
102
102
  "v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
103
103
  }, {}, {}, {}, {}, {
104
104
  active: boolean;
105
- transition: {
105
+ transition: string | boolean | (vue.TransitionProps & {
106
+ component?: Component;
107
+ }) | {
106
108
  component: Component;
107
109
  leaveAbsolute: boolean;
108
110
  group: boolean;
109
- } | NonNullable<string | boolean | (vue.TransitionProps & {
110
- component?: Component | undefined;
111
- })>;
111
+ };
112
112
  style: vue.StyleValue;
113
113
  messages: string | readonly string[];
114
114
  }>;
115
- __isFragment?: undefined;
116
- __isTeleport?: undefined;
117
- __isSuspense?: undefined;
115
+ __isFragment?: never;
116
+ __isTeleport?: never;
117
+ __isSuspense?: never;
118
118
  } & vue.ComponentOptionsBase<{
119
119
  active: boolean;
120
- transition: {
120
+ transition: string | boolean | (vue.TransitionProps & {
121
+ component?: Component;
122
+ }) | {
121
123
  component: Component;
122
124
  leaveAbsolute: boolean;
123
125
  group: boolean;
124
- } | NonNullable<string | boolean | (vue.TransitionProps & {
125
- component?: Component | undefined;
126
- })>;
126
+ };
127
127
  style: vue.StyleValue;
128
128
  messages: string | readonly string[];
129
129
  } & {
@@ -140,43 +140,41 @@ declare const VMessages: {
140
140
  "v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
141
141
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
142
142
  active: boolean;
143
- transition: {
143
+ transition: string | boolean | (vue.TransitionProps & {
144
+ component?: Component;
145
+ }) | {
144
146
  component: Component;
145
147
  leaveAbsolute: boolean;
146
148
  group: boolean;
147
- } | NonNullable<string | boolean | (vue.TransitionProps & {
148
- component?: Component | undefined;
149
- })>;
149
+ };
150
150
  style: vue.StyleValue;
151
151
  messages: string | readonly string[];
152
152
  }, {}, string, vue.SlotsType<Partial<{
153
- message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
154
- [key: string]: any;
155
- }>[];
153
+ message: (arg: VMessageSlot) => vue.VNode[];
156
154
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
157
155
  transition: Omit<{
158
156
  type: PropType<string | boolean | (vue.TransitionProps & {
159
- component?: Component | undefined;
157
+ component?: Component;
160
158
  })>;
161
159
  default: string;
162
160
  validator: (val: unknown) => boolean;
163
161
  }, "type" | "default"> & {
164
- type: PropType<{
162
+ type: PropType<string | boolean | (vue.TransitionProps & {
163
+ component?: Component;
164
+ }) | {
165
165
  component: Component;
166
166
  leaveAbsolute: boolean;
167
167
  group: boolean;
168
- } | NonNullable<string | boolean | (vue.TransitionProps & {
169
- component?: Component | undefined;
170
- })>>;
168
+ }>;
171
169
  default: {
172
170
  component: Component;
173
171
  leaveAbsolute: boolean;
174
172
  group: boolean;
175
173
  } | NonNullable<string | boolean | (vue.TransitionProps & {
176
- component?: Component | undefined;
174
+ component?: Component;
177
175
  })>;
178
176
  };
179
- class: PropType<any>;
177
+ class: PropType<ClassValue>;
180
178
  style: {
181
179
  type: PropType<vue.StyleValue>;
182
180
  default: null;
@@ -190,27 +188,27 @@ declare const VMessages: {
190
188
  }, vue.ExtractPropTypes<{
191
189
  transition: Omit<{
192
190
  type: PropType<string | boolean | (vue.TransitionProps & {
193
- component?: Component | undefined;
191
+ component?: Component;
194
192
  })>;
195
193
  default: string;
196
194
  validator: (val: unknown) => boolean;
197
195
  }, "type" | "default"> & {
198
- type: PropType<{
196
+ type: PropType<string | boolean | (vue.TransitionProps & {
197
+ component?: Component;
198
+ }) | {
199
199
  component: Component;
200
200
  leaveAbsolute: boolean;
201
201
  group: boolean;
202
- } | NonNullable<string | boolean | (vue.TransitionProps & {
203
- component?: Component | undefined;
204
- })>>;
202
+ }>;
205
203
  default: {
206
204
  component: Component;
207
205
  leaveAbsolute: boolean;
208
206
  group: boolean;
209
207
  } | NonNullable<string | boolean | (vue.TransitionProps & {
210
- component?: Component | undefined;
208
+ component?: Component;
211
209
  })>;
212
210
  };
213
- class: PropType<any>;
211
+ class: PropType<ClassValue>;
214
212
  style: {
215
213
  type: PropType<vue.StyleValue>;
216
214
  default: null;
@@ -5,6 +5,8 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
5
5
  filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
6
6
  }
7
7
 
8
+ type ClassValue = any;
9
+
8
10
  declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
9
11
  type Breakpoint = typeof breakpoints[number];
10
12
  type DisplayBreakpoint = 'xs' | Breakpoint;
@@ -12,6 +14,7 @@ type DisplayBreakpoint = 'xs' | Breakpoint;
12
14
  type VNavigationDrawerImageSlot = {
13
15
  image: string | undefined;
14
16
  };
17
+ declare const locations: readonly ["start", "end", "left", "right", "top", "bottom"];
15
18
  declare const VNavigationDrawer: {
16
19
  new (...args: any[]): vue.CreateComponentPublicInstance<{
17
20
  absolute: boolean;
@@ -19,7 +22,7 @@ declare const VNavigationDrawer: {
19
22
  width: string | number;
20
23
  order: string | number;
21
24
  style: vue.StyleValue;
22
- mobile: NonNullable<boolean | null> | null;
25
+ mobile: boolean | null;
23
26
  temporary: boolean;
24
27
  tag: string;
25
28
  sticky: boolean;
@@ -79,7 +82,7 @@ declare const VNavigationDrawer: {
79
82
  width: string | number;
80
83
  order: string | number;
81
84
  style: vue.StyleValue;
82
- mobile: NonNullable<boolean | null> | null;
85
+ mobile: boolean | null;
83
86
  temporary: boolean;
84
87
  tag: string;
85
88
  sticky: boolean;
@@ -134,7 +137,7 @@ declare const VNavigationDrawer: {
134
137
  width: string | number;
135
138
  order: string | number;
136
139
  style: vue.StyleValue;
137
- mobile: NonNullable<boolean | null> | null;
140
+ mobile: boolean | null;
138
141
  temporary: boolean;
139
142
  tag: string;
140
143
  sticky: boolean;
@@ -152,18 +155,10 @@ declare const VNavigationDrawer: {
152
155
  rail: boolean | null;
153
156
  railWidth: string | number;
154
157
  }, true, {}, vue.SlotsType<Partial<{
155
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
156
- [key: string]: any;
157
- }>[];
158
- prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
159
- [key: string]: any;
160
- }>[];
161
- append: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
162
- [key: string]: any;
163
- }>[];
164
- image: (arg: VNavigationDrawerImageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
165
- [key: string]: any;
166
- }>[];
158
+ default: () => vue.VNode[];
159
+ prepend: () => vue.VNode[];
160
+ append: () => vue.VNode[];
161
+ image: (arg: VNavigationDrawerImageSlot) => vue.VNode[];
167
162
  }>>, {
168
163
  P: {};
169
164
  B: {};
@@ -177,7 +172,7 @@ declare const VNavigationDrawer: {
177
172
  width: string | number;
178
173
  order: string | number;
179
174
  style: vue.StyleValue;
180
- mobile: NonNullable<boolean | null> | null;
175
+ mobile: boolean | null;
181
176
  temporary: boolean;
182
177
  tag: string;
183
178
  sticky: boolean;
@@ -234,7 +229,7 @@ declare const VNavigationDrawer: {
234
229
  width: string | number;
235
230
  order: string | number;
236
231
  style: vue.StyleValue;
237
- mobile: NonNullable<boolean | null> | null;
232
+ mobile: boolean | null;
238
233
  temporary: boolean;
239
234
  tag: string;
240
235
  sticky: boolean;
@@ -252,16 +247,16 @@ declare const VNavigationDrawer: {
252
247
  rail: boolean | null;
253
248
  railWidth: string | number;
254
249
  }>;
255
- __isFragment?: undefined;
256
- __isTeleport?: undefined;
257
- __isSuspense?: undefined;
250
+ __isFragment?: never;
251
+ __isTeleport?: never;
252
+ __isSuspense?: never;
258
253
  } & vue.ComponentOptionsBase<{
259
254
  absolute: boolean;
260
255
  location: "end" | "start" | "left" | "top" | "bottom" | "right";
261
256
  width: string | number;
262
257
  order: string | number;
263
258
  style: vue.StyleValue;
264
- mobile: NonNullable<boolean | null> | null;
259
+ mobile: boolean | null;
265
260
  temporary: boolean;
266
261
  tag: string;
267
262
  sticky: boolean;
@@ -321,7 +316,7 @@ declare const VNavigationDrawer: {
321
316
  width: string | number;
322
317
  order: string | number;
323
318
  style: vue.StyleValue;
324
- mobile: NonNullable<boolean | null> | null;
319
+ mobile: boolean | null;
325
320
  temporary: boolean;
326
321
  tag: string;
327
322
  sticky: boolean;
@@ -339,18 +334,10 @@ declare const VNavigationDrawer: {
339
334
  rail: boolean | null;
340
335
  railWidth: string | number;
341
336
  }, {}, string, vue.SlotsType<Partial<{
342
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
343
- [key: string]: any;
344
- }>[];
345
- prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
346
- [key: string]: any;
347
- }>[];
348
- append: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
349
- [key: string]: any;
350
- }>[];
351
- image: (arg: VNavigationDrawerImageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
352
- [key: string]: any;
353
- }>[];
337
+ default: () => vue.VNode[];
338
+ prepend: () => vue.VNode[];
339
+ append: () => vue.VNode[];
340
+ image: (arg: VNavigationDrawerImageSlot) => vue.VNode[];
354
341
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
355
342
  theme: StringConstructor;
356
343
  tag: Omit<{
@@ -381,13 +368,13 @@ declare const VNavigationDrawer: {
381
368
  type: PropType<boolean | null>;
382
369
  default: boolean;
383
370
  }, "type" | "default"> & {
384
- type: PropType<NonNullable<boolean | null> | null>;
371
+ type: PropType<boolean | null>;
385
372
  default: NonNullable<boolean | null> | null;
386
373
  };
387
374
  mobileBreakpoint: PropType<number | DisplayBreakpoint>;
388
375
  closeDelay: (StringConstructor | NumberConstructor)[];
389
376
  openDelay: (StringConstructor | NumberConstructor)[];
390
- class: PropType<any>;
377
+ class: PropType<ClassValue>;
391
378
  style: {
392
379
  type: PropType<vue.StyleValue>;
393
380
  default: null;
@@ -424,7 +411,7 @@ declare const VNavigationDrawer: {
424
411
  default: number;
425
412
  };
426
413
  location: {
427
- type: PropType<"end" | "start" | "left" | "top" | "bottom" | "right">;
414
+ type: PropType<(typeof locations)[number]>;
428
415
  default: string;
429
416
  validator: (value: any) => boolean;
430
417
  };
@@ -459,13 +446,13 @@ declare const VNavigationDrawer: {
459
446
  type: PropType<boolean | null>;
460
447
  default: boolean;
461
448
  }, "type" | "default"> & {
462
- type: PropType<NonNullable<boolean | null> | null>;
449
+ type: PropType<boolean | null>;
463
450
  default: NonNullable<boolean | null> | null;
464
451
  };
465
452
  mobileBreakpoint: PropType<number | DisplayBreakpoint>;
466
453
  closeDelay: (StringConstructor | NumberConstructor)[];
467
454
  openDelay: (StringConstructor | NumberConstructor)[];
468
- class: PropType<any>;
455
+ class: PropType<ClassValue>;
469
456
  style: {
470
457
  type: PropType<vue.StyleValue>;
471
458
  default: null;
@@ -502,7 +489,7 @@ declare const VNavigationDrawer: {
502
489
  default: number;
503
490
  };
504
491
  location: {
505
- type: PropType<"end" | "start" | "left" | "top" | "bottom" | "right">;
492
+ type: PropType<(typeof locations)[number]>;
506
493
  default: string;
507
494
  validator: (value: any) => boolean;
508
495
  };
@@ -5,10 +5,12 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
5
5
  filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
6
6
  }
7
7
 
8
+ type ClassValue = any;
9
+
8
10
  declare const VOtpInput: {
9
11
  new (...args: any[]): vue.CreateComponentPublicInstance<{
10
12
  length: string | number;
11
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
13
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
12
14
  type: "number" | "text" | "password";
13
15
  error: boolean;
14
16
  label: string;
@@ -64,7 +66,7 @@ declare const VOtpInput: {
64
66
  'update:modelValue': (val: string) => true;
65
67
  }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
66
68
  length: string | number;
67
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
69
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
68
70
  type: "number" | "text" | "password";
69
71
  error: boolean;
70
72
  label: string;
@@ -109,7 +111,7 @@ declare const VOtpInput: {
109
111
  onFinish?: ((val: string) => any) | undefined;
110
112
  }, {
111
113
  length: string | number;
112
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
114
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
113
115
  type: "number" | "text" | "password";
114
116
  error: boolean;
115
117
  label: string;
@@ -121,12 +123,8 @@ declare const VOtpInput: {
121
123
  rounded: string | number | boolean;
122
124
  focusAll: boolean;
123
125
  }, true, {}, vue.SlotsType<Partial<{
124
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
125
- [key: string]: any;
126
- }>[];
127
- loader: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
128
- [key: string]: any;
129
- }>[];
126
+ default: () => vue.VNode[];
127
+ loader: () => vue.VNode[];
130
128
  }>>, {
131
129
  P: {};
132
130
  B: {};
@@ -136,7 +134,7 @@ declare const VOtpInput: {
136
134
  Defaults: {};
137
135
  }, {
138
136
  length: string | number;
139
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
137
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
140
138
  type: "number" | "text" | "password";
141
139
  error: boolean;
142
140
  label: string;
@@ -188,7 +186,7 @@ declare const VOtpInput: {
188
186
  };
189
187
  }, {}, {}, {}, {
190
188
  length: string | number;
191
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
189
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
192
190
  type: "number" | "text" | "password";
193
191
  error: boolean;
194
192
  label: string;
@@ -200,12 +198,12 @@ declare const VOtpInput: {
200
198
  rounded: string | number | boolean;
201
199
  focusAll: boolean;
202
200
  }>;
203
- __isFragment?: undefined;
204
- __isTeleport?: undefined;
205
- __isSuspense?: undefined;
201
+ __isFragment?: never;
202
+ __isTeleport?: never;
203
+ __isSuspense?: never;
206
204
  } & vue.ComponentOptionsBase<{
207
205
  length: string | number;
208
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
206
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
209
207
  type: "number" | "text" | "password";
210
208
  error: boolean;
211
209
  label: string;
@@ -261,7 +259,7 @@ declare const VOtpInput: {
261
259
  'update:modelValue': (val: string) => true;
262
260
  }, string, {
263
261
  length: string | number;
264
- variant: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
262
+ variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
265
263
  type: "number" | "text" | "password";
266
264
  error: boolean;
267
265
  label: string;
@@ -273,19 +271,15 @@ declare const VOtpInput: {
273
271
  rounded: string | number | boolean;
274
272
  focusAll: boolean;
275
273
  }, {}, string, vue.SlotsType<Partial<{
276
- default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
277
- [key: string]: any;
278
- }>[];
279
- loader: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
280
- [key: string]: any;
281
- }>[];
274
+ default: () => vue.VNode[];
275
+ loader: () => vue.VNode[];
282
276
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
283
277
  variant: Omit<{
284
278
  type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
285
279
  default: string;
286
280
  validator: (v: any) => boolean;
287
281
  }, "type" | "default"> & {
288
- type: PropType<NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">>;
282
+ type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
289
283
  default: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
290
284
  };
291
285
  error: BooleanConstructor;
@@ -299,7 +293,7 @@ declare const VOtpInput: {
299
293
  type: BooleanConstructor;
300
294
  default: null;
301
295
  };
302
- class: PropType<any>;
296
+ class: PropType<ClassValue>;
303
297
  theme: StringConstructor;
304
298
  rounded: {
305
299
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
@@ -332,7 +326,7 @@ declare const VOtpInput: {
332
326
  };
333
327
  placeholder: StringConstructor;
334
328
  type: {
335
- type: PropType<"number" | "text" | "password">;
329
+ type: PropType<"text" | "password" | "number">;
336
330
  default: string;
337
331
  };
338
332
  }, vue.ExtractPropTypes<{
@@ -341,7 +335,7 @@ declare const VOtpInput: {
341
335
  default: string;
342
336
  validator: (v: any) => boolean;
343
337
  }, "type" | "default"> & {
344
- type: PropType<NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">>;
338
+ type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
345
339
  default: NonNullable<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
346
340
  };
347
341
  error: BooleanConstructor;
@@ -355,7 +349,7 @@ declare const VOtpInput: {
355
349
  type: BooleanConstructor;
356
350
  default: null;
357
351
  };
358
- class: PropType<any>;
352
+ class: PropType<ClassValue>;
359
353
  theme: StringConstructor;
360
354
  rounded: {
361
355
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
@@ -388,7 +382,7 @@ declare const VOtpInput: {
388
382
  };
389
383
  placeholder: StringConstructor;
390
384
  type: {
391
- type: PropType<"number" | "text" | "password">;
385
+ type: PropType<"text" | "password" | "number">;
392
386
  default: string;
393
387
  };
394
388
  }>>;
@@ -22,7 +22,7 @@ import { useToggleScope } from "../../composables/toggleScope.mjs";
22
22
  import { makeTransitionProps, MaybeTransition } from "../../composables/transition.mjs"; // Directives
23
23
  import { ClickOutside } from "../../directives/click-outside/index.mjs"; // Utilities
24
24
  import { computed, mergeProps, onBeforeUnmount, ref, Teleport, toRef, Transition, watch } from 'vue';
25
- import { animate, convertToUnit, genericComponent, getScrollParent, IN_BROWSER, propsFactory, standardEasing, useRender } from "../../util/index.mjs"; // Types
25
+ import { animate, convertToUnit, genericComponent, getCurrentInstance, getScrollParent, IN_BROWSER, propsFactory, standardEasing, useRender } from "../../util/index.mjs"; // Types
26
26
  function Scrim(props) {
27
27
  const {
28
28
  modelValue,
@@ -93,6 +93,7 @@ export const VOverlay = genericComponent()({
93
93
  attrs,
94
94
  emit
95
95
  } = _ref;
96
+ const vm = getCurrentInstance('VOverlay');
96
97
  const model = useProxiedModel(props, 'modelValue');
97
98
  const isActive = computed({
98
99
  get: () => model.value,
@@ -137,7 +138,7 @@ export const VOverlay = genericComponent()({
137
138
  } = useTeleport(() => {
138
139
  const target = props.attach || props.contained;
139
140
  if (target) return target;
140
- const rootNode = activatorEl?.value?.getRootNode();
141
+ const rootNode = activatorEl?.value?.getRootNode() || vm.proxy?.$el?.getRootNode();
141
142
  if (rootNode instanceof ShadowRoot) return rootNode;
142
143
  return false;
143
144
  });
@@ -177,7 +178,7 @@ export const VOverlay = genericComponent()({
177
178
  function closeConditional(e) {
178
179
  return isActive.value && globalTop.value && (
179
180
  // If using scrim, only close if clicking on it rather than anything opened on top
180
- !props.scrim || e.target === scrimEl.value);
181
+ !props.scrim || e.target === scrimEl.value || e instanceof MouseEvent && e.shadowTarget === scrimEl.value);
181
182
  }
182
183
  IN_BROWSER && watch(isActive, val => {
183
184
  if (val) {