@vuetify/nightly 3.6.11-master.2024-07-07 → 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.
- package/CHANGELOG.md +2 -7
- package/dist/json/attributes.json +58 -70
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +114 -114
- package/dist/json/tags.json +4 -7
- package/dist/json/web-types.json +98 -117
- package/dist/vuetify-labs.css +3483 -3461
- package/dist/vuetify-labs.d.ts +640 -751
- package/dist/vuetify-labs.esm.js +80 -70
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +80 -70
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1390 -1368
- package/dist/vuetify.d.ts +604 -697
- package/dist/vuetify.esm.js +63 -54
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +63 -54
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +48 -46
- 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/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/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +48 -48
- 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 +1 -1
@@ -63,7 +63,7 @@ interface LocationStrategyData {
|
|
63
63
|
isRtl: Ref<boolean>;
|
64
64
|
}
|
65
65
|
type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
|
66
|
-
updateLocation: (e
|
66
|
+
updateLocation: (e?: Event) => void;
|
67
67
|
};
|
68
68
|
declare const locationStrategies: {
|
69
69
|
static: typeof staticLocationStrategy;
|
@@ -107,7 +107,7 @@ declare const VSnackbar: {
|
|
107
107
|
eager: boolean;
|
108
108
|
location: Anchor;
|
109
109
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
110
|
-
updateLocation: (e
|
110
|
+
updateLocation: (e?: Event | undefined) => void;
|
111
111
|
} | undefined) | "connected";
|
112
112
|
activatorProps: Record<string, any>;
|
113
113
|
openOnHover: boolean;
|
@@ -192,7 +192,7 @@ declare const VSnackbar: {
|
|
192
192
|
eager: boolean;
|
193
193
|
location: Anchor;
|
194
194
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
195
|
-
updateLocation: (e
|
195
|
+
updateLocation: (e?: Event | undefined) => void;
|
196
196
|
} | undefined) | "connected";
|
197
197
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
198
198
|
activatorProps: Record<string, any>;
|
@@ -219,7 +219,7 @@ declare const VSnackbar: {
|
|
219
219
|
eager: boolean;
|
220
220
|
location: Anchor;
|
221
221
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
222
|
-
updateLocation: (e
|
222
|
+
updateLocation: (e?: Event | undefined) => void;
|
223
223
|
} | undefined) | "connected";
|
224
224
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
225
225
|
activatorProps: Record<string, any>;
|
@@ -297,7 +297,7 @@ declare const VSnackbar: {
|
|
297
297
|
eager: boolean;
|
298
298
|
location: Anchor;
|
299
299
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
300
|
-
updateLocation: (e
|
300
|
+
updateLocation: (e?: Event | undefined) => void;
|
301
301
|
} | undefined) | "connected";
|
302
302
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
303
303
|
activatorProps: Record<string, any>;
|
@@ -404,7 +404,7 @@ declare const VSnackbar: {
|
|
404
404
|
eager: boolean;
|
405
405
|
location: Anchor;
|
406
406
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
407
|
-
updateLocation: (e
|
407
|
+
updateLocation: (e?: Event | undefined) => void;
|
408
408
|
} | undefined) | "connected";
|
409
409
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
410
410
|
activatorProps: Record<string, any>;
|
@@ -500,7 +500,7 @@ declare const VSnackbar: {
|
|
500
500
|
eager: boolean;
|
501
501
|
location: Anchor;
|
502
502
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
503
|
-
updateLocation: (e
|
503
|
+
updateLocation: (e?: Event | undefined) => void;
|
504
504
|
} | undefined) | "connected";
|
505
505
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
506
506
|
activatorProps: Record<string, any>;
|
@@ -560,7 +560,7 @@ declare const VSnackbar: {
|
|
560
560
|
eager: boolean;
|
561
561
|
location: Anchor;
|
562
562
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
563
|
-
updateLocation: (e
|
563
|
+
updateLocation: (e?: Event | undefined) => void;
|
564
564
|
} | undefined) | "connected";
|
565
565
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
566
566
|
activatorProps: Record<string, any>;
|
@@ -656,7 +656,7 @@ declare const VSnackbar: {
|
|
656
656
|
eager: boolean;
|
657
657
|
location: Anchor;
|
658
658
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
659
|
-
updateLocation: (e
|
659
|
+
updateLocation: (e?: Event | undefined) => void;
|
660
660
|
} | undefined) | "connected";
|
661
661
|
activatorProps: Record<string, any>;
|
662
662
|
openOnHover: boolean;
|
@@ -742,7 +742,7 @@ declare const VSnackbar: {
|
|
742
742
|
eager: boolean;
|
743
743
|
location: Anchor;
|
744
744
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
745
|
-
updateLocation: (e
|
745
|
+
updateLocation: (e?: Event | undefined) => void;
|
746
746
|
} | undefined) | "connected";
|
747
747
|
activatorProps: Record<string, any>;
|
748
748
|
openOnClick: boolean;
|
@@ -794,7 +794,7 @@ declare const VSnackbar: {
|
|
794
794
|
eager: boolean;
|
795
795
|
location: Anchor;
|
796
796
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
797
|
-
updateLocation: (e
|
797
|
+
updateLocation: (e?: Event | undefined) => void;
|
798
798
|
} | undefined) | "connected";
|
799
799
|
activatorProps: Record<string, any>;
|
800
800
|
openOnHover: boolean;
|
@@ -879,7 +879,7 @@ declare const VSnackbar: {
|
|
879
879
|
eager: boolean;
|
880
880
|
location: Anchor;
|
881
881
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
882
|
-
updateLocation: (e
|
882
|
+
updateLocation: (e?: Event | undefined) => void;
|
883
883
|
} | undefined) | "connected";
|
884
884
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
885
885
|
activatorProps: Record<string, any>;
|
@@ -906,7 +906,7 @@ declare const VSnackbar: {
|
|
906
906
|
eager: boolean;
|
907
907
|
location: Anchor;
|
908
908
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
909
|
-
updateLocation: (e
|
909
|
+
updateLocation: (e?: Event | undefined) => void;
|
910
910
|
} | undefined) | "connected";
|
911
911
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
912
912
|
activatorProps: Record<string, any>;
|
@@ -984,7 +984,7 @@ declare const VSnackbar: {
|
|
984
984
|
eager: boolean;
|
985
985
|
location: Anchor;
|
986
986
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
987
|
-
updateLocation: (e
|
987
|
+
updateLocation: (e?: Event | undefined) => void;
|
988
988
|
} | undefined) | "connected";
|
989
989
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
990
990
|
activatorProps: Record<string, any>;
|
@@ -1091,7 +1091,7 @@ declare const VSnackbar: {
|
|
1091
1091
|
eager: boolean;
|
1092
1092
|
location: Anchor;
|
1093
1093
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1094
|
-
updateLocation: (e
|
1094
|
+
updateLocation: (e?: Event | undefined) => void;
|
1095
1095
|
} | undefined) | "connected";
|
1096
1096
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1097
1097
|
activatorProps: Record<string, any>;
|
@@ -1187,7 +1187,7 @@ declare const VSnackbar: {
|
|
1187
1187
|
eager: boolean;
|
1188
1188
|
location: Anchor;
|
1189
1189
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1190
|
-
updateLocation: (e
|
1190
|
+
updateLocation: (e?: Event | undefined) => void;
|
1191
1191
|
} | undefined) | "connected";
|
1192
1192
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1193
1193
|
activatorProps: Record<string, any>;
|
@@ -1247,7 +1247,7 @@ declare const VSnackbar: {
|
|
1247
1247
|
eager: boolean;
|
1248
1248
|
location: Anchor;
|
1249
1249
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1250
|
-
updateLocation: (e
|
1250
|
+
updateLocation: (e?: Event | undefined) => void;
|
1251
1251
|
} | undefined) | "connected";
|
1252
1252
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1253
1253
|
activatorProps: Record<string, any>;
|
@@ -1342,7 +1342,7 @@ declare const VSnackbar: {
|
|
1342
1342
|
eager: boolean;
|
1343
1343
|
location: Anchor;
|
1344
1344
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1345
|
-
updateLocation: (e
|
1345
|
+
updateLocation: (e?: Event | undefined) => void;
|
1346
1346
|
} | undefined) | "connected";
|
1347
1347
|
activatorProps: Record<string, any>;
|
1348
1348
|
openOnClick: boolean;
|
@@ -1373,7 +1373,7 @@ declare const VSnackbar: {
|
|
1373
1373
|
eager: boolean;
|
1374
1374
|
location: Anchor;
|
1375
1375
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1376
|
-
updateLocation: (e
|
1376
|
+
updateLocation: (e?: Event | undefined) => void;
|
1377
1377
|
} | undefined) | "connected";
|
1378
1378
|
activatorProps: Record<string, any>;
|
1379
1379
|
openOnHover: boolean;
|
@@ -1458,7 +1458,7 @@ declare const VSnackbar: {
|
|
1458
1458
|
eager: boolean;
|
1459
1459
|
location: Anchor;
|
1460
1460
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1461
|
-
updateLocation: (e
|
1461
|
+
updateLocation: (e?: Event | undefined) => void;
|
1462
1462
|
} | undefined) | "connected";
|
1463
1463
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1464
1464
|
activatorProps: Record<string, any>;
|
@@ -1485,7 +1485,7 @@ declare const VSnackbar: {
|
|
1485
1485
|
eager: boolean;
|
1486
1486
|
location: Anchor;
|
1487
1487
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1488
|
-
updateLocation: (e
|
1488
|
+
updateLocation: (e?: Event | undefined) => void;
|
1489
1489
|
} | undefined) | "connected";
|
1490
1490
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1491
1491
|
activatorProps: Record<string, any>;
|
@@ -1563,7 +1563,7 @@ declare const VSnackbar: {
|
|
1563
1563
|
eager: boolean;
|
1564
1564
|
location: Anchor;
|
1565
1565
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1566
|
-
updateLocation: (e
|
1566
|
+
updateLocation: (e?: Event | undefined) => void;
|
1567
1567
|
} | undefined) | "connected";
|
1568
1568
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1569
1569
|
activatorProps: Record<string, any>;
|
@@ -1670,7 +1670,7 @@ declare const VSnackbar: {
|
|
1670
1670
|
eager: boolean;
|
1671
1671
|
location: Anchor;
|
1672
1672
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1673
|
-
updateLocation: (e
|
1673
|
+
updateLocation: (e?: Event | undefined) => void;
|
1674
1674
|
} | undefined) | "connected";
|
1675
1675
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1676
1676
|
activatorProps: Record<string, any>;
|
@@ -1766,7 +1766,7 @@ declare const VSnackbar: {
|
|
1766
1766
|
eager: boolean;
|
1767
1767
|
location: Anchor;
|
1768
1768
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1769
|
-
updateLocation: (e
|
1769
|
+
updateLocation: (e?: Event | undefined) => void;
|
1770
1770
|
} | undefined) | "connected";
|
1771
1771
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1772
1772
|
activatorProps: Record<string, any>;
|
@@ -1826,7 +1826,7 @@ declare const VSnackbar: {
|
|
1826
1826
|
eager: boolean;
|
1827
1827
|
location: Anchor;
|
1828
1828
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1829
|
-
updateLocation: (e
|
1829
|
+
updateLocation: (e?: Event | undefined) => void;
|
1830
1830
|
} | undefined) | "connected";
|
1831
1831
|
scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
|
1832
1832
|
activatorProps: Record<string, any>;
|
@@ -1923,7 +1923,7 @@ declare const VSnackbar: {
|
|
1923
1923
|
eager: boolean;
|
1924
1924
|
location: Anchor;
|
1925
1925
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
1926
|
-
updateLocation: (e
|
1926
|
+
updateLocation: (e?: Event | undefined) => void;
|
1927
1927
|
} | undefined) | "connected";
|
1928
1928
|
activatorProps: Record<string, any>;
|
1929
1929
|
openOnClick: boolean;
|
@@ -2002,7 +2002,7 @@ declare const VSnackbar: {
|
|
2002
2002
|
activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
|
2003
2003
|
locationStrategy: {
|
2004
2004
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
2005
|
-
updateLocation: (e
|
2005
|
+
updateLocation: (e?: Event | undefined) => void;
|
2006
2006
|
} | undefined) | "connected">;
|
2007
2007
|
default: string;
|
2008
2008
|
validator: (val: any) => boolean;
|
@@ -2103,7 +2103,7 @@ declare const VSnackbar: {
|
|
2103
2103
|
activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
|
2104
2104
|
locationStrategy: {
|
2105
2105
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
2106
|
-
updateLocation: (e
|
2106
|
+
updateLocation: (e?: Event | undefined) => void;
|
2107
2107
|
} | undefined) | "connected">;
|
2108
2108
|
default: string;
|
2109
2109
|
validator: (val: any) => boolean;
|
@@ -63,7 +63,7 @@ interface LocationStrategyData {
|
|
63
63
|
isRtl: Ref<boolean>;
|
64
64
|
}
|
65
65
|
type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
|
66
|
-
updateLocation: (e
|
66
|
+
updateLocation: (e?: Event) => void;
|
67
67
|
};
|
68
68
|
declare const locationStrategies: {
|
69
69
|
static: typeof staticLocationStrategy;
|
@@ -107,7 +107,7 @@ declare const VSpeedDial: {
|
|
107
107
|
eager: boolean;
|
108
108
|
location: NonNullable<Anchor>;
|
109
109
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
110
|
-
updateLocation: (e
|
110
|
+
updateLocation: (e?: Event | undefined) => void;
|
111
111
|
} | undefined) | "connected">;
|
112
112
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
113
113
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -189,7 +189,7 @@ declare const VSpeedDial: {
|
|
189
189
|
eager: boolean;
|
190
190
|
location: NonNullable<Anchor>;
|
191
191
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
192
|
-
updateLocation: (e
|
192
|
+
updateLocation: (e?: Event | undefined) => void;
|
193
193
|
} | undefined) | "connected">;
|
194
194
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
195
195
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -269,7 +269,7 @@ declare const VSpeedDial: {
|
|
269
269
|
eager: boolean;
|
270
270
|
location: NonNullable<Anchor>;
|
271
271
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
272
|
-
updateLocation: (e
|
272
|
+
updateLocation: (e?: Event | undefined) => void;
|
273
273
|
} | undefined) | "connected">;
|
274
274
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
275
275
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -320,7 +320,7 @@ declare const VSpeedDial: {
|
|
320
320
|
eager: boolean;
|
321
321
|
location: NonNullable<Anchor>;
|
322
322
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
323
|
-
updateLocation: (e
|
323
|
+
updateLocation: (e?: Event | undefined) => void;
|
324
324
|
} | undefined) | "connected">;
|
325
325
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
326
326
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -400,7 +400,7 @@ declare const VSpeedDial: {
|
|
400
400
|
eager: boolean;
|
401
401
|
location: NonNullable<Anchor>;
|
402
402
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
403
|
-
updateLocation: (e
|
403
|
+
updateLocation: (e?: Event | undefined) => void;
|
404
404
|
} | undefined) | "connected">;
|
405
405
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
406
406
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -435,7 +435,7 @@ declare const VSpeedDial: {
|
|
435
435
|
eager: boolean;
|
436
436
|
location: NonNullable<Anchor>;
|
437
437
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
438
|
-
updateLocation: (e
|
438
|
+
updateLocation: (e?: Event | undefined) => void;
|
439
439
|
} | undefined) | "connected">;
|
440
440
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
441
441
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -517,7 +517,7 @@ declare const VSpeedDial: {
|
|
517
517
|
eager: boolean;
|
518
518
|
location: NonNullable<Anchor>;
|
519
519
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
520
|
-
updateLocation: (e
|
520
|
+
updateLocation: (e?: Event | undefined) => void;
|
521
521
|
} | undefined) | "connected">;
|
522
522
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
523
523
|
closeDelay: NonNullable<NonNullable<string | number>>;
|
@@ -618,16 +618,16 @@ declare const VSpeedDial: {
|
|
618
618
|
activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
|
619
619
|
locationStrategy: Omit<{
|
620
620
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
621
|
-
updateLocation: (e
|
621
|
+
updateLocation: (e?: Event | undefined) => void;
|
622
622
|
} | undefined) | "connected">;
|
623
623
|
default: string;
|
624
624
|
validator: (val: any) => boolean;
|
625
625
|
}, "default" | "type"> & {
|
626
626
|
type: vue.PropType<NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
627
|
-
updateLocation: (e
|
627
|
+
updateLocation: (e?: Event | undefined) => void;
|
628
628
|
} | undefined) | "connected">>;
|
629
629
|
default: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
630
|
-
updateLocation: (e
|
630
|
+
updateLocation: (e?: Event | undefined) => void;
|
631
631
|
} | undefined) | "connected">;
|
632
632
|
};
|
633
633
|
scrollStrategy: Omit<{
|
@@ -759,16 +759,16 @@ declare const VSpeedDial: {
|
|
759
759
|
activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
|
760
760
|
locationStrategy: Omit<{
|
761
761
|
type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
762
|
-
updateLocation: (e
|
762
|
+
updateLocation: (e?: Event | undefined) => void;
|
763
763
|
} | undefined) | "connected">;
|
764
764
|
default: string;
|
765
765
|
validator: (val: any) => boolean;
|
766
766
|
}, "default" | "type"> & {
|
767
767
|
type: vue.PropType<NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
768
|
-
updateLocation: (e
|
768
|
+
updateLocation: (e?: Event | undefined) => void;
|
769
769
|
} | undefined) | "connected">>;
|
770
770
|
default: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
771
|
-
updateLocation: (e
|
771
|
+
updateLocation: (e?: Event | undefined) => void;
|
772
772
|
} | undefined) | "connected">;
|
773
773
|
};
|
774
774
|
scrollStrategy: Omit<{
|
@@ -582,10 +582,7 @@ declare const VSwitch: {
|
|
582
582
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
583
583
|
minWidth: (StringConstructor | NumberConstructor)[];
|
584
584
|
appendIcon: vue.PropType<IconValue>;
|
585
|
-
centerAffix:
|
586
|
-
type: BooleanConstructor;
|
587
|
-
default: boolean;
|
588
|
-
};
|
585
|
+
centerAffix: BooleanConstructor;
|
589
586
|
prependIcon: vue.PropType<IconValue>;
|
590
587
|
hideDetails: vue.PropType<boolean | "auto">;
|
591
588
|
hideSpinButtons: BooleanConstructor;
|
@@ -678,10 +675,7 @@ declare const VSwitch: {
|
|
678
675
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
679
676
|
minWidth: (StringConstructor | NumberConstructor)[];
|
680
677
|
appendIcon: vue.PropType<IconValue>;
|
681
|
-
centerAffix:
|
682
|
-
type: BooleanConstructor;
|
683
|
-
default: boolean;
|
684
|
-
};
|
678
|
+
centerAffix: BooleanConstructor;
|
685
679
|
prependIcon: vue.PropType<IconValue>;
|
686
680
|
hideDetails: vue.PropType<boolean | "auto">;
|
687
681
|
hideSpinButtons: BooleanConstructor;
|
@@ -128,7 +128,6 @@ export const VTextField = genericComponent()({
|
|
128
128
|
}, props.class],
|
129
129
|
"style": props.style
|
130
130
|
}, rootAttrs, inputProps, {
|
131
|
-
"centerAffix": !isPlainOrUnderlined.value,
|
132
131
|
"focused": isFocused.value
|
133
132
|
}), {
|
134
133
|
...slots,
|
@@ -154,6 +153,7 @@ export const VTextField = genericComponent()({
|
|
154
153
|
"dirty": isDirty.value || props.dirty,
|
155
154
|
"disabled": isDisabled.value,
|
156
155
|
"focused": isFocused.value,
|
156
|
+
"centerAffix": props.centerAffix,
|
157
157
|
"error": isValid.value === false
|
158
158
|
}), {
|
159
159
|
...slots,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VTextField.mjs","names":["VCounter","filterFieldProps","makeVFieldProps","VField","makeVInputProps","VInput","useFocus","forwardRefs","useProxiedModel","Intersect","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","role","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","value","toString","length","max","maxlength","undefined","isPlainOrUnderlined","includes","variant","onIntersect","isIntersecting","entries","target","vInputRef","vFieldRef","inputRef","isActive","active","onFocus","document","activeElement","onControlMousedown","preventDefault","onControlClick","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","style","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","fieldClass","slotProps","inputNode","_withDirectives","_resolveDirective","handler","once","_Fragment","disabled"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { filterFieldProps, makeVFieldProps, VField } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String],\n counterValue: [Number, Function] as PropType<number | ((value: any) => number)>,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n role: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextField')\n\nexport type VTextFieldSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n default: never\n counter: VCounterSlot\n}\n\nexport const VTextField = genericComponent<VTextFieldSlots>()({\n name: 'VTextField',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n function onIntersect (\n isIntersecting: boolean,\n entries: IntersectionObserverEntry[]\n ) {\n if (!props.autofocus || !isIntersecting) return\n\n (entries[0].target as HTMLInputElement)?.focus?.()\n }\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || (props.counter !== false && props.counter != null))\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const { modelValue: _, ...inputProps } = VInput.filterProps(props)\n const fieldProps = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role={ props.role }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n type={ props.type }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n <span class=\"v-text-field__prefix__text\">\n { props.prefix }\n </span>\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n <span class=\"v-text-field__suffix__text\">\n { props.suffix }\n </span>\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n disabled={ props.disabled }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,eAAe,EAAEC,MAAM,gCAEhC;AAAA,SACSC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,eAAe,8CAExB;AAAA,OACOC,SA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C5B,OAAO,GAGpC,EAEJ,GAAGsC;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOtD,WAAW,CAAC,CAAC,CAAC,EAAE8D,SAAS,EAAEC,SAAS,EAAEC,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VTextField.mjs","names":["VCounter","filterFieldProps","makeVFieldProps","VField","makeVInputProps","VInput","useFocus","forwardRefs","useProxiedModel","Intersect","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","role","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","value","toString","length","max","maxlength","undefined","isPlainOrUnderlined","includes","variant","onIntersect","isIntersecting","entries","target","vInputRef","vFieldRef","inputRef","isActive","active","onFocus","document","activeElement","onControlMousedown","preventDefault","onControlClick","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","style","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","centerAffix","_ref3","fieldClass","slotProps","inputNode","_withDirectives","_resolveDirective","handler","once","_Fragment","disabled"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { filterFieldProps, makeVFieldProps, VField } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String],\n counterValue: [Number, Function] as PropType<number | ((value: any) => number)>,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n role: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextField')\n\nexport type VTextFieldSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n default: never\n counter: VCounterSlot\n}\n\nexport const VTextField = genericComponent<VTextFieldSlots>()({\n name: 'VTextField',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n function onIntersect (\n isIntersecting: boolean,\n entries: IntersectionObserverEntry[]\n ) {\n if (!props.autofocus || !isIntersecting) return\n\n (entries[0].target as HTMLInputElement)?.focus?.()\n }\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || (props.counter !== false && props.counter != null))\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const { modelValue: _, ...inputProps } = VInput.filterProps(props)\n const fieldProps = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role={ props.role }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n centerAffix={ props.centerAffix }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n type={ props.type }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n <span class=\"v-text-field__prefix__text\">\n { props.prefix }\n </span>\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n <span class=\"v-text-field__suffix__text\">\n { props.suffix }\n </span>\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n disabled={ props.disabled }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n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