@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
@@ -29,9 +29,7 @@ declare const VDialogTransition: {
|
|
29
29
|
} & {
|
30
30
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
31
31
|
}, {}, true, {}, vue.SlotsType<Partial<{
|
32
|
-
default: () => vue.VNode
|
33
|
-
[key: string]: any;
|
34
|
-
}>[];
|
32
|
+
default: () => vue.VNode[];
|
35
33
|
}>>, {
|
36
34
|
P: {};
|
37
35
|
B: {};
|
@@ -51,9 +49,9 @@ declare const VDialogTransition: {
|
|
51
49
|
} & {
|
52
50
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
53
51
|
}, () => JSX.Element, {}, {}, {}, {}>;
|
54
|
-
__isFragment?:
|
55
|
-
__isTeleport?:
|
56
|
-
__isSuspense?:
|
52
|
+
__isFragment?: never;
|
53
|
+
__isTeleport?: never;
|
54
|
+
__isSuspense?: never;
|
57
55
|
} & vue.ComponentOptionsBase<{} & {
|
58
56
|
target?: HTMLElement | [x: number, y: number] | undefined;
|
59
57
|
} & {
|
@@ -66,9 +64,7 @@ declare const VDialogTransition: {
|
|
66
64
|
} & {
|
67
65
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
68
66
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {}, {}, string, vue.SlotsType<Partial<{
|
69
|
-
default: () => vue.VNode
|
70
|
-
[key: string]: any;
|
71
|
-
}>[];
|
67
|
+
default: () => vue.VNode[];
|
72
68
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
73
69
|
target: PropType<HTMLElement | [x: number, y: number]>;
|
74
70
|
}, vue.ExtractPropTypes<{
|
@@ -119,9 +115,7 @@ declare const VFabTransition: {
|
|
119
115
|
hideOnLeave: boolean;
|
120
116
|
leaveAbsolute: boolean;
|
121
117
|
}, true, {}, vue.SlotsType<Partial<{
|
122
|
-
default: () => vue.VNode
|
123
|
-
[key: string]: any;
|
124
|
-
}>[];
|
118
|
+
default: () => vue.VNode[];
|
125
119
|
}>>, {
|
126
120
|
P: {};
|
127
121
|
B: {};
|
@@ -155,9 +149,9 @@ declare const VFabTransition: {
|
|
155
149
|
hideOnLeave: boolean;
|
156
150
|
leaveAbsolute: boolean;
|
157
151
|
}>;
|
158
|
-
__isFragment?:
|
159
|
-
__isTeleport?:
|
160
|
-
__isSuspense?:
|
152
|
+
__isFragment?: never;
|
153
|
+
__isTeleport?: never;
|
154
|
+
__isSuspense?: never;
|
161
155
|
} & vue.ComponentOptionsBase<{
|
162
156
|
origin: string | undefined;
|
163
157
|
disabled: boolean;
|
@@ -184,9 +178,7 @@ declare const VFabTransition: {
|
|
184
178
|
hideOnLeave: boolean;
|
185
179
|
leaveAbsolute: boolean;
|
186
180
|
}, {}, string, vue.SlotsType<Partial<{
|
187
|
-
default: () => vue.VNode
|
188
|
-
[key: string]: any;
|
189
|
-
}>[];
|
181
|
+
default: () => vue.VNode[];
|
190
182
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
191
183
|
disabled: BooleanConstructor;
|
192
184
|
group: BooleanConstructor;
|
@@ -258,9 +250,7 @@ declare const VDialogBottomTransition: {
|
|
258
250
|
hideOnLeave: boolean;
|
259
251
|
leaveAbsolute: boolean;
|
260
252
|
}, true, {}, vue.SlotsType<Partial<{
|
261
|
-
default: () => vue.VNode
|
262
|
-
[key: string]: any;
|
263
|
-
}>[];
|
253
|
+
default: () => vue.VNode[];
|
264
254
|
}>>, {
|
265
255
|
P: {};
|
266
256
|
B: {};
|
@@ -294,9 +284,9 @@ declare const VDialogBottomTransition: {
|
|
294
284
|
hideOnLeave: boolean;
|
295
285
|
leaveAbsolute: boolean;
|
296
286
|
}>;
|
297
|
-
__isFragment?:
|
298
|
-
__isTeleport?:
|
299
|
-
__isSuspense?:
|
287
|
+
__isFragment?: never;
|
288
|
+
__isTeleport?: never;
|
289
|
+
__isSuspense?: never;
|
300
290
|
} & vue.ComponentOptionsBase<{
|
301
291
|
origin: string | undefined;
|
302
292
|
disabled: boolean;
|
@@ -323,9 +313,7 @@ declare const VDialogBottomTransition: {
|
|
323
313
|
hideOnLeave: boolean;
|
324
314
|
leaveAbsolute: boolean;
|
325
315
|
}, {}, string, vue.SlotsType<Partial<{
|
326
|
-
default: () => vue.VNode
|
327
|
-
[key: string]: any;
|
328
|
-
}>[];
|
316
|
+
default: () => vue.VNode[];
|
329
317
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
330
318
|
disabled: BooleanConstructor;
|
331
319
|
group: BooleanConstructor;
|
@@ -397,9 +385,7 @@ declare const VDialogTopTransition: {
|
|
397
385
|
hideOnLeave: boolean;
|
398
386
|
leaveAbsolute: boolean;
|
399
387
|
}, true, {}, vue.SlotsType<Partial<{
|
400
|
-
default: () => vue.VNode
|
401
|
-
[key: string]: any;
|
402
|
-
}>[];
|
388
|
+
default: () => vue.VNode[];
|
403
389
|
}>>, {
|
404
390
|
P: {};
|
405
391
|
B: {};
|
@@ -433,9 +419,9 @@ declare const VDialogTopTransition: {
|
|
433
419
|
hideOnLeave: boolean;
|
434
420
|
leaveAbsolute: boolean;
|
435
421
|
}>;
|
436
|
-
__isFragment?:
|
437
|
-
__isTeleport?:
|
438
|
-
__isSuspense?:
|
422
|
+
__isFragment?: never;
|
423
|
+
__isTeleport?: never;
|
424
|
+
__isSuspense?: never;
|
439
425
|
} & vue.ComponentOptionsBase<{
|
440
426
|
origin: string | undefined;
|
441
427
|
disabled: boolean;
|
@@ -462,9 +448,7 @@ declare const VDialogTopTransition: {
|
|
462
448
|
hideOnLeave: boolean;
|
463
449
|
leaveAbsolute: boolean;
|
464
450
|
}, {}, string, vue.SlotsType<Partial<{
|
465
|
-
default: () => vue.VNode
|
466
|
-
[key: string]: any;
|
467
|
-
}>[];
|
451
|
+
default: () => vue.VNode[];
|
468
452
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
469
453
|
disabled: BooleanConstructor;
|
470
454
|
group: BooleanConstructor;
|
@@ -536,9 +520,7 @@ declare const VFadeTransition: {
|
|
536
520
|
hideOnLeave: boolean;
|
537
521
|
leaveAbsolute: boolean;
|
538
522
|
}, true, {}, vue.SlotsType<Partial<{
|
539
|
-
default: () => vue.VNode
|
540
|
-
[key: string]: any;
|
541
|
-
}>[];
|
523
|
+
default: () => vue.VNode[];
|
542
524
|
}>>, {
|
543
525
|
P: {};
|
544
526
|
B: {};
|
@@ -572,9 +554,9 @@ declare const VFadeTransition: {
|
|
572
554
|
hideOnLeave: boolean;
|
573
555
|
leaveAbsolute: boolean;
|
574
556
|
}>;
|
575
|
-
__isFragment?:
|
576
|
-
__isTeleport?:
|
577
|
-
__isSuspense?:
|
557
|
+
__isFragment?: never;
|
558
|
+
__isTeleport?: never;
|
559
|
+
__isSuspense?: never;
|
578
560
|
} & vue.ComponentOptionsBase<{
|
579
561
|
origin: string | undefined;
|
580
562
|
disabled: boolean;
|
@@ -601,9 +583,7 @@ declare const VFadeTransition: {
|
|
601
583
|
hideOnLeave: boolean;
|
602
584
|
leaveAbsolute: boolean;
|
603
585
|
}, {}, string, vue.SlotsType<Partial<{
|
604
|
-
default: () => vue.VNode
|
605
|
-
[key: string]: any;
|
606
|
-
}>[];
|
586
|
+
default: () => vue.VNode[];
|
607
587
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
608
588
|
disabled: BooleanConstructor;
|
609
589
|
group: BooleanConstructor;
|
@@ -675,9 +655,7 @@ declare const VScaleTransition: {
|
|
675
655
|
hideOnLeave: boolean;
|
676
656
|
leaveAbsolute: boolean;
|
677
657
|
}, true, {}, vue.SlotsType<Partial<{
|
678
|
-
default: () => vue.VNode
|
679
|
-
[key: string]: any;
|
680
|
-
}>[];
|
658
|
+
default: () => vue.VNode[];
|
681
659
|
}>>, {
|
682
660
|
P: {};
|
683
661
|
B: {};
|
@@ -711,9 +689,9 @@ declare const VScaleTransition: {
|
|
711
689
|
hideOnLeave: boolean;
|
712
690
|
leaveAbsolute: boolean;
|
713
691
|
}>;
|
714
|
-
__isFragment?:
|
715
|
-
__isTeleport?:
|
716
|
-
__isSuspense?:
|
692
|
+
__isFragment?: never;
|
693
|
+
__isTeleport?: never;
|
694
|
+
__isSuspense?: never;
|
717
695
|
} & vue.ComponentOptionsBase<{
|
718
696
|
origin: string | undefined;
|
719
697
|
disabled: boolean;
|
@@ -740,9 +718,7 @@ declare const VScaleTransition: {
|
|
740
718
|
hideOnLeave: boolean;
|
741
719
|
leaveAbsolute: boolean;
|
742
720
|
}, {}, string, vue.SlotsType<Partial<{
|
743
|
-
default: () => vue.VNode
|
744
|
-
[key: string]: any;
|
745
|
-
}>[];
|
721
|
+
default: () => vue.VNode[];
|
746
722
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
747
723
|
disabled: BooleanConstructor;
|
748
724
|
group: BooleanConstructor;
|
@@ -814,9 +790,7 @@ declare const VScrollXTransition: {
|
|
814
790
|
hideOnLeave: boolean;
|
815
791
|
leaveAbsolute: boolean;
|
816
792
|
}, true, {}, vue.SlotsType<Partial<{
|
817
|
-
default: () => vue.VNode
|
818
|
-
[key: string]: any;
|
819
|
-
}>[];
|
793
|
+
default: () => vue.VNode[];
|
820
794
|
}>>, {
|
821
795
|
P: {};
|
822
796
|
B: {};
|
@@ -850,9 +824,9 @@ declare const VScrollXTransition: {
|
|
850
824
|
hideOnLeave: boolean;
|
851
825
|
leaveAbsolute: boolean;
|
852
826
|
}>;
|
853
|
-
__isFragment?:
|
854
|
-
__isTeleport?:
|
855
|
-
__isSuspense?:
|
827
|
+
__isFragment?: never;
|
828
|
+
__isTeleport?: never;
|
829
|
+
__isSuspense?: never;
|
856
830
|
} & vue.ComponentOptionsBase<{
|
857
831
|
origin: string | undefined;
|
858
832
|
disabled: boolean;
|
@@ -879,9 +853,7 @@ declare const VScrollXTransition: {
|
|
879
853
|
hideOnLeave: boolean;
|
880
854
|
leaveAbsolute: boolean;
|
881
855
|
}, {}, string, vue.SlotsType<Partial<{
|
882
|
-
default: () => vue.VNode
|
883
|
-
[key: string]: any;
|
884
|
-
}>[];
|
856
|
+
default: () => vue.VNode[];
|
885
857
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
886
858
|
disabled: BooleanConstructor;
|
887
859
|
group: BooleanConstructor;
|
@@ -953,9 +925,7 @@ declare const VScrollXReverseTransition: {
|
|
953
925
|
hideOnLeave: boolean;
|
954
926
|
leaveAbsolute: boolean;
|
955
927
|
}, true, {}, vue.SlotsType<Partial<{
|
956
|
-
default: () => vue.VNode
|
957
|
-
[key: string]: any;
|
958
|
-
}>[];
|
928
|
+
default: () => vue.VNode[];
|
959
929
|
}>>, {
|
960
930
|
P: {};
|
961
931
|
B: {};
|
@@ -989,9 +959,9 @@ declare const VScrollXReverseTransition: {
|
|
989
959
|
hideOnLeave: boolean;
|
990
960
|
leaveAbsolute: boolean;
|
991
961
|
}>;
|
992
|
-
__isFragment?:
|
993
|
-
__isTeleport?:
|
994
|
-
__isSuspense?:
|
962
|
+
__isFragment?: never;
|
963
|
+
__isTeleport?: never;
|
964
|
+
__isSuspense?: never;
|
995
965
|
} & vue.ComponentOptionsBase<{
|
996
966
|
origin: string | undefined;
|
997
967
|
disabled: boolean;
|
@@ -1018,9 +988,7 @@ declare const VScrollXReverseTransition: {
|
|
1018
988
|
hideOnLeave: boolean;
|
1019
989
|
leaveAbsolute: boolean;
|
1020
990
|
}, {}, string, vue.SlotsType<Partial<{
|
1021
|
-
default: () => vue.VNode
|
1022
|
-
[key: string]: any;
|
1023
|
-
}>[];
|
991
|
+
default: () => vue.VNode[];
|
1024
992
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1025
993
|
disabled: BooleanConstructor;
|
1026
994
|
group: BooleanConstructor;
|
@@ -1092,9 +1060,7 @@ declare const VScrollYTransition: {
|
|
1092
1060
|
hideOnLeave: boolean;
|
1093
1061
|
leaveAbsolute: boolean;
|
1094
1062
|
}, true, {}, vue.SlotsType<Partial<{
|
1095
|
-
default: () => vue.VNode
|
1096
|
-
[key: string]: any;
|
1097
|
-
}>[];
|
1063
|
+
default: () => vue.VNode[];
|
1098
1064
|
}>>, {
|
1099
1065
|
P: {};
|
1100
1066
|
B: {};
|
@@ -1128,9 +1094,9 @@ declare const VScrollYTransition: {
|
|
1128
1094
|
hideOnLeave: boolean;
|
1129
1095
|
leaveAbsolute: boolean;
|
1130
1096
|
}>;
|
1131
|
-
__isFragment?:
|
1132
|
-
__isTeleport?:
|
1133
|
-
__isSuspense?:
|
1097
|
+
__isFragment?: never;
|
1098
|
+
__isTeleport?: never;
|
1099
|
+
__isSuspense?: never;
|
1134
1100
|
} & vue.ComponentOptionsBase<{
|
1135
1101
|
origin: string | undefined;
|
1136
1102
|
disabled: boolean;
|
@@ -1157,9 +1123,7 @@ declare const VScrollYTransition: {
|
|
1157
1123
|
hideOnLeave: boolean;
|
1158
1124
|
leaveAbsolute: boolean;
|
1159
1125
|
}, {}, string, vue.SlotsType<Partial<{
|
1160
|
-
default: () => vue.VNode
|
1161
|
-
[key: string]: any;
|
1162
|
-
}>[];
|
1126
|
+
default: () => vue.VNode[];
|
1163
1127
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1164
1128
|
disabled: BooleanConstructor;
|
1165
1129
|
group: BooleanConstructor;
|
@@ -1231,9 +1195,7 @@ declare const VScrollYReverseTransition: {
|
|
1231
1195
|
hideOnLeave: boolean;
|
1232
1196
|
leaveAbsolute: boolean;
|
1233
1197
|
}, true, {}, vue.SlotsType<Partial<{
|
1234
|
-
default: () => vue.VNode
|
1235
|
-
[key: string]: any;
|
1236
|
-
}>[];
|
1198
|
+
default: () => vue.VNode[];
|
1237
1199
|
}>>, {
|
1238
1200
|
P: {};
|
1239
1201
|
B: {};
|
@@ -1267,9 +1229,9 @@ declare const VScrollYReverseTransition: {
|
|
1267
1229
|
hideOnLeave: boolean;
|
1268
1230
|
leaveAbsolute: boolean;
|
1269
1231
|
}>;
|
1270
|
-
__isFragment?:
|
1271
|
-
__isTeleport?:
|
1272
|
-
__isSuspense?:
|
1232
|
+
__isFragment?: never;
|
1233
|
+
__isTeleport?: never;
|
1234
|
+
__isSuspense?: never;
|
1273
1235
|
} & vue.ComponentOptionsBase<{
|
1274
1236
|
origin: string | undefined;
|
1275
1237
|
disabled: boolean;
|
@@ -1296,9 +1258,7 @@ declare const VScrollYReverseTransition: {
|
|
1296
1258
|
hideOnLeave: boolean;
|
1297
1259
|
leaveAbsolute: boolean;
|
1298
1260
|
}, {}, string, vue.SlotsType<Partial<{
|
1299
|
-
default: () => vue.VNode
|
1300
|
-
[key: string]: any;
|
1301
|
-
}>[];
|
1261
|
+
default: () => vue.VNode[];
|
1302
1262
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1303
1263
|
disabled: BooleanConstructor;
|
1304
1264
|
group: BooleanConstructor;
|
@@ -1370,9 +1330,7 @@ declare const VSlideXTransition: {
|
|
1370
1330
|
hideOnLeave: boolean;
|
1371
1331
|
leaveAbsolute: boolean;
|
1372
1332
|
}, true, {}, vue.SlotsType<Partial<{
|
1373
|
-
default: () => vue.VNode
|
1374
|
-
[key: string]: any;
|
1375
|
-
}>[];
|
1333
|
+
default: () => vue.VNode[];
|
1376
1334
|
}>>, {
|
1377
1335
|
P: {};
|
1378
1336
|
B: {};
|
@@ -1406,9 +1364,9 @@ declare const VSlideXTransition: {
|
|
1406
1364
|
hideOnLeave: boolean;
|
1407
1365
|
leaveAbsolute: boolean;
|
1408
1366
|
}>;
|
1409
|
-
__isFragment?:
|
1410
|
-
__isTeleport?:
|
1411
|
-
__isSuspense?:
|
1367
|
+
__isFragment?: never;
|
1368
|
+
__isTeleport?: never;
|
1369
|
+
__isSuspense?: never;
|
1412
1370
|
} & vue.ComponentOptionsBase<{
|
1413
1371
|
origin: string | undefined;
|
1414
1372
|
disabled: boolean;
|
@@ -1435,9 +1393,7 @@ declare const VSlideXTransition: {
|
|
1435
1393
|
hideOnLeave: boolean;
|
1436
1394
|
leaveAbsolute: boolean;
|
1437
1395
|
}, {}, string, vue.SlotsType<Partial<{
|
1438
|
-
default: () => vue.VNode
|
1439
|
-
[key: string]: any;
|
1440
|
-
}>[];
|
1396
|
+
default: () => vue.VNode[];
|
1441
1397
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1442
1398
|
disabled: BooleanConstructor;
|
1443
1399
|
group: BooleanConstructor;
|
@@ -1509,9 +1465,7 @@ declare const VSlideXReverseTransition: {
|
|
1509
1465
|
hideOnLeave: boolean;
|
1510
1466
|
leaveAbsolute: boolean;
|
1511
1467
|
}, true, {}, vue.SlotsType<Partial<{
|
1512
|
-
default: () => vue.VNode
|
1513
|
-
[key: string]: any;
|
1514
|
-
}>[];
|
1468
|
+
default: () => vue.VNode[];
|
1515
1469
|
}>>, {
|
1516
1470
|
P: {};
|
1517
1471
|
B: {};
|
@@ -1545,9 +1499,9 @@ declare const VSlideXReverseTransition: {
|
|
1545
1499
|
hideOnLeave: boolean;
|
1546
1500
|
leaveAbsolute: boolean;
|
1547
1501
|
}>;
|
1548
|
-
__isFragment?:
|
1549
|
-
__isTeleport?:
|
1550
|
-
__isSuspense?:
|
1502
|
+
__isFragment?: never;
|
1503
|
+
__isTeleport?: never;
|
1504
|
+
__isSuspense?: never;
|
1551
1505
|
} & vue.ComponentOptionsBase<{
|
1552
1506
|
origin: string | undefined;
|
1553
1507
|
disabled: boolean;
|
@@ -1574,9 +1528,7 @@ declare const VSlideXReverseTransition: {
|
|
1574
1528
|
hideOnLeave: boolean;
|
1575
1529
|
leaveAbsolute: boolean;
|
1576
1530
|
}, {}, string, vue.SlotsType<Partial<{
|
1577
|
-
default: () => vue.VNode
|
1578
|
-
[key: string]: any;
|
1579
|
-
}>[];
|
1531
|
+
default: () => vue.VNode[];
|
1580
1532
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1581
1533
|
disabled: BooleanConstructor;
|
1582
1534
|
group: BooleanConstructor;
|
@@ -1648,9 +1600,7 @@ declare const VSlideYTransition: {
|
|
1648
1600
|
hideOnLeave: boolean;
|
1649
1601
|
leaveAbsolute: boolean;
|
1650
1602
|
}, true, {}, vue.SlotsType<Partial<{
|
1651
|
-
default: () => vue.VNode
|
1652
|
-
[key: string]: any;
|
1653
|
-
}>[];
|
1603
|
+
default: () => vue.VNode[];
|
1654
1604
|
}>>, {
|
1655
1605
|
P: {};
|
1656
1606
|
B: {};
|
@@ -1684,9 +1634,9 @@ declare const VSlideYTransition: {
|
|
1684
1634
|
hideOnLeave: boolean;
|
1685
1635
|
leaveAbsolute: boolean;
|
1686
1636
|
}>;
|
1687
|
-
__isFragment?:
|
1688
|
-
__isTeleport?:
|
1689
|
-
__isSuspense?:
|
1637
|
+
__isFragment?: never;
|
1638
|
+
__isTeleport?: never;
|
1639
|
+
__isSuspense?: never;
|
1690
1640
|
} & vue.ComponentOptionsBase<{
|
1691
1641
|
origin: string | undefined;
|
1692
1642
|
disabled: boolean;
|
@@ -1713,9 +1663,7 @@ declare const VSlideYTransition: {
|
|
1713
1663
|
hideOnLeave: boolean;
|
1714
1664
|
leaveAbsolute: boolean;
|
1715
1665
|
}, {}, string, vue.SlotsType<Partial<{
|
1716
|
-
default: () => vue.VNode
|
1717
|
-
[key: string]: any;
|
1718
|
-
}>[];
|
1666
|
+
default: () => vue.VNode[];
|
1719
1667
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1720
1668
|
disabled: BooleanConstructor;
|
1721
1669
|
group: BooleanConstructor;
|
@@ -1787,9 +1735,7 @@ declare const VSlideYReverseTransition: {
|
|
1787
1735
|
hideOnLeave: boolean;
|
1788
1736
|
leaveAbsolute: boolean;
|
1789
1737
|
}, true, {}, vue.SlotsType<Partial<{
|
1790
|
-
default: () => vue.VNode
|
1791
|
-
[key: string]: any;
|
1792
|
-
}>[];
|
1738
|
+
default: () => vue.VNode[];
|
1793
1739
|
}>>, {
|
1794
1740
|
P: {};
|
1795
1741
|
B: {};
|
@@ -1823,9 +1769,9 @@ declare const VSlideYReverseTransition: {
|
|
1823
1769
|
hideOnLeave: boolean;
|
1824
1770
|
leaveAbsolute: boolean;
|
1825
1771
|
}>;
|
1826
|
-
__isFragment?:
|
1827
|
-
__isTeleport?:
|
1828
|
-
__isSuspense?:
|
1772
|
+
__isFragment?: never;
|
1773
|
+
__isTeleport?: never;
|
1774
|
+
__isSuspense?: never;
|
1829
1775
|
} & vue.ComponentOptionsBase<{
|
1830
1776
|
origin: string | undefined;
|
1831
1777
|
disabled: boolean;
|
@@ -1852,9 +1798,7 @@ declare const VSlideYReverseTransition: {
|
|
1852
1798
|
hideOnLeave: boolean;
|
1853
1799
|
leaveAbsolute: boolean;
|
1854
1800
|
}, {}, string, vue.SlotsType<Partial<{
|
1855
|
-
default: () => vue.VNode
|
1856
|
-
[key: string]: any;
|
1857
|
-
}>[];
|
1801
|
+
default: () => vue.VNode[];
|
1858
1802
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1859
1803
|
disabled: BooleanConstructor;
|
1860
1804
|
group: BooleanConstructor;
|
@@ -1917,9 +1861,7 @@ declare const VExpandTransition: {
|
|
1917
1861
|
group: boolean;
|
1918
1862
|
mode: "default" | "in-out" | "out-in";
|
1919
1863
|
}, true, {}, vue.SlotsType<Partial<{
|
1920
|
-
default: () => vue.VNode
|
1921
|
-
[key: string]: any;
|
1922
|
-
}>[];
|
1864
|
+
default: () => vue.VNode[];
|
1923
1865
|
}>>, {
|
1924
1866
|
P: {};
|
1925
1867
|
B: {};
|
@@ -1947,9 +1889,9 @@ declare const VExpandTransition: {
|
|
1947
1889
|
group: boolean;
|
1948
1890
|
mode: "default" | "in-out" | "out-in";
|
1949
1891
|
}>;
|
1950
|
-
__isFragment?:
|
1951
|
-
__isTeleport?:
|
1952
|
-
__isSuspense?:
|
1892
|
+
__isFragment?: never;
|
1893
|
+
__isTeleport?: never;
|
1894
|
+
__isSuspense?: never;
|
1953
1895
|
} & vue.ComponentOptionsBase<{
|
1954
1896
|
disabled: boolean;
|
1955
1897
|
group: boolean;
|
@@ -1970,19 +1912,17 @@ declare const VExpandTransition: {
|
|
1970
1912
|
group: boolean;
|
1971
1913
|
mode: "default" | "in-out" | "out-in";
|
1972
1914
|
}, {}, string, vue.SlotsType<Partial<{
|
1973
|
-
default: () => vue.VNode
|
1974
|
-
[key: string]: any;
|
1975
|
-
}>[];
|
1915
|
+
default: () => vue.VNode[];
|
1976
1916
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1977
1917
|
mode: {
|
1978
|
-
type: vue.PropType<"
|
1918
|
+
type: vue.PropType<"in-out" | "out-in" | "default">;
|
1979
1919
|
default: string;
|
1980
1920
|
};
|
1981
1921
|
disabled: BooleanConstructor;
|
1982
1922
|
group: BooleanConstructor;
|
1983
1923
|
}, vue.ExtractPropTypes<{
|
1984
1924
|
mode: {
|
1985
|
-
type: vue.PropType<"
|
1925
|
+
type: vue.PropType<"in-out" | "out-in" | "default">;
|
1986
1926
|
default: string;
|
1987
1927
|
};
|
1988
1928
|
disabled: BooleanConstructor;
|
@@ -2023,9 +1963,7 @@ declare const VExpandXTransition: {
|
|
2023
1963
|
group: boolean;
|
2024
1964
|
mode: "default" | "in-out" | "out-in";
|
2025
1965
|
}, true, {}, vue.SlotsType<Partial<{
|
2026
|
-
default: () => vue.VNode
|
2027
|
-
[key: string]: any;
|
2028
|
-
}>[];
|
1966
|
+
default: () => vue.VNode[];
|
2029
1967
|
}>>, {
|
2030
1968
|
P: {};
|
2031
1969
|
B: {};
|
@@ -2053,9 +1991,9 @@ declare const VExpandXTransition: {
|
|
2053
1991
|
group: boolean;
|
2054
1992
|
mode: "default" | "in-out" | "out-in";
|
2055
1993
|
}>;
|
2056
|
-
__isFragment?:
|
2057
|
-
__isTeleport?:
|
2058
|
-
__isSuspense?:
|
1994
|
+
__isFragment?: never;
|
1995
|
+
__isTeleport?: never;
|
1996
|
+
__isSuspense?: never;
|
2059
1997
|
} & vue.ComponentOptionsBase<{
|
2060
1998
|
disabled: boolean;
|
2061
1999
|
group: boolean;
|
@@ -2076,19 +2014,17 @@ declare const VExpandXTransition: {
|
|
2076
2014
|
group: boolean;
|
2077
2015
|
mode: "default" | "in-out" | "out-in";
|
2078
2016
|
}, {}, string, vue.SlotsType<Partial<{
|
2079
|
-
default: () => vue.VNode
|
2080
|
-
[key: string]: any;
|
2081
|
-
}>[];
|
2017
|
+
default: () => vue.VNode[];
|
2082
2018
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
2083
2019
|
mode: {
|
2084
|
-
type: vue.PropType<"
|
2020
|
+
type: vue.PropType<"in-out" | "out-in" | "default">;
|
2085
2021
|
default: string;
|
2086
2022
|
};
|
2087
2023
|
disabled: BooleanConstructor;
|
2088
2024
|
group: BooleanConstructor;
|
2089
2025
|
}, vue.ExtractPropTypes<{
|
2090
2026
|
mode: {
|
2091
|
-
type: vue.PropType<"
|
2027
|
+
type: vue.PropType<"in-out" | "out-in" | "default">;
|
2092
2028
|
default: string;
|
2093
2029
|
};
|
2094
2030
|
disabled: BooleanConstructor;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"location.mjs","names":["useRtl","computed","parseAnchor","propsFactory","oppositeMap","center","top","bottom","left","right","makeLocationProps","location","String","useLocation","props","opposite","arguments","length","undefined","offset","isRtl","locationStyles","side","align","split","value","getOffset","styles","transform"],"sources":["../../src/composables/location.ts"],"sourcesContent":["// Composables\nimport { useRtl } from '@/composables/locale'\n\n// Utilities\nimport { computed } from 'vue'\nimport { parseAnchor, propsFactory } from '@/util'\n\n// Types\nimport type { CSSProperties, PropType } from 'vue'\nimport type { Anchor } from '@/util'\n\nconst oppositeMap = {\n center: 'center',\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left',\n} as const\n\nexport interface LocationProps {\n location: Anchor | undefined\n}\n\nexport const makeLocationProps = propsFactory({\n location: String as PropType<Anchor>,\n}, 'location')\n\nexport function useLocation (props: LocationProps, opposite = false, offset?: (side: string) => number) {\n const { isRtl } = useRtl()\n\n const locationStyles = computed(() => {\n if (!props.location) return {}\n\n const { side, align } = parseAnchor(\n props.location.split(' ').length > 1\n ? props.location\n : `${props.location} center` as Anchor,\n isRtl.value\n )\n\n function getOffset (side: string) {\n return offset\n ? offset(side)\n : 0\n }\n\n const styles = {} as CSSProperties\n\n if (side !== 'center') {\n if (opposite) styles[oppositeMap[side]] = `calc(100% - ${getOffset(side)}px)`\n else styles[side] = 0\n }\n if (align !== 'center') {\n if (opposite) styles[oppositeMap[align]] = `calc(100% - ${getOffset(align)}px)`\n else styles[align] = 0\n } else {\n if (side === 'center') styles.top = styles.left = '50%'\n else {\n styles[({\n top: 'left',\n bottom: 'left',\n left: 'top',\n right: 'top',\n } as const)[side]] = '50%'\n }\n styles.transform = {\n top: 'translateX(-50%)',\n bottom: 'translateX(-50%)',\n left: 'translateY(-50%)',\n right: 'translateY(-50%)',\n center: 'translate(-50%, -50%)',\n }[side]\n }\n\n return styles\n })\n\n return { locationStyles }\n}\n"],"mappings":"AAAA;AAAA,SACSA,MAAM,wBAEf;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,WAAW,EAAEC,YAAY,6BAElC;AAIA,MAAMC,WAAW,GAAG;EAClBC,MAAM,EAAE,QAAQ;EAChBC,GAAG,EAAE,QAAQ;EACbC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE,OAAO;EACbC,KAAK,EAAE;AACT,CAAU;AAMV,OAAO,MAAMC,iBAAiB,GAAGP,YAAY,CAAC;EAC5CQ,QAAQ,EAAEC;AACZ,CAAC,EAAE,UAAU,CAAC;AAEd,OAAO,SAASC,WAAWA,CAAEC,KAAoB,EAAuD;EAAA,IAArDC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAAA,IAAEG,MAAiC,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EACpG,MAAM;IAAEE;EAAM,CAAC,GAAGpB,MAAM,CAAC,CAAC;EAE1B,MAAMqB,cAAc,GAAGpB,QAAQ,CAAC,MAAM;IACpC,IAAI,CAACa,KAAK,CAACH,QAAQ,EAAE,OAAO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MAAM,EAAE;MACV,CAAC,CAACiB,IAAI,CAAC;IACT;IAEA,OAAOK,MAAM;EACf,CAAC,CAAC;EAEF,OAAO;IAAEN;EAAe,CAAC;AAC3B","ignoreList":[]}
|
1
|
+
{"version":3,"file":"location.mjs","names":["useRtl","computed","parseAnchor","propsFactory","oppositeMap","center","top","bottom","left","right","makeLocationProps","location","String","useLocation","props","opposite","arguments","length","undefined","offset","isRtl","locationStyles","side","align","split","value","getOffset","styles","transform"],"sources":["../../src/composables/location.ts"],"sourcesContent":["// Composables\nimport { useRtl } from '@/composables/locale'\n\n// Utilities\nimport { computed } from 'vue'\nimport { parseAnchor, propsFactory } from '@/util'\n\n// Types\nimport type { CSSProperties, PropType } from 'vue'\nimport type { Anchor } from '@/util'\n\nconst oppositeMap = {\n center: 'center',\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left',\n} as const\n\nexport interface LocationProps {\n location: Anchor | null | undefined\n}\n\nexport const makeLocationProps = propsFactory({\n location: String as PropType<Anchor | null>,\n}, 'location')\n\nexport function useLocation (props: LocationProps, opposite = false, offset?: (side: string) => number) {\n const { isRtl } = useRtl()\n\n const locationStyles = computed(() => {\n if (!props.location) return {}\n\n const { side, align } = parseAnchor(\n props.location.split(' ').length > 1\n ? props.location\n : `${props.location} center` as Anchor,\n isRtl.value\n )\n\n function getOffset (side: string) {\n return offset\n ? offset(side)\n : 0\n }\n\n const styles = {} as CSSProperties\n\n if (side !== 'center') {\n if (opposite) styles[oppositeMap[side]] = `calc(100% - ${getOffset(side)}px)`\n else styles[side] = 0\n }\n if (align !== 'center') {\n if (opposite) styles[oppositeMap[align]] = `calc(100% - ${getOffset(align)}px)`\n else styles[align] = 0\n } else {\n if (side === 'center') styles.top = styles.left = '50%'\n else {\n styles[({\n top: 'left',\n bottom: 'left',\n left: 'top',\n right: 'top',\n } as const)[side]] = '50%'\n }\n styles.transform = {\n top: 'translateX(-50%)',\n bottom: 'translateX(-50%)',\n left: 'translateY(-50%)',\n right: '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K,QAAQ,EAAE;MACrB,IAAIP,QAAQ,EAAEY,MAAM,CAACvB,WAAW,CAACkB,IAAI,CAAC,CAAC,GAAG,eAAeI,SAAS,CAACJ,IAAI,CAAC,KAAK,MACxEK,MAAM,CAACL,IAAI,CAAC,GAAG,CAAC;IACvB;IACA,IAAIC,KAAK,KAAK,QAAQ,EAAE;MACtB,IAAIR,QAAQ,EAAEY,MAAM,CAACvB,WAAW,CAACmB,KAAK,CAAC,CAAC,GAAG,eAAeG,SAAS,CAACH,KAAK,CAAC,KAAK,MAC1EI,MAAM,CAACJ,KAAK,CAAC,GAAG,CAAC;IACxB,CAAC,MAAM;MACL,IAAID,IAAI,KAAK,QAAQ,EAAEK,MAAM,CAACrB,GAAG,GAAGqB,MAAM,CAACnB,IAAI,GAAG,KAAK,MAClD;QACHmB,MAAM,CAAE;UACNrB,GAAG,EAAE,MAAM;UACXC,MAAM,EAAE,MAAM;UACdC,IAAI,EAAE,KAAK;UACXC,KAAK,EAAE;QACT,CAAC,CAAWa,IAAI,CAAC,CAAC,GAAG,KAAK;MAC5B;MACAK,MAAM,CAACC,SAAS,GAAG;QACjBtB,GAAG,EAAE,kBAAkB;QACvBC,MAAM,EAAE,kBAAkB;QAC1BC,IAAI,EAAE,kBAAkB;QACxBC,KAAK,EAAE,kBAAkB;QACzBJ,MAAM,EAAE;MACV,CAAC,CAACiB,IAAI,CAAC;IACT;IAEA,OAAOK,MAAM;EACf,CAAC,CAAC;EAEF,OAAO;IAAEN;EAAe,CAAC;AAC3B","ignoreList":[]}
|
@@ -35,6 +35,9 @@ function checkIsActive(e, binding) {
|
|
35
35
|
}
|
36
36
|
function directive(e, el, binding) {
|
37
37
|
const handler = typeof binding.value === 'function' ? binding.value : binding.value.handler;
|
38
|
+
|
39
|
+
// Clicks in the Shadow DOM change their target while using setTimeout, so the original target is saved here
|
40
|
+
e.shadowTarget = e.target;
|
38
41
|
el._clickOutside.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {
|
39
42
|
checkIsActive(e, binding) && handler && handler(e);
|
40
43
|
}, 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["attachedRoot","defaultConditional","checkEvent","e","el","binding","checkIsActive","root","ShadowRoot","host","target","elements","value","include","push","some","contains","isActive","closeConditional","directive","handler","_clickOutside","lastMousedownWasOutside","setTimeout","handleShadow","callback","document","ClickOutside","mounted","onClick","onMousedown","app","addEventListener","instance","$","uid","beforeUnmount","removeEventListener"],"sources":["../../../src/directives/click-outside/index.ts"],"sourcesContent":["// Utilities\nimport { attachedRoot } from '@/util'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\n\ninterface ClickOutsideBindingArgs {\n handler: (e: MouseEvent) => void\n closeConditional?: (e: Event) => boolean\n include?: () => HTMLElement[]\n}\n\ninterface ClickOutsideDirectiveBinding extends DirectiveBinding {\n value: ((e: MouseEvent) => void) | ClickOutsideBindingArgs\n}\n\nfunction defaultConditional () {\n return true\n}\n\nfunction checkEvent (e: MouseEvent, el: HTMLElement, binding: ClickOutsideDirectiveBinding): boolean {\n // The include element callbacks below can be expensive\n // so we should avoid calling them when we're not active.\n // Explicitly check for false to allow fallback compatibility\n // with non-toggleable components\n if (!e || checkIsActive(e, binding) === false) return false\n\n // If we're clicking inside the shadowroot, then the app root doesn't get the same\n // level of introspection as to _what_ we're clicking. We want to check to see if\n // our target is the shadowroot parent container, and if it is, ignore.\n const root = attachedRoot(el)\n if (\n typeof ShadowRoot !== 'undefined' &&\n root instanceof ShadowRoot &&\n root.host === e.target\n ) return false\n\n // Check if additional elements were passed to be included in check\n // (click must be outside all included elements, if any)\n const elements = ((typeof binding.value === 'object' && binding.value.include) || (() => []))()\n // Add the root element for the component this directive was defined on\n elements.push(el)\n\n // Check if it's a click outside our elements, and then if our callback returns true.\n // Non-toggleable components should take action in their callback and return falsy.\n // Toggleable can return true if it wants to deactivate.\n // Note that, because we're in the capture phase, this callback will occur before\n // the bubbling click event on any outside elements.\n return !elements.some(el => el?.contains(e.target as Node))\n}\n\nfunction checkIsActive (e: MouseEvent, binding: ClickOutsideDirectiveBinding): boolean | void {\n const isActive = (typeof binding.value === 'object' && binding.value.closeConditional) || defaultConditional\n\n return isActive(e)\n}\n\nfunction directive (e: MouseEvent, el: HTMLElement, binding: ClickOutsideDirectiveBinding) {\n const handler = typeof binding.value === 'function' ? binding.value : binding.value.handler\n\n el._clickOutside!.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {\n checkIsActive(e, binding) && handler && handler(e)\n }, 0)\n}\n\nfunction handleShadow (el: HTMLElement, callback: Function): void {\n const root = attachedRoot(el)\n\n callback(document)\n\n if (typeof ShadowRoot !== 'undefined' && root instanceof ShadowRoot) {\n callback(root)\n }\n}\n\nexport const ClickOutside = {\n // [data-app] may not be found\n // if using bind, inserted makes\n // sure that the root element is\n // available, iOS does not support\n // clicks on body\n mounted (el: HTMLElement, binding: ClickOutsideDirectiveBinding) {\n const onClick = (e: Event) => directive(e as MouseEvent, el, binding)\n const onMousedown = (e: Event) => {\n el._clickOutside!.lastMousedownWasOutside = checkEvent(e as MouseEvent, el, binding)\n }\n\n handleShadow(el, (app: HTMLElement) => {\n app.addEventListener('click', onClick, true)\n app.addEventListener('mousedown', onMousedown, true)\n })\n
|
1
|
+
{"version":3,"file":"index.mjs","names":["attachedRoot","defaultConditional","checkEvent","e","el","binding","checkIsActive","root","ShadowRoot","host","target","elements","value","include","push","some","contains","isActive","closeConditional","directive","handler","shadowTarget","_clickOutside","lastMousedownWasOutside","setTimeout","handleShadow","callback","document","ClickOutside","mounted","onClick","onMousedown","app","addEventListener","instance","$","uid","beforeUnmount","removeEventListener"],"sources":["../../../src/directives/click-outside/index.ts"],"sourcesContent":["// Utilities\nimport { attachedRoot } from '@/util'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\n\ninterface ClickOutsideBindingArgs {\n handler: (e: MouseEvent) => void\n closeConditional?: (e: Event) => boolean\n include?: () => HTMLElement[]\n}\n\ninterface ClickOutsideDirectiveBinding extends DirectiveBinding {\n value: ((e: MouseEvent) => void) | ClickOutsideBindingArgs\n}\n\nfunction defaultConditional () {\n return true\n}\n\nfunction checkEvent (e: MouseEvent, el: HTMLElement, binding: ClickOutsideDirectiveBinding): boolean {\n // The include element callbacks below can be expensive\n // so we should avoid calling them when we're not active.\n // Explicitly check for false to allow fallback compatibility\n // with non-toggleable components\n if (!e || checkIsActive(e, binding) === false) return false\n\n // If we're clicking inside the shadowroot, then the app root doesn't get the same\n // level of introspection as to _what_ we're clicking. We want to check to see if\n // our target is the shadowroot parent container, and if it is, ignore.\n const root = attachedRoot(el)\n if (\n typeof ShadowRoot !== 'undefined' &&\n root instanceof ShadowRoot &&\n root.host === e.target\n ) return false\n\n // Check if additional elements were passed to be included in check\n // (click must be outside all included elements, if any)\n const elements = ((typeof binding.value === 'object' && binding.value.include) || (() => []))()\n // Add the root element for the component this directive was defined on\n elements.push(el)\n\n // Check if it's a click outside our elements, and then if our callback returns true.\n // Non-toggleable components should take action in their callback and return falsy.\n // Toggleable can return true if it wants to deactivate.\n // Note that, because we're in the capture phase, this callback will occur before\n // the bubbling click event on any outside elements.\n return !elements.some(el => el?.contains(e.target as Node))\n}\n\nfunction checkIsActive (e: MouseEvent, binding: ClickOutsideDirectiveBinding): boolean | void {\n const isActive = (typeof binding.value === 'object' && binding.value.closeConditional) || defaultConditional\n\n return isActive(e)\n}\n\nfunction directive (e: MouseEvent, el: HTMLElement, binding: ClickOutsideDirectiveBinding) {\n const handler = typeof binding.value === 'function' ? binding.value : binding.value.handler\n\n // Clicks in the Shadow DOM change their target while using setTimeout, so the original target is saved here\n e.shadowTarget = e.target\n\n el._clickOutside!.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {\n checkIsActive(e, binding) && handler && handler(e)\n }, 0)\n}\n\nfunction handleShadow (el: HTMLElement, callback: Function): void {\n const root = attachedRoot(el)\n\n callback(document)\n\n if (typeof ShadowRoot !== 'undefined' && root instanceof ShadowRoot) {\n callback(root)\n }\n}\n\nexport const ClickOutside = {\n // [data-app] may not be found\n // if using bind, inserted makes\n // sure that the root element is\n // available, iOS does not support\n // clicks on body\n mounted (el: HTMLElement, binding: ClickOutsideDirectiveBinding) {\n const onClick = (e: Event) => directive(e as MouseEvent, el, binding)\n const onMousedown = (e: Event) => {\n el._clickOutside!.lastMousedownWasOutside = checkEvent(e as MouseEvent, el, binding)\n }\n\n handleShadow(el, (app: HTMLElement) => {\n app.addEventListener('click', onClick, true)\n app.addEventListener('mousedown', onMousedown, true)\n })\n if (!el._clickOutside) {\n el._clickOutside = {\n lastMousedownWasOutside: false,\n }\n }\n\n el._clickOutside[binding.instance!.$.uid] = {\n onClick,\n onMousedown,\n }\n },\n\n beforeUnmount (el: HTMLElement, binding: ClickOutsideDirectiveBinding) {\n if (!el._clickOutside) return\n\n handleShadow(el, (app: HTMLElement) => {\n if (!app || !el._clickOutside?.[binding.instance!.$.uid]) return\n\n const { onClick, onMousedown } = el._clickOutside[binding.instance!.$.uid]!\n\n app.removeEventListener('click', onClick, true)\n app.removeEventListener('mousedown', onMousedown, true)\n })\n\n delete el._clickOutside[binding.instance!.$.uid]\n },\n}\n\nexport default ClickOutside\n"],"mappings":"AAAA;AAAA,SACSA,YAAY,gCAErB;AAaA,SAASC,kBAAkBA,CAAA,EAAI;EAC7B,OAAO,IAAI;AACb;AAEA,SAASC,UAAUA,CAAEC,CAAa,EAAEC,EAAe,EAAEC,OAAqC,EAAW;EACnG;EACA;EACA;EACA;EACA,IAAI,CAACF,CAAC,IAAIG,aAAa,CAACH,CAAC,EAAEE,OAAO,CAAC,KAAK,KAAK,EAAE,OAAO,KAAK;;EAE3D;EACA;EACA;EACA,MAAME,IAAI,GAAGP,YAAY,CAACI,EAAE,CAAC;EAC7B,IACE,OAAOI,UAAU,KAAK,WAAW,IACjCD,IAAI,YAAYC,UAAU,IAC1BD,IAAI,CAACE,IAAI,KAAKN,CAAC,CAACO,MAAM,EACtB,OAAO,KAAK;;EAEd;EACA;EAC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Y,CAAC,GAAG3B,EAAE,CAACkB,aAAa,CAACjB,OAAO,CAAC6B,QAAQ,CAAEC,CAAC,CAACC,GAAG,CAAE;MAE3EJ,GAAG,CAACM,mBAAmB,CAAC,OAAO,EAAER,OAAO,EAAE,IAAI,CAAC;MAC/CE,GAAG,CAACM,mBAAmB,CAAC,WAAW,EAAEP,WAAW,EAAE,IAAI,CAAC;IACzD,CAAC,CAAC;IAEF,OAAO3B,EAAE,CAACkB,aAAa,CAACjB,OAAO,CAAC6B,QAAQ,CAAEC,CAAC,CAACC,GAAG,CAAC;EAClD;AACF,CAAC;AAED,eAAeR,YAAY","ignoreList":[]}
|
package/lib/entry-bundler.mjs
CHANGED
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
16
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.6.14-master.2024-08-
|
19
|
+
export const version = "3.6.14-master.2024-08-13";
|
20
20
|
createVuetify.version = version;
|
21
21
|
export { blueprints, components, directives };
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED