@vuetify/nightly 3.7.0-beta.1-dev.2024-07-29 → 3.7.0-beta.1-dev.2024-08-01
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 +17 -5
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +112 -112
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +44 -14
- package/dist/vuetify-labs.css +4400 -3677
- package/dist/vuetify-labs.d.ts +219 -117
- package/dist/vuetify-labs.esm.js +125 -77
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +125 -77
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3534 -2811
- package/dist/vuetify.d.ts +230 -146
- package/dist/vuetify.esm.js +62 -39
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +62 -39
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +52 -51
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +5 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +4 -0
- package/lib/components/VAutocomplete/index.d.mts +42 -24
- package/lib/components/VAvatar/VAvatar.css +8 -4
- package/lib/components/VAvatar/VAvatar.mjs +1 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +2 -0
- package/lib/components/VBanner/VBanner.css +12 -4
- package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
- package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
- package/lib/components/VBtn/VBtn.css +16 -9
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
- package/lib/components/VCard/VCard.css +9 -1
- package/lib/components/VCarousel/VCarousel.css +2 -0
- package/lib/components/VChip/VChip.css +15 -9
- package/lib/components/VChip/VChip.sass +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +2 -0
- package/lib/components/VColorPicker/VColorPicker.sass +4 -4
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
- package/lib/components/VCombobox/VCombobox.css +4 -0
- package/lib/components/VCombobox/index.d.mts +42 -24
- package/lib/components/VDialog/VDialog.css +5 -0
- package/lib/components/VDialog/index.d.mts +3 -3
- package/lib/components/VDivider/VDivider.css +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
- package/lib/components/VField/VField.css +13 -1
- package/lib/components/VField/VField.sass +5 -8
- package/lib/components/VFooter/VFooter.css +12 -4
- package/lib/components/VFooter/VFooter.mjs +20 -14
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +3 -3
- package/lib/components/VGrid/VGrid.sass +1 -1
- package/lib/components/VGrid/_mixins.sass +4 -4
- package/lib/components/VImg/VImg.css +6 -0
- package/lib/components/VKbd/VKbd.css +2 -0
- package/lib/components/VList/VList.css +12 -4
- package/lib/components/VList/VListItem.css +21 -11
- package/lib/components/VList/VListItem.mjs +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -1
- package/lib/components/VMain/VMain.css +2 -0
- package/lib/components/VMenu/VMenu.css +6 -0
- package/lib/components/VMenu/VMenu.mjs +20 -4
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +27 -12
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
- package/lib/components/VOtpInput/VOtpInput.css +3 -1
- package/lib/components/VOtpInput/VOtpInput.sass +1 -2
- package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +5 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +3 -2
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +4 -0
- package/lib/components/VSelect/index.d.mts +42 -24
- package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
- package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
- package/lib/components/VSheet/VSheet.css +12 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
- package/lib/components/VSlider/VSliderThumb.sass +2 -2
- package/lib/components/VSnackbar/VSnackbar.css +2 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSpeedDial/index.d.mts +28 -13
- package/lib/components/VStepper/VStepper.css +8 -2
- package/lib/components/VStepper/VStepper.sass +2 -4
- package/lib/components/VStepper/VStepperItem.css +4 -1
- package/lib/components/VStepper/VStepperItem.sass +1 -1
- package/lib/components/VSwitch/VSwitch.css +2 -0
- package/lib/components/VSwitch/VSwitch.sass +10 -10
- package/lib/components/VSystemBar/VSystemBar.css +14 -8
- package/lib/components/VTable/VTable.css +8 -4
- package/lib/components/VTable/VTable.sass +2 -3
- package/lib/components/VTimeline/VTimeline.css +2 -0
- package/lib/components/VToolbar/VToolbar.css +21 -7
- package/lib/components/VToolbar/VToolbar.sass +1 -2
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/VTreeview/VTreeview.sass +9 -9
- package/lib/components/index.d.mts +193 -109
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +37 -37
- package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +17 -8
- package/lib/labs/VPicker/VPicker.css +6 -2
- package/lib/labs/VPicker/VPicker.sass +2 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +4 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -1
- package/lib/labs/VPullToRefresh/index.d.mts +9 -0
- package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
- package/lib/labs/components.d.mts +29 -11
- package/lib/styles/generic/_colors.scss +9 -3
- package/lib/styles/main.css +520 -0
- package/lib/styles/tools/_absolute.sass +8 -7
- package/lib/styles/tools/_border.sass +4 -3
- package/lib/styles/tools/_display.sass +8 -7
- package/lib/styles/tools/_elevation.sass +4 -2
- package/lib/styles/tools/_index.sass +0 -1
- package/lib/styles/tools/_radius.sass +6 -5
- package/lib/styles/tools/_rounded.sass +2 -1
- package/lib/styles/tools/_theme.sass +3 -2
- package/lib/styles/tools/_typography.sass +6 -5
- package/lib/styles/tools/_utilities.sass +5 -5
- package/lib/styles/utilities/_index.sass +7 -7
- package/package.json +1 -1
- package/lib/styles/tools/_sheet.sass +0 -14
@@ -626,7 +626,7 @@ declare const VCombobox: {
|
|
626
626
|
}) => vue.VNodeChild) | undefined;
|
627
627
|
}) | undefined;
|
628
628
|
menuProps?: (Partial<{
|
629
|
-
location: Anchor;
|
629
|
+
location: NonNullable<Anchor> | undefined;
|
630
630
|
origin: "auto" | Anchor | "overlap";
|
631
631
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
632
632
|
component?: vue.Component | undefined;
|
@@ -654,8 +654,9 @@ declare const VCombobox: {
|
|
654
654
|
noClickAnimation: boolean;
|
655
655
|
persistent: boolean;
|
656
656
|
scrim: NonNullable<string | boolean>;
|
657
|
+
submenu: boolean;
|
657
658
|
}> & Omit<{
|
658
|
-
location: Anchor;
|
659
|
+
location: NonNullable<Anchor> | undefined;
|
659
660
|
origin: "auto" | Anchor | "overlap";
|
660
661
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
661
662
|
component?: vue.Component | undefined;
|
@@ -681,6 +682,7 @@ declare const VCombobox: {
|
|
681
682
|
noClickAnimation: boolean;
|
682
683
|
persistent: boolean;
|
683
684
|
scrim: NonNullable<string | boolean>;
|
685
|
+
submenu: boolean;
|
684
686
|
offset?: string | number | number[] | undefined;
|
685
687
|
id?: string | undefined;
|
686
688
|
height?: string | number | undefined;
|
@@ -731,7 +733,7 @@ declare const VCombobox: {
|
|
731
733
|
}) => vue.VNodeChild) | undefined;
|
732
734
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
733
735
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
734
|
-
location: Anchor;
|
736
|
+
location: NonNullable<Anchor> | undefined;
|
735
737
|
origin: "auto" | Anchor | "overlap";
|
736
738
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
737
739
|
component?: vue.Component | undefined;
|
@@ -757,6 +759,7 @@ declare const VCombobox: {
|
|
757
759
|
noClickAnimation: boolean;
|
758
760
|
persistent: boolean;
|
759
761
|
scrim: NonNullable<string | boolean>;
|
762
|
+
submenu: boolean;
|
760
763
|
} & {
|
761
764
|
offset?: string | number | number[] | undefined;
|
762
765
|
id?: string | undefined;
|
@@ -810,7 +813,7 @@ declare const VCombobox: {
|
|
810
813
|
}) => vue.VNodeChild) | undefined;
|
811
814
|
} & {
|
812
815
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
813
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">) | undefined;
|
816
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">) | undefined;
|
814
817
|
itemColor?: string | undefined;
|
815
818
|
autoSelectFirst?: boolean | "exact" | undefined;
|
816
819
|
} & {
|
@@ -1166,7 +1169,7 @@ declare const VCombobox: {
|
|
1166
1169
|
}) => vue.VNodeChild) | undefined;
|
1167
1170
|
}) | undefined;
|
1168
1171
|
menuProps?: (Partial<{
|
1169
|
-
location: Anchor;
|
1172
|
+
location: NonNullable<Anchor> | undefined;
|
1170
1173
|
origin: "auto" | Anchor | "overlap";
|
1171
1174
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1172
1175
|
component?: vue.Component | undefined;
|
@@ -1194,8 +1197,9 @@ declare const VCombobox: {
|
|
1194
1197
|
noClickAnimation: boolean;
|
1195
1198
|
persistent: boolean;
|
1196
1199
|
scrim: NonNullable<string | boolean>;
|
1200
|
+
submenu: boolean;
|
1197
1201
|
}> & Omit<{
|
1198
|
-
location: Anchor;
|
1202
|
+
location: NonNullable<Anchor> | undefined;
|
1199
1203
|
origin: "auto" | Anchor | "overlap";
|
1200
1204
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1201
1205
|
component?: vue.Component | undefined;
|
@@ -1221,6 +1225,7 @@ declare const VCombobox: {
|
|
1221
1225
|
noClickAnimation: boolean;
|
1222
1226
|
persistent: boolean;
|
1223
1227
|
scrim: NonNullable<string | boolean>;
|
1228
|
+
submenu: boolean;
|
1224
1229
|
offset?: string | number | number[] | undefined;
|
1225
1230
|
id?: string | undefined;
|
1226
1231
|
height?: string | number | undefined;
|
@@ -1271,7 +1276,7 @@ declare const VCombobox: {
|
|
1271
1276
|
}) => vue.VNodeChild) | undefined;
|
1272
1277
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
1273
1278
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
1274
|
-
location: Anchor;
|
1279
|
+
location: NonNullable<Anchor> | undefined;
|
1275
1280
|
origin: "auto" | Anchor | "overlap";
|
1276
1281
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1277
1282
|
component?: vue.Component | undefined;
|
@@ -1297,6 +1302,7 @@ declare const VCombobox: {
|
|
1297
1302
|
noClickAnimation: boolean;
|
1298
1303
|
persistent: boolean;
|
1299
1304
|
scrim: NonNullable<string | boolean>;
|
1305
|
+
submenu: boolean;
|
1300
1306
|
} & {
|
1301
1307
|
offset?: string | number | number[] | undefined;
|
1302
1308
|
id?: string | undefined;
|
@@ -1350,7 +1356,7 @@ declare const VCombobox: {
|
|
1350
1356
|
}) => vue.VNodeChild) | undefined;
|
1351
1357
|
} & {
|
1352
1358
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
1353
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">) | undefined;
|
1359
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">) | undefined;
|
1354
1360
|
itemColor?: string | undefined;
|
1355
1361
|
autoSelectFirst?: boolean | "exact" | undefined;
|
1356
1362
|
} & {
|
@@ -1820,7 +1826,7 @@ declare const VCombobox: {
|
|
1820
1826
|
}) => vue.VNodeChild) | undefined;
|
1821
1827
|
}) | undefined;
|
1822
1828
|
menuProps?: (Partial<{
|
1823
|
-
location: Anchor;
|
1829
|
+
location: NonNullable<Anchor> | undefined;
|
1824
1830
|
origin: "auto" | Anchor | "overlap";
|
1825
1831
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1826
1832
|
component?: vue.Component | undefined;
|
@@ -1848,8 +1854,9 @@ declare const VCombobox: {
|
|
1848
1854
|
noClickAnimation: boolean;
|
1849
1855
|
persistent: boolean;
|
1850
1856
|
scrim: NonNullable<string | boolean>;
|
1857
|
+
submenu: boolean;
|
1851
1858
|
}> & Omit<{
|
1852
|
-
location: Anchor;
|
1859
|
+
location: NonNullable<Anchor> | undefined;
|
1853
1860
|
origin: "auto" | Anchor | "overlap";
|
1854
1861
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1855
1862
|
component?: vue.Component | undefined;
|
@@ -1875,6 +1882,7 @@ declare const VCombobox: {
|
|
1875
1882
|
noClickAnimation: boolean;
|
1876
1883
|
persistent: boolean;
|
1877
1884
|
scrim: NonNullable<string | boolean>;
|
1885
|
+
submenu: boolean;
|
1878
1886
|
offset?: string | number | number[] | undefined;
|
1879
1887
|
id?: string | undefined;
|
1880
1888
|
height?: string | number | undefined;
|
@@ -1925,7 +1933,7 @@ declare const VCombobox: {
|
|
1925
1933
|
}) => vue.VNodeChild) | undefined;
|
1926
1934
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
1927
1935
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
1928
|
-
location: Anchor;
|
1936
|
+
location: NonNullable<Anchor> | undefined;
|
1929
1937
|
origin: "auto" | Anchor | "overlap";
|
1930
1938
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
1931
1939
|
component?: vue.Component | undefined;
|
@@ -1951,6 +1959,7 @@ declare const VCombobox: {
|
|
1951
1959
|
noClickAnimation: boolean;
|
1952
1960
|
persistent: boolean;
|
1953
1961
|
scrim: NonNullable<string | boolean>;
|
1962
|
+
submenu: boolean;
|
1954
1963
|
} & {
|
1955
1964
|
offset?: string | number | number[] | undefined;
|
1956
1965
|
id?: string | undefined;
|
@@ -2004,7 +2013,7 @@ declare const VCombobox: {
|
|
2004
2013
|
}) => vue.VNodeChild) | undefined;
|
2005
2014
|
} & {
|
2006
2015
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
2007
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">) | undefined;
|
2016
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">) | undefined;
|
2008
2017
|
itemColor?: string | undefined;
|
2009
2018
|
autoSelectFirst?: boolean | "exact" | undefined;
|
2010
2019
|
} & {
|
@@ -2409,7 +2418,7 @@ declare const VCombobox: {
|
|
2409
2418
|
}) => vue.VNodeChild) | undefined;
|
2410
2419
|
}) | undefined;
|
2411
2420
|
menuProps?: (Partial<{
|
2412
|
-
location: Anchor;
|
2421
|
+
location: NonNullable<Anchor> | undefined;
|
2413
2422
|
origin: "auto" | Anchor | "overlap";
|
2414
2423
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
2415
2424
|
component?: vue.Component | undefined;
|
@@ -2437,8 +2446,9 @@ declare const VCombobox: {
|
|
2437
2446
|
noClickAnimation: boolean;
|
2438
2447
|
persistent: boolean;
|
2439
2448
|
scrim: NonNullable<string | boolean>;
|
2449
|
+
submenu: boolean;
|
2440
2450
|
}> & Omit<{
|
2441
|
-
location: Anchor;
|
2451
|
+
location: NonNullable<Anchor> | undefined;
|
2442
2452
|
origin: "auto" | Anchor | "overlap";
|
2443
2453
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
2444
2454
|
component?: vue.Component | undefined;
|
@@ -2464,6 +2474,7 @@ declare const VCombobox: {
|
|
2464
2474
|
noClickAnimation: boolean;
|
2465
2475
|
persistent: boolean;
|
2466
2476
|
scrim: NonNullable<string | boolean>;
|
2477
|
+
submenu: boolean;
|
2467
2478
|
offset?: string | number | number[] | undefined;
|
2468
2479
|
id?: string | undefined;
|
2469
2480
|
height?: string | number | undefined;
|
@@ -2514,7 +2525,7 @@ declare const VCombobox: {
|
|
2514
2525
|
}) => vue.VNodeChild) | undefined;
|
2515
2526
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
2516
2527
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
2517
|
-
location: Anchor;
|
2528
|
+
location: NonNullable<Anchor> | undefined;
|
2518
2529
|
origin: "auto" | Anchor | "overlap";
|
2519
2530
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
2520
2531
|
component?: vue.Component | undefined;
|
@@ -2540,6 +2551,7 @@ declare const VCombobox: {
|
|
2540
2551
|
noClickAnimation: boolean;
|
2541
2552
|
persistent: boolean;
|
2542
2553
|
scrim: NonNullable<string | boolean>;
|
2554
|
+
submenu: boolean;
|
2543
2555
|
} & {
|
2544
2556
|
offset?: string | number | number[] | undefined;
|
2545
2557
|
id?: string | undefined;
|
@@ -2593,7 +2605,7 @@ declare const VCombobox: {
|
|
2593
2605
|
}) => vue.VNodeChild) | undefined;
|
2594
2606
|
} & {
|
2595
2607
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
2596
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">) | undefined;
|
2608
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">) | undefined;
|
2597
2609
|
itemColor?: string | undefined;
|
2598
2610
|
autoSelectFirst?: boolean | "exact" | undefined;
|
2599
2611
|
} & {
|
@@ -3212,7 +3224,7 @@ declare const VCombobox: {
|
|
3212
3224
|
};
|
3213
3225
|
menuProps: {
|
3214
3226
|
type: PropType<Partial<{
|
3215
|
-
location: Anchor;
|
3227
|
+
location: NonNullable<Anchor> | undefined;
|
3216
3228
|
origin: "auto" | Anchor | "overlap";
|
3217
3229
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3218
3230
|
component?: vue.Component | undefined;
|
@@ -3240,8 +3252,9 @@ declare const VCombobox: {
|
|
3240
3252
|
noClickAnimation: boolean;
|
3241
3253
|
persistent: boolean;
|
3242
3254
|
scrim: NonNullable<string | boolean>;
|
3255
|
+
submenu: boolean;
|
3243
3256
|
}> & Omit<{
|
3244
|
-
location: Anchor;
|
3257
|
+
location: NonNullable<Anchor> | undefined;
|
3245
3258
|
origin: "auto" | Anchor | "overlap";
|
3246
3259
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3247
3260
|
component?: vue.Component | undefined;
|
@@ -3267,6 +3280,7 @@ declare const VCombobox: {
|
|
3267
3280
|
noClickAnimation: boolean;
|
3268
3281
|
persistent: boolean;
|
3269
3282
|
scrim: NonNullable<string | boolean>;
|
3283
|
+
submenu: boolean;
|
3270
3284
|
offset?: string | number | number[] | undefined;
|
3271
3285
|
id?: string | undefined;
|
3272
3286
|
height?: string | number | undefined;
|
@@ -3317,7 +3331,7 @@ declare const VCombobox: {
|
|
3317
3331
|
}) => vue.VNodeChild) | undefined;
|
3318
3332
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
3319
3333
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
3320
|
-
location: Anchor;
|
3334
|
+
location: NonNullable<Anchor> | undefined;
|
3321
3335
|
origin: "auto" | Anchor | "overlap";
|
3322
3336
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3323
3337
|
component?: vue.Component | undefined;
|
@@ -3343,6 +3357,7 @@ declare const VCombobox: {
|
|
3343
3357
|
noClickAnimation: boolean;
|
3344
3358
|
persistent: boolean;
|
3345
3359
|
scrim: NonNullable<string | boolean>;
|
3360
|
+
submenu: boolean;
|
3346
3361
|
} & {
|
3347
3362
|
offset?: string | number | number[] | undefined;
|
3348
3363
|
id?: string | undefined;
|
@@ -3396,7 +3411,7 @@ declare const VCombobox: {
|
|
3396
3411
|
}) => vue.VNodeChild) | undefined;
|
3397
3412
|
} & {
|
3398
3413
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
3399
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">>;
|
3414
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">>;
|
3400
3415
|
};
|
3401
3416
|
multiple: BooleanConstructor;
|
3402
3417
|
noDataText: {
|
@@ -3865,7 +3880,7 @@ declare const VCombobox: {
|
|
3865
3880
|
};
|
3866
3881
|
menuProps: {
|
3867
3882
|
type: PropType<Partial<{
|
3868
|
-
location: Anchor;
|
3883
|
+
location: NonNullable<Anchor> | undefined;
|
3869
3884
|
origin: "auto" | Anchor | "overlap";
|
3870
3885
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3871
3886
|
component?: vue.Component | undefined;
|
@@ -3893,8 +3908,9 @@ declare const VCombobox: {
|
|
3893
3908
|
noClickAnimation: boolean;
|
3894
3909
|
persistent: boolean;
|
3895
3910
|
scrim: NonNullable<string | boolean>;
|
3911
|
+
submenu: boolean;
|
3896
3912
|
}> & Omit<{
|
3897
|
-
location: Anchor;
|
3913
|
+
location: NonNullable<Anchor> | undefined;
|
3898
3914
|
origin: "auto" | Anchor | "overlap";
|
3899
3915
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3900
3916
|
component?: vue.Component | undefined;
|
@@ -3920,6 +3936,7 @@ declare const VCombobox: {
|
|
3920
3936
|
noClickAnimation: boolean;
|
3921
3937
|
persistent: boolean;
|
3922
3938
|
scrim: NonNullable<string | boolean>;
|
3939
|
+
submenu: boolean;
|
3923
3940
|
offset?: string | number | number[] | undefined;
|
3924
3941
|
id?: string | undefined;
|
3925
3942
|
height?: string | number | undefined;
|
@@ -3970,7 +3987,7 @@ declare const VCombobox: {
|
|
3970
3987
|
}) => vue.VNodeChild) | undefined;
|
3971
3988
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
3972
3989
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
3973
|
-
location: Anchor;
|
3990
|
+
location: NonNullable<Anchor> | undefined;
|
3974
3991
|
origin: "auto" | Anchor | "overlap";
|
3975
3992
|
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
3976
3993
|
component?: vue.Component | undefined;
|
@@ -3996,6 +4013,7 @@ declare const VCombobox: {
|
|
3996
4013
|
noClickAnimation: boolean;
|
3997
4014
|
persistent: boolean;
|
3998
4015
|
scrim: NonNullable<string | boolean>;
|
4016
|
+
submenu: boolean;
|
3999
4017
|
} & {
|
4000
4018
|
offset?: string | number | number[] | undefined;
|
4001
4019
|
id?: string | undefined;
|
@@ -4049,7 +4067,7 @@ declare const VCombobox: {
|
|
4049
4067
|
}) => vue.VNodeChild) | undefined;
|
4050
4068
|
} & {
|
4051
4069
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
4052
|
-
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim">>;
|
4070
|
+
}, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "submenu">>;
|
4053
4071
|
};
|
4054
4072
|
multiple: BooleanConstructor;
|
4055
4073
|
noDataText: {
|
@@ -22,6 +22,11 @@
|
|
22
22
|
--v-scrollbar-offset: 0px;
|
23
23
|
border-radius: 4px;
|
24
24
|
overflow-y: auto;
|
25
|
+
}
|
26
|
+
.v-dialog > .v-overlay__content > .v-card,
|
27
|
+
.v-dialog > .v-overlay__content > .v-sheet,
|
28
|
+
.v-dialog > .v-overlay__content > form > .v-card,
|
29
|
+
.v-dialog > .v-overlay__content > form > .v-sheet {
|
25
30
|
box-shadow: 0px 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 9px 46px 8px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
26
31
|
}
|
27
32
|
.v-dialog > .v-overlay__content > .v-card,
|
@@ -628,7 +628,7 @@ declare const VDialog: {
|
|
628
628
|
onAfterLeave?: (() => any) | undefined;
|
629
629
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
630
630
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
631
|
-
}, "target" | "
|
631
|
+
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
632
632
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
633
633
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|
634
634
|
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
@@ -1312,7 +1312,7 @@ declare const VDialog: {
|
|
1312
1312
|
onAfterLeave?: (() => any) | undefined;
|
1313
1313
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
1314
1314
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
1315
|
-
}, "target" | "
|
1315
|
+
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
1316
1316
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
1317
1317
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|
1318
1318
|
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
@@ -1893,7 +1893,7 @@ declare const VDialog: {
|
|
1893
1893
|
onAfterLeave?: (() => any) | undefined;
|
1894
1894
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
1895
1895
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
1896
|
-
}, "target" | "
|
1896
|
+
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
1897
1897
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
1898
1898
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|
1899
1899
|
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
@@ -94,15 +94,19 @@
|
|
94
94
|
min-height: 64px;
|
95
95
|
}
|
96
96
|
|
97
|
+
.v-expansion-panel__shadow {
|
98
|
+
border-radius: inherit;
|
99
|
+
z-index: -1;
|
100
|
+
}
|
97
101
|
.v-expansion-panel__shadow {
|
98
102
|
position: absolute;
|
99
103
|
top: 0;
|
100
104
|
left: 0;
|
101
105
|
width: 100%;
|
102
106
|
height: 100%;
|
107
|
+
}
|
108
|
+
.v-expansion-panel__shadow {
|
103
109
|
box-shadow: 0px 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 2px 2px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 5px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
104
|
-
border-radius: inherit;
|
105
|
-
z-index: -1;
|
106
110
|
}
|
107
111
|
|
108
112
|
.v-expansion-panel-title {
|
@@ -146,15 +150,17 @@
|
|
146
150
|
}
|
147
151
|
}
|
148
152
|
|
153
|
+
.v-expansion-panel-title__overlay {
|
154
|
+
background-color: currentColor;
|
155
|
+
border-radius: inherit;
|
156
|
+
opacity: 0;
|
157
|
+
}
|
149
158
|
.v-expansion-panel-title__overlay {
|
150
159
|
position: absolute;
|
151
160
|
top: 0;
|
152
161
|
left: 0;
|
153
162
|
width: 100%;
|
154
163
|
height: 100%;
|
155
|
-
background-color: currentColor;
|
156
|
-
border-radius: inherit;
|
157
|
-
opacity: 0;
|
158
164
|
}
|
159
165
|
|
160
166
|
.v-expansion-panel-title__icon {
|
@@ -108,10 +108,10 @@
|
|
108
108
|
min-height: $expansion-panel-active-title-min-height
|
109
109
|
|
110
110
|
.v-expansion-panel__shadow
|
111
|
-
@include tools.absolute()
|
112
|
-
@include tools.elevation(2)
|
113
111
|
border-radius: inherit
|
114
112
|
z-index: -1
|
113
|
+
@include tools.absolute()
|
114
|
+
@include tools.elevation(2)
|
115
115
|
|
116
116
|
.v-expansion-panel-title
|
117
117
|
align-items: center
|
@@ -134,10 +134,10 @@
|
|
134
134
|
@include tools.active-states('.v-expansion-panel-title__overlay')
|
135
135
|
|
136
136
|
.v-expansion-panel-title__overlay
|
137
|
-
@include tools.absolute()
|
138
137
|
background-color: currentColor
|
139
138
|
border-radius: inherit
|
140
139
|
opacity: 0
|
140
|
+
@include tools.absolute()
|
141
141
|
|
142
142
|
.v-expansion-panel-title__icon
|
143
143
|
display: inline-flex
|
@@ -1,6 +1,5 @@
|
|
1
1
|
/* region INPUT */
|
2
2
|
.v-field {
|
3
|
-
--v-theme-overlay-multiplier: 1;
|
4
3
|
display: grid;
|
5
4
|
grid-template-areas: "prepend-inner field clear append-inner";
|
6
5
|
grid-template-columns: min-content minmax(0, 1fr) min-content min-content;
|
@@ -12,6 +11,7 @@
|
|
12
11
|
flex: 1 0;
|
13
12
|
grid-area: control;
|
14
13
|
position: relative;
|
14
|
+
--v-theme-overlay-multiplier: 1;
|
15
15
|
--v-field-padding-start: 16px;
|
16
16
|
--v-field-padding-end: 16px;
|
17
17
|
--v-field-padding-top: 8px;
|
@@ -39,12 +39,16 @@
|
|
39
39
|
background: rgb(var(--v-theme-surface));
|
40
40
|
border-color: transparent;
|
41
41
|
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
42
|
+
}
|
43
|
+
.v-field--variant-solo, .v-field--variant-solo-filled {
|
42
44
|
box-shadow: 0px 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 2px 2px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 5px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
43
45
|
}
|
44
46
|
.v-field--variant-solo-inverted {
|
45
47
|
background: rgb(var(--v-theme-surface));
|
46
48
|
border-color: transparent;
|
47
49
|
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
50
|
+
}
|
51
|
+
.v-field--variant-solo-inverted {
|
48
52
|
box-shadow: 0px 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 2px 2px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 5px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
49
53
|
}
|
50
54
|
.v-field--variant-solo-inverted.v-field--focused {
|
@@ -367,6 +371,8 @@ textarea.v-field__input::placeholder {
|
|
367
371
|
border-width: 0 0 var(--v-field-border-width);
|
368
372
|
opacity: var(--v-field-border-opacity);
|
369
373
|
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
374
|
+
}
|
375
|
+
.v-field--variant-filled .v-field__outline::before, .v-field--variant-underlined .v-field__outline::before {
|
370
376
|
content: "";
|
371
377
|
position: absolute;
|
372
378
|
top: 0;
|
@@ -380,6 +386,8 @@ textarea.v-field__input::placeholder {
|
|
380
386
|
border-width: 0 0 2px;
|
381
387
|
transform: scaleX(0);
|
382
388
|
transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
389
|
+
}
|
390
|
+
.v-field--variant-filled .v-field__outline::after, .v-field--variant-underlined .v-field__outline::after {
|
383
391
|
content: "";
|
384
392
|
position: absolute;
|
385
393
|
top: 0;
|
@@ -432,6 +440,8 @@ textarea.v-field__input::placeholder {
|
|
432
440
|
.v-field--variant-outlined .v-field__outline__notch::before, .v-field--variant-outlined .v-field__outline__notch::after {
|
433
441
|
opacity: var(--v-field-border-opacity);
|
434
442
|
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
443
|
+
}
|
444
|
+
.v-field--variant-outlined .v-field__outline__notch::before, .v-field--variant-outlined .v-field__outline__notch::after {
|
435
445
|
content: "";
|
436
446
|
position: absolute;
|
437
447
|
top: 0;
|
@@ -494,6 +504,8 @@ textarea.v-field__input::placeholder {
|
|
494
504
|
.v-field__overlay {
|
495
505
|
border-radius: inherit;
|
496
506
|
pointer-events: none;
|
507
|
+
}
|
508
|
+
.v-field__overlay {
|
497
509
|
position: absolute;
|
498
510
|
top: 0;
|
499
511
|
left: 0;
|
@@ -8,8 +8,6 @@
|
|
8
8
|
@include tools.layer('components')
|
9
9
|
/* region INPUT */
|
10
10
|
.v-field
|
11
|
-
--v-theme-overlay-multiplier: 1
|
12
|
-
|
13
11
|
display: grid
|
14
12
|
grid-template-areas: "prepend-inner field clear append-inner"
|
15
13
|
grid-template-columns: min-content minmax(0, 1fr) min-content min-content
|
@@ -22,10 +20,7 @@
|
|
22
20
|
grid-area: control
|
23
21
|
position: relative
|
24
22
|
|
25
|
-
|
26
|
-
opacity: var(--v-disabled-opacity)
|
27
|
-
pointer-events: none
|
28
|
-
|
23
|
+
--v-theme-overlay-multiplier: 1
|
29
24
|
--v-field-padding-start: #{$field-control-padding-start}
|
30
25
|
--v-field-padding-end: #{$field-control-padding-end}
|
31
26
|
--v-field-padding-top: #{$field-control-padding-top}
|
@@ -33,6 +28,10 @@
|
|
33
28
|
--v-field-input-padding-top: #{$field-input-padding-top}
|
34
29
|
--v-field-input-padding-bottom: #{$field-input-padding-bottom}
|
35
30
|
|
31
|
+
&--disabled
|
32
|
+
opacity: var(--v-disabled-opacity)
|
33
|
+
pointer-events: none
|
34
|
+
|
36
35
|
.v-chip
|
37
36
|
--v-chip-height: #{$field-chip-height}
|
38
37
|
|
@@ -50,14 +49,12 @@
|
|
50
49
|
background: $field-control-solo-background
|
51
50
|
border-color: transparent
|
52
51
|
color: $field-control-solo-color
|
53
|
-
|
54
52
|
@include tools.elevation($field-control-solo-elevation)
|
55
53
|
|
56
54
|
&--variant-solo-inverted
|
57
55
|
background: $field-control-solo-background
|
58
56
|
border-color: transparent
|
59
57
|
color: $field-control-solo-inverted-color
|
60
|
-
|
61
58
|
@include tools.elevation($field-control-solo-elevation)
|
62
59
|
|
63
60
|
&.v-field--focused
|
@@ -6,24 +6,32 @@
|
|
6
6
|
position: relative;
|
7
7
|
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
8
8
|
transition-property: height, width, transform, max-width, left, right, top, bottom;
|
9
|
+
}
|
10
|
+
.v-footer {
|
9
11
|
border-color: rgba(var(--v-border-color), var(--v-border-opacity));
|
10
12
|
border-style: solid;
|
11
13
|
border-width: 0;
|
12
|
-
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
13
|
-
border-radius: 0;
|
14
|
-
background: rgb(var(--v-theme-surface));
|
15
|
-
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
16
14
|
}
|
17
15
|
.v-footer--border {
|
18
16
|
border-width: thin;
|
19
17
|
box-shadow: none;
|
20
18
|
}
|
19
|
+
.v-footer {
|
20
|
+
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
21
|
+
}
|
21
22
|
.v-footer--absolute {
|
22
23
|
position: absolute;
|
23
24
|
}
|
24
25
|
.v-footer--fixed {
|
25
26
|
position: fixed;
|
26
27
|
}
|
28
|
+
.v-footer {
|
29
|
+
border-radius: 0;
|
30
|
+
}
|
31
|
+
.v-footer {
|
32
|
+
background: rgb(var(--v-theme-surface));
|
33
|
+
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
34
|
+
}
|
27
35
|
.v-footer--rounded {
|
28
36
|
border-radius: 4px;
|
29
37
|
}
|
@@ -11,8 +11,9 @@ import { makeLayoutItemProps, useLayoutItem } from "../../composables/layout.mjs
|
|
11
11
|
import { useResizeObserver } from "../../composables/resizeObserver.mjs";
|
12
12
|
import { makeRoundedProps, useRounded } from "../../composables/rounded.mjs";
|
13
13
|
import { makeTagProps } from "../../composables/tag.mjs";
|
14
|
-
import { makeThemeProps, provideTheme } from "../../composables/theme.mjs";
|
15
|
-
import {
|
14
|
+
import { makeThemeProps, provideTheme } from "../../composables/theme.mjs";
|
15
|
+
import { useToggleScope } from "../../composables/toggleScope.mjs"; // Utilities
|
16
|
+
import { computed, ref, shallowRef, toRef, watchEffect } from 'vue';
|
16
17
|
import { convertToUnit, genericComponent, propsFactory, useRender } from "../../util/index.mjs";
|
17
18
|
export const makeVFooterProps = propsFactory({
|
18
19
|
app: Boolean,
|
@@ -38,6 +39,8 @@ export const VFooter = genericComponent()({
|
|
38
39
|
let {
|
39
40
|
slots
|
40
41
|
} = _ref;
|
42
|
+
const layoutItemStyles = ref();
|
43
|
+
const layoutIsReady = shallowRef();
|
41
44
|
const {
|
42
45
|
themeClasses
|
43
46
|
} = provideTheme(props);
|
@@ -62,17 +65,20 @@ export const VFooter = genericComponent()({
|
|
62
65
|
autoHeight.value = entries[0].target.clientHeight;
|
63
66
|
});
|
64
67
|
const height = computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10));
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
68
|
+
useToggleScope(() => props.app, () => {
|
69
|
+
const layout = useLayoutItem({
|
70
|
+
id: props.name,
|
71
|
+
order: computed(() => parseInt(props.order, 10)),
|
72
|
+
position: computed(() => 'bottom'),
|
73
|
+
layoutSize: height,
|
74
|
+
elementSize: computed(() => props.height === 'auto' ? undefined : height.value),
|
75
|
+
active: computed(() => props.app),
|
76
|
+
absolute: toRef(props, 'absolute')
|
77
|
+
});
|
78
|
+
watchEffect(() => {
|
79
|
+
layoutItemStyles.value = layout.layoutItemStyles.value;
|
80
|
+
layoutIsReady.value = layout.layoutIsReady;
|
81
|
+
});
|
76
82
|
});
|
77
83
|
useRender(() => _createVNode(props.tag, {
|
78
84
|
"ref": resizeRef,
|
@@ -81,7 +87,7 @@ export const VFooter = genericComponent()({
|
|
81
87
|
height: convertToUnit(props.height)
|
82
88
|
}, props.style]
|
83
89
|
}, slots));
|
84
|
-
return props.app ? layoutIsReady : {};
|
90
|
+
return props.app ? layoutIsReady.value : {};
|
85
91
|
}
|
86
92
|
});
|
87
93
|
//# sourceMappingURL=VFooter.mjs.map
|