@vuetify/nightly 3.6.11-master.2024-07-08 → 3.6.12-master.2024-07-10

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.
Files changed (98) hide show
  1. package/CHANGELOG.md +2 -8
  2. package/dist/json/attributes.json +57 -45
  3. package/dist/json/importMap-labs.json +16 -16
  4. package/dist/json/importMap.json +110 -110
  5. package/dist/json/tags.json +4 -1
  6. package/dist/json/web-types.json +97 -62
  7. package/dist/vuetify-labs.css +2451 -2429
  8. package/dist/vuetify-labs.d.ts +592 -667
  9. package/dist/vuetify-labs.esm.js +77 -69
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +77 -69
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +4229 -4207
  14. package/dist/vuetify.d.ts +551 -626
  15. package/dist/vuetify.esm.js +60 -53
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +60 -53
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +47 -45
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/blueprints/index.d.mts +3 -3
  23. package/lib/blueprints/md1.d.mts +3 -3
  24. package/lib/blueprints/md2.d.mts +3 -3
  25. package/lib/blueprints/md3.d.mts +3 -3
  26. package/lib/components/VAutocomplete/index.d.mts +25 -31
  27. package/lib/components/VBottomSheet/index.d.mts +10 -10
  28. package/lib/components/VCheckbox/index.d.mts +2 -8
  29. package/lib/components/VCombobox/index.d.mts +25 -31
  30. package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
  31. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  32. package/lib/components/VDataTable/index.d.mts +108 -108
  33. package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
  34. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  35. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  36. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  37. package/lib/components/VDatePicker/index.d.mts +70 -55
  38. package/lib/components/VDialog/index.d.mts +28 -28
  39. package/lib/components/VField/VField.css +11 -6
  40. package/lib/components/VField/VField.mjs +5 -7
  41. package/lib/components/VField/VField.mjs.map +1 -1
  42. package/lib/components/VField/VField.sass +6 -2
  43. package/lib/components/VField/index.d.mts +6 -12
  44. package/lib/components/VFileInput/index.d.mts +6 -12
  45. package/lib/components/VInput/VInput.css +5 -5
  46. package/lib/components/VInput/VInput.mjs +1 -4
  47. package/lib/components/VInput/VInput.mjs.map +1 -1
  48. package/lib/components/VInput/VInput.sass +1 -1
  49. package/lib/components/VInput/index.d.mts +2 -8
  50. package/lib/components/VMenu/index.d.mts +32 -32
  51. package/lib/components/VOverlay/index.d.mts +10 -10
  52. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  53. package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
  54. package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
  55. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  56. package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
  57. package/lib/components/VRadio/VRadio.mjs +8 -5
  58. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  59. package/lib/components/VRadioGroup/index.d.mts +2 -8
  60. package/lib/components/VRangeSlider/index.d.mts +2 -8
  61. package/lib/components/VSelect/index.d.mts +25 -31
  62. package/lib/components/VSlider/index.d.mts +2 -8
  63. package/lib/components/VSnackbar/index.d.mts +28 -28
  64. package/lib/components/VSpeedDial/index.d.mts +14 -14
  65. package/lib/components/VSwitch/index.d.mts +2 -8
  66. package/lib/components/VTextField/VTextField.mjs +1 -1
  67. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  68. package/lib/components/VTextField/index.d.mts +18 -24
  69. package/lib/components/VTextarea/VTextarea.mjs +5 -5
  70. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  71. package/lib/components/VTextarea/index.d.mts +72 -87
  72. package/lib/components/VTooltip/index.d.mts +32 -32
  73. package/lib/components/index.d.mts +508 -583
  74. package/lib/composables/calendar.mjs +10 -4
  75. package/lib/composables/calendar.mjs.map +1 -1
  76. package/lib/composables/date/DateAdapter.mjs.map +1 -1
  77. package/lib/composables/date/adapters/vuetify.mjs +15 -13
  78. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  79. package/lib/entry-bundler.mjs +1 -1
  80. package/lib/framework.mjs +1 -1
  81. package/lib/index.d.mts +43 -43
  82. package/lib/labs/VCalendar/VCalendar.mjs +7 -6
  83. package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
  84. package/lib/labs/VCalendar/index.d.mts +6 -0
  85. package/lib/labs/VDateInput/index.d.mts +39 -39
  86. package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
  87. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  88. package/lib/labs/VNumberInput/index.d.mts +6 -12
  89. package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
  90. package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
  91. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  92. package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
  93. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  94. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  95. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  96. package/lib/labs/VTimePicker/index.d.mts +18 -18
  97. package/lib/labs/components.d.mts +106 -106
  98. package/package.json +1 -1
@@ -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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
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: Event) => void;
2090
+ updateLocation: (e?: Event | undefined) => void;
2091
2091
  } | undefined) | "connected">;
2092
2092
  default: string;
2093
2093
  validator: (val: any) => boolean;
@@ -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(() => !props.singleLine && !!(props.label || slots.label));
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 ?? !isPlainOrUnderlined.value,
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': props.singleLine,
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],
@@ -1 +1 @@
1
- {"version":3,"file":"VField.mjs","names":["VFieldLabel","VExpandXTransition","VDefaultsProvider","useInputIcon","useBackgroundColor","useTextColor","makeComponentProps","makeFocusProps","useFocus","IconValue","LoaderSlot","makeLoaderProps","useLoader","useRtl","makeRoundedProps","useRounded","makeThemeProps","provideTheme","computed","ref","toRef","watch","animate","convertToUnit","EventProp","genericComponent","getUid","isOn","nullifyTransforms","pick","propsFactory","standardEasing","useRender","allowedVariants","makeVFieldProps","appendInnerIcon","bgColor","String","clearable","Boolean","clearIcon","type","default","active","centerAffix","undefined","color","baseColor","dirty","disabled","error","flat","label","persistentClear","prependInnerIcon","reverse","singleLine","variant","validator","v","includes","VField","name","inheritAttrs","props","id","emits","focused","value","setup","_ref","attrs","emit","slots","themeClasses","loaderClasses","focusClasses","isFocused","focus","blur","InputIcon","roundedClasses","rtlClasses","isActive","hasLabel","uid","messagesId","labelRef","floatingLabelRef","controlRef","isPlainOrUnderlined","backgroundColorClasses","backgroundColorStyles","textColorClasses","textColorStyles","val","el","$el","targetEl","requestAnimationFrame","rect","targetRect","getBoundingClientRect","x","y","height","targetWidth","width","Math","abs","maxWidth","style","getComputedStyle","targetStyle","duration","parseFloat","transitionDuration","scale","getPropertyValue","visibility","transform","easing","direction","finished","then","removeProperty","flush","slotProps","onClick","e","target","document","activeElement","preventDefault","onKeydownClear","key","stopPropagation","MouseEvent","isOutlined","hasPrepend","hasClear","clear","hasAppend","for","_createVNode","_mergeProps","class","loading","loader","_withDirectives","VIcon","icon","onKeydown","onFocus","onBlur","_vShow","_Fragment","filterFieldProps","keys","Object","filter","k"],"sources":["../../../src/components/VField/VField.tsx"],"sourcesContent":["// Styles\nimport './VField.sass'\n\n// Components\nimport { VFieldLabel } from './VFieldLabel'\nimport { VExpandXTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { useInputIcon } from '@/components/VInput/InputIcon'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { IconValue } from '@/composables/icons'\nimport { LoaderSlot, makeLoaderProps, useLoader } from '@/composables/loader'\nimport { useRtl } from '@/composables/locale'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, ref, toRef, watch } from 'vue'\nimport {\n animate,\n convertToUnit,\n EventProp,\n genericComponent,\n getUid,\n isOn,\n nullifyTransforms,\n pick,\n propsFactory,\n standardEasing,\n useRender,\n} from '@/util'\n\n// Types\nimport type { PropType, Ref } from 'vue'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nconst allowedVariants = ['underlined', 'outlined', 'filled', 'solo', 'solo-inverted', 'solo-filled', 'plain'] as const\ntype Variant = typeof allowedVariants[number]\n\nexport interface DefaultInputSlot {\n isActive: Ref<boolean>\n isFocused: Ref<boolean>\n controlRef: Ref<HTMLElement | undefined>\n focus: () => void\n blur: () => void\n}\n\nexport interface VFieldSlot extends DefaultInputSlot {\n props: Record<string, unknown>\n}\n\nexport const makeVFieldProps = propsFactory({\n appendInnerIcon: IconValue,\n bgColor: String,\n clearable: Boolean,\n clearIcon: {\n type: IconValue,\n default: '$clear',\n },\n active: Boolean,\n centerAffix: {\n type: Boolean,\n default: undefined,\n },\n color: String,\n baseColor: String,\n dirty: Boolean,\n disabled: {\n type: Boolean,\n default: null,\n },\n error: Boolean,\n flat: Boolean,\n label: String,\n persistentClear: Boolean,\n prependInnerIcon: IconValue,\n reverse: Boolean,\n singleLine: Boolean,\n variant: {\n type: String as PropType<Variant>,\n default: 'filled',\n validator: (v: any) => allowedVariants.includes(v),\n },\n\n 'onClick:clear': EventProp<[MouseEvent]>(),\n 'onClick:appendInner': EventProp<[MouseEvent]>(),\n 'onClick:prependInner': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeLoaderProps(),\n ...makeRoundedProps(),\n ...makeThemeProps(),\n}, 'VField')\n\nexport type VFieldSlots = {\n clear: DefaultInputSlot & { props: Record<string, any> }\n 'prepend-inner': DefaultInputSlot\n 'append-inner': DefaultInputSlot\n label: DefaultInputSlot & { label: string | undefined, props: Record<string, any> }\n loader: LoaderSlotProps\n default: VFieldSlot\n}\n\nexport const VField = genericComponent<new <T>(\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n },\n slots: VFieldSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VField',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n\n ...makeFocusProps(),\n ...makeVFieldProps(),\n },\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { themeClasses } = provideTheme(props)\n const { loaderClasses } = useLoader(props)\n const { focusClasses, isFocused, focus, blur } = useFocus(props)\n const { InputIcon } = useInputIcon(props)\n const { roundedClasses } = useRounded(props)\n const { rtlClasses } = useRtl()\n\n const isActive = computed(() => props.dirty || props.active)\n const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label))\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const labelRef = ref<VFieldLabel>()\n const floatingLabelRef = ref<VFieldLabel>()\n const controlRef = ref<HTMLElement>()\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { textColorClasses, textColorStyles } = useTextColor(computed(() => {\n return props.error || props.disabled ? undefined\n : isActive.value && isFocused.value ? props.color\n : props.baseColor\n }))\n\n watch(isActive, val => {\n if (hasLabel.value) {\n const el: HTMLElement = labelRef.value!.$el\n const targetEl: HTMLElement = floatingLabelRef.value!.$el\n\n requestAnimationFrame(() => {\n const rect = nullifyTransforms(el)\n const targetRect = targetEl.getBoundingClientRect()\n\n const x = targetRect.x - rect.x\n const y = targetRect.y - rect.y - (rect.height / 2 - targetRect.height / 2)\n\n const targetWidth = targetRect.width / 0.75\n const width = Math.abs(targetWidth - rect.width) > 1\n ? { maxWidth: convertToUnit(targetWidth) }\n : undefined\n\n const style = getComputedStyle(el)\n const targetStyle = getComputedStyle(targetEl)\n const duration = parseFloat(style.transitionDuration) * 1000 || 150\n const scale = parseFloat(targetStyle.getPropertyValue('--v-field-label-scale'))\n const color = targetStyle.getPropertyValue('color')\n\n el.style.visibility = 'visible'\n targetEl.style.visibility = 'hidden'\n\n animate(el, {\n transform: `translate(${x}px, ${y}px) scale(${scale})`,\n color,\n ...width,\n }, {\n duration,\n easing: standardEasing,\n direction: val ? 'normal' : 'reverse',\n }).finished.then(() => {\n el.style.removeProperty('visibility')\n targetEl.style.removeProperty('visibility')\n })\n })\n }\n }, { flush: 'post' })\n\n const slotProps = computed<DefaultInputSlot>(() => ({\n isActive,\n isFocused,\n controlRef,\n blur,\n focus,\n }))\n\n function onClick (e: MouseEvent) {\n if (e.target !== document.activeElement) {\n e.preventDefault()\n }\n }\n\n function onKeydownClear (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n props['onClick:clear']?.(new MouseEvent('click'))\n }\n\n useRender(() => {\n const isOutlined = props.variant === 'outlined'\n const hasPrepend = !!(slots['prepend-inner'] || props.prependInnerIcon)\n const hasClear = !!(props.clearable || slots.clear)\n const hasAppend = !!(slots['append-inner'] || props.appendInnerIcon || hasClear)\n const label = () => (\n slots.label\n ? slots.label({\n ...slotProps.value,\n label: props.label,\n props: { for: id.value },\n })\n : props.label\n )\n\n return (\n <div\n class={[\n 'v-field',\n {\n 'v-field--active': isActive.value,\n 'v-field--appended': hasAppend,\n 'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,\n 'v-field--disabled': props.disabled,\n 'v-field--dirty': props.dirty,\n 'v-field--error': props.error,\n 'v-field--flat': props.flat,\n 'v-field--has-background': !!props.bgColor,\n 'v-field--persistent-clear': props.persistentClear,\n 'v-field--prepended': hasPrepend,\n 'v-field--reverse': props.reverse,\n 'v-field--single-line': props.singleLine,\n 'v-field--no-label': !label(),\n [`v-field--variant-${props.variant}`]: true,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n focusClasses.value,\n loaderClasses.value,\n roundedClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n props.style,\n ]}\n onClick={ onClick }\n { ...attrs }\n >\n <div class=\"v-field__overlay\" />\n\n <LoaderSlot\n name=\"v-field\"\n active={ !!props.loading }\n color={ props.error ? 'error' : (typeof props.loading === 'string' ? props.loading : props.color) }\n v-slots={{ default: slots.loader }}\n />\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-field__prepend-inner\">\n { props.prependInnerIcon && (\n <InputIcon key=\"prepend-icon\" name=\"prependInner\" />\n )}\n\n { slots['prepend-inner']?.(slotProps.value) }\n </div>\n )}\n\n <div class=\"v-field__field\" data-no-activator=\"\">\n {['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasLabel.value && (\n <VFieldLabel\n key=\"floating-label\"\n ref={ floatingLabelRef }\n class={[textColorClasses.value]}\n floating\n for={ id.value }\n style={ textColorStyles.value }\n >\n { label() }\n </VFieldLabel>\n )}\n\n <VFieldLabel ref={ labelRef } for={ id.value }>\n { label() }\n </VFieldLabel>\n\n { slots.default?.({\n ...slotProps.value,\n props: {\n id: id.value,\n class: 'v-field__input',\n 'aria-describedby': messagesId.value,\n },\n focus,\n blur,\n } as VFieldSlot)}\n </div>\n\n { hasClear && (\n <VExpandXTransition key=\"clear\">\n <div\n class=\"v-field__clearable\"\n v-show={ props.dirty }\n onMousedown={ (e: MouseEvent) => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon: props.clearIcon,\n },\n }}\n >\n { slots.clear\n ? slots.clear({\n ...slotProps.value,\n props: {\n onKeydown: onKeydownClear,\n onFocus: focus,\n onBlur: blur,\n onClick: props['onClick:clear'],\n },\n })\n : (\n <InputIcon\n name=\"clear\"\n onKeydown={ onKeydownClear }\n onFocus={ focus }\n onBlur={ blur }\n />\n )}\n </VDefaultsProvider>\n </div>\n </VExpandXTransition>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-field__append-inner\">\n { slots['append-inner']?.(slotProps.value) }\n\n { props.appendInnerIcon && (\n <InputIcon key=\"append-icon\" name=\"appendInner\" />\n )}\n </div>\n )}\n\n <div\n class={[\n 'v-field__outline',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n >\n { isOutlined && (\n <>\n <div class=\"v-field__outline__start\" />\n\n { hasLabel.value && (\n <div class=\"v-field__outline__notch\">\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n </div>\n )}\n\n <div class=\"v-field__outline__end\" />\n </>\n )}\n\n { isPlainOrUnderlined.value && hasLabel.value && (\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n )}\n </div>\n </div>\n )\n })\n\n return {\n controlRef,\n }\n },\n})\n\nexport type VField = InstanceType<typeof VField>\n\n// TODO: this is kinda slow, might be better to implicitly inherit props instead\nexport function filterFieldProps (attrs: Record<string, unknown>) {\n const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style')\n return pick(attrs, keys)\n}\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,WAAW;AAAA,SACXC,kBAAkB;AAAA,SAClBC,iBAAiB;AAAA,SACjBC,YAAY,mCAErB;AAAA,SACSC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,UAAU,EAAEC,eAAe,EAAEC,SAAS;AAAA,SACtCC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE/CC,OAAO,EACPC,aAAa,EACbC,SAAS,EACTC,gBAAgB,EAChBC,MAAM,EACNC,IAAI,EACJC,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AChB,KAAK,IAAA4E,YAAA;QAAA;MAAA,IAAAA,YAAA,CAAAhJ,WAAA;QAAA,OAEOwF,gBAAgB;QAAA;QAAA,OAAkBvB,EAAE,CAACG;MAAK;QAAA1B,OAAA,EAAAA,CAAA,MACzDU,KAAK,CAAC,CAAC;MAAA,IAGd,EAAA4F,YAAA;QAAA;MAAA,UAIJ,EAECtD,mBAAmB,CAACtB,KAAK,IAAIgB,QAAQ,CAAChB,KAAK,IAAA4E,YAAA,CAAAhJ,WAAA;QAAA,OACxBwF,gBAAgB;QAAA;QAAA,OAAkBvB,EAAE,CAACG;MAAK;QAAA1B,OAAA,EAAAA,CAAA,MACzDU,KAAK,CAAC,CAAC;MAAA,EAEZ;IAIT,CAAC,CAAC;IAEF,OAAO;MACLqC;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAIF;AACA,OAAO,SAASoE,gBAAgBA,CAAEtF,KAA8B,EAAE;EAChE,MAAMuF,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACjG,MAAM,CAACG,KAAK,CAAC,CAACgG,MAAM,CAACC,CAAC,IAAI,CAACtI,IAAI,CAACsI,CAAC,CAAC,IAAIA,CAAC,KAAK,OAAO,IAAIA,CAAC,KAAK,OAAO,CAAC;EAC9F,OAAOpI,IAAI,CAAC0C,KAAK,EAAEuF,IAAI,CAAC;AAC1B","ignoreList":[]}
1
+ {"version":3,"file":"VField.mjs","names":["VFieldLabel","VExpandXTransition","VDefaultsProvider","useInputIcon","useBackgroundColor","useTextColor","makeComponentProps","makeFocusProps","useFocus","IconValue","LoaderSlot","makeLoaderProps","useLoader","useRtl","makeRoundedProps","useRounded","makeThemeProps","provideTheme","computed","ref","toRef","watch","animate","convertToUnit","EventProp","genericComponent","getUid","isOn","nullifyTransforms","pick","propsFactory","standardEasing","useRender","allowedVariants","makeVFieldProps","appendInnerIcon","bgColor","String","clearable","Boolean","clearIcon","type","default","active","centerAffix","color","baseColor","dirty","disabled","error","flat","label","persistentClear","prependInnerIcon","reverse","singleLine","variant","validator","v","includes","VField","name","inheritAttrs","props","id","emits","focused","value","setup","_ref","attrs","emit","slots","themeClasses","loaderClasses","focusClasses","isFocused","focus","blur","InputIcon","roundedClasses","rtlClasses","isSingleLine","isActive","hasLabel","uid","messagesId","labelRef","floatingLabelRef","controlRef","isPlainOrUnderlined","backgroundColorClasses","backgroundColorStyles","textColorClasses","textColorStyles","undefined","val","el","$el","targetEl","requestAnimationFrame","rect","targetRect","getBoundingClientRect","x","y","height","targetWidth","width","Math","abs","maxWidth","style","getComputedStyle","targetStyle","duration","parseFloat","transitionDuration","scale","getPropertyValue","visibility","transform","easing","direction","finished","then","removeProperty","flush","slotProps","onClick","e","target","document","activeElement","preventDefault","onKeydownClear","key","stopPropagation","MouseEvent","isOutlined","hasPrepend","hasClear","clear","hasAppend","for","_createVNode","_mergeProps","class","loading","loader","_withDirectives","VIcon","icon","onKeydown","onFocus","onBlur","_vShow","_Fragment","filterFieldProps","keys","Object","filter","k"],"sources":["../../../src/components/VField/VField.tsx"],"sourcesContent":["// Styles\nimport './VField.sass'\n\n// Components\nimport { VFieldLabel } from './VFieldLabel'\nimport { VExpandXTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { useInputIcon } from '@/components/VInput/InputIcon'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { IconValue } from '@/composables/icons'\nimport { LoaderSlot, makeLoaderProps, useLoader } from '@/composables/loader'\nimport { useRtl } from '@/composables/locale'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, ref, toRef, watch } from 'vue'\nimport {\n animate,\n convertToUnit,\n EventProp,\n genericComponent,\n getUid,\n isOn,\n nullifyTransforms,\n pick,\n propsFactory,\n standardEasing,\n useRender,\n} from '@/util'\n\n// Types\nimport type { PropType, Ref } from 'vue'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nconst allowedVariants = ['underlined', 'outlined', 'filled', 'solo', 'solo-inverted', 'solo-filled', 'plain'] as const\ntype Variant = typeof allowedVariants[number]\n\nexport interface DefaultInputSlot {\n isActive: Ref<boolean>\n isFocused: Ref<boolean>\n controlRef: Ref<HTMLElement | undefined>\n focus: () => void\n blur: () => void\n}\n\nexport interface VFieldSlot extends DefaultInputSlot {\n props: Record<string, unknown>\n}\n\nexport const makeVFieldProps = propsFactory({\n appendInnerIcon: IconValue,\n bgColor: String,\n clearable: Boolean,\n clearIcon: {\n type: IconValue,\n default: '$clear',\n },\n active: Boolean,\n centerAffix: Boolean,\n color: String,\n baseColor: String,\n dirty: Boolean,\n disabled: {\n type: Boolean,\n default: null,\n },\n error: Boolean,\n flat: Boolean,\n label: String,\n persistentClear: Boolean,\n prependInnerIcon: IconValue,\n reverse: Boolean,\n singleLine: Boolean,\n variant: {\n type: String as PropType<Variant>,\n default: 'filled',\n validator: (v: any) => allowedVariants.includes(v),\n },\n\n 'onClick:clear': EventProp<[MouseEvent]>(),\n 'onClick:appendInner': EventProp<[MouseEvent]>(),\n 'onClick:prependInner': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeLoaderProps(),\n ...makeRoundedProps(),\n ...makeThemeProps(),\n}, 'VField')\n\nexport type VFieldSlots = {\n clear: DefaultInputSlot & { props: Record<string, any> }\n 'prepend-inner': DefaultInputSlot\n 'append-inner': DefaultInputSlot\n label: DefaultInputSlot & { label: string | undefined, props: Record<string, any> }\n loader: LoaderSlotProps\n default: VFieldSlot\n}\n\nexport const VField = genericComponent<new <T>(\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n },\n slots: VFieldSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VField',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n\n ...makeFocusProps(),\n ...makeVFieldProps(),\n },\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { themeClasses } = provideTheme(props)\n const { loaderClasses } = useLoader(props)\n const { focusClasses, isFocused, focus, blur } = useFocus(props)\n const { InputIcon } = useInputIcon(props)\n const { roundedClasses } = useRounded(props)\n const { rtlClasses } = useRtl()\n\n const isSingleLine = computed(() => props.singleLine || props.centerAffix)\n const isActive = computed(() => props.dirty || props.active)\n const hasLabel = computed(() => !isSingleLine.value && !!(props.label || slots.label))\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const labelRef = ref<VFieldLabel>()\n const floatingLabelRef = ref<VFieldLabel>()\n const controlRef = ref<HTMLElement>()\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { textColorClasses, textColorStyles } = useTextColor(computed(() => {\n return props.error || props.disabled ? undefined\n : isActive.value && isFocused.value ? props.color\n : props.baseColor\n }))\n\n watch(isActive, val => {\n if (hasLabel.value) {\n const el: HTMLElement = labelRef.value!.$el\n const targetEl: HTMLElement = floatingLabelRef.value!.$el\n\n requestAnimationFrame(() => {\n const rect = nullifyTransforms(el)\n const targetRect = targetEl.getBoundingClientRect()\n\n const x = targetRect.x - rect.x\n const y = targetRect.y - rect.y - (rect.height / 2 - targetRect.height / 2)\n\n const targetWidth = targetRect.width / 0.75\n const width = Math.abs(targetWidth - rect.width) > 1\n ? { maxWidth: convertToUnit(targetWidth) }\n : undefined\n\n const style = getComputedStyle(el)\n const targetStyle = getComputedStyle(targetEl)\n const duration = parseFloat(style.transitionDuration) * 1000 || 150\n const scale = parseFloat(targetStyle.getPropertyValue('--v-field-label-scale'))\n const color = targetStyle.getPropertyValue('color')\n\n el.style.visibility = 'visible'\n targetEl.style.visibility = 'hidden'\n\n animate(el, {\n transform: `translate(${x}px, ${y}px) scale(${scale})`,\n color,\n ...width,\n }, {\n duration,\n easing: standardEasing,\n direction: val ? 'normal' : 'reverse',\n }).finished.then(() => {\n el.style.removeProperty('visibility')\n targetEl.style.removeProperty('visibility')\n })\n })\n }\n }, { flush: 'post' })\n\n const slotProps = computed<DefaultInputSlot>(() => ({\n isActive,\n isFocused,\n controlRef,\n blur,\n focus,\n }))\n\n function onClick (e: MouseEvent) {\n if (e.target !== document.activeElement) {\n e.preventDefault()\n }\n }\n\n function onKeydownClear (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n props['onClick:clear']?.(new MouseEvent('click'))\n }\n\n useRender(() => {\n const isOutlined = props.variant === 'outlined'\n const hasPrepend = !!(slots['prepend-inner'] || props.prependInnerIcon)\n const hasClear = !!(props.clearable || slots.clear)\n const hasAppend = !!(slots['append-inner'] || props.appendInnerIcon || hasClear)\n const label = () => (\n slots.label\n ? slots.label({\n ...slotProps.value,\n label: props.label,\n props: { for: id.value },\n })\n : props.label\n )\n\n return (\n <div\n class={[\n 'v-field',\n {\n 'v-field--active': isActive.value,\n 'v-field--appended': hasAppend,\n 'v-field--center-affix': props.centerAffix,\n 'v-field--disabled': props.disabled,\n 'v-field--dirty': props.dirty,\n 'v-field--error': props.error,\n 'v-field--flat': props.flat,\n 'v-field--has-background': !!props.bgColor,\n 'v-field--persistent-clear': props.persistentClear,\n 'v-field--prepended': hasPrepend,\n 'v-field--reverse': props.reverse,\n 'v-field--single-line': isSingleLine.value,\n 'v-field--no-label': !label(),\n [`v-field--variant-${props.variant}`]: true,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n focusClasses.value,\n loaderClasses.value,\n roundedClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n props.style,\n ]}\n onClick={ onClick }\n { ...attrs }\n >\n <div class=\"v-field__overlay\" />\n\n <LoaderSlot\n name=\"v-field\"\n active={ !!props.loading }\n color={ props.error ? 'error' : (typeof props.loading === 'string' ? props.loading : props.color) }\n v-slots={{ default: slots.loader }}\n />\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-field__prepend-inner\">\n { props.prependInnerIcon && (\n <InputIcon key=\"prepend-icon\" name=\"prependInner\" />\n )}\n\n { slots['prepend-inner']?.(slotProps.value) }\n </div>\n )}\n\n <div class=\"v-field__field\" data-no-activator=\"\">\n {['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasLabel.value && (\n <VFieldLabel\n key=\"floating-label\"\n ref={ floatingLabelRef }\n class={[textColorClasses.value]}\n floating\n for={ id.value }\n style={ textColorStyles.value }\n >\n { label() }\n </VFieldLabel>\n )}\n\n <VFieldLabel ref={ labelRef } for={ id.value }>\n { label() }\n </VFieldLabel>\n\n { slots.default?.({\n ...slotProps.value,\n props: {\n id: id.value,\n class: 'v-field__input',\n 'aria-describedby': messagesId.value,\n },\n focus,\n blur,\n } as VFieldSlot)}\n </div>\n\n { hasClear && (\n <VExpandXTransition key=\"clear\">\n <div\n class=\"v-field__clearable\"\n v-show={ props.dirty }\n onMousedown={ (e: MouseEvent) => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon: props.clearIcon,\n },\n }}\n >\n { slots.clear\n ? slots.clear({\n ...slotProps.value,\n props: {\n onKeydown: onKeydownClear,\n onFocus: focus,\n onBlur: blur,\n onClick: props['onClick:clear'],\n },\n })\n : (\n <InputIcon\n name=\"clear\"\n onKeydown={ onKeydownClear }\n onFocus={ focus }\n onBlur={ blur }\n />\n )}\n </VDefaultsProvider>\n </div>\n </VExpandXTransition>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-field__append-inner\">\n { slots['append-inner']?.(slotProps.value) }\n\n { props.appendInnerIcon && (\n <InputIcon key=\"append-icon\" name=\"appendInner\" />\n )}\n </div>\n )}\n\n <div\n class={[\n 'v-field__outline',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n >\n { isOutlined && (\n <>\n <div class=\"v-field__outline__start\" />\n\n { hasLabel.value && (\n <div class=\"v-field__outline__notch\">\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n </div>\n )}\n\n <div class=\"v-field__outline__end\" />\n </>\n )}\n\n { isPlainOrUnderlined.value && hasLabel.value && (\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n )}\n </div>\n </div>\n )\n })\n\n return {\n controlRef,\n }\n },\n})\n\nexport type VField = InstanceType<typeof VField>\n\n// TODO: this is kinda slow, might be better to implicitly inherit props instead\nexport function filterFieldProps (attrs: Record<string, unknown>) {\n const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style')\n return pick(attrs, keys)\n}\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,WAAW;AAAA,SACXC,kBAAkB;AAAA,SAClBC,iBAAiB;AAAA,SACjBC,YAAY,mCAErB;AAAA,SACSC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,UAAU,EAAEC,eAAe,EAAEC,SAAS;AAAA,SACtCC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE/CC,OAAO,EACPC,aAAa,EACbC,SAAS,EACTC,gBAAgB,EAChBC,MAAM,EACNC,IAAI,EACJC,iBAAiB,EACjBC,IAAI,EACJC,YAAY,EACZC,cAAc,EACdC,SAAS,gCAGX;AAKA,MAAMC,eAAe,GAAG,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,CAAU;AAetH,O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C,CAAC;MAAA,IAGd,EAAA8F,YAAA;QAAA;MAAA,UAIJ,EAECvD,mBAAmB,CAACvB,KAAK,IAAIiB,QAAQ,CAACjB,KAAK,IAAA8E,YAAA,CAAAjJ,WAAA;QAAA,OACxBwF,gBAAgB;QAAA;QAAA,OAAkBxB,EAAE,CAACG;MAAK;QAAAzB,OAAA,EAAAA,CAAA,MACzDS,KAAK,CAAC,CAAC;MAAA,EAEZ;IAIT,CAAC,CAAC;IAEF,OAAO;MACLsC;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAIF;AACA,OAAO,SAASqE,gBAAgBA,CAAExF,KAA8B,EAAE;EAChE,MAAMyF,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACnG,MAAM,CAACG,KAAK,CAAC,CAACkG,MAAM,CAACC,CAAC,IAAI,CAACvI,IAAI,CAACuI,CAAC,CAAC,IAAIA,CAAC,KAAK,OAAO,IAAIA,CAAC,KAAK,OAAO,CAAC;EAC9F,OAAOrI,IAAI,CAACyC,KAAK,EAAEyF,IAAI,CAAC;AAC1B","ignoreList":[]}
@@ -141,6 +141,10 @@
141
141
 
142
142
  $root: &
143
143
 
144
+ @at-root #{selector.nest('.v-field.v-field--center-affix.v-field--variant-underlined, .v-field.v-field--center-affix.v-field--variant-plain', &)}
145
+ padding-top: unset
146
+ padding-bottom: unset
147
+
144
148
  @at-root
145
149
  @include tools.density('v-input', $input-density) using ($modifier)
146
150
  @at-root #{selector.nest(&, $root)}
@@ -195,8 +199,8 @@
195
199
  align-items: center
196
200
  padding-top: 0
197
201
 
198
- .v-field.v-field--variant-underlined,
199
- .v-field.v-field--variant-plain
202
+ .v-field:not(.v-field--center-affix).v-field--variant-underlined,
203
+ .v-field:not(.v-field--center-affix).v-field--variant-plain
200
204
  .v-field__append-inner,
201
205
  .v-field__clearable,
202
206
  .v-field__prepend-inner
@@ -73,6 +73,7 @@ declare const VField: {
73
73
  variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
74
74
  tile: boolean;
75
75
  clearIcon: IconValue;
76
+ centerAffix: boolean;
76
77
  clearable: boolean;
77
78
  dirty: boolean;
78
79
  persistentClear: boolean;
@@ -93,7 +94,6 @@ declare const VField: {
93
94
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
94
95
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
95
96
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
96
- centerAffix?: boolean | undefined;
97
97
  } & {
98
98
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
99
99
  }, {
@@ -112,6 +112,7 @@ declare const VField: {
112
112
  variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
113
113
  tile: boolean;
114
114
  clearIcon: IconValue;
115
+ centerAffix: boolean;
115
116
  clearable: boolean;
116
117
  dirty: boolean;
117
118
  persistentClear: boolean;
@@ -132,7 +133,6 @@ declare const VField: {
132
133
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
133
134
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
134
135
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
135
- centerAffix?: boolean | undefined;
136
136
  } & {
137
137
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
138
138
  }, {
@@ -194,6 +194,7 @@ declare const VField: {
194
194
  variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
195
195
  tile: boolean;
196
196
  clearIcon: IconValue;
197
+ centerAffix: boolean;
197
198
  clearable: boolean;
198
199
  dirty: boolean;
199
200
  persistentClear: boolean;
@@ -214,7 +215,6 @@ declare const VField: {
214
215
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
215
216
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
216
217
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
217
- centerAffix?: boolean | undefined;
218
218
  } & {
219
219
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
220
220
  }, {
@@ -251,6 +251,7 @@ declare const VField: {
251
251
  variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
252
252
  tile: boolean;
253
253
  clearIcon: IconValue;
254
+ centerAffix: boolean;
254
255
  clearable: boolean;
255
256
  dirty: boolean;
256
257
  persistentClear: boolean;
@@ -271,7 +272,6 @@ declare const VField: {
271
272
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
272
273
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
273
274
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
274
- centerAffix?: boolean | undefined;
275
275
  } & {
276
276
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
277
277
  }, {
@@ -347,10 +347,7 @@ declare const VField: {
347
347
  default: string;
348
348
  };
349
349
  active: BooleanConstructor;
350
- centerAffix: {
351
- type: BooleanConstructor;
352
- default: undefined;
353
- };
350
+ centerAffix: BooleanConstructor;
354
351
  color: StringConstructor;
355
352
  baseColor: StringConstructor;
356
353
  dirty: BooleanConstructor;
@@ -397,10 +394,7 @@ declare const VField: {
397
394
  default: string;
398
395
  };
399
396
  active: BooleanConstructor;
400
- centerAffix: {
401
- type: BooleanConstructor;
402
- default: undefined;
403
- };
397
+ centerAffix: BooleanConstructor;
404
398
  color: StringConstructor;
405
399
  baseColor: StringConstructor;
406
400
  dirty: BooleanConstructor;