vuetify 3.5.3 → 3.5.5
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 +2771 -2523
- package/dist/json/importMap-labs.json +12 -8
- package/dist/json/importMap.json +100 -100
- package/dist/json/tags.json +236 -169
- package/dist/json/web-types.json +3218 -2563
- package/dist/vuetify-labs.css +2265 -2242
- package/dist/vuetify-labs.d.ts +1234 -152
- package/dist/vuetify-labs.esm.js +582 -88
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +582 -88
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1316 -1293
- package/dist/vuetify.d.ts +894 -187
- package/dist/vuetify.esm.js +148 -87
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +148 -87
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +652 -647
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +9 -0
- package/lib/components/VAppBar/index.d.mts +18 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +33 -6
- package/lib/components/VAvatar/VAvatar.mjs +2 -2
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/index.d.mts +9 -0
- package/lib/components/VBadge/index.d.mts +9 -0
- package/lib/components/VBanner/index.d.mts +9 -0
- package/lib/components/VBottomNavigation/index.d.mts +9 -0
- package/lib/components/VBreadcrumbs/index.d.mts +9 -0
- package/lib/components/VBtn/index.d.mts +9 -0
- package/lib/components/VBtnGroup/index.d.mts +9 -0
- package/lib/components/VBtnToggle/index.d.mts +9 -0
- package/lib/components/VCard/index.d.mts +9 -0
- package/lib/components/VCarousel/index.d.mts +9 -0
- package/lib/components/VChip/index.d.mts +9 -0
- package/lib/components/VColorPicker/VColorPicker.mjs +24 -12
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.mts +9 -0
- package/lib/components/VCombobox/index.d.mts +33 -6
- package/lib/components/VDataIterator/index.d.mts +3 -3
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +355 -117
- package/lib/components/VDataTable/types.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.css +2 -21
- package/lib/components/VDatePicker/VDatePicker.mjs +15 -11
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.sass +3 -18
- package/lib/components/VDatePicker/VDatePickerHeader.css +2 -0
- package/lib/components/VDatePicker/VDatePickerHeader.sass +3 -0
- package/lib/components/VDatePicker/VDatePickerMonth.css +11 -5
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +2 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.sass +13 -5
- package/lib/components/VDatePicker/VDatePickerMonths.css +2 -3
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +6 -3
- package/lib/components/VDatePicker/VDatePickerMonths.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.sass +4 -3
- package/lib/components/VDatePicker/VDatePickerYears.css +2 -2
- package/lib/components/VDatePicker/VDatePickerYears.mjs +8 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.sass +4 -2
- package/lib/components/VDatePicker/_variables.scss +14 -34
- package/lib/components/VDatePicker/index.d.mts +13 -4
- package/lib/components/VExpansionPanel/VExpansionPanel.css +14 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +14 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +9 -2
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +27 -0
- package/lib/components/VField/VField.css +20 -1
- package/lib/components/VField/VField.sass +19 -1
- package/lib/components/VField/index.d.mts +9 -0
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +9 -0
- package/lib/components/VFooter/index.d.mts +9 -0
- package/lib/components/VImg/index.d.mts +9 -0
- package/lib/components/VList/VListItem.css +2 -1
- package/lib/components/VList/VListItem.sass +1 -0
- package/lib/components/VList/_variables.scss +2 -1
- package/lib/components/VList/index.d.mts +18 -0
- package/lib/components/VMenu/VMenu.mjs +5 -5
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/shared.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +9 -0
- package/lib/components/VPagination/index.d.mts +9 -0
- package/lib/components/VProgressLinear/index.d.mts +9 -0
- package/lib/components/VRangeSlider/index.d.mts +9 -0
- package/lib/components/VSelect/VSelect.mjs +4 -3
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +33 -6
- package/lib/components/VSheet/index.d.mts +9 -0
- package/lib/components/VSlider/index.d.mts +9 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +9 -0
- package/lib/components/VStepper/index.d.mts +9 -0
- package/lib/components/VSystemBar/index.d.mts +9 -0
- package/lib/components/VTabs/index.d.mts +33 -6
- package/lib/components/VTextField/index.d.mts +33 -6
- package/lib/components/VTextarea/index.d.mts +9 -0
- package/lib/components/VTimeline/index.d.mts +9 -0
- package/lib/components/VToolbar/index.d.mts +9 -0
- package/lib/components/VTooltip/VTooltip.css +1 -0
- package/lib/components/VTooltip/VTooltip.sass +1 -0
- package/lib/components/VTooltip/_variables.scss +1 -0
- package/lib/components/index.d.mts +857 -151
- package/lib/composables/form.mjs +2 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/goto.mjs +16 -18
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/composables/group.mjs +2 -0
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/icons.mjs +17 -13
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/rounded.mjs +5 -1
- package/lib/composables/rounded.mjs.map +1 -1
- package/lib/composables/virtual.mjs +11 -3
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/fa-svg.mjs +2 -1
- package/lib/iconsets/fa-svg.mjs.map +1 -1
- package/lib/index.d.mts +37 -36
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +1 -1
- package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +1 -1
- package/lib/labs/VPicker/VPicker.css +2 -2
- package/lib/labs/VPicker/VPicker.sass +2 -2
- package/lib/labs/VPicker/_variables.scss +2 -4
- package/lib/labs/VPicker/index.d.mts +9 -0
- package/lib/labs/VSparkline/VBarline.mjs +138 -0
- package/lib/labs/VSparkline/VBarline.mjs.map +1 -0
- package/lib/labs/VSparkline/VSparkline.mjs +49 -0
- package/lib/labs/VSparkline/VSparkline.mjs.map +1 -0
- package/lib/labs/VSparkline/VTrendline.mjs +143 -0
- package/lib/labs/VSparkline/VTrendline.mjs.map +1 -0
- package/lib/labs/VSparkline/index.d.mts +374 -0
- package/lib/labs/VSparkline/index.mjs +2 -0
- package/lib/labs/VSparkline/index.mjs.map +1 -0
- package/lib/labs/VSparkline/util/line.mjs +52 -0
- package/lib/labs/VSparkline/util/line.mjs.map +1 -0
- package/lib/labs/VSparkline/util/path.mjs +60 -0
- package/lib/labs/VSparkline/util/path.mjs.map +1 -0
- package/lib/labs/components.d.mts +376 -1
- package/lib/labs/components.mjs +1 -0
- package/lib/labs/components.mjs.map +1 -1
- package/lib/locale/nl.mjs +1 -1
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/util/helpers.mjs +10 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
- package/lib/components/VDatePicker/VDatePickerTitle.mjs +0 -81
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerTitle.sass +0 -33
|
@@ -255,6 +255,7 @@ declare const VSelect: {
|
|
|
255
255
|
readonly: boolean | null;
|
|
256
256
|
noDataText: string;
|
|
257
257
|
messages: string | readonly string[];
|
|
258
|
+
tile: boolean;
|
|
258
259
|
density: Density;
|
|
259
260
|
valueComparator: typeof deepEqual;
|
|
260
261
|
clearIcon: IconValue;
|
|
@@ -316,6 +317,7 @@ declare const VSelect: {
|
|
|
316
317
|
tag: string;
|
|
317
318
|
mandatory: boolean;
|
|
318
319
|
rounded: string | number | boolean;
|
|
320
|
+
tile: boolean;
|
|
319
321
|
density: Density;
|
|
320
322
|
slim: boolean;
|
|
321
323
|
valueComparator: typeof deepEqual;
|
|
@@ -331,6 +333,7 @@ declare const VSelect: {
|
|
|
331
333
|
disabled: boolean;
|
|
332
334
|
tag: string;
|
|
333
335
|
mandatory: boolean;
|
|
336
|
+
tile: boolean;
|
|
334
337
|
density: Density;
|
|
335
338
|
slim: boolean;
|
|
336
339
|
valueComparator: typeof deepEqual;
|
|
@@ -374,6 +377,7 @@ declare const VSelect: {
|
|
|
374
377
|
disabled: boolean;
|
|
375
378
|
tag: string;
|
|
376
379
|
mandatory: boolean;
|
|
380
|
+
tile: boolean;
|
|
377
381
|
density: Density;
|
|
378
382
|
slim: boolean;
|
|
379
383
|
valueComparator: typeof deepEqual;
|
|
@@ -412,7 +416,7 @@ declare const VSelect: {
|
|
|
412
416
|
value: boolean;
|
|
413
417
|
path: unknown[];
|
|
414
418
|
}) => any) | undefined;
|
|
415
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
419
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
416
420
|
items?: readonly any[] | undefined;
|
|
417
421
|
itemTitle?: SelectItemKey<any>;
|
|
418
422
|
itemValue?: SelectItemKey<any>;
|
|
@@ -792,6 +796,7 @@ declare const VSelect: {
|
|
|
792
796
|
readonly: boolean | null;
|
|
793
797
|
noDataText: string;
|
|
794
798
|
messages: string | readonly string[];
|
|
799
|
+
tile: boolean;
|
|
795
800
|
density: Density;
|
|
796
801
|
valueComparator: typeof deepEqual;
|
|
797
802
|
clearIcon: IconValue;
|
|
@@ -853,6 +858,7 @@ declare const VSelect: {
|
|
|
853
858
|
tag: string;
|
|
854
859
|
mandatory: boolean;
|
|
855
860
|
rounded: string | number | boolean;
|
|
861
|
+
tile: boolean;
|
|
856
862
|
density: Density;
|
|
857
863
|
slim: boolean;
|
|
858
864
|
valueComparator: typeof deepEqual;
|
|
@@ -868,6 +874,7 @@ declare const VSelect: {
|
|
|
868
874
|
disabled: boolean;
|
|
869
875
|
tag: string;
|
|
870
876
|
mandatory: boolean;
|
|
877
|
+
tile: boolean;
|
|
871
878
|
density: Density;
|
|
872
879
|
slim: boolean;
|
|
873
880
|
valueComparator: typeof deepEqual;
|
|
@@ -911,6 +918,7 @@ declare const VSelect: {
|
|
|
911
918
|
disabled: boolean;
|
|
912
919
|
tag: string;
|
|
913
920
|
mandatory: boolean;
|
|
921
|
+
tile: boolean;
|
|
914
922
|
density: Density;
|
|
915
923
|
slim: boolean;
|
|
916
924
|
valueComparator: typeof deepEqual;
|
|
@@ -949,7 +957,7 @@ declare const VSelect: {
|
|
|
949
957
|
value: boolean;
|
|
950
958
|
path: unknown[];
|
|
951
959
|
}) => any) | undefined;
|
|
952
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
960
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
953
961
|
items?: readonly any[] | undefined;
|
|
954
962
|
itemTitle?: SelectItemKey<any>;
|
|
955
963
|
itemValue?: SelectItemKey<any>;
|
|
@@ -1326,6 +1334,7 @@ declare const VSelect: {
|
|
|
1326
1334
|
noDataText: string;
|
|
1327
1335
|
messages: string | readonly string[];
|
|
1328
1336
|
rounded: string | number | boolean;
|
|
1337
|
+
tile: boolean;
|
|
1329
1338
|
density: Density;
|
|
1330
1339
|
valueComparator: typeof deepEqual;
|
|
1331
1340
|
clearIcon: IconValue;
|
|
@@ -1439,6 +1448,7 @@ declare const VSelect: {
|
|
|
1439
1448
|
readonly: boolean | null;
|
|
1440
1449
|
noDataText: string;
|
|
1441
1450
|
messages: string | readonly string[];
|
|
1451
|
+
tile: boolean;
|
|
1442
1452
|
density: Density;
|
|
1443
1453
|
valueComparator: typeof deepEqual;
|
|
1444
1454
|
clearIcon: IconValue;
|
|
@@ -1500,6 +1510,7 @@ declare const VSelect: {
|
|
|
1500
1510
|
tag: string;
|
|
1501
1511
|
mandatory: boolean;
|
|
1502
1512
|
rounded: string | number | boolean;
|
|
1513
|
+
tile: boolean;
|
|
1503
1514
|
density: Density;
|
|
1504
1515
|
slim: boolean;
|
|
1505
1516
|
valueComparator: typeof deepEqual;
|
|
@@ -1515,6 +1526,7 @@ declare const VSelect: {
|
|
|
1515
1526
|
disabled: boolean;
|
|
1516
1527
|
tag: string;
|
|
1517
1528
|
mandatory: boolean;
|
|
1529
|
+
tile: boolean;
|
|
1518
1530
|
density: Density;
|
|
1519
1531
|
slim: boolean;
|
|
1520
1532
|
valueComparator: typeof deepEqual;
|
|
@@ -1558,6 +1570,7 @@ declare const VSelect: {
|
|
|
1558
1570
|
disabled: boolean;
|
|
1559
1571
|
tag: string;
|
|
1560
1572
|
mandatory: boolean;
|
|
1573
|
+
tile: boolean;
|
|
1561
1574
|
density: Density;
|
|
1562
1575
|
slim: boolean;
|
|
1563
1576
|
valueComparator: typeof deepEqual;
|
|
@@ -1596,7 +1609,7 @@ declare const VSelect: {
|
|
|
1596
1609
|
value: boolean;
|
|
1597
1610
|
path: unknown[];
|
|
1598
1611
|
}) => any) | undefined;
|
|
1599
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
1612
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
1600
1613
|
items?: readonly any[] | undefined;
|
|
1601
1614
|
itemTitle?: SelectItemKey<any>;
|
|
1602
1615
|
itemValue?: SelectItemKey<any>;
|
|
@@ -1973,6 +1986,7 @@ declare const VSelect: {
|
|
|
1973
1986
|
noDataText: string;
|
|
1974
1987
|
messages: string | readonly string[];
|
|
1975
1988
|
rounded: string | number | boolean;
|
|
1989
|
+
tile: boolean;
|
|
1976
1990
|
density: Density;
|
|
1977
1991
|
valueComparator: typeof deepEqual;
|
|
1978
1992
|
clearIcon: IconValue;
|
|
@@ -2023,6 +2037,7 @@ declare const VSelect: {
|
|
|
2023
2037
|
readonly: boolean | null;
|
|
2024
2038
|
noDataText: string;
|
|
2025
2039
|
messages: string | readonly string[];
|
|
2040
|
+
tile: boolean;
|
|
2026
2041
|
density: Density;
|
|
2027
2042
|
valueComparator: typeof deepEqual;
|
|
2028
2043
|
clearIcon: IconValue;
|
|
@@ -2084,6 +2099,7 @@ declare const VSelect: {
|
|
|
2084
2099
|
tag: string;
|
|
2085
2100
|
mandatory: boolean;
|
|
2086
2101
|
rounded: string | number | boolean;
|
|
2102
|
+
tile: boolean;
|
|
2087
2103
|
density: Density;
|
|
2088
2104
|
slim: boolean;
|
|
2089
2105
|
valueComparator: typeof deepEqual;
|
|
@@ -2099,6 +2115,7 @@ declare const VSelect: {
|
|
|
2099
2115
|
disabled: boolean;
|
|
2100
2116
|
tag: string;
|
|
2101
2117
|
mandatory: boolean;
|
|
2118
|
+
tile: boolean;
|
|
2102
2119
|
density: Density;
|
|
2103
2120
|
slim: boolean;
|
|
2104
2121
|
valueComparator: typeof deepEqual;
|
|
@@ -2142,6 +2159,7 @@ declare const VSelect: {
|
|
|
2142
2159
|
disabled: boolean;
|
|
2143
2160
|
tag: string;
|
|
2144
2161
|
mandatory: boolean;
|
|
2162
|
+
tile: boolean;
|
|
2145
2163
|
density: Density;
|
|
2146
2164
|
slim: boolean;
|
|
2147
2165
|
valueComparator: typeof deepEqual;
|
|
@@ -2180,7 +2198,7 @@ declare const VSelect: {
|
|
|
2180
2198
|
value: boolean;
|
|
2181
2199
|
path: unknown[];
|
|
2182
2200
|
}) => any) | undefined;
|
|
2183
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
2201
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
2184
2202
|
items?: readonly any[] | undefined;
|
|
2185
2203
|
itemTitle?: SelectItemKey<any>;
|
|
2186
2204
|
itemValue?: SelectItemKey<any>;
|
|
@@ -2561,6 +2579,7 @@ declare const VSelect: {
|
|
|
2561
2579
|
noDataText: string;
|
|
2562
2580
|
messages: string | readonly string[];
|
|
2563
2581
|
rounded: string | number | boolean;
|
|
2582
|
+
tile: boolean;
|
|
2564
2583
|
density: Density;
|
|
2565
2584
|
valueComparator: typeof deepEqual;
|
|
2566
2585
|
clearIcon: IconValue;
|
|
@@ -2771,6 +2790,7 @@ declare const VSelect: {
|
|
|
2771
2790
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
2772
2791
|
default: undefined;
|
|
2773
2792
|
};
|
|
2793
|
+
tile: BooleanConstructor;
|
|
2774
2794
|
density: {
|
|
2775
2795
|
type: PropType<Density>;
|
|
2776
2796
|
default: string;
|
|
@@ -2875,6 +2895,7 @@ declare const VSelect: {
|
|
|
2875
2895
|
tag: string;
|
|
2876
2896
|
mandatory: boolean;
|
|
2877
2897
|
rounded: string | number | boolean;
|
|
2898
|
+
tile: boolean;
|
|
2878
2899
|
density: Density;
|
|
2879
2900
|
slim: boolean;
|
|
2880
2901
|
valueComparator: typeof deepEqual;
|
|
@@ -2890,6 +2911,7 @@ declare const VSelect: {
|
|
|
2890
2911
|
disabled: boolean;
|
|
2891
2912
|
tag: string;
|
|
2892
2913
|
mandatory: boolean;
|
|
2914
|
+
tile: boolean;
|
|
2893
2915
|
density: Density;
|
|
2894
2916
|
slim: boolean;
|
|
2895
2917
|
valueComparator: typeof deepEqual;
|
|
@@ -2933,6 +2955,7 @@ declare const VSelect: {
|
|
|
2933
2955
|
disabled: boolean;
|
|
2934
2956
|
tag: string;
|
|
2935
2957
|
mandatory: boolean;
|
|
2958
|
+
tile: boolean;
|
|
2936
2959
|
density: Density;
|
|
2937
2960
|
slim: boolean;
|
|
2938
2961
|
valueComparator: typeof deepEqual;
|
|
@@ -2971,7 +2994,7 @@ declare const VSelect: {
|
|
|
2971
2994
|
value: boolean;
|
|
2972
2995
|
path: unknown[];
|
|
2973
2996
|
}) => any) | undefined;
|
|
2974
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
2997
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
2975
2998
|
items?: readonly any[] | undefined;
|
|
2976
2999
|
itemTitle?: SelectItemKey<any>;
|
|
2977
3000
|
itemValue?: SelectItemKey<any>;
|
|
@@ -3408,6 +3431,7 @@ declare const VSelect: {
|
|
|
3408
3431
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
3409
3432
|
default: undefined;
|
|
3410
3433
|
};
|
|
3434
|
+
tile: BooleanConstructor;
|
|
3411
3435
|
density: {
|
|
3412
3436
|
type: PropType<Density>;
|
|
3413
3437
|
default: string;
|
|
@@ -3512,6 +3536,7 @@ declare const VSelect: {
|
|
|
3512
3536
|
tag: string;
|
|
3513
3537
|
mandatory: boolean;
|
|
3514
3538
|
rounded: string | number | boolean;
|
|
3539
|
+
tile: boolean;
|
|
3515
3540
|
density: Density;
|
|
3516
3541
|
slim: boolean;
|
|
3517
3542
|
valueComparator: typeof deepEqual;
|
|
@@ -3527,6 +3552,7 @@ declare const VSelect: {
|
|
|
3527
3552
|
disabled: boolean;
|
|
3528
3553
|
tag: string;
|
|
3529
3554
|
mandatory: boolean;
|
|
3555
|
+
tile: boolean;
|
|
3530
3556
|
density: Density;
|
|
3531
3557
|
slim: boolean;
|
|
3532
3558
|
valueComparator: typeof deepEqual;
|
|
@@ -3570,6 +3596,7 @@ declare const VSelect: {
|
|
|
3570
3596
|
disabled: boolean;
|
|
3571
3597
|
tag: string;
|
|
3572
3598
|
mandatory: boolean;
|
|
3599
|
+
tile: boolean;
|
|
3573
3600
|
density: Density;
|
|
3574
3601
|
slim: boolean;
|
|
3575
3602
|
valueComparator: typeof deepEqual;
|
|
@@ -3608,7 +3635,7 @@ declare const VSelect: {
|
|
|
3608
3635
|
value: boolean;
|
|
3609
3636
|
path: unknown[];
|
|
3610
3637
|
}) => any) | undefined;
|
|
3611
|
-
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
3638
|
+
}, "variant" | "nav" | "style" | "disabled" | "tag" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "selectStrategy" | "openStrategy" | "lines" | "returnObject" | "itemType"> & {
|
|
3612
3639
|
items?: readonly any[] | undefined;
|
|
3613
3640
|
itemTitle?: SelectItemKey<any>;
|
|
3614
3641
|
itemValue?: SelectItemKey<any>;
|
|
@@ -15,6 +15,7 @@ declare const VSheet: {
|
|
|
15
15
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
|
16
16
|
style: vue.StyleValue;
|
|
17
17
|
tag: string;
|
|
18
|
+
tile: boolean;
|
|
18
19
|
} & {
|
|
19
20
|
location?: Anchor | undefined;
|
|
20
21
|
height?: string | number | undefined;
|
|
@@ -42,6 +43,7 @@ declare const VSheet: {
|
|
|
42
43
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
43
44
|
style: vue.StyleValue;
|
|
44
45
|
tag: string;
|
|
46
|
+
tile: boolean;
|
|
45
47
|
} & {
|
|
46
48
|
location?: Anchor | undefined;
|
|
47
49
|
height?: string | number | undefined;
|
|
@@ -70,6 +72,7 @@ declare const VSheet: {
|
|
|
70
72
|
style: vue.StyleValue;
|
|
71
73
|
tag: string;
|
|
72
74
|
rounded: string | number | boolean;
|
|
75
|
+
tile: boolean;
|
|
73
76
|
}, true, {}, vue.SlotsType<Partial<{
|
|
74
77
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
75
78
|
[key: string]: any;
|
|
@@ -84,6 +87,7 @@ declare const VSheet: {
|
|
|
84
87
|
}, {
|
|
85
88
|
style: vue.StyleValue;
|
|
86
89
|
tag: string;
|
|
90
|
+
tile: boolean;
|
|
87
91
|
} & {
|
|
88
92
|
location?: Anchor | undefined;
|
|
89
93
|
height?: string | number | undefined;
|
|
@@ -112,6 +116,7 @@ declare const VSheet: {
|
|
|
112
116
|
style: vue.StyleValue;
|
|
113
117
|
tag: string;
|
|
114
118
|
rounded: string | number | boolean;
|
|
119
|
+
tile: boolean;
|
|
115
120
|
}>;
|
|
116
121
|
__isFragment?: undefined;
|
|
117
122
|
__isTeleport?: undefined;
|
|
@@ -119,6 +124,7 @@ declare const VSheet: {
|
|
|
119
124
|
} & vue.ComponentOptionsBase<{
|
|
120
125
|
style: vue.StyleValue;
|
|
121
126
|
tag: string;
|
|
127
|
+
tile: boolean;
|
|
122
128
|
} & {
|
|
123
129
|
location?: Anchor | undefined;
|
|
124
130
|
height?: string | number | undefined;
|
|
@@ -147,6 +153,7 @@ declare const VSheet: {
|
|
|
147
153
|
style: vue.StyleValue;
|
|
148
154
|
tag: string;
|
|
149
155
|
rounded: string | number | boolean;
|
|
156
|
+
tile: boolean;
|
|
150
157
|
}, {}, string, vue.SlotsType<Partial<{
|
|
151
158
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
152
159
|
[key: string]: any;
|
|
@@ -161,6 +168,7 @@ declare const VSheet: {
|
|
|
161
168
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
162
169
|
default: undefined;
|
|
163
170
|
};
|
|
171
|
+
tile: BooleanConstructor;
|
|
164
172
|
position: {
|
|
165
173
|
type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
166
174
|
validator: (v: any) => boolean;
|
|
@@ -193,6 +201,7 @@ declare const VSheet: {
|
|
|
193
201
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
194
202
|
default: undefined;
|
|
195
203
|
};
|
|
204
|
+
tile: BooleanConstructor;
|
|
196
205
|
position: {
|
|
197
206
|
type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
198
207
|
validator: (v: any) => boolean;
|
|
@@ -50,6 +50,7 @@ declare const VSlider: {
|
|
|
50
50
|
step: string | number;
|
|
51
51
|
elevation: NonNullable<string | number>;
|
|
52
52
|
messages: string | readonly string[];
|
|
53
|
+
tile: boolean;
|
|
53
54
|
density: Density;
|
|
54
55
|
modelValue: string | number;
|
|
55
56
|
ripple: boolean;
|
|
@@ -152,6 +153,7 @@ declare const VSlider: {
|
|
|
152
153
|
step: string | number;
|
|
153
154
|
elevation: NonNullable<string | number>;
|
|
154
155
|
messages: string | readonly string[];
|
|
156
|
+
tile: boolean;
|
|
155
157
|
density: Density;
|
|
156
158
|
modelValue: string | number;
|
|
157
159
|
ripple: boolean;
|
|
@@ -250,6 +252,7 @@ declare const VSlider: {
|
|
|
250
252
|
elevation: NonNullable<string | number>;
|
|
251
253
|
messages: string | readonly string[];
|
|
252
254
|
rounded: string | number | boolean;
|
|
255
|
+
tile: boolean;
|
|
253
256
|
density: Density;
|
|
254
257
|
modelValue: string | number;
|
|
255
258
|
ripple: boolean;
|
|
@@ -314,6 +317,7 @@ declare const VSlider: {
|
|
|
314
317
|
step: string | number;
|
|
315
318
|
elevation: NonNullable<string | number>;
|
|
316
319
|
messages: string | readonly string[];
|
|
320
|
+
tile: boolean;
|
|
317
321
|
density: Density;
|
|
318
322
|
modelValue: string | number;
|
|
319
323
|
ripple: boolean;
|
|
@@ -412,6 +416,7 @@ declare const VSlider: {
|
|
|
412
416
|
elevation: NonNullable<string | number>;
|
|
413
417
|
messages: string | readonly string[];
|
|
414
418
|
rounded: string | number | boolean;
|
|
419
|
+
tile: boolean;
|
|
415
420
|
density: Density;
|
|
416
421
|
modelValue: string | number;
|
|
417
422
|
ripple: boolean;
|
|
@@ -443,6 +448,7 @@ declare const VSlider: {
|
|
|
443
448
|
step: string | number;
|
|
444
449
|
elevation: NonNullable<string | number>;
|
|
445
450
|
messages: string | readonly string[];
|
|
451
|
+
tile: boolean;
|
|
446
452
|
density: Density;
|
|
447
453
|
modelValue: string | number;
|
|
448
454
|
ripple: boolean;
|
|
@@ -546,6 +552,7 @@ declare const VSlider: {
|
|
|
546
552
|
elevation: NonNullable<string | number>;
|
|
547
553
|
messages: string | readonly string[];
|
|
548
554
|
rounded: string | number | boolean;
|
|
555
|
+
tile: boolean;
|
|
549
556
|
density: Density;
|
|
550
557
|
modelValue: string | number;
|
|
551
558
|
ripple: boolean;
|
|
@@ -670,6 +677,7 @@ declare const VSlider: {
|
|
|
670
677
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
671
678
|
default: undefined;
|
|
672
679
|
};
|
|
680
|
+
tile: BooleanConstructor;
|
|
673
681
|
max: {
|
|
674
682
|
type: (StringConstructor | NumberConstructor)[];
|
|
675
683
|
default: number;
|
|
@@ -791,6 +799,7 @@ declare const VSlider: {
|
|
|
791
799
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
792
800
|
default: undefined;
|
|
793
801
|
};
|
|
802
|
+
tile: BooleanConstructor;
|
|
794
803
|
max: {
|
|
795
804
|
type: (StringConstructor | NumberConstructor)[];
|
|
796
805
|
default: number;
|
|
@@ -160,12 +160,11 @@ export const VSnackbar = genericComponent()({
|
|
|
160
160
|
"scrollStrategy": "none",
|
|
161
161
|
"_disableGlobalStack": true
|
|
162
162
|
}, scopeId), {
|
|
163
|
-
default: () => [genOverlays(false, 'v-snackbar'), props.timer && _createVNode("div", {
|
|
163
|
+
default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && _createVNode("div", {
|
|
164
164
|
"key": "timer",
|
|
165
165
|
"class": "v-snackbar__timer"
|
|
166
166
|
}, [_createVNode(VProgressLinear, {
|
|
167
167
|
"ref": timerRef,
|
|
168
|
-
"active": !isHovering.value,
|
|
169
168
|
"color": typeof props.timer === 'string' ? props.timer : 'info',
|
|
170
169
|
"max": props.timeout,
|
|
171
170
|
"model-value": countdown.time.value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VSnackbar.mjs","names":["VDefaultsProvider","VOverlay","makeVOverlayProps","VProgressLinear","forwardRefs","makeLocationProps","useLocation","makePositionProps","usePosition","useProxiedModel","makeRoundedProps","useRounded","useScopeId","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","mergeProps","nextTick","onMounted","onScopeDispose","ref","shallowRef","watch","genericComponent","omit","propsFactory","refElement","useRender","useCountdown","milliseconds","time","timer","clear","clearInterval","reset","value","start","el","style","getComputedStyle","transitionDuration","interval","parseFloat","startTime","performance","now","window","setInterval","elapsed","Math","max","makeVSnackbarProps","multiLine","Boolean","text","String","timeout","type","Number","default","vertical","location","transition","VSnackbar","name","props","emits","v","setup","_ref","slots","isActive","locationStyles","positionClasses","scopeId","themeClasses","colorClasses","colorStyles","variantClasses","roundedClasses","countdown","overlay","timerRef","isHovering","startTimeout","activeTimeout","clearTimeout","element","setTimeout","onPointerenter","onPointerleave","overlayProps","filterProps","hasContent","_createVNode","_mergeProps","class","$event","contentProps","actions","VBtn","variant","ripple","slim","activator"],"sources":["../../../src/components/VSnackbar/VSnackbar.tsx"],"sourcesContent":["// Styles\nimport './VSnackbar.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\nimport { VProgressLinear } from '@/components/VProgressLinear'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makePositionProps, usePosition } from '@/composables/position'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { useScopeId } from '@/composables/scopeId'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Utilities\nimport { mergeProps, nextTick, onMounted, onScopeDispose, ref, shallowRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory, refElement, useRender } from '@/util'\n\ntype VSnackbarSlots = {\n activator: { isActive: boolean, props: Record<string, any> }\n default: never\n actions: never\n text: never\n}\n\nfunction useCountdown (milliseconds: number) {\n const time = shallowRef(milliseconds)\n let timer = -1\n\n function clear () {\n clearInterval(timer)\n }\n\n function reset () {\n clear()\n\n nextTick(() => time.value = milliseconds)\n }\n\n function start (el?: HTMLElement) {\n const style = el ? getComputedStyle(el) : { transitionDuration: 0.2 }\n const interval = parseFloat(style.transitionDuration) * 1000 || 200\n\n clear()\n\n if (time.value <= 0) return\n\n const startTime = performance.now()\n timer = window.setInterval(() => {\n const elapsed = performance.now() - startTime + interval\n time.value = Math.max(milliseconds - elapsed, 0)\n\n if (time.value <= 0) clear()\n }, interval)\n }\n\n onScopeDispose(clear)\n\n return { clear, time, start, reset }\n}\n\nexport const makeVSnackbarProps = propsFactory({\n multiLine: Boolean,\n text: String,\n timer: [Boolean, String],\n timeout: {\n type: [Number, String],\n default: 5000,\n },\n vertical: Boolean,\n\n ...makeLocationProps({ location: 'bottom' } as const),\n ...makePositionProps(),\n ...makeRoundedProps(),\n ...makeVariantProps(),\n ...makeThemeProps(),\n ...omit(makeVOverlayProps({\n transition: 'v-snackbar-transition',\n }), ['persistent', 'noClickAnimation', 'scrim', 'scrollStrategy']),\n}, 'VSnackbar')\n\nexport const VSnackbar = genericComponent<VSnackbarSlots>()({\n name: 'VSnackbar',\n\n props: makeVSnackbarProps(),\n\n emits: {\n 'update:modelValue': (v: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { locationStyles } = useLocation(props)\n const { positionClasses } = usePosition(props)\n const { scopeId } = useScopeId()\n const { themeClasses } = provideTheme(props)\n const { colorClasses, colorStyles, variantClasses } = useVariant(props)\n const { roundedClasses } = useRounded(props)\n const countdown = useCountdown(Number(props.timeout))\n\n const overlay = ref<VOverlay>()\n const timerRef = ref<VProgressLinear>()\n const isHovering = shallowRef(false)\n\n watch(isActive, startTimeout)\n watch(() => props.timeout, startTimeout)\n\n onMounted(() => {\n if (isActive.value) startTimeout()\n })\n\n let activeTimeout = -1\n function startTimeout () {\n countdown.reset()\n window.clearTimeout(activeTimeout)\n const timeout = Number(props.timeout)\n\n if (!isActive.value || timeout === -1) return\n\n const element = refElement(timerRef.value)\n\n countdown.start(element)\n\n activeTimeout = window.setTimeout(() => {\n isActive.value = false\n }, timeout)\n }\n\n function clearTimeout () {\n countdown.reset()\n window.clearTimeout(activeTimeout)\n }\n\n function onPointerenter () {\n isHovering.value = true\n clearTimeout()\n }\n\n function onPointerleave () {\n isHovering.value = false\n startTimeout()\n }\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const hasContent = !!(slots.default || slots.text || props.text)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-snackbar',\n {\n 'v-snackbar--active': isActive.value,\n 'v-snackbar--multi-line': props.multiLine && !props.vertical,\n 'v-snackbar--timer': !!props.timer,\n 'v-snackbar--vertical': props.vertical,\n },\n positionClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n contentProps={ mergeProps({\n class: [\n 'v-snackbar__wrapper',\n themeClasses.value,\n colorClasses.value,\n roundedClasses.value,\n variantClasses.value,\n ],\n style: [\n locationStyles.value,\n colorStyles.value,\n ],\n onPointerenter,\n onPointerleave,\n }, overlayProps.contentProps)}\n persistent\n noClickAnimation\n scrim={ false }\n scrollStrategy=\"none\"\n _disableGlobalStack\n { ...scopeId }\n v-slots={{ activator: slots.activator }}\n >\n { genOverlays(false, 'v-snackbar') }\n\n { props.timer && (\n <div key=\"timer\" class=\"v-snackbar__timer\">\n <VProgressLinear\n ref={ timerRef }\n active={ !isHovering.value }\n color={ typeof props.timer === 'string' ? props.timer : 'info' }\n max={ props.timeout }\n model-value={ countdown.time.value }\n />\n </div>\n )}\n\n { hasContent && (\n <div\n key=\"content\"\n class=\"v-snackbar__content\"\n role=\"status\"\n aria-live=\"polite\"\n >\n { slots.text?.() ?? props.text }\n\n { slots.default?.() }\n </div>\n )}\n\n { slots.actions && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n variant: 'text',\n ripple: false,\n slim: true,\n },\n }}\n >\n <div class=\"v-snackbar__actions\">\n { slots.actions() }\n </div>\n </VDefaultsProvider>\n )}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VSnackbar = InstanceType<typeof VSnackbar>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB;AAAA,SACjBC,eAAe,wCAExB;AAAA,SACSC,WAAW;AAAA,SACXC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,UAAU;AAAA,SACVC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,WAAW,EAAEC,gBAAgB,EAAEC,UAAU,yCAElD;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,cAAc,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACpFC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,UAAU,EAAEC,SAAS;AASpE,SAASC,YAAYA,CAAEC,YAAoB,EAAE;EAC3C,MAAMC,IAAI,GAAGT,UAAU,CAACQ,YAAY,CAAC;EACrC,IAAIE,KAAK,GAAG,CAAC,CAAC;EAEd,SAASC,KAAKA,CAAA,EAAI;IAChBC,aAAa,CAACF,KAAK,CAAC;EACtB;EAEA,SAASG,KAAKA,CAAA,EAAI;IAChBF,KAAK,CAAC,CAAC;IAEPf,QAAQ,CAAC,MAAMa,IAAI,CAACK,KAAK,GAAGN,YAAY,CAAC;EAC3C;EAEA,SAASO,KAAKA,CAAEC,EAAgB,EAAE;IAChC,MAAMC,KAAK,GAAGD,EAAE,G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AM;UAAA,OACxDkC,KAAK,CAACT,OAAO;UAAA,eACLwB,SAAS,CAAClD,IAAI,CAACK;QAAK,UAGvC,EAEC0D,UAAU,IAAAC,YAAA;UAAA;UAAA;UAAA;UAAA;QAAA,IAONxB,KAAK,CAAChB,IAAI,GAAG,CAAC,IAAIW,KAAK,CAACX,IAAI,EAE5BgB,KAAK,CAACX,OAAO,GAAG,CAAC,EAEtB,EAECW,KAAK,CAAC6B,OAAO,IAAAL,YAAA,CAAAhG,iBAAA;UAAA,YAED;YACRsG,IAAI,EAAE;cACJC,OAAO,EAAE,MAAM;cACfC,MAAM,EAAE,KAAK;cACbC,IAAI,EAAE;YACR;UACF;QAAC;UAAA5C,OAAA,EAAAA,CAAA,MAAAmC,YAAA;YAAA;UAAA,IAGGxB,KAAK,CAAC6B,OAAO,CAAC,CAAC;QAAA,EAGtB;QA3CUK,SAAS,EAAElC,KAAK,CAACkC;MAAS;IA8C3C,CAAC,CAAC;IAEF,OAAOtG,WAAW,CAAC,CAAC,CAAC,EAAE+E,OAAO,CAAC;EACjC;AACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"VSnackbar.mjs","names":["VDefaultsProvider","VOverlay","makeVOverlayProps","VProgressLinear","forwardRefs","makeLocationProps","useLocation","makePositionProps","usePosition","useProxiedModel","makeRoundedProps","useRounded","useScopeId","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","mergeProps","nextTick","onMounted","onScopeDispose","ref","shallowRef","watch","genericComponent","omit","propsFactory","refElement","useRender","useCountdown","milliseconds","time","timer","clear","clearInterval","reset","value","start","el","style","getComputedStyle","transitionDuration","interval","parseFloat","startTime","performance","now","window","setInterval","elapsed","Math","max","makeVSnackbarProps","multiLine","Boolean","text","String","timeout","type","Number","default","vertical","location","transition","VSnackbar","name","props","emits","v","setup","_ref","slots","isActive","locationStyles","positionClasses","scopeId","themeClasses","colorClasses","colorStyles","variantClasses","roundedClasses","countdown","overlay","timerRef","isHovering","startTimeout","activeTimeout","clearTimeout","element","setTimeout","onPointerenter","onPointerleave","overlayProps","filterProps","hasContent","_createVNode","_mergeProps","class","$event","contentProps","actions","VBtn","variant","ripple","slim","activator"],"sources":["../../../src/components/VSnackbar/VSnackbar.tsx"],"sourcesContent":["// Styles\nimport './VSnackbar.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\nimport { VProgressLinear } from '@/components/VProgressLinear'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makePositionProps, usePosition } from '@/composables/position'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { useScopeId } from '@/composables/scopeId'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Utilities\nimport { mergeProps, nextTick, onMounted, onScopeDispose, ref, shallowRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory, refElement, useRender } from '@/util'\n\ntype VSnackbarSlots = {\n activator: { isActive: boolean, props: Record<string, any> }\n default: never\n actions: never\n text: never\n}\n\nfunction useCountdown (milliseconds: number) {\n const time = shallowRef(milliseconds)\n let timer = -1\n\n function clear () {\n clearInterval(timer)\n }\n\n function reset () {\n clear()\n\n nextTick(() => time.value = milliseconds)\n }\n\n function start (el?: HTMLElement) {\n const style = el ? getComputedStyle(el) : { transitionDuration: 0.2 }\n const interval = parseFloat(style.transitionDuration) * 1000 || 200\n\n clear()\n\n if (time.value <= 0) return\n\n const startTime = performance.now()\n timer = window.setInterval(() => {\n const elapsed = performance.now() - startTime + interval\n time.value = Math.max(milliseconds - elapsed, 0)\n\n if (time.value <= 0) clear()\n }, interval)\n }\n\n onScopeDispose(clear)\n\n return { clear, time, start, reset }\n}\n\nexport const makeVSnackbarProps = propsFactory({\n multiLine: Boolean,\n text: String,\n timer: [Boolean, String],\n timeout: {\n type: [Number, String],\n default: 5000,\n },\n vertical: Boolean,\n\n ...makeLocationProps({ location: 'bottom' } as const),\n ...makePositionProps(),\n ...makeRoundedProps(),\n ...makeVariantProps(),\n ...makeThemeProps(),\n ...omit(makeVOverlayProps({\n transition: 'v-snackbar-transition',\n }), ['persistent', 'noClickAnimation', 'scrim', 'scrollStrategy']),\n}, 'VSnackbar')\n\nexport const VSnackbar = genericComponent<VSnackbarSlots>()({\n name: 'VSnackbar',\n\n props: makeVSnackbarProps(),\n\n emits: {\n 'update:modelValue': (v: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { locationStyles } = useLocation(props)\n const { positionClasses } = usePosition(props)\n const { scopeId } = useScopeId()\n const { themeClasses } = provideTheme(props)\n const { colorClasses, colorStyles, variantClasses } = useVariant(props)\n const { roundedClasses } = useRounded(props)\n const countdown = useCountdown(Number(props.timeout))\n\n const overlay = ref<VOverlay>()\n const timerRef = ref<VProgressLinear>()\n const isHovering = shallowRef(false)\n\n watch(isActive, startTimeout)\n watch(() => props.timeout, startTimeout)\n\n onMounted(() => {\n if (isActive.value) startTimeout()\n })\n\n let activeTimeout = -1\n function startTimeout () {\n countdown.reset()\n window.clearTimeout(activeTimeout)\n const timeout = Number(props.timeout)\n\n if (!isActive.value || timeout === -1) return\n\n const element = refElement(timerRef.value)\n\n countdown.start(element)\n\n activeTimeout = window.setTimeout(() => {\n isActive.value = false\n }, timeout)\n }\n\n function clearTimeout () {\n countdown.reset()\n window.clearTimeout(activeTimeout)\n }\n\n function onPointerenter () {\n isHovering.value = true\n clearTimeout()\n }\n\n function onPointerleave () {\n isHovering.value = false\n startTimeout()\n }\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const hasContent = !!(slots.default || slots.text || props.text)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-snackbar',\n {\n 'v-snackbar--active': isActive.value,\n 'v-snackbar--multi-line': props.multiLine && !props.vertical,\n 'v-snackbar--timer': !!props.timer,\n 'v-snackbar--vertical': props.vertical,\n },\n positionClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n contentProps={ mergeProps({\n class: [\n 'v-snackbar__wrapper',\n themeClasses.value,\n colorClasses.value,\n roundedClasses.value,\n variantClasses.value,\n ],\n style: [\n locationStyles.value,\n colorStyles.value,\n ],\n onPointerenter,\n onPointerleave,\n }, overlayProps.contentProps)}\n persistent\n noClickAnimation\n scrim={ false }\n scrollStrategy=\"none\"\n _disableGlobalStack\n { ...scopeId }\n v-slots={{ activator: slots.activator }}\n >\n { genOverlays(false, 'v-snackbar') }\n\n { props.timer && !isHovering.value && (\n <div key=\"timer\" class=\"v-snackbar__timer\">\n <VProgressLinear\n ref={ timerRef }\n color={ typeof props.timer === 'string' ? props.timer : 'info' }\n max={ props.timeout }\n model-value={ countdown.time.value }\n />\n </div>\n )}\n\n { hasContent && (\n <div\n key=\"content\"\n class=\"v-snackbar__content\"\n role=\"status\"\n aria-live=\"polite\"\n >\n { slots.text?.() ?? props.text }\n\n { slots.default?.() }\n </div>\n )}\n\n { slots.actions && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n variant: 'text',\n ripple: false,\n slim: true,\n },\n }}\n >\n <div class=\"v-snackbar__actions\">\n { slots.actions() }\n </div>\n </VDefaultsProvider>\n )}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VSnackbar = InstanceType<typeof VSnackbar>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB;AAAA,SACjBC,eAAe,wCAExB;AAAA,SACSC,WAAW;AAAA,SACXC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5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,KAAK,CAACkC;MAAS;IA6C3C,CAAC,CAAC;IAEF,OAAOtG,WAAW,CAAC,CAAC,CAAC,EAAE+E,OAAO,CAAC;EACjC;AACF,CAAC,CAAC"}
|
|
@@ -99,6 +99,7 @@ declare const VSnackbar: {
|
|
|
99
99
|
disabled: boolean;
|
|
100
100
|
timeout: string | number;
|
|
101
101
|
vertical: boolean;
|
|
102
|
+
tile: boolean;
|
|
102
103
|
modelValue: boolean;
|
|
103
104
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
104
105
|
updateLocation: (e: Event) => void;
|
|
@@ -620,6 +621,7 @@ declare const VSnackbar: {
|
|
|
620
621
|
disabled: boolean;
|
|
621
622
|
timeout: string | number;
|
|
622
623
|
vertical: boolean;
|
|
624
|
+
tile: boolean;
|
|
623
625
|
modelValue: boolean;
|
|
624
626
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
625
627
|
updateLocation: (e: Event) => void;
|
|
@@ -699,6 +701,7 @@ declare const VSnackbar: {
|
|
|
699
701
|
timeout: string | number;
|
|
700
702
|
vertical: boolean;
|
|
701
703
|
rounded: string | number | boolean;
|
|
704
|
+
tile: boolean;
|
|
702
705
|
modelValue: boolean;
|
|
703
706
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
704
707
|
updateLocation: (e: Event) => void;
|
|
@@ -748,6 +751,7 @@ declare const VSnackbar: {
|
|
|
748
751
|
disabled: boolean;
|
|
749
752
|
timeout: string | number;
|
|
750
753
|
vertical: boolean;
|
|
754
|
+
tile: boolean;
|
|
751
755
|
modelValue: boolean;
|
|
752
756
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
753
757
|
updateLocation: (e: Event) => void;
|
|
@@ -1268,6 +1272,7 @@ declare const VSnackbar: {
|
|
|
1268
1272
|
timeout: string | number;
|
|
1269
1273
|
vertical: boolean;
|
|
1270
1274
|
rounded: string | number | boolean;
|
|
1275
|
+
tile: boolean;
|
|
1271
1276
|
modelValue: boolean;
|
|
1272
1277
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1273
1278
|
updateLocation: (e: Event) => void;
|
|
@@ -1298,6 +1303,7 @@ declare const VSnackbar: {
|
|
|
1298
1303
|
disabled: boolean;
|
|
1299
1304
|
timeout: string | number;
|
|
1300
1305
|
vertical: boolean;
|
|
1306
|
+
tile: boolean;
|
|
1301
1307
|
modelValue: boolean;
|
|
1302
1308
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1303
1309
|
updateLocation: (e: Event) => void;
|
|
@@ -1820,6 +1826,7 @@ declare const VSnackbar: {
|
|
|
1820
1826
|
timeout: string | number;
|
|
1821
1827
|
vertical: boolean;
|
|
1822
1828
|
rounded: string | number | boolean;
|
|
1829
|
+
tile: boolean;
|
|
1823
1830
|
modelValue: boolean;
|
|
1824
1831
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1825
1832
|
updateLocation: (e: Event) => void;
|
|
@@ -1936,6 +1943,7 @@ declare const VSnackbar: {
|
|
|
1936
1943
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
1937
1944
|
default: undefined;
|
|
1938
1945
|
};
|
|
1946
|
+
tile: BooleanConstructor;
|
|
1939
1947
|
position: {
|
|
1940
1948
|
type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
1941
1949
|
validator: (v: any) => boolean;
|
|
@@ -2036,6 +2044,7 @@ declare const VSnackbar: {
|
|
|
2036
2044
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
2037
2045
|
default: undefined;
|
|
2038
2046
|
};
|
|
2047
|
+
tile: BooleanConstructor;
|
|
2039
2048
|
position: {
|
|
2040
2049
|
type: vue.PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
2041
2050
|
validator: (v: any) => boolean;
|
|
@@ -350,6 +350,7 @@ declare const VStepper: {
|
|
|
350
350
|
tag: string;
|
|
351
351
|
mandatory: NonNullable<boolean | "force">;
|
|
352
352
|
items: readonly StepperItem[];
|
|
353
|
+
tile: boolean;
|
|
353
354
|
selectedClass: string;
|
|
354
355
|
itemTitle: string;
|
|
355
356
|
itemValue: string;
|
|
@@ -435,6 +436,7 @@ declare const VStepper: {
|
|
|
435
436
|
tag: string;
|
|
436
437
|
mandatory: NonNullable<boolean | "force">;
|
|
437
438
|
items: readonly StepperItem[];
|
|
439
|
+
tile: boolean;
|
|
438
440
|
selectedClass: string;
|
|
439
441
|
itemTitle: string;
|
|
440
442
|
itemValue: string;
|
|
@@ -516,6 +518,7 @@ declare const VStepper: {
|
|
|
516
518
|
mandatory: NonNullable<boolean | "force">;
|
|
517
519
|
items: readonly StepperItem[];
|
|
518
520
|
rounded: string | number | boolean;
|
|
521
|
+
tile: boolean;
|
|
519
522
|
modelValue: any;
|
|
520
523
|
selectedClass: string;
|
|
521
524
|
itemTitle: string;
|
|
@@ -579,6 +582,7 @@ declare const VStepper: {
|
|
|
579
582
|
tag: string;
|
|
580
583
|
mandatory: NonNullable<boolean | "force">;
|
|
581
584
|
items: readonly StepperItem[];
|
|
585
|
+
tile: boolean;
|
|
582
586
|
selectedClass: string;
|
|
583
587
|
itemTitle: string;
|
|
584
588
|
itemValue: string;
|
|
@@ -663,6 +667,7 @@ declare const VStepper: {
|
|
|
663
667
|
mandatory: NonNullable<boolean | "force">;
|
|
664
668
|
items: readonly StepperItem[];
|
|
665
669
|
rounded: string | number | boolean;
|
|
670
|
+
tile: boolean;
|
|
666
671
|
modelValue: any;
|
|
667
672
|
selectedClass: string;
|
|
668
673
|
itemTitle: string;
|
|
@@ -686,6 +691,7 @@ declare const VStepper: {
|
|
|
686
691
|
tag: string;
|
|
687
692
|
mandatory: NonNullable<boolean | "force">;
|
|
688
693
|
items: readonly StepperItem[];
|
|
694
|
+
tile: boolean;
|
|
689
695
|
selectedClass: string;
|
|
690
696
|
itemTitle: string;
|
|
691
697
|
itemValue: string;
|
|
@@ -772,6 +778,7 @@ declare const VStepper: {
|
|
|
772
778
|
mandatory: NonNullable<boolean | "force">;
|
|
773
779
|
items: readonly StepperItem[];
|
|
774
780
|
rounded: string | number | boolean;
|
|
781
|
+
tile: boolean;
|
|
775
782
|
modelValue: any;
|
|
776
783
|
selectedClass: string;
|
|
777
784
|
itemTitle: string;
|
|
@@ -837,6 +844,7 @@ declare const VStepper: {
|
|
|
837
844
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
838
845
|
default: undefined;
|
|
839
846
|
};
|
|
847
|
+
tile: BooleanConstructor;
|
|
840
848
|
position: {
|
|
841
849
|
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
842
850
|
validator: (v: any) => boolean;
|
|
@@ -911,6 +919,7 @@ declare const VStepper: {
|
|
|
911
919
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
912
920
|
default: undefined;
|
|
913
921
|
};
|
|
922
|
+
tile: BooleanConstructor;
|
|
914
923
|
position: {
|
|
915
924
|
type: PropType<"fixed" | "absolute" | "static" | "sticky" | "relative">;
|
|
916
925
|
validator: (v: any) => boolean;
|