@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.
- package/dist/json/attributes.json +7 -11
- package/dist/json/importMap-labs.json +30 -30
- package/dist/json/importMap.json +144 -144
- package/dist/json/tags.json +0 -1
- package/dist/json/web-types.json +8 -18
- package/dist/vuetify-labs.css +2162 -2162
- package/dist/vuetify-labs.d.ts +33122 -39828
- package/dist/vuetify-labs.esm.js +17 -9
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +17 -9
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1025 -1025
- package/dist/vuetify.d.ts +32674 -39040
- package/dist/vuetify.esm.js +16 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +16 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +22 -22
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +50 -73
- package/lib/components/VApp/index.d.mts +9 -11
- package/lib/components/VAppBar/index.d.mts +92 -128
- package/lib/components/VAutocomplete/index.d.mts +4771 -3230
- package/lib/components/VAvatar/index.d.mts +23 -22
- package/lib/components/VBadge/index.d.mts +53 -59
- package/lib/components/VBanner/index.d.mts +44 -66
- package/lib/components/VBottomNavigation/index.d.mts +25 -32
- package/lib/components/VBottomSheet/index.d.mts +125 -135
- package/lib/components/VBreadcrumbs/index.d.mts +35 -78
- package/lib/components/VBtn/index.d.mts +49 -53
- package/lib/components/VBtnGroup/index.d.mts +14 -13
- package/lib/components/VBtnToggle/index.d.mts +21 -23
- package/lib/components/VCard/index.d.mts +104 -168
- package/lib/components/VCarousel/index.d.mts +59 -96
- package/lib/components/VCheckbox/index.d.mts +132 -155
- package/lib/components/VChip/index.d.mts +47 -59
- package/lib/components/VChipGroup/index.d.mts +39 -41
- package/lib/components/VCode/index.d.mts +9 -11
- package/lib/components/VColorPicker/index.d.mts +58 -133
- package/lib/components/VCombobox/index.d.mts +4785 -3244
- package/lib/components/VConfirmEdit/index.d.mts +11 -19
- package/lib/components/VCounter/index.d.mts +40 -42
- package/lib/components/VDataIterator/index.d.mts +171 -185
- package/lib/components/VDataTable/index.d.mts +480 -1204
- package/lib/components/VDatePicker/index.d.mts +120 -158
- package/lib/components/VDefaultsProvider/index.d.mts +5 -9
- package/lib/components/VDialog/index.d.mts +243 -277
- package/lib/components/VDivider/index.d.mts +9 -11
- package/lib/components/VEmptyState/index.d.mts +30 -52
- package/lib/components/VExpansionPanel/index.d.mts +60 -85
- package/lib/components/VFab/index.d.mts +81 -73
- package/lib/components/VField/index.d.mts +35 -62
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +172 -259
- package/lib/components/VFooter/index.d.mts +9 -11
- package/lib/components/VForm/index.d.mts +105 -77
- package/lib/components/VGrid/index.d.mts +41 -52
- package/lib/components/VHover/index.d.mts +5 -9
- package/lib/components/VIcon/index.d.mts +23 -29
- package/lib/components/VImg/index.d.mts +28 -42
- package/lib/components/VInfiniteScroll/index.d.mts +17 -37
- package/lib/components/VInput/index.d.mts +48 -50
- package/lib/components/VItemGroup/index.d.mts +21 -30
- package/lib/components/VKbd/index.d.mts +9 -11
- package/lib/components/VLabel/index.d.mts +9 -11
- package/lib/components/VLayout/index.d.mts +18 -24
- package/lib/components/VLazy/index.d.mts +42 -44
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +210 -329
- package/lib/components/VLocaleProvider/index.d.mts +9 -11
- package/lib/components/VMain/index.d.mts +9 -11
- package/lib/components/VMenu/index.d.mts +272 -306
- package/lib/components/VMessages/index.d.mts +49 -51
- package/lib/components/VNavigationDrawer/index.d.mts +27 -40
- package/lib/components/VOtpInput/index.d.mts +22 -28
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +53 -63
- package/lib/components/VPagination/index.d.mts +31 -46
- package/lib/components/VParallax/index.d.mts +15 -29
- package/lib/components/VProgressCircular/index.d.mts +9 -11
- package/lib/components/VProgressLinear/index.d.mts +22 -24
- package/lib/components/VRadio/index.d.mts +49 -52
- package/lib/components/VRadioGroup/index.d.mts +66 -66
- package/lib/components/VRangeSlider/index.d.mts +58 -69
- package/lib/components/VRating/index.d.mts +13 -19
- package/lib/components/VResponsive/index.d.mts +11 -17
- package/lib/components/VSelect/index.d.mts +4762 -3221
- package/lib/components/VSelectionControl/index.d.mts +38 -44
- package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
- package/lib/components/VSheet/index.d.mts +15 -17
- package/lib/components/VSkeletonLoader/index.d.mts +41 -11
- package/lib/components/VSlideGroup/index.d.mts +112 -129
- package/lib/components/VSlider/index.d.mts +58 -69
- package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +231 -270
- package/lib/components/VSparkline/index.d.mts +11 -19
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/index.d.mts +179 -189
- package/lib/components/VStepper/index.d.mts +105 -180
- package/lib/components/VSwitch/index.d.mts +78 -98
- package/lib/components/VSystemBar/index.d.mts +13 -15
- package/lib/components/VTable/index.d.mts +15 -29
- package/lib/components/VTabs/index.d.mts +213 -297
- package/lib/components/VTextField/index.d.mts +253 -408
- package/lib/components/VTextarea/index.d.mts +157 -236
- package/lib/components/VThemeProvider/index.d.mts +9 -11
- package/lib/components/VTimeline/index.d.mts +29 -43
- package/lib/components/VToolbar/index.d.mts +49 -80
- package/lib/components/VTooltip/index.d.mts +282 -316
- package/lib/components/VValidation/index.d.mts +16 -23
- package/lib/components/VVirtualScroll/index.d.mts +14 -23
- package/lib/components/VWindow/index.d.mts +29 -50
- package/lib/components/index.d.mts +31169 -37524
- package/lib/components/transitions/index.d.mts +84 -148
- package/lib/composables/location.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +3 -0
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +60 -60
- package/lib/labs/VCalendar/index.d.mts +146 -166
- package/lib/labs/VDateInput/index.d.mts +83 -62
- package/lib/labs/VNumberInput/index.d.mts +61 -88
- package/lib/labs/VPicker/index.d.mts +28 -46
- package/lib/labs/VPullToRefresh/index.d.mts +7 -15
- package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
- package/lib/labs/VStepperVertical/index.d.mts +109 -184
- package/lib/labs/VTimePicker/index.d.mts +35 -53
- package/lib/labs/VTreeview/VTreeview.mjs +1 -1
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +200 -292
- package/lib/labs/components.d.mts +905 -1246
- package/lib/util/propsFactory.mjs.map +1 -1
- 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
|
-
}
|
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
|
-
}
|
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
|
-
}
|
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
|
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
|
-
}
|
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
|
-
}
|
110
|
-
component?: Component | undefined;
|
111
|
-
})>;
|
111
|
+
};
|
112
112
|
style: vue.StyleValue;
|
113
113
|
messages: string | readonly string[];
|
114
114
|
}>;
|
115
|
-
__isFragment?:
|
116
|
-
__isTeleport?:
|
117
|
-
__isSuspense?:
|
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
|
-
}
|
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
|
-
}
|
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
|
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
|
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
|
-
}
|
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
|
174
|
+
component?: Component;
|
177
175
|
})>;
|
178
176
|
};
|
179
|
-
class: PropType<
|
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
|
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
|
-
}
|
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
|
208
|
+
component?: Component;
|
211
209
|
})>;
|
212
210
|
};
|
213
|
-
class: PropType<
|
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:
|
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:
|
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:
|
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
|
156
|
-
|
157
|
-
|
158
|
-
|
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:
|
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:
|
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?:
|
256
|
-
__isTeleport?:
|
257
|
-
__isSuspense?:
|
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:
|
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:
|
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
|
343
|
-
|
344
|
-
|
345
|
-
|
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<
|
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<
|
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<
|
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<
|
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<
|
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<
|
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:
|
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:
|
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:
|
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
|
125
|
-
|
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:
|
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:
|
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?:
|
204
|
-
__isTeleport?:
|
205
|
-
__isSuspense?:
|
201
|
+
__isFragment?: never;
|
202
|
+
__isTeleport?: never;
|
203
|
+
__isSuspense?: never;
|
206
204
|
} & vue.ComponentOptionsBase<{
|
207
205
|
length: string | number;
|
208
|
-
variant:
|
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:
|
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
|
277
|
-
|
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<
|
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<
|
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<"
|
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<
|
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<
|
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<"
|
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) {
|