vuetify 3.6.11 → 3.6.12
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 +58 -70
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +162 -162
- package/dist/json/tags.json +4 -7
- package/dist/json/web-types.json +98 -117
- package/dist/vuetify-labs.css +1863 -1841
- package/dist/vuetify-labs.d.ts +640 -751
- package/dist/vuetify-labs.esm.js +88 -76
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +88 -76
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2936 -2914
- package/dist/vuetify.d.ts +617 -710
- package/dist/vuetify.esm.js +71 -60
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +71 -60
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +62 -57
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +3 -3
- package/lib/blueprints/md1.d.mts +3 -3
- package/lib/blueprints/md2.d.mts +3 -3
- package/lib/blueprints/md3.d.mts +3 -3
- package/lib/components/VAutocomplete/index.d.mts +25 -31
- package/lib/components/VBottomSheet/index.d.mts +10 -10
- package/lib/components/VCheckbox/index.d.mts +2 -8
- package/lib/components/VCombobox/index.d.mts +25 -31
- package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
- package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +108 -108
- package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
- package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +70 -55
- package/lib/components/VDialog/index.d.mts +28 -28
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +6 -2
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +48 -66
- package/lib/components/VField/VField.css +11 -6
- package/lib/components/VField/VField.mjs +5 -7
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +6 -2
- package/lib/components/VField/index.d.mts +6 -12
- package/lib/components/VFileInput/index.d.mts +6 -12
- package/lib/components/VInput/VInput.css +5 -5
- package/lib/components/VInput/VInput.mjs +1 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +1 -1
- package/lib/components/VInput/index.d.mts +2 -8
- package/lib/components/VMenu/index.d.mts +32 -32
- package/lib/components/VOverlay/VOverlay.mjs +7 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +10 -10
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
- package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
- package/lib/components/VRadio/VRadio.mjs +8 -5
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +2 -8
- package/lib/components/VRangeSlider/index.d.mts +2 -8
- package/lib/components/VSelect/index.d.mts +25 -31
- package/lib/components/VSlider/index.d.mts +2 -8
- package/lib/components/VSnackbar/index.d.mts +28 -28
- package/lib/components/VSpeedDial/index.d.mts +14 -14
- package/lib/components/VSwitch/index.d.mts +2 -8
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +18 -24
- package/lib/components/VTextarea/VTextarea.mjs +5 -5
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +72 -87
- package/lib/components/VTooltip/index.d.mts +32 -32
- package/lib/components/index.d.mts +646 -739
- package/lib/composables/calendar.mjs +10 -4
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/composables/date/DateAdapter.mjs.map +1 -1
- package/lib/composables/date/adapters/vuetify.mjs +15 -13
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/composables/teleport.mjs +2 -2
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +61 -61
- package/lib/labs/VCalendar/VCalendar.mjs +7 -6
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VCalendar/index.d.mts +6 -0
- package/lib/labs/VDateInput/index.d.mts +39 -39
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +6 -12
- package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
- package/lib/labs/VStepperVertical/index.d.mts +0 -18
- package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +18 -18
- package/lib/labs/components.d.mts +106 -124
- package/package.json +2 -2
|
@@ -41,7 +41,7 @@ interface LocationStrategyData {
|
|
|
41
41
|
isRtl: Ref<boolean>;
|
|
42
42
|
}
|
|
43
43
|
type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => undefined | {
|
|
44
|
-
updateLocation: (e
|
|
44
|
+
updateLocation: (e?: Event) => void;
|
|
45
45
|
};
|
|
46
46
|
declare const locationStrategies: {
|
|
47
47
|
static: typeof staticLocationStrategy;
|
|
@@ -106,7 +106,7 @@ declare const VDialog: {
|
|
|
106
106
|
eager: boolean;
|
|
107
107
|
location: Anchor;
|
|
108
108
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
109
|
-
updateLocation: (e
|
|
109
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
110
110
|
} | undefined) | "connected";
|
|
111
111
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
112
112
|
activatorProps: Record<string, any>;
|
|
@@ -191,7 +191,7 @@ declare const VDialog: {
|
|
|
191
191
|
eager: boolean;
|
|
192
192
|
location: Anchor;
|
|
193
193
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
194
|
-
updateLocation: (e
|
|
194
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
195
195
|
} | undefined) | "connected";
|
|
196
196
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
197
197
|
activatorProps: Record<string, any>;
|
|
@@ -218,7 +218,7 @@ declare const VDialog: {
|
|
|
218
218
|
eager: boolean;
|
|
219
219
|
location: Anchor;
|
|
220
220
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
221
|
-
updateLocation: (e
|
|
221
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
222
222
|
} | undefined) | "connected";
|
|
223
223
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
224
224
|
activatorProps: Record<string, any>;
|
|
@@ -296,7 +296,7 @@ declare const VDialog: {
|
|
|
296
296
|
eager: boolean;
|
|
297
297
|
location: Anchor;
|
|
298
298
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
299
|
-
updateLocation: (e
|
|
299
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
300
300
|
} | undefined) | "connected";
|
|
301
301
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
302
302
|
activatorProps: Record<string, any>;
|
|
@@ -403,7 +403,7 @@ declare const VDialog: {
|
|
|
403
403
|
eager: boolean;
|
|
404
404
|
location: Anchor;
|
|
405
405
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
406
|
-
updateLocation: (e
|
|
406
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
407
407
|
} | undefined) | "connected";
|
|
408
408
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
409
409
|
activatorProps: Record<string, any>;
|
|
@@ -499,7 +499,7 @@ declare const VDialog: {
|
|
|
499
499
|
eager: boolean;
|
|
500
500
|
location: Anchor;
|
|
501
501
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
502
|
-
updateLocation: (e
|
|
502
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
503
503
|
} | undefined) | "connected";
|
|
504
504
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
505
505
|
activatorProps: Record<string, any>;
|
|
@@ -559,7 +559,7 @@ declare const VDialog: {
|
|
|
559
559
|
eager: boolean;
|
|
560
560
|
location: Anchor;
|
|
561
561
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
562
|
-
updateLocation: (e
|
|
562
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
563
563
|
} | undefined) | "connected";
|
|
564
564
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
565
565
|
activatorProps: Record<string, any>;
|
|
@@ -655,7 +655,7 @@ declare const VDialog: {
|
|
|
655
655
|
eager: boolean;
|
|
656
656
|
location: Anchor;
|
|
657
657
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
658
|
-
updateLocation: (e
|
|
658
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
659
659
|
} | undefined) | "connected";
|
|
660
660
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
661
661
|
activatorProps: Record<string, any>;
|
|
@@ -739,7 +739,7 @@ declare const VDialog: {
|
|
|
739
739
|
eager: boolean;
|
|
740
740
|
location: Anchor;
|
|
741
741
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
742
|
-
updateLocation: (e
|
|
742
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
743
743
|
} | undefined) | "connected";
|
|
744
744
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
745
745
|
activatorProps: Record<string, any>;
|
|
@@ -790,7 +790,7 @@ declare const VDialog: {
|
|
|
790
790
|
eager: boolean;
|
|
791
791
|
location: Anchor;
|
|
792
792
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
793
|
-
updateLocation: (e
|
|
793
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
794
794
|
} | undefined) | "connected";
|
|
795
795
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
796
796
|
activatorProps: Record<string, any>;
|
|
@@ -875,7 +875,7 @@ declare const VDialog: {
|
|
|
875
875
|
eager: boolean;
|
|
876
876
|
location: Anchor;
|
|
877
877
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
878
|
-
updateLocation: (e
|
|
878
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
879
879
|
} | undefined) | "connected";
|
|
880
880
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
881
881
|
activatorProps: Record<string, any>;
|
|
@@ -902,7 +902,7 @@ declare const VDialog: {
|
|
|
902
902
|
eager: boolean;
|
|
903
903
|
location: Anchor;
|
|
904
904
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
905
|
-
updateLocation: (e
|
|
905
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
906
906
|
} | undefined) | "connected";
|
|
907
907
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
908
908
|
activatorProps: Record<string, any>;
|
|
@@ -980,7 +980,7 @@ declare const VDialog: {
|
|
|
980
980
|
eager: boolean;
|
|
981
981
|
location: Anchor;
|
|
982
982
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
983
|
-
updateLocation: (e
|
|
983
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
984
984
|
} | undefined) | "connected";
|
|
985
985
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
986
986
|
activatorProps: Record<string, any>;
|
|
@@ -1087,7 +1087,7 @@ declare const VDialog: {
|
|
|
1087
1087
|
eager: boolean;
|
|
1088
1088
|
location: Anchor;
|
|
1089
1089
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1090
|
-
updateLocation: (e
|
|
1090
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1091
1091
|
} | undefined) | "connected";
|
|
1092
1092
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1093
1093
|
activatorProps: Record<string, any>;
|
|
@@ -1183,7 +1183,7 @@ declare const VDialog: {
|
|
|
1183
1183
|
eager: boolean;
|
|
1184
1184
|
location: Anchor;
|
|
1185
1185
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1186
|
-
updateLocation: (e
|
|
1186
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1187
1187
|
} | undefined) | "connected";
|
|
1188
1188
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1189
1189
|
activatorProps: Record<string, any>;
|
|
@@ -1243,7 +1243,7 @@ declare const VDialog: {
|
|
|
1243
1243
|
eager: boolean;
|
|
1244
1244
|
location: Anchor;
|
|
1245
1245
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1246
|
-
updateLocation: (e
|
|
1246
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1247
1247
|
} | undefined) | "connected";
|
|
1248
1248
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1249
1249
|
activatorProps: Record<string, any>;
|
|
@@ -1336,7 +1336,7 @@ declare const VDialog: {
|
|
|
1336
1336
|
eager: boolean;
|
|
1337
1337
|
location: Anchor;
|
|
1338
1338
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1339
|
-
updateLocation: (e
|
|
1339
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1340
1340
|
} | undefined) | "connected";
|
|
1341
1341
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
1342
1342
|
activatorProps: Record<string, any>;
|
|
@@ -1371,7 +1371,7 @@ declare const VDialog: {
|
|
|
1371
1371
|
eager: boolean;
|
|
1372
1372
|
location: Anchor;
|
|
1373
1373
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1374
|
-
updateLocation: (e
|
|
1374
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1375
1375
|
} | undefined) | "connected";
|
|
1376
1376
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
1377
1377
|
activatorProps: Record<string, any>;
|
|
@@ -1456,7 +1456,7 @@ declare const VDialog: {
|
|
|
1456
1456
|
eager: boolean;
|
|
1457
1457
|
location: Anchor;
|
|
1458
1458
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1459
|
-
updateLocation: (e
|
|
1459
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1460
1460
|
} | undefined) | "connected";
|
|
1461
1461
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1462
1462
|
activatorProps: Record<string, any>;
|
|
@@ -1483,7 +1483,7 @@ declare const VDialog: {
|
|
|
1483
1483
|
eager: boolean;
|
|
1484
1484
|
location: Anchor;
|
|
1485
1485
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1486
|
-
updateLocation: (e
|
|
1486
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1487
1487
|
} | undefined) | "connected";
|
|
1488
1488
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1489
1489
|
activatorProps: Record<string, any>;
|
|
@@ -1561,7 +1561,7 @@ declare const VDialog: {
|
|
|
1561
1561
|
eager: boolean;
|
|
1562
1562
|
location: Anchor;
|
|
1563
1563
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1564
|
-
updateLocation: (e
|
|
1564
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1565
1565
|
} | undefined) | "connected";
|
|
1566
1566
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1567
1567
|
activatorProps: Record<string, any>;
|
|
@@ -1668,7 +1668,7 @@ declare const VDialog: {
|
|
|
1668
1668
|
eager: boolean;
|
|
1669
1669
|
location: Anchor;
|
|
1670
1670
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1671
|
-
updateLocation: (e
|
|
1671
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1672
1672
|
} | undefined) | "connected";
|
|
1673
1673
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1674
1674
|
activatorProps: Record<string, any>;
|
|
@@ -1764,7 +1764,7 @@ declare const VDialog: {
|
|
|
1764
1764
|
eager: boolean;
|
|
1765
1765
|
location: Anchor;
|
|
1766
1766
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1767
|
-
updateLocation: (e
|
|
1767
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1768
1768
|
} | undefined) | "connected";
|
|
1769
1769
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1770
1770
|
activatorProps: Record<string, any>;
|
|
@@ -1824,7 +1824,7 @@ declare const VDialog: {
|
|
|
1824
1824
|
eager: boolean;
|
|
1825
1825
|
location: Anchor;
|
|
1826
1826
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1827
|
-
updateLocation: (e
|
|
1827
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1828
1828
|
} | undefined) | "connected";
|
|
1829
1829
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
|
|
1830
1830
|
activatorProps: Record<string, any>;
|
|
@@ -1920,7 +1920,7 @@ declare const VDialog: {
|
|
|
1920
1920
|
eager: boolean;
|
|
1921
1921
|
location: Anchor;
|
|
1922
1922
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1923
|
-
updateLocation: (e
|
|
1923
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1924
1924
|
} | undefined) | "connected";
|
|
1925
1925
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
|
|
1926
1926
|
activatorProps: Record<string, any>;
|
|
@@ -1979,7 +1979,7 @@ declare const VDialog: {
|
|
|
1979
1979
|
};
|
|
1980
1980
|
locationStrategy: {
|
|
1981
1981
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1982
|
-
updateLocation: (e
|
|
1982
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
1983
1983
|
} | undefined) | "connected">;
|
|
1984
1984
|
default: string;
|
|
1985
1985
|
validator: (val: any) => boolean;
|
|
@@ -2087,7 +2087,7 @@ declare const VDialog: {
|
|
|
2087
2087
|
};
|
|
2088
2088
|
locationStrategy: {
|
|
2089
2089
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
2090
|
-
updateLocation: (e
|
|
2090
|
+
updateLocation: (e?: Event | undefined) => void;
|
|
2091
2091
|
} | undefined) | "connected">;
|
|
2092
2092
|
default: string;
|
|
2093
2093
|
validator: (val: any) => boolean;
|
|
@@ -5,17 +5,21 @@ import "./VExpansionPanel.css";
|
|
|
5
5
|
// Components
|
|
6
6
|
import { VExpansionPanelSymbol } from "./shared.mjs";
|
|
7
7
|
import { makeVExpansionPanelProps } from "./VExpansionPanel.mjs"; // Composables
|
|
8
|
+
import { makeComponentProps } from "../../composables/component.mjs";
|
|
8
9
|
import { provideDefaults } from "../../composables/defaults.mjs";
|
|
9
10
|
import { makeGroupProps, useGroup } from "../../composables/group.mjs";
|
|
11
|
+
import { makeTagProps } from "../../composables/tag.mjs";
|
|
10
12
|
import { makeThemeProps, provideTheme } from "../../composables/theme.mjs"; // Utilities
|
|
11
13
|
import { computed, toRef } from 'vue';
|
|
12
|
-
import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
|
14
|
+
import { genericComponent, pick, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
|
13
15
|
const allowedVariants = ['default', 'accordion', 'inset', 'popout'];
|
|
14
16
|
export const makeVExpansionPanelsProps = propsFactory({
|
|
15
17
|
flat: Boolean,
|
|
16
18
|
...makeGroupProps(),
|
|
17
|
-
...makeVExpansionPanelProps(),
|
|
19
|
+
...pick(makeVExpansionPanelProps(), ['bgColor', 'collapseIcon', 'color', 'eager', 'elevation', 'expandIcon', 'focusable', 'hideActions', 'readonly', 'ripple', 'rounded', 'tile', 'static']),
|
|
18
20
|
...makeThemeProps(),
|
|
21
|
+
...makeComponentProps(),
|
|
22
|
+
...makeTagProps(),
|
|
19
23
|
variant: {
|
|
20
24
|
type: String,
|
|
21
25
|
default: 'default',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VExpansionPanels.mjs","names":["VExpansionPanelSymbol","makeVExpansionPanelProps","provideDefaults","makeGroupProps","useGroup","makeThemeProps","provideTheme","computed","toRef","genericComponent","propsFactory","useRender","allowedVariants","makeVExpansionPanelsProps","flat","Boolean","variant","type","String","default","validator","v","includes","VExpansionPanels","name","props","emits","val","setup","_ref","slots","next","prev","themeClasses","variantClass","VExpansionPanel","bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","rounded","static","_createVNode","tag","tile","value","class","style"],"sources":["../../../src/components/VExpansionPanel/VExpansionPanels.tsx"],"sourcesContent":["// Styles\nimport './VExpansionPanel.sass'\n\n// Components\nimport { VExpansionPanelSymbol } from './shared'\nimport { makeVExpansionPanelProps } from './VExpansionPanel'\n\n// Composables\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeGroupProps, useGroup } from '@/composables/group'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nconst allowedVariants = ['default', 'accordion', 'inset', 'popout'] as const\n\ntype Variant = typeof allowedVariants[number]\n\nexport type VExpansionPanelSlot = {\n prev: () => void\n next: () => void\n}\n\nexport type VExpansionPanelSlots = {\n default: VExpansionPanelSlot\n}\n\nexport const makeVExpansionPanelsProps = propsFactory({\n flat: Boolean,\n\n ...makeGroupProps(),\n ...makeVExpansionPanelProps(),\n ...makeThemeProps(),\n\n variant: {\n type: String as PropType<Variant>,\n default: 'default',\n validator: (v: any) => allowedVariants.includes(v),\n },\n}, 'VExpansionPanels')\n\nexport const VExpansionPanels = genericComponent<VExpansionPanelSlots>()({\n name: 'VExpansionPanels',\n\n props: makeVExpansionPanelsProps(),\n\n emits: {\n 'update:modelValue': (val: unknown) => true,\n },\n\n setup (props, { slots }) {\n const { next, prev } = useGroup(props, VExpansionPanelSymbol)\n\n const { themeClasses } = provideTheme(props)\n\n const variantClass = computed(() => props.variant && `v-expansion-panels--variant-${props.variant}`)\n\n provideDefaults({\n VExpansionPanel: {\n bgColor: toRef(props, 'bgColor'),\n collapseIcon: toRef(props, 'collapseIcon'),\n color: toRef(props, 'color'),\n eager: toRef(props, 'eager'),\n elevation: toRef(props, 'elevation'),\n expandIcon: toRef(props, 'expandIcon'),\n focusable: toRef(props, 'focusable'),\n hideActions: toRef(props, 'hideActions'),\n readonly: toRef(props, 'readonly'),\n ripple: toRef(props, 'ripple'),\n rounded: toRef(props, 'rounded'),\n static: toRef(props, 'static'),\n },\n })\n\n useRender(() => (\n <props.tag\n class={[\n 'v-expansion-panels',\n {\n 'v-expansion-panels--flat': props.flat,\n 'v-expansion-panels--tile': props.tile,\n },\n themeClasses.value,\n variantClass.value,\n props.class,\n ]}\n style={ props.style }\n >\n { slots.default?.({ prev, next }) }\n </props.tag>\n ))\n\n return {\n next,\n prev,\n }\n },\n})\n\nexport type VExpansionPanels = InstanceType<typeof VExpansionPanels>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,qBAAqB;AAAA,SACrBC,wBAAwB,iCAEjC;AAAA,SACSC,eAAe;AAAA,SACfC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC5BC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,
|
|
1
|
+
{"version":3,"file":"VExpansionPanels.mjs","names":["VExpansionPanelSymbol","makeVExpansionPanelProps","makeComponentProps","provideDefaults","makeGroupProps","useGroup","makeTagProps","makeThemeProps","provideTheme","computed","toRef","genericComponent","pick","propsFactory","useRender","allowedVariants","makeVExpansionPanelsProps","flat","Boolean","variant","type","String","default","validator","v","includes","VExpansionPanels","name","props","emits","val","setup","_ref","slots","next","prev","themeClasses","variantClass","VExpansionPanel","bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","rounded","static","_createVNode","tag","tile","value","class","style"],"sources":["../../../src/components/VExpansionPanel/VExpansionPanels.tsx"],"sourcesContent":["// Styles\nimport './VExpansionPanel.sass'\n\n// Components\nimport { VExpansionPanelSymbol } from './shared'\nimport { makeVExpansionPanelProps } from './VExpansionPanel'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeGroupProps, useGroup } from '@/composables/group'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent, pick, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nconst allowedVariants = ['default', 'accordion', 'inset', 'popout'] as const\n\ntype Variant = typeof allowedVariants[number]\n\nexport type VExpansionPanelSlot = {\n prev: () => void\n next: () => void\n}\n\nexport type VExpansionPanelSlots = {\n default: VExpansionPanelSlot\n}\n\nexport const makeVExpansionPanelsProps = propsFactory({\n flat: Boolean,\n\n ...makeGroupProps(),\n ...pick(makeVExpansionPanelProps(), [\n 'bgColor',\n 'collapseIcon',\n 'color',\n 'eager',\n 'elevation',\n 'expandIcon',\n 'focusable',\n 'hideActions',\n 'readonly',\n 'ripple',\n 'rounded',\n 'tile',\n 'static',\n ]),\n ...makeThemeProps(),\n ...makeComponentProps(),\n ...makeTagProps(),\n\n variant: {\n type: String as PropType<Variant>,\n default: 'default',\n validator: (v: any) => allowedVariants.includes(v),\n },\n}, 'VExpansionPanels')\n\nexport const VExpansionPanels = genericComponent<VExpansionPanelSlots>()({\n name: 'VExpansionPanels',\n\n props: makeVExpansionPanelsProps(),\n\n emits: {\n 'update:modelValue': (val: unknown) => true,\n },\n\n setup (props, { slots }) {\n const { next, prev } = useGroup(props, VExpansionPanelSymbol)\n\n const { themeClasses } = provideTheme(props)\n\n const variantClass = computed(() => props.variant && `v-expansion-panels--variant-${props.variant}`)\n\n provideDefaults({\n VExpansionPanel: {\n bgColor: toRef(props, 'bgColor'),\n collapseIcon: toRef(props, 'collapseIcon'),\n color: toRef(props, 'color'),\n eager: toRef(props, 'eager'),\n elevation: toRef(props, 'elevation'),\n expandIcon: toRef(props, 'expandIcon'),\n focusable: toRef(props, 'focusable'),\n hideActions: toRef(props, 'hideActions'),\n readonly: toRef(props, 'readonly'),\n ripple: toRef(props, 'ripple'),\n rounded: toRef(props, 'rounded'),\n static: toRef(props, 'static'),\n },\n })\n\n useRender(() => (\n <props.tag\n class={[\n 'v-expansion-panels',\n {\n 'v-expansion-panels--flat': props.flat,\n 'v-expansion-panels--tile': props.tile,\n },\n themeClasses.value,\n variantClass.value,\n props.class,\n ]}\n style={ props.style }\n >\n { slots.default?.({ prev, next }) }\n </props.tag>\n ))\n\n return {\n next,\n prev,\n }\n },\n})\n\nexport type VExpansionPanels = InstanceType<typeof VExpansionPanels>\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -33,9 +33,6 @@ declare const VExpansionPanels: {
|
|
|
33
33
|
focusable: boolean;
|
|
34
34
|
} & {
|
|
35
35
|
class?: any;
|
|
36
|
-
title?: string | undefined;
|
|
37
|
-
text?: string | undefined;
|
|
38
|
-
value?: any;
|
|
39
36
|
theme?: string | undefined;
|
|
40
37
|
color?: string | undefined;
|
|
41
38
|
modelValue?: any;
|
|
@@ -81,9 +78,6 @@ declare const VExpansionPanels: {
|
|
|
81
78
|
focusable: boolean;
|
|
82
79
|
} & {
|
|
83
80
|
class?: any;
|
|
84
|
-
title?: string | undefined;
|
|
85
|
-
text?: string | undefined;
|
|
86
|
-
value?: any;
|
|
87
81
|
theme?: string | undefined;
|
|
88
82
|
color?: string | undefined;
|
|
89
83
|
modelValue?: any;
|
|
@@ -155,9 +149,6 @@ declare const VExpansionPanels: {
|
|
|
155
149
|
focusable: boolean;
|
|
156
150
|
} & {
|
|
157
151
|
class?: any;
|
|
158
|
-
title?: string | undefined;
|
|
159
|
-
text?: string | undefined;
|
|
160
|
-
value?: any;
|
|
161
152
|
theme?: string | undefined;
|
|
162
153
|
color?: string | undefined;
|
|
163
154
|
modelValue?: any;
|
|
@@ -225,9 +216,6 @@ declare const VExpansionPanels: {
|
|
|
225
216
|
focusable: boolean;
|
|
226
217
|
} & {
|
|
227
218
|
class?: any;
|
|
228
|
-
title?: string | undefined;
|
|
229
|
-
text?: string | undefined;
|
|
230
|
-
value?: any;
|
|
231
219
|
theme?: string | undefined;
|
|
232
220
|
color?: string | undefined;
|
|
233
221
|
modelValue?: any;
|
|
@@ -283,51 +271,46 @@ declare const VExpansionPanels: {
|
|
|
283
271
|
default: string;
|
|
284
272
|
validator: (v: any) => boolean;
|
|
285
273
|
};
|
|
286
|
-
|
|
287
|
-
|
|
274
|
+
tag: {
|
|
275
|
+
type: StringConstructor;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
288
278
|
class: PropType<any>;
|
|
289
279
|
style: {
|
|
290
280
|
type: PropType<vue.StyleValue>;
|
|
291
281
|
default: null;
|
|
292
282
|
};
|
|
283
|
+
theme: StringConstructor;
|
|
293
284
|
color: StringConstructor;
|
|
294
|
-
expandIcon: {
|
|
295
|
-
type: PropType<IconValue>;
|
|
296
|
-
default: string;
|
|
297
|
-
};
|
|
298
|
-
collapseIcon: {
|
|
299
|
-
type: PropType<IconValue>;
|
|
300
|
-
default: string;
|
|
301
|
-
};
|
|
302
|
-
hideActions: BooleanConstructor;
|
|
303
|
-
focusable: BooleanConstructor;
|
|
304
285
|
static: BooleanConstructor;
|
|
305
|
-
ripple: {
|
|
306
|
-
type: PropType<boolean | {
|
|
307
|
-
class: string;
|
|
308
|
-
} | undefined>;
|
|
309
|
-
default: boolean;
|
|
310
|
-
};
|
|
311
286
|
readonly: BooleanConstructor;
|
|
312
|
-
tag: {
|
|
313
|
-
type: StringConstructor;
|
|
314
|
-
default: string;
|
|
315
|
-
};
|
|
316
287
|
rounded: {
|
|
317
288
|
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
318
289
|
default: undefined;
|
|
319
290
|
};
|
|
320
291
|
tile: BooleanConstructor;
|
|
321
|
-
|
|
322
|
-
disabled: BooleanConstructor;
|
|
323
|
-
selectedClass: StringConstructor;
|
|
292
|
+
eager: BooleanConstructor;
|
|
324
293
|
elevation: {
|
|
325
294
|
type: (StringConstructor | NumberConstructor)[];
|
|
326
295
|
validator(v: any): boolean;
|
|
327
296
|
};
|
|
328
|
-
title: StringConstructor;
|
|
329
|
-
text: StringConstructor;
|
|
330
297
|
bgColor: StringConstructor;
|
|
298
|
+
ripple: {
|
|
299
|
+
type: PropType<boolean | {
|
|
300
|
+
class: string;
|
|
301
|
+
} | undefined>;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
collapseIcon: {
|
|
305
|
+
type: PropType<IconValue>;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
expandIcon: {
|
|
309
|
+
type: PropType<IconValue>;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
hideActions: BooleanConstructor;
|
|
313
|
+
focusable: BooleanConstructor;
|
|
331
314
|
modelValue: {
|
|
332
315
|
type: null;
|
|
333
316
|
default: undefined;
|
|
@@ -335,6 +318,8 @@ declare const VExpansionPanels: {
|
|
|
335
318
|
multiple: BooleanConstructor;
|
|
336
319
|
mandatory: PropType<boolean | "force">;
|
|
337
320
|
max: NumberConstructor;
|
|
321
|
+
selectedClass: StringConstructor;
|
|
322
|
+
disabled: BooleanConstructor;
|
|
338
323
|
flat: BooleanConstructor;
|
|
339
324
|
}, vue.ExtractPropTypes<{
|
|
340
325
|
variant: {
|
|
@@ -342,51 +327,46 @@ declare const VExpansionPanels: {
|
|
|
342
327
|
default: string;
|
|
343
328
|
validator: (v: any) => boolean;
|
|
344
329
|
};
|
|
345
|
-
|
|
346
|
-
|
|
330
|
+
tag: {
|
|
331
|
+
type: StringConstructor;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
347
334
|
class: PropType<any>;
|
|
348
335
|
style: {
|
|
349
336
|
type: PropType<vue.StyleValue>;
|
|
350
337
|
default: null;
|
|
351
338
|
};
|
|
339
|
+
theme: StringConstructor;
|
|
352
340
|
color: StringConstructor;
|
|
353
|
-
expandIcon: {
|
|
354
|
-
type: PropType<IconValue>;
|
|
355
|
-
default: string;
|
|
356
|
-
};
|
|
357
|
-
collapseIcon: {
|
|
358
|
-
type: PropType<IconValue>;
|
|
359
|
-
default: string;
|
|
360
|
-
};
|
|
361
|
-
hideActions: BooleanConstructor;
|
|
362
|
-
focusable: BooleanConstructor;
|
|
363
341
|
static: BooleanConstructor;
|
|
364
|
-
ripple: {
|
|
365
|
-
type: PropType<boolean | {
|
|
366
|
-
class: string;
|
|
367
|
-
} | undefined>;
|
|
368
|
-
default: boolean;
|
|
369
|
-
};
|
|
370
342
|
readonly: BooleanConstructor;
|
|
371
|
-
tag: {
|
|
372
|
-
type: StringConstructor;
|
|
373
|
-
default: string;
|
|
374
|
-
};
|
|
375
343
|
rounded: {
|
|
376
344
|
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
377
345
|
default: undefined;
|
|
378
346
|
};
|
|
379
347
|
tile: BooleanConstructor;
|
|
380
|
-
|
|
381
|
-
disabled: BooleanConstructor;
|
|
382
|
-
selectedClass: StringConstructor;
|
|
348
|
+
eager: BooleanConstructor;
|
|
383
349
|
elevation: {
|
|
384
350
|
type: (StringConstructor | NumberConstructor)[];
|
|
385
351
|
validator(v: any): boolean;
|
|
386
352
|
};
|
|
387
|
-
title: StringConstructor;
|
|
388
|
-
text: StringConstructor;
|
|
389
353
|
bgColor: StringConstructor;
|
|
354
|
+
ripple: {
|
|
355
|
+
type: PropType<boolean | {
|
|
356
|
+
class: string;
|
|
357
|
+
} | undefined>;
|
|
358
|
+
default: boolean;
|
|
359
|
+
};
|
|
360
|
+
collapseIcon: {
|
|
361
|
+
type: PropType<IconValue>;
|
|
362
|
+
default: string;
|
|
363
|
+
};
|
|
364
|
+
expandIcon: {
|
|
365
|
+
type: PropType<IconValue>;
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
hideActions: BooleanConstructor;
|
|
369
|
+
focusable: BooleanConstructor;
|
|
390
370
|
modelValue: {
|
|
391
371
|
type: null;
|
|
392
372
|
default: undefined;
|
|
@@ -394,6 +374,8 @@ declare const VExpansionPanels: {
|
|
|
394
374
|
multiple: BooleanConstructor;
|
|
395
375
|
mandatory: PropType<boolean | "force">;
|
|
396
376
|
max: NumberConstructor;
|
|
377
|
+
selectedClass: StringConstructor;
|
|
378
|
+
disabled: BooleanConstructor;
|
|
397
379
|
flat: BooleanConstructor;
|
|
398
380
|
}>>;
|
|
399
381
|
type VExpansionPanels = InstanceType<typeof VExpansionPanels>;
|
|
@@ -141,6 +141,11 @@
|
|
|
141
141
|
position: relative;
|
|
142
142
|
width: 100%;
|
|
143
143
|
}
|
|
144
|
+
.v-field.v-field--center-affix.v-field--variant-underlined .v-field__input, .v-field.v-field--center-affix.v-field--variant-plain .v-field__input {
|
|
145
|
+
padding-top: unset;
|
|
146
|
+
padding-bottom: unset;
|
|
147
|
+
}
|
|
148
|
+
|
|
144
149
|
.v-input--density-default .v-field__input {
|
|
145
150
|
row-gap: 8px;
|
|
146
151
|
}
|
|
@@ -208,12 +213,12 @@ textarea.v-field__input::placeholder {
|
|
|
208
213
|
padding-top: 0;
|
|
209
214
|
}
|
|
210
215
|
|
|
211
|
-
.v-field.v-field--variant-underlined .v-field__append-inner,
|
|
212
|
-
.v-field.v-field--variant-underlined .v-field__clearable,
|
|
213
|
-
.v-field.v-field--variant-underlined .v-field__prepend-inner,
|
|
214
|
-
.v-field.v-field--variant-plain .v-field__append-inner,
|
|
215
|
-
.v-field.v-field--variant-plain .v-field__clearable,
|
|
216
|
-
.v-field.v-field--variant-plain .v-field__prepend-inner {
|
|
216
|
+
.v-field:not(.v-field--center-affix).v-field--variant-underlined .v-field__append-inner,
|
|
217
|
+
.v-field:not(.v-field--center-affix).v-field--variant-underlined .v-field__clearable,
|
|
218
|
+
.v-field:not(.v-field--center-affix).v-field--variant-underlined .v-field__prepend-inner,
|
|
219
|
+
.v-field:not(.v-field--center-affix).v-field--variant-plain .v-field__append-inner,
|
|
220
|
+
.v-field:not(.v-field--center-affix).v-field--variant-plain .v-field__clearable,
|
|
221
|
+
.v-field:not(.v-field--center-affix).v-field--variant-plain .v-field__prepend-inner {
|
|
217
222
|
align-items: flex-start;
|
|
218
223
|
padding-top: calc(var(--v-field-padding-top, 8px) + var(--v-input-padding-top, 0));
|
|
219
224
|
padding-bottom: var(--v-field-padding-bottom, 4px);
|
|
@@ -27,10 +27,7 @@ export const makeVFieldProps = propsFactory({
|
|
|
27
27
|
default: '$clear'
|
|
28
28
|
},
|
|
29
29
|
active: Boolean,
|
|
30
|
-
centerAffix:
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: undefined
|
|
33
|
-
},
|
|
30
|
+
centerAffix: Boolean,
|
|
34
31
|
color: String,
|
|
35
32
|
baseColor: String,
|
|
36
33
|
dirty: Boolean,
|
|
@@ -97,8 +94,9 @@ export const VField = genericComponent()({
|
|
|
97
94
|
const {
|
|
98
95
|
rtlClasses
|
|
99
96
|
} = useRtl();
|
|
97
|
+
const isSingleLine = computed(() => props.singleLine || props.centerAffix);
|
|
100
98
|
const isActive = computed(() => props.dirty || props.active);
|
|
101
|
-
const hasLabel = computed(() => !
|
|
99
|
+
const hasLabel = computed(() => !isSingleLine.value && !!(props.label || slots.label));
|
|
102
100
|
const uid = getUid();
|
|
103
101
|
const id = computed(() => props.id || `input-${uid}`);
|
|
104
102
|
const messagesId = computed(() => `${id.value}-messages`);
|
|
@@ -187,7 +185,7 @@ export const VField = genericComponent()({
|
|
|
187
185
|
"class": ['v-field', {
|
|
188
186
|
'v-field--active': isActive.value,
|
|
189
187
|
'v-field--appended': hasAppend,
|
|
190
|
-
'v-field--center-affix': props.centerAffix
|
|
188
|
+
'v-field--center-affix': props.centerAffix,
|
|
191
189
|
'v-field--disabled': props.disabled,
|
|
192
190
|
'v-field--dirty': props.dirty,
|
|
193
191
|
'v-field--error': props.error,
|
|
@@ -196,7 +194,7 @@ export const VField = genericComponent()({
|
|
|
196
194
|
'v-field--persistent-clear': props.persistentClear,
|
|
197
195
|
'v-field--prepended': hasPrepend,
|
|
198
196
|
'v-field--reverse': props.reverse,
|
|
199
|
-
'v-field--single-line':
|
|
197
|
+
'v-field--single-line': isSingleLine.value,
|
|
200
198
|
'v-field--no-label': !label(),
|
|
201
199
|
[`v-field--variant-${props.variant}`]: true
|
|
202
200
|
}, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
|