@vuetify/nightly 3.6.3-master.2024-05-02 → 3.6.3-master.2024-05-05
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/CHANGELOG.md +8 -2
- package/dist/json/attributes.json +17 -17
- package/dist/json/importMap-labs.json +14 -14
- package/dist/json/importMap.json +146 -146
- package/dist/json/web-types.json +28 -28
- package/dist/vuetify-labs.css +1848 -1834
- package/dist/vuetify-labs.d.ts +129 -123
- package/dist/vuetify-labs.esm.js +7 -5
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +7 -5
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1818 -1804
- package/dist/vuetify.d.ts +178 -172
- package/dist/vuetify.esm.js +7 -5
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +7 -5
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +5 -5
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +3 -1
- package/lib/components/VAvatar/VAvatar.css +3 -1
- package/lib/components/VBanner/index.d.mts +11 -11
- package/lib/components/VBtn/VBtn.css +3 -1
- package/lib/components/VCard/VCard.css +3 -1
- package/lib/components/VChip/VChip.css +3 -1
- package/lib/components/VChipGroup/index.d.mts +11 -11
- package/lib/components/VDataTable/index.d.mts +66 -66
- package/lib/components/VList/VListItem.css +3 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +3 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +19 -13
- package/lib/components/VSlideGroup/index.d.mts +11 -11
- package/lib/components/VSnackbar/VSnackbar.css +3 -1
- package/lib/components/VTabs/index.d.mts +11 -11
- package/lib/components/index.d.mts +129 -123
- package/lib/composables/display.mjs +1 -1
- package/lib/composables/display.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +49 -49
- package/lib/styles/tools/_variant.sass +3 -1
- package/package.json +1 -1
@@ -248,7 +248,7 @@ type VDataTableHeadersSlots = {
|
|
248
248
|
};
|
249
249
|
declare const VDataTableHeaders: {
|
250
250
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
251
|
-
mobile: boolean;
|
251
|
+
mobile: boolean | null;
|
252
252
|
sticky: boolean;
|
253
253
|
multiSort: boolean;
|
254
254
|
sortAscIcon: IconValue;
|
@@ -280,7 +280,7 @@ declare const VDataTableHeaders: {
|
|
280
280
|
"v-slot:header.data-table-select"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
281
281
|
"v-slot:header.data-table-expand"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
282
282
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
283
|
-
mobile: boolean;
|
283
|
+
mobile: boolean | null;
|
284
284
|
sticky: boolean;
|
285
285
|
multiSort: boolean;
|
286
286
|
sortAscIcon: IconValue;
|
@@ -312,7 +312,7 @@ declare const VDataTableHeaders: {
|
|
312
312
|
"v-slot:header.data-table-select"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
313
313
|
"v-slot:header.data-table-expand"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
314
314
|
}, {
|
315
|
-
mobile: boolean;
|
315
|
+
mobile: boolean | null;
|
316
316
|
sticky: boolean;
|
317
317
|
multiSort: boolean;
|
318
318
|
sortAscIcon: IconValue;
|
@@ -341,7 +341,7 @@ declare const VDataTableHeaders: {
|
|
341
341
|
M: {};
|
342
342
|
Defaults: {};
|
343
343
|
}, {
|
344
|
-
mobile: boolean;
|
344
|
+
mobile: boolean | null;
|
345
345
|
sticky: boolean;
|
346
346
|
multiSort: boolean;
|
347
347
|
sortAscIcon: IconValue;
|
@@ -373,7 +373,7 @@ declare const VDataTableHeaders: {
|
|
373
373
|
"v-slot:header.data-table-select"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
374
374
|
"v-slot:header.data-table-expand"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
375
375
|
}, {}, {}, {}, {}, {
|
376
|
-
mobile: boolean;
|
376
|
+
mobile: boolean | null;
|
377
377
|
sticky: boolean;
|
378
378
|
multiSort: boolean;
|
379
379
|
sortAscIcon: IconValue;
|
@@ -383,7 +383,7 @@ declare const VDataTableHeaders: {
|
|
383
383
|
__isTeleport?: undefined;
|
384
384
|
__isSuspense?: undefined;
|
385
385
|
} & vue.ComponentOptionsBase<{
|
386
|
-
mobile: boolean;
|
386
|
+
mobile: boolean | null;
|
387
387
|
sticky: boolean;
|
388
388
|
multiSort: boolean;
|
389
389
|
sortAscIcon: IconValue;
|
@@ -415,7 +415,7 @@ declare const VDataTableHeaders: {
|
|
415
415
|
"v-slot:header.data-table-select"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
416
416
|
"v-slot:header.data-table-expand"?: false | ((arg: VDataTableHeaderCellColumnSlotProps) => vue.VNodeChild) | undefined;
|
417
417
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
418
|
-
mobile: boolean;
|
418
|
+
mobile: boolean | null;
|
419
419
|
sticky: boolean;
|
420
420
|
multiSort: boolean;
|
421
421
|
sortAscIcon: IconValue;
|
@@ -439,8 +439,8 @@ declare const VDataTableHeaders: {
|
|
439
439
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
440
440
|
loading: (StringConstructor | BooleanConstructor)[];
|
441
441
|
mobile: {
|
442
|
-
type:
|
443
|
-
default:
|
442
|
+
type: PropType<boolean | null>;
|
443
|
+
default: boolean;
|
444
444
|
};
|
445
445
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
446
446
|
color: StringConstructor;
|
@@ -460,8 +460,8 @@ declare const VDataTableHeaders: {
|
|
460
460
|
}, vue.ExtractPropTypes<{
|
461
461
|
loading: (StringConstructor | BooleanConstructor)[];
|
462
462
|
mobile: {
|
463
|
-
type:
|
464
|
-
default:
|
463
|
+
type: PropType<boolean | null>;
|
464
|
+
default: boolean;
|
465
465
|
};
|
466
466
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
467
467
|
color: StringConstructor;
|
@@ -522,7 +522,7 @@ type VDataTableRowSlots<T> = {
|
|
522
522
|
};
|
523
523
|
declare const VDataTableRow: {
|
524
524
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
525
|
-
mobile: boolean;
|
525
|
+
mobile: boolean | null;
|
526
526
|
} & {
|
527
527
|
onClick?: ((args_0: MouseEvent) => void) | undefined;
|
528
528
|
onContextmenu?: ((args_0: MouseEvent) => void) | undefined;
|
@@ -530,7 +530,7 @@ declare const VDataTableRow: {
|
|
530
530
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
531
531
|
index?: number | undefined;
|
532
532
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "$children" | "v-slots" | "item" | "cellProps" | `v-slot:header.${string}` | `v-slot:item.${string}`>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
533
|
-
mobile: boolean;
|
533
|
+
mobile: boolean | null;
|
534
534
|
} & {
|
535
535
|
onClick?: ((args_0: MouseEvent) => void) | undefined;
|
536
536
|
onContextmenu?: ((args_0: MouseEvent) => void) | undefined;
|
@@ -538,7 +538,7 @@ declare const VDataTableRow: {
|
|
538
538
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
539
539
|
index?: number | undefined;
|
540
540
|
}, {
|
541
|
-
mobile: boolean;
|
541
|
+
mobile: boolean | null;
|
542
542
|
}, true, {}, vue.SlotsType<Partial<{
|
543
543
|
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
544
544
|
[key: string]: any;
|
@@ -566,7 +566,7 @@ declare const VDataTableRow: {
|
|
566
566
|
M: {};
|
567
567
|
Defaults: {};
|
568
568
|
}, {
|
569
|
-
mobile: boolean;
|
569
|
+
mobile: boolean | null;
|
570
570
|
} & {
|
571
571
|
onClick?: ((args_0: MouseEvent) => void) | undefined;
|
572
572
|
onContextmenu?: ((args_0: MouseEvent) => void) | undefined;
|
@@ -574,13 +574,13 @@ declare const VDataTableRow: {
|
|
574
574
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
575
575
|
index?: number | undefined;
|
576
576
|
}, {}, {}, {}, {}, {
|
577
|
-
mobile: boolean;
|
577
|
+
mobile: boolean | null;
|
578
578
|
}>;
|
579
579
|
__isFragment?: undefined;
|
580
580
|
__isTeleport?: undefined;
|
581
581
|
__isSuspense?: undefined;
|
582
582
|
} & vue.ComponentOptionsBase<{
|
583
|
-
mobile: boolean;
|
583
|
+
mobile: boolean | null;
|
584
584
|
} & {
|
585
585
|
onClick?: ((args_0: MouseEvent) => void) | undefined;
|
586
586
|
onContextmenu?: ((args_0: MouseEvent) => void) | undefined;
|
@@ -588,7 +588,7 @@ declare const VDataTableRow: {
|
|
588
588
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
589
589
|
index?: number | undefined;
|
590
590
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "$children" | "v-slots" | "item" | "cellProps" | `v-slot:header.${string}` | `v-slot:item.${string}`>, string, {
|
591
|
-
mobile: boolean;
|
591
|
+
mobile: boolean | null;
|
592
592
|
}, {}, string, vue.SlotsType<Partial<{
|
593
593
|
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
594
594
|
[key: string]: any;
|
@@ -616,8 +616,8 @@ declare const VDataTableRow: {
|
|
616
616
|
cellProps?: CellProps<T> | undefined;
|
617
617
|
}, VDataTableRowSlots<T>>) & FilterPropsOptions<{
|
618
618
|
mobile: {
|
619
|
-
type:
|
620
|
-
default:
|
619
|
+
type: PropType<boolean | null>;
|
620
|
+
default: boolean;
|
621
621
|
};
|
622
622
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
623
623
|
index: NumberConstructor;
|
@@ -628,8 +628,8 @@ declare const VDataTableRow: {
|
|
628
628
|
onDblclick: PropType<(args_0: MouseEvent) => void>;
|
629
629
|
}, vue.ExtractPropTypes<{
|
630
630
|
mobile: {
|
631
|
-
type:
|
632
|
-
default:
|
631
|
+
type: PropType<boolean | null>;
|
632
|
+
default: boolean;
|
633
633
|
};
|
634
634
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
635
635
|
index: NumberConstructor;
|
@@ -654,7 +654,7 @@ declare const VDataTableRows: {
|
|
654
654
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
655
655
|
noDataText: string;
|
656
656
|
loadingText: string;
|
657
|
-
mobile: boolean;
|
657
|
+
mobile: boolean | null;
|
658
658
|
hideNoData: boolean;
|
659
659
|
} & {
|
660
660
|
loading?: string | boolean | undefined;
|
@@ -664,7 +664,7 @@ declare const VDataTableRows: {
|
|
664
664
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "$children" | "v-slots" | "items" | "v-slot:item" | "v-slot:no-data" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
665
665
|
noDataText: string;
|
666
666
|
loadingText: string;
|
667
|
-
mobile: boolean;
|
667
|
+
mobile: boolean | null;
|
668
668
|
hideNoData: boolean;
|
669
669
|
} & {
|
670
670
|
loading?: string | boolean | undefined;
|
@@ -674,7 +674,7 @@ declare const VDataTableRows: {
|
|
674
674
|
}, {
|
675
675
|
noDataText: string;
|
676
676
|
loadingText: string;
|
677
|
-
mobile: boolean;
|
677
|
+
mobile: boolean | null;
|
678
678
|
hideNoData: boolean;
|
679
679
|
}, true, {}, vue.SlotsType<Partial<{
|
680
680
|
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -744,7 +744,7 @@ declare const VDataTableRows: {
|
|
744
744
|
}, {
|
745
745
|
noDataText: string;
|
746
746
|
loadingText: string;
|
747
|
-
mobile: boolean;
|
747
|
+
mobile: boolean | null;
|
748
748
|
hideNoData: boolean;
|
749
749
|
} & {
|
750
750
|
loading?: string | boolean | undefined;
|
@@ -754,7 +754,7 @@ declare const VDataTableRows: {
|
|
754
754
|
}, {}, {}, {}, {}, {
|
755
755
|
noDataText: string;
|
756
756
|
loadingText: string;
|
757
|
-
mobile: boolean;
|
757
|
+
mobile: boolean | null;
|
758
758
|
hideNoData: boolean;
|
759
759
|
}>;
|
760
760
|
__isFragment?: undefined;
|
@@ -763,7 +763,7 @@ declare const VDataTableRows: {
|
|
763
763
|
} & vue.ComponentOptionsBase<{
|
764
764
|
noDataText: string;
|
765
765
|
loadingText: string;
|
766
|
-
mobile: boolean;
|
766
|
+
mobile: boolean | null;
|
767
767
|
hideNoData: boolean;
|
768
768
|
} & {
|
769
769
|
loading?: string | boolean | undefined;
|
@@ -773,7 +773,7 @@ declare const VDataTableRows: {
|
|
773
773
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "$children" | "v-slots" | "items" | "v-slot:item" | "v-slot:no-data" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row">, string, {
|
774
774
|
noDataText: string;
|
775
775
|
loadingText: string;
|
776
|
-
mobile: boolean;
|
776
|
+
mobile: boolean | null;
|
777
777
|
hideNoData: boolean;
|
778
778
|
}, {}, string, vue.SlotsType<Partial<{
|
779
779
|
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -839,8 +839,8 @@ declare const VDataTableRows: {
|
|
839
839
|
items?: readonly (DataTableItem<T> | Group<T>)[] | undefined;
|
840
840
|
}, VDataTableRowsSlots<T>>) & FilterPropsOptions<{
|
841
841
|
mobile: {
|
842
|
-
type:
|
843
|
-
default:
|
842
|
+
type: PropType<boolean | null>;
|
843
|
+
default: boolean;
|
844
844
|
};
|
845
845
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
846
846
|
loading: (StringConstructor | BooleanConstructor)[];
|
@@ -861,8 +861,8 @@ declare const VDataTableRows: {
|
|
861
861
|
cellProps: PropType<CellProps<any>>;
|
862
862
|
}, vue.ExtractPropTypes<{
|
863
863
|
mobile: {
|
864
|
-
type:
|
865
|
-
default:
|
864
|
+
type: PropType<boolean | null>;
|
865
|
+
default: boolean;
|
866
866
|
};
|
867
867
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
868
868
|
loading: (StringConstructor | BooleanConstructor)[];
|
@@ -931,7 +931,7 @@ declare const VDataTable: {
|
|
931
931
|
sortBy: readonly SortItem[];
|
932
932
|
pageText: string;
|
933
933
|
page: string | number;
|
934
|
-
mobile: boolean;
|
934
|
+
mobile: boolean | null;
|
935
935
|
sticky: boolean;
|
936
936
|
expanded: readonly string[];
|
937
937
|
density: Density;
|
@@ -1006,7 +1006,7 @@ declare const VDataTable: {
|
|
1006
1006
|
sortBy: readonly SortItem[];
|
1007
1007
|
pageText: string;
|
1008
1008
|
page: string | number;
|
1009
|
-
mobile: boolean;
|
1009
|
+
mobile: boolean | null;
|
1010
1010
|
sticky: boolean;
|
1011
1011
|
expanded: readonly string[];
|
1012
1012
|
density: Density;
|
@@ -1072,7 +1072,7 @@ declare const VDataTable: {
|
|
1072
1072
|
sortBy: readonly SortItem[];
|
1073
1073
|
pageText: string;
|
1074
1074
|
page: string | number;
|
1075
|
-
mobile: boolean;
|
1075
|
+
mobile: boolean | null;
|
1076
1076
|
sticky: boolean;
|
1077
1077
|
expanded: readonly string[];
|
1078
1078
|
density: Density;
|
@@ -1220,7 +1220,7 @@ declare const VDataTable: {
|
|
1220
1220
|
sortBy: readonly SortItem[];
|
1221
1221
|
pageText: string;
|
1222
1222
|
page: string | number;
|
1223
|
-
mobile: boolean;
|
1223
|
+
mobile: boolean | null;
|
1224
1224
|
sticky: boolean;
|
1225
1225
|
expanded: readonly string[];
|
1226
1226
|
density: Density;
|
@@ -1286,7 +1286,7 @@ declare const VDataTable: {
|
|
1286
1286
|
sortBy: readonly SortItem[];
|
1287
1287
|
pageText: string;
|
1288
1288
|
page: string | number;
|
1289
|
-
mobile: boolean;
|
1289
|
+
mobile: boolean | null;
|
1290
1290
|
sticky: boolean;
|
1291
1291
|
expanded: readonly string[];
|
1292
1292
|
density: Density;
|
@@ -1334,7 +1334,7 @@ declare const VDataTable: {
|
|
1334
1334
|
sortBy: readonly SortItem[];
|
1335
1335
|
pageText: string;
|
1336
1336
|
page: string | number;
|
1337
|
-
mobile: boolean;
|
1337
|
+
mobile: boolean | null;
|
1338
1338
|
sticky: boolean;
|
1339
1339
|
expanded: readonly string[];
|
1340
1340
|
density: Density;
|
@@ -1409,7 +1409,7 @@ declare const VDataTable: {
|
|
1409
1409
|
sortBy: readonly SortItem[];
|
1410
1410
|
pageText: string;
|
1411
1411
|
page: string | number;
|
1412
|
-
mobile: boolean;
|
1412
|
+
mobile: boolean | null;
|
1413
1413
|
sticky: boolean;
|
1414
1414
|
expanded: readonly string[];
|
1415
1415
|
density: Density;
|
@@ -1684,8 +1684,8 @@ declare const VDataTable: {
|
|
1684
1684
|
hover: BooleanConstructor;
|
1685
1685
|
loading: (StringConstructor | BooleanConstructor)[];
|
1686
1686
|
mobile: {
|
1687
|
-
type:
|
1688
|
-
default:
|
1687
|
+
type: vue.PropType<boolean | null>;
|
1688
|
+
default: boolean;
|
1689
1689
|
};
|
1690
1690
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
1691
1691
|
color: StringConstructor;
|
@@ -1891,8 +1891,8 @@ declare const VDataTable: {
|
|
1891
1891
|
hover: BooleanConstructor;
|
1892
1892
|
loading: (StringConstructor | BooleanConstructor)[];
|
1893
1893
|
mobile: {
|
1894
|
-
type:
|
1895
|
-
default:
|
1894
|
+
type: vue.PropType<boolean | null>;
|
1895
|
+
default: boolean;
|
1896
1896
|
};
|
1897
1897
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
1898
1898
|
color: StringConstructor;
|
@@ -2314,7 +2314,7 @@ declare const VDataTableVirtual: {
|
|
2314
2314
|
noDataText: string;
|
2315
2315
|
loadingText: string;
|
2316
2316
|
sortBy: readonly SortItem[];
|
2317
|
-
mobile: boolean;
|
2317
|
+
mobile: boolean | null;
|
2318
2318
|
sticky: boolean;
|
2319
2319
|
expanded: readonly string[];
|
2320
2320
|
density: Density;
|
@@ -2412,7 +2412,7 @@ declare const VDataTableVirtual: {
|
|
2412
2412
|
noDataText: string;
|
2413
2413
|
loadingText: string;
|
2414
2414
|
sortBy: readonly SortItem[];
|
2415
|
-
mobile: boolean;
|
2415
|
+
mobile: boolean | null;
|
2416
2416
|
sticky: boolean;
|
2417
2417
|
expanded: readonly string[];
|
2418
2418
|
density: Density;
|
@@ -2504,7 +2504,7 @@ declare const VDataTableVirtual: {
|
|
2504
2504
|
noDataText: string;
|
2505
2505
|
loadingText: string;
|
2506
2506
|
sortBy: readonly SortItem[];
|
2507
|
-
mobile: boolean;
|
2507
|
+
mobile: boolean | null;
|
2508
2508
|
sticky: boolean;
|
2509
2509
|
expanded: readonly string[];
|
2510
2510
|
density: Density;
|
@@ -2620,7 +2620,7 @@ declare const VDataTableVirtual: {
|
|
2620
2620
|
noDataText: string;
|
2621
2621
|
loadingText: string;
|
2622
2622
|
sortBy: readonly SortItem[];
|
2623
|
-
mobile: boolean;
|
2623
|
+
mobile: boolean | null;
|
2624
2624
|
sticky: boolean;
|
2625
2625
|
expanded: readonly string[];
|
2626
2626
|
density: Density;
|
@@ -2712,7 +2712,7 @@ declare const VDataTableVirtual: {
|
|
2712
2712
|
noDataText: string;
|
2713
2713
|
loadingText: string;
|
2714
2714
|
sortBy: readonly SortItem[];
|
2715
|
-
mobile: boolean;
|
2715
|
+
mobile: boolean | null;
|
2716
2716
|
sticky: boolean;
|
2717
2717
|
expanded: readonly string[];
|
2718
2718
|
density: Density;
|
@@ -2744,7 +2744,7 @@ declare const VDataTableVirtual: {
|
|
2744
2744
|
noDataText: string;
|
2745
2745
|
loadingText: string;
|
2746
2746
|
sortBy: readonly SortItem[];
|
2747
|
-
mobile: boolean;
|
2747
|
+
mobile: boolean | null;
|
2748
2748
|
sticky: boolean;
|
2749
2749
|
expanded: readonly string[];
|
2750
2750
|
density: Density;
|
@@ -2842,7 +2842,7 @@ declare const VDataTableVirtual: {
|
|
2842
2842
|
noDataText: string;
|
2843
2843
|
loadingText: string;
|
2844
2844
|
sortBy: readonly SortItem[];
|
2845
|
-
mobile: boolean;
|
2845
|
+
mobile: boolean | null;
|
2846
2846
|
sticky: boolean;
|
2847
2847
|
expanded: readonly string[];
|
2848
2848
|
density: Density;
|
@@ -2999,8 +2999,8 @@ declare const VDataTableVirtual: {
|
|
2999
2999
|
hover: BooleanConstructor;
|
3000
3000
|
loading: (StringConstructor | BooleanConstructor)[];
|
3001
3001
|
mobile: {
|
3002
|
-
type:
|
3003
|
-
default:
|
3002
|
+
type: vue.PropType<boolean | null>;
|
3003
|
+
default: boolean;
|
3004
3004
|
};
|
3005
3005
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
3006
3006
|
color: StringConstructor;
|
@@ -3151,8 +3151,8 @@ declare const VDataTableVirtual: {
|
|
3151
3151
|
hover: BooleanConstructor;
|
3152
3152
|
loading: (StringConstructor | BooleanConstructor)[];
|
3153
3153
|
mobile: {
|
3154
|
-
type:
|
3155
|
-
default:
|
3154
|
+
type: vue.PropType<boolean | null>;
|
3155
|
+
default: boolean;
|
3156
3156
|
};
|
3157
3157
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
3158
3158
|
color: StringConstructor;
|
@@ -3279,7 +3279,7 @@ declare const VDataTableServer: {
|
|
3279
3279
|
sortBy: readonly SortItem[];
|
3280
3280
|
pageText: string;
|
3281
3281
|
page: string | number;
|
3282
|
-
mobile: boolean;
|
3282
|
+
mobile: boolean | null;
|
3283
3283
|
sticky: boolean;
|
3284
3284
|
expanded: readonly string[];
|
3285
3285
|
density: Density;
|
@@ -3393,7 +3393,7 @@ declare const VDataTableServer: {
|
|
3393
3393
|
sortBy: readonly SortItem[];
|
3394
3394
|
pageText: string;
|
3395
3395
|
page: string | number;
|
3396
|
-
mobile: boolean;
|
3396
|
+
mobile: boolean | null;
|
3397
3397
|
sticky: boolean;
|
3398
3398
|
expanded: readonly string[];
|
3399
3399
|
density: Density;
|
@@ -3499,7 +3499,7 @@ declare const VDataTableServer: {
|
|
3499
3499
|
sortBy: readonly SortItem[];
|
3500
3500
|
pageText: string;
|
3501
3501
|
page: string | number;
|
3502
|
-
mobile: boolean;
|
3502
|
+
mobile: boolean | null;
|
3503
3503
|
sticky: boolean;
|
3504
3504
|
expanded: readonly string[];
|
3505
3505
|
density: Density;
|
@@ -3645,7 +3645,7 @@ declare const VDataTableServer: {
|
|
3645
3645
|
sortBy: readonly SortItem[];
|
3646
3646
|
pageText: string;
|
3647
3647
|
page: string | number;
|
3648
|
-
mobile: boolean;
|
3648
|
+
mobile: boolean | null;
|
3649
3649
|
sticky: boolean;
|
3650
3650
|
expanded: readonly string[];
|
3651
3651
|
density: Density;
|
@@ -3751,7 +3751,7 @@ declare const VDataTableServer: {
|
|
3751
3751
|
sortBy: readonly SortItem[];
|
3752
3752
|
pageText: string;
|
3753
3753
|
page: string | number;
|
3754
|
-
mobile: boolean;
|
3754
|
+
mobile: boolean | null;
|
3755
3755
|
sticky: boolean;
|
3756
3756
|
expanded: readonly string[];
|
3757
3757
|
density: Density;
|
@@ -3797,7 +3797,7 @@ declare const VDataTableServer: {
|
|
3797
3797
|
sortBy: readonly SortItem[];
|
3798
3798
|
pageText: string;
|
3799
3799
|
page: string | number;
|
3800
|
-
mobile: boolean;
|
3800
|
+
mobile: boolean | null;
|
3801
3801
|
sticky: boolean;
|
3802
3802
|
expanded: readonly string[];
|
3803
3803
|
density: Density;
|
@@ -3911,7 +3911,7 @@ declare const VDataTableServer: {
|
|
3911
3911
|
sortBy: readonly SortItem[];
|
3912
3912
|
pageText: string;
|
3913
3913
|
page: string | number;
|
3914
|
-
mobile: boolean;
|
3914
|
+
mobile: boolean | null;
|
3915
3915
|
sticky: boolean;
|
3916
3916
|
expanded: readonly string[];
|
3917
3917
|
density: Density;
|
@@ -4130,8 +4130,8 @@ declare const VDataTableServer: {
|
|
4130
4130
|
hover: BooleanConstructor;
|
4131
4131
|
loading: (StringConstructor | BooleanConstructor)[];
|
4132
4132
|
mobile: {
|
4133
|
-
type:
|
4134
|
-
default:
|
4133
|
+
type: vue.PropType<boolean | null>;
|
4134
|
+
default: boolean;
|
4135
4135
|
};
|
4136
4136
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
4137
4137
|
color: StringConstructor;
|
@@ -4333,8 +4333,8 @@ declare const VDataTableServer: {
|
|
4333
4333
|
hover: BooleanConstructor;
|
4334
4334
|
loading: (StringConstructor | BooleanConstructor)[];
|
4335
4335
|
mobile: {
|
4336
|
-
type:
|
4337
|
-
default:
|
4336
|
+
type: vue.PropType<boolean | null>;
|
4337
|
+
default: boolean;
|
4338
4338
|
};
|
4339
4339
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
4340
4340
|
color: StringConstructor;
|
@@ -76,13 +76,15 @@
|
|
76
76
|
background: currentColor;
|
77
77
|
opacity: var(--v-activated-opacity);
|
78
78
|
border-radius: inherit;
|
79
|
-
position: absolute;
|
80
79
|
top: 0;
|
81
80
|
right: 0;
|
82
81
|
bottom: 0;
|
83
82
|
left: 0;
|
84
83
|
pointer-events: none;
|
85
84
|
}
|
85
|
+
.v-list-item .v-list-item__underlay {
|
86
|
+
position: absolute;
|
87
|
+
}
|
86
88
|
@supports selector(:focus-visible) {
|
87
89
|
.v-list-item::after {
|
88
90
|
content: "";
|
@@ -67,7 +67,9 @@ export const makeVNavigationDrawerProps = propsFactory({
|
|
67
67
|
...makeBorderProps(),
|
68
68
|
...makeComponentProps(),
|
69
69
|
...makeDelayProps(),
|
70
|
-
...makeDisplayProps(
|
70
|
+
...makeDisplayProps({
|
71
|
+
mobile: null
|
72
|
+
}),
|
71
73
|
...makeElevationProps(),
|
72
74
|
...makeLayoutItemProps(),
|
73
75
|
...makeRoundedProps(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VNavigationDrawer.mjs","names":["VDefaultsProvider","VImg","useSticky","useTouch","useRtl","makeBorderProps","useBorder","useBackgroundColor","makeComponentProps","provideDefaults","makeDelayProps","useDelay","makeDisplayProps","useDisplay","makeElevationProps","useElevation","makeLayoutItemProps","useLayoutItem","useProxiedModel","makeRoundedProps","useRounded","useRouter","useScopeId","useSsrBoot","makeTagProps","makeThemeProps","provideTheme","useToggleScope","computed","nextTick","ref","shallowRef","toRef","Transition","watch","genericComponent","propsFactory","toPhysical","useRender","locations","makeVNavigationDrawerProps","color","String","disableResizeWatcher","Boolean","disableRouteWatcher","expandOnHover","floating","modelValue","type","default","permanent","rail","railWidth","Number","scrim","image","temporary","persistent","touchless","width","location","validator","value","includes","sticky","tag","VNavigationDrawer","name","props","emits","val","setup","_ref","attrs","emit","slots","isRtl","themeClasses","borderClasses","backgroundColorClasses","backgroundColorStyles","elevationClasses","displayClasses","mobile","roundedClasses","router","isActive","v","ssrBootStyles","scopeId","rootEl","isHovering","runOpenDelay","runCloseDelay","isPersistent","isTemporary","isSticky","currentRoute","isDragging","dragProgress","el","position","layoutSize","size","elementSize","layoutItemStyles","layoutItemScrimStyles","layoutIsReady","id","order","parseInt","active","disableTransitions","absolute","isStuck","stickyStyles","scrimColor","scrimStyles","opacity","transition","undefined","VList","bgColor","hasImage","_createVNode","_Fragment","_mergeProps","class","style","height","alt","cover","src","prepend","append","onClick","then"],"sources":["../../../src/components/VNavigationDrawer/VNavigationDrawer.tsx"],"sourcesContent":["// Styles\nimport './VNavigationDrawer.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { useSticky } from './sticky'\nimport { useTouch } from './touch'\nimport { useRtl } from '@/composables'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { useBackgroundColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDelayProps, useDelay } from '@/composables/delay'\nimport { makeDisplayProps, useDisplay } from '@/composables/display'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { useRouter } from '@/composables/router'\nimport { useScopeId } from '@/composables/scopeId'\nimport { useSsrBoot } from '@/composables/ssrBoot'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useToggleScope } from '@/composables/toggleScope'\n\n// Utilities\nimport { computed, nextTick, ref, shallowRef, toRef, Transition, watch } from 'vue'\nimport { genericComponent, propsFactory, toPhysical, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VNavigationDrawerImageSlot = {\n image: string | undefined\n}\n\nexport type VNavigationDrawerSlots = {\n default: never\n prepend: never\n append: never\n image: VNavigationDrawerImageSlot\n}\n\nconst locations = ['start', 'end', 'left', 'right', 'top', 'bottom'] as const\n\nexport const makeVNavigationDrawerProps = propsFactory({\n color: String,\n disableResizeWatcher: Boolean,\n disableRouteWatcher: Boolean,\n expandOnHover: Boolean,\n floating: Boolean,\n modelValue: {\n type: Boolean as PropType<boolean | null>,\n default: null,\n },\n permanent: Boolean,\n rail: {\n type: Boolean as PropType<boolean | null>,\n default: null,\n },\n railWidth: {\n type: [Number, String],\n default: 56,\n },\n scrim: {\n type: [Boolean, String],\n default: true,\n },\n image: String,\n temporary: Boolean,\n persistent: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 256,\n },\n location: {\n type: String as PropType<typeof locations[number]>,\n default: 'start',\n validator: (value: any) => locations.includes(value),\n },\n sticky: Boolean,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDelayProps(),\n ...makeDisplayProps(),\n ...makeElevationProps(),\n ...makeLayoutItemProps(),\n ...makeRoundedProps(),\n ...makeTagProps({ tag: 'nav' }),\n ...makeThemeProps(),\n}, 'VNavigationDrawer')\n\nexport const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({\n name: 'VNavigationDrawer',\n\n props: makeVNavigationDrawerProps(),\n\n emits: {\n 'update:modelValue': (val: boolean) => true,\n 'update:rail': (val: boolean) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { isRtl } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'color'))\n const { elevationClasses } = useElevation(props)\n const { displayClasses, mobile } = useDisplay(props)\n const { roundedClasses } = useRounded(props)\n const router = useRouter()\n const isActive = useProxiedModel(props, 'modelValue', null, v => !!v)\n const { ssrBootStyles } = useSsrBoot()\n const { scopeId } = useScopeId()\n\n const rootEl = ref<HTMLElement>()\n const isHovering = shallowRef(false)\n\n const { runOpenDelay, runCloseDelay } = useDelay(props, value => {\n isHovering.value = value\n })\n\n const width = computed(() => {\n return (props.rail && props.expandOnHover && isHovering.value)\n ? Number(props.width)\n : Number(props.rail ? props.railWidth : props.width)\n })\n const location = computed(() => {\n return toPhysical(props.location, isRtl.value) as 'left' | 'right' | 'bottom'\n })\n const isPersistent = computed(() => props.persistent)\n const isTemporary = computed(() => !props.permanent && (mobile.value || props.temporary))\n const isSticky = computed(() =>\n props.sticky &&\n !isTemporary.value &&\n location.value !== 'bottom'\n )\n\n useToggleScope(() => props.expandOnHover && props.rail != null, () => {\n watch(isHovering, val => emit('update:rail', !val))\n })\n\n useToggleScope(() => !props.disableResizeWatcher, () => {\n watch(isTemporary, val => !props.permanent && (nextTick(() => isActive.value = !val)))\n })\n\n useToggleScope(() => !props.disableRouteWatcher && !!router, () => {\n watch(router!.currentRoute, () => isTemporary.value && (isActive.value = false))\n })\n\n watch(() => props.permanent, val => {\n if (val) isActive.value = true\n })\n\n if (props.modelValue == null && !isTemporary.value) {\n isActive.value = props.permanent || !mobile.value\n }\n\n const { isDragging, dragProgress } = useTouch({\n el: rootEl,\n isActive,\n isTemporary,\n width,\n touchless: toRef(props, 'touchless'),\n position: location,\n })\n\n const layoutSize = computed(() => {\n const size = isTemporary.value ? 0\n : props.rail && props.expandOnHover ? Number(props.railWidth)\n : width.value\n\n return isDragging.value ? size * dragProgress.value : size\n })\n const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value)\n const { layoutItemStyles, layoutItemScrimStyles, layoutIsReady } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: location,\n layoutSize,\n elementSize,\n active: computed(() => isActive.value || isDragging.value),\n disableTransitions: computed(() => isDragging.value),\n absolute: computed(() =>\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n props.absolute || (isSticky.value && typeof isStuck.value !== 'string')\n ),\n })\n\n const { isStuck, stickyStyles } = useSticky({ rootEl, isSticky, layoutItemStyles })\n\n const scrimColor = useBackgroundColor(computed(() => {\n return typeof props.scrim === 'string' ? props.scrim : null\n }))\n const scrimStyles = computed(() => ({\n ...isDragging.value ? {\n opacity: dragProgress.value * 0.2,\n transition: 'none',\n } : undefined,\n ...layoutItemScrimStyles.value,\n }))\n\n provideDefaults({\n VList: {\n bgColor: 'transparent',\n },\n })\n\n useRender(() => {\n const hasImage = (slots.image || props.image)\n\n return (\n <>\n <props.tag\n ref={ rootEl }\n onMouseenter={ runOpenDelay }\n onMouseleave={ runCloseDelay }\n class={[\n 'v-navigation-drawer',\n `v-navigation-drawer--${location.value}`,\n {\n 'v-navigation-drawer--expand-on-hover': props.expandOnHover,\n 'v-navigation-drawer--floating': props.floating,\n 'v-navigation-drawer--is-hovering': isHovering.value,\n 'v-navigation-drawer--rail': props.rail,\n 'v-navigation-drawer--temporary': isTemporary.value,\n 'v-navigation-drawer--persistent': isPersistent.value,\n 'v-navigation-drawer--active': isActive.value,\n 'v-navigation-drawer--sticky': isSticky.value,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n displayClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n layoutItemStyles.value,\n ssrBootStyles.value,\n stickyStyles.value,\n props.style,\n ['top', 'bottom'].includes(location.value) ? { height: 'auto' } : {},\n ]}\n { ...scopeId }\n { ...attrs }\n >\n { hasImage && (\n <div key=\"image\" class=\"v-navigation-drawer__img\">\n { !slots.image ? (\n <VImg\n key=\"image-img\"\n alt=\"\"\n cover\n height=\"inherit\"\n src={ props.image }\n />\n ) : (\n <VDefaultsProvider\n key=\"image-defaults\"\n disabled={ !props.image }\n defaults={{\n VImg: {\n alt: '',\n cover: true,\n height: 'inherit',\n src: props.image,\n },\n }}\n v-slots:default={ slots.image }\n />\n )}\n </div>\n )}\n\n { slots.prepend && (\n <div class=\"v-navigation-drawer__prepend\">\n { slots.prepend?.() }\n </div>\n )}\n\n <div class=\"v-navigation-drawer__content\">\n { slots.default?.() }\n </div>\n\n { slots.append && (\n <div class=\"v-navigation-drawer__append\">\n { slots.append?.() }\n </div>\n )}\n </props.tag>\n\n <Transition name=\"fade-transition\">\n { isTemporary.value && (isDragging.value || isActive.value) && !!props.scrim && (\n <div\n class={['v-navigation-drawer__scrim', scrimColor.backgroundColorClasses.value]}\n style={[scrimStyles.value, scrimColor.backgroundColorStyles.value]}\n onClick={ () => {\n if (isPersistent.value) return\n isActive.value = false\n }}\n { ...scopeId }\n />\n )}\n </Transition>\n </>\n )\n })\n\n return layoutIsReady.then(() => ({ isStuck }))\n },\n})\n\nexport type VNavigationDrawer = InstanceType<typeof VNavigationDrawer>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,SAAS;AAAA,SACTC,UAAU;AAAA,SACVC,UAAU;AAAA,SACVC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,cAAc,6CAEvB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC1EC,gBAAgB,EAAEC,YAAY,EAAEC,UAAU,EAAEC,SAAS,gCAE9D;AAcA,MAAMC,SAAS,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU;AAE7E,OAAO,MAAMC,0BAA0B,GAAGJ,YAAY,CAA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sE,YAAA,QAAAE,WAAA;UAAA,SAEjE,CAAC,4BAA4B,EAAEV,UAAU,CAACrC,sBAAsB,CAACjB,KAAK,CAAC;UAAA,SACvE,CAACuD,WAAW,CAACvD,KAAK,EAAEsD,UAAU,CAACpC,qBAAqB,CAAClB,KAAK,CAAC;UAAA,WACxDyE,CAAA,KAAM;YACd,IAAIzC,YAAY,CAAChC,KAAK,EAAE;YACxBwB,QAAQ,CAACxB,KAAK,GAAG,KAAK;UACxB;QAAC,GACI2B,OAAO,QAEf;MAAA;IAIT,CAAC,CAAC;IAEF,OAAOkB,aAAa,CAAC6B,IAAI,CAAC,OAAO;MAAEtB;IAAQ,CAAC,CAAC,CAAC;EAChD;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VNavigationDrawer.mjs","names":["VDefaultsProvider","VImg","useSticky","useTouch","useRtl","makeBorderProps","useBorder","useBackgroundColor","makeComponentProps","provideDefaults","makeDelayProps","useDelay","makeDisplayProps","useDisplay","makeElevationProps","useElevation","makeLayoutItemProps","useLayoutItem","useProxiedModel","makeRoundedProps","useRounded","useRouter","useScopeId","useSsrBoot","makeTagProps","makeThemeProps","provideTheme","useToggleScope","computed","nextTick","ref","shallowRef","toRef","Transition","watch","genericComponent","propsFactory","toPhysical","useRender","locations","makeVNavigationDrawerProps","color","String","disableResizeWatcher","Boolean","disableRouteWatcher","expandOnHover","floating","modelValue","type","default","permanent","rail","railWidth","Number","scrim","image","temporary","persistent","touchless","width","location","validator","value","includes","sticky","mobile","tag","VNavigationDrawer","name","props","emits","val","setup","_ref","attrs","emit","slots","isRtl","themeClasses","borderClasses","backgroundColorClasses","backgroundColorStyles","elevationClasses","displayClasses","roundedClasses","router","isActive","v","ssrBootStyles","scopeId","rootEl","isHovering","runOpenDelay","runCloseDelay","isPersistent","isTemporary","isSticky","currentRoute","isDragging","dragProgress","el","position","layoutSize","size","elementSize","layoutItemStyles","layoutItemScrimStyles","layoutIsReady","id","order","parseInt","active","disableTransitions","absolute","isStuck","stickyStyles","scrimColor","scrimStyles","opacity","transition","undefined","VList","bgColor","hasImage","_createVNode","_Fragment","_mergeProps","class","style","height","alt","cover","src","prepend","append","onClick","then"],"sources":["../../../src/components/VNavigationDrawer/VNavigationDrawer.tsx"],"sourcesContent":["// Styles\nimport './VNavigationDrawer.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { useSticky } from './sticky'\nimport { useTouch } from './touch'\nimport { useRtl } from '@/composables'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { useBackgroundColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDelayProps, useDelay } from '@/composables/delay'\nimport { makeDisplayProps, useDisplay } from '@/composables/display'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeLayoutItemProps, useLayoutItem } from '@/composables/layout'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { useRouter } from '@/composables/router'\nimport { useScopeId } from '@/composables/scopeId'\nimport { useSsrBoot } from '@/composables/ssrBoot'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useToggleScope } from '@/composables/toggleScope'\n\n// Utilities\nimport { computed, nextTick, ref, shallowRef, toRef, Transition, watch } from 'vue'\nimport { genericComponent, propsFactory, toPhysical, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VNavigationDrawerImageSlot = {\n image: string | undefined\n}\n\nexport type VNavigationDrawerSlots = {\n default: never\n prepend: never\n append: never\n image: VNavigationDrawerImageSlot\n}\n\nconst locations = ['start', 'end', 'left', 'right', 'top', 'bottom'] as const\n\nexport const makeVNavigationDrawerProps = propsFactory({\n color: String,\n disableResizeWatcher: Boolean,\n disableRouteWatcher: Boolean,\n expandOnHover: Boolean,\n floating: Boolean,\n modelValue: {\n type: Boolean as PropType<boolean | null>,\n default: null,\n },\n permanent: Boolean,\n rail: {\n type: Boolean as PropType<boolean | null>,\n default: null,\n },\n railWidth: {\n type: [Number, String],\n default: 56,\n },\n scrim: {\n type: [Boolean, String],\n default: true,\n },\n image: String,\n temporary: Boolean,\n persistent: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 256,\n },\n location: {\n type: String as PropType<typeof locations[number]>,\n default: 'start',\n validator: (value: any) => locations.includes(value),\n },\n sticky: Boolean,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDelayProps(),\n ...makeDisplayProps({ mobile: null }),\n ...makeElevationProps(),\n ...makeLayoutItemProps(),\n ...makeRoundedProps(),\n ...makeTagProps({ tag: 'nav' }),\n ...makeThemeProps(),\n}, 'VNavigationDrawer')\n\nexport const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({\n name: 'VNavigationDrawer',\n\n props: makeVNavigationDrawerProps(),\n\n emits: {\n 'update:modelValue': (val: boolean) => true,\n 'update:rail': (val: boolean) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { isRtl } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'color'))\n const { elevationClasses } = useElevation(props)\n const { displayClasses, mobile } = useDisplay(props)\n const { roundedClasses } = useRounded(props)\n const router = useRouter()\n const isActive = useProxiedModel(props, 'modelValue', null, v => !!v)\n const { ssrBootStyles } = useSsrBoot()\n const { scopeId } = useScopeId()\n\n const rootEl = ref<HTMLElement>()\n const isHovering = shallowRef(false)\n\n const { runOpenDelay, runCloseDelay } = useDelay(props, value => {\n isHovering.value = value\n })\n\n const width = computed(() => {\n return (props.rail && props.expandOnHover && isHovering.value)\n ? Number(props.width)\n : Number(props.rail ? props.railWidth : props.width)\n })\n const location = computed(() => {\n return toPhysical(props.location, isRtl.value) as 'left' | 'right' | 'bottom'\n })\n const isPersistent = computed(() => props.persistent)\n const isTemporary = computed(() => !props.permanent && (mobile.value || props.temporary))\n const isSticky = computed(() =>\n props.sticky &&\n !isTemporary.value &&\n location.value !== 'bottom'\n )\n\n useToggleScope(() => props.expandOnHover && props.rail != null, () => {\n watch(isHovering, val => emit('update:rail', !val))\n })\n\n useToggleScope(() => !props.disableResizeWatcher, () => {\n watch(isTemporary, val => !props.permanent && (nextTick(() => isActive.value = !val)))\n })\n\n useToggleScope(() => !props.disableRouteWatcher && !!router, () => {\n watch(router!.currentRoute, () => isTemporary.value && (isActive.value = false))\n })\n\n watch(() => props.permanent, val => {\n if (val) isActive.value = true\n })\n\n if (props.modelValue == null && !isTemporary.value) {\n isActive.value = props.permanent || !mobile.value\n }\n\n const { isDragging, dragProgress } = useTouch({\n el: rootEl,\n isActive,\n isTemporary,\n width,\n touchless: toRef(props, 'touchless'),\n position: location,\n })\n\n const layoutSize = computed(() => {\n const size = isTemporary.value ? 0\n : props.rail && props.expandOnHover ? Number(props.railWidth)\n : width.value\n\n return isDragging.value ? size * dragProgress.value : size\n })\n const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value)\n const { layoutItemStyles, layoutItemScrimStyles, layoutIsReady } = useLayoutItem({\n id: props.name,\n order: computed(() => parseInt(props.order, 10)),\n position: location,\n layoutSize,\n elementSize,\n active: computed(() => isActive.value || isDragging.value),\n disableTransitions: computed(() => isDragging.value),\n absolute: computed(() =>\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n props.absolute || (isSticky.value && typeof isStuck.value !== 'string')\n ),\n })\n\n const { isStuck, stickyStyles } = useSticky({ rootEl, isSticky, layoutItemStyles })\n\n const scrimColor = useBackgroundColor(computed(() => {\n return typeof props.scrim === 'string' ? props.scrim : null\n }))\n const scrimStyles = computed(() => ({\n ...isDragging.value ? {\n opacity: dragProgress.value * 0.2,\n transition: 'none',\n } : undefined,\n ...layoutItemScrimStyles.value,\n }))\n\n provideDefaults({\n VList: {\n bgColor: 'transparent',\n },\n })\n\n useRender(() => {\n const hasImage = (slots.image || props.image)\n\n return (\n <>\n <props.tag\n ref={ rootEl }\n onMouseenter={ runOpenDelay }\n onMouseleave={ runCloseDelay }\n class={[\n 'v-navigation-drawer',\n `v-navigation-drawer--${location.value}`,\n {\n 'v-navigation-drawer--expand-on-hover': props.expandOnHover,\n 'v-navigation-drawer--floating': props.floating,\n 'v-navigation-drawer--is-hovering': isHovering.value,\n 'v-navigation-drawer--rail': props.rail,\n 'v-navigation-drawer--temporary': isTemporary.value,\n 'v-navigation-drawer--persistent': isPersistent.value,\n 'v-navigation-drawer--active': isActive.value,\n 'v-navigation-drawer--sticky': isSticky.value,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n displayClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n layoutItemStyles.value,\n ssrBootStyles.value,\n stickyStyles.value,\n props.style,\n ['top', 'bottom'].includes(location.value) ? { height: 'auto' } : {},\n ]}\n { ...scopeId }\n { ...attrs }\n >\n { hasImage && (\n <div key=\"image\" class=\"v-navigation-drawer__img\">\n { !slots.image ? (\n <VImg\n key=\"image-img\"\n alt=\"\"\n cover\n height=\"inherit\"\n src={ props.image }\n />\n ) : (\n <VDefaultsProvider\n key=\"image-defaults\"\n disabled={ !props.image }\n defaults={{\n VImg: {\n alt: '',\n cover: true,\n height: 'inherit',\n src: props.image,\n },\n }}\n v-slots:default={ slots.image }\n />\n )}\n </div>\n )}\n\n { slots.prepend && (\n <div class=\"v-navigation-drawer__prepend\">\n { slots.prepend?.() }\n </div>\n )}\n\n <div class=\"v-navigation-drawer__content\">\n { slots.default?.() }\n </div>\n\n { slots.append && (\n <div class=\"v-navigation-drawer__append\">\n { slots.append?.() }\n </div>\n )}\n </props.tag>\n\n <Transition name=\"fade-transition\">\n { isTemporary.value && (isDragging.value || isActive.value) && !!props.scrim && (\n <div\n class={['v-navigation-drawer__scrim', scrimColor.backgroundColorClasses.value]}\n style={[scrimStyles.value, scrimColor.backgroundColorStyles.value]}\n onClick={ () => {\n if (isPersistent.value) return\n isActive.value = false\n }}\n { ...scopeId }\n />\n )}\n </Transition>\n </>\n )\n })\n\n return layoutIsReady.then(() => ({ isStuck }))\n },\n})\n\nexport type VNavigationDrawer = InstanceType<typeof VNavigationDrawer>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,mBAAmB,EAAEC,aAAa;AAAA,SAClCC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,SAAS;AAAA,SACTC,UAAU;AAAA,SACVC,UAAU;AAAA,SACVC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,cAAc,6CAEvB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC1EC,gBAAgB,EAAEC,YAAY,EAAEC,UAAU,EAAEC,SAAS,gCAE9D;AAcA,MAAMC,SAAS,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU;AAE7E,OAAO,MAAMC,0BAA0B,GAAGJ,YAAY,CAAC;EACrDK,KAAK,EAAEC,MAAM;EACbC,oBAAoB,EAAEC,OAAO;EAC7BC,mBAAmB,EAAED,OAAO;EAC5BE,aAAa,EAAEF,OAAO;EACtBG,QAAQ,EAAEH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