@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.
- package/CHANGELOG.md +2 -8
- package/dist/json/attributes.json +57 -45
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +110 -110
- package/dist/json/tags.json +4 -1
- package/dist/json/web-types.json +97 -62
- package/dist/vuetify-labs.css +2451 -2429
- package/dist/vuetify-labs.d.ts +592 -667
- package/dist/vuetify-labs.esm.js +77 -69
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +77 -69
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4229 -4207
- package/dist/vuetify.d.ts +551 -626
- package/dist/vuetify.esm.js +60 -53
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +60 -53
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +47 -45
- 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/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 +508 -583
- 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 +43 -43
- 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/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 -106
- package/package.json +1 -1
@@ -168,7 +168,7 @@ interface LocationStrategyData {
|
|
168
168
|
isRtl: Ref<boolean>;
|
169
169
|
}
|
170
170
|
type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
|
171
|
-
updateLocation: (e
|
171
|
+
updateLocation: (e?: Event) => void;
|
172
172
|
};
|
173
173
|
declare const locationStrategies: {
|
174
174
|
static: typeof staticLocationStrategy;
|
@@ -308,6 +308,7 @@ declare const VCombobox: {
|
|
308
308
|
direction: "horizontal" | "vertical";
|
309
309
|
valueComparator: typeof deepEqual;
|
310
310
|
clearIcon: IconValue;
|
311
|
+
centerAffix: boolean;
|
311
312
|
hideSpinButtons: boolean;
|
312
313
|
persistentHint: boolean;
|
313
314
|
filterMode: FilterMode;
|
@@ -357,7 +358,6 @@ declare const VCombobox: {
|
|
357
358
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
358
359
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
359
360
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
360
|
-
centerAffix?: boolean | undefined;
|
361
361
|
hint?: string | undefined;
|
362
362
|
hideDetails?: boolean | "auto" | undefined;
|
363
363
|
customFilter?: FilterFunction | undefined;
|
@@ -638,7 +638,7 @@ declare const VCombobox: {
|
|
638
638
|
eager: boolean;
|
639
639
|
location: Anchor;
|
640
640
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
641
|
-
updateLocation: (e
|
641
|
+
updateLocation: (e?: Event | undefined) => void;
|
642
642
|
} | undefined) | "connected">;
|
643
643
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
644
644
|
closeDelay: NonNullable<string | number>;
|
@@ -667,7 +667,7 @@ declare const VCombobox: {
|
|
667
667
|
eager: boolean;
|
668
668
|
location: Anchor;
|
669
669
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
670
|
-
updateLocation: (e
|
670
|
+
updateLocation: (e?: Event | undefined) => void;
|
671
671
|
} | undefined) | "connected">;
|
672
672
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
673
673
|
closeDelay: NonNullable<string | number>;
|
@@ -743,7 +743,7 @@ declare const VCombobox: {
|
|
743
743
|
eager: boolean;
|
744
744
|
location: Anchor;
|
745
745
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
746
|
-
updateLocation: (e
|
746
|
+
updateLocation: (e?: Event | undefined) => void;
|
747
747
|
} | undefined) | "connected">;
|
748
748
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
749
749
|
closeDelay: NonNullable<string | number>;
|
@@ -848,6 +848,7 @@ declare const VCombobox: {
|
|
848
848
|
direction: "horizontal" | "vertical";
|
849
849
|
valueComparator: typeof deepEqual;
|
850
850
|
clearIcon: IconValue;
|
851
|
+
centerAffix: boolean;
|
851
852
|
hideSpinButtons: boolean;
|
852
853
|
persistentHint: boolean;
|
853
854
|
filterMode: FilterMode;
|
@@ -897,7 +898,6 @@ declare const VCombobox: {
|
|
897
898
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
898
899
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
899
900
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
900
|
-
centerAffix?: boolean | undefined;
|
901
901
|
hint?: string | undefined;
|
902
902
|
hideDetails?: boolean | "auto" | undefined;
|
903
903
|
customFilter?: FilterFunction | undefined;
|
@@ -1178,7 +1178,7 @@ declare const VCombobox: {
|
|
1178
1178
|
eager: boolean;
|
1179
1179
|
location: Anchor;
|
1180
1180
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1181
|
-
updateLocation: (e
|
1181
|
+
updateLocation: (e?: Event | undefined) => void;
|
1182
1182
|
} | undefined) | "connected">;
|
1183
1183
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1184
1184
|
closeDelay: NonNullable<string | number>;
|
@@ -1207,7 +1207,7 @@ declare const VCombobox: {
|
|
1207
1207
|
eager: boolean;
|
1208
1208
|
location: Anchor;
|
1209
1209
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1210
|
-
updateLocation: (e
|
1210
|
+
updateLocation: (e?: Event | undefined) => void;
|
1211
1211
|
} | undefined) | "connected">;
|
1212
1212
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1213
1213
|
closeDelay: NonNullable<string | number>;
|
@@ -1283,7 +1283,7 @@ declare const VCombobox: {
|
|
1283
1283
|
eager: boolean;
|
1284
1284
|
location: Anchor;
|
1285
1285
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1286
|
-
updateLocation: (e
|
1286
|
+
updateLocation: (e?: Event | undefined) => void;
|
1287
1287
|
} | undefined) | "connected">;
|
1288
1288
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1289
1289
|
closeDelay: NonNullable<string | number>;
|
@@ -1502,6 +1502,7 @@ declare const VCombobox: {
|
|
1502
1502
|
direction: "horizontal" | "vertical";
|
1503
1503
|
valueComparator: typeof deepEqual;
|
1504
1504
|
clearIcon: IconValue;
|
1505
|
+
centerAffix: boolean;
|
1505
1506
|
hideSpinButtons: boolean;
|
1506
1507
|
persistentHint: boolean;
|
1507
1508
|
filterMode: FilterMode;
|
@@ -1551,7 +1552,6 @@ declare const VCombobox: {
|
|
1551
1552
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
1552
1553
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
1553
1554
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
1554
|
-
centerAffix?: boolean | undefined;
|
1555
1555
|
hint?: string | undefined;
|
1556
1556
|
hideDetails?: boolean | "auto" | undefined;
|
1557
1557
|
customFilter?: FilterFunction | undefined;
|
@@ -1832,7 +1832,7 @@ declare const VCombobox: {
|
|
1832
1832
|
eager: boolean;
|
1833
1833
|
location: Anchor;
|
1834
1834
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1835
|
-
updateLocation: (e
|
1835
|
+
updateLocation: (e?: Event | undefined) => void;
|
1836
1836
|
} | undefined) | "connected">;
|
1837
1837
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1838
1838
|
closeDelay: NonNullable<string | number>;
|
@@ -1861,7 +1861,7 @@ declare const VCombobox: {
|
|
1861
1861
|
eager: boolean;
|
1862
1862
|
location: Anchor;
|
1863
1863
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1864
|
-
updateLocation: (e
|
1864
|
+
updateLocation: (e?: Event | undefined) => void;
|
1865
1865
|
} | undefined) | "connected">;
|
1866
1866
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1867
1867
|
closeDelay: NonNullable<string | number>;
|
@@ -1937,7 +1937,7 @@ declare const VCombobox: {
|
|
1937
1937
|
eager: boolean;
|
1938
1938
|
location: Anchor;
|
1939
1939
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1940
|
-
updateLocation: (e
|
1940
|
+
updateLocation: (e?: Event | undefined) => void;
|
1941
1941
|
} | undefined) | "connected">;
|
1942
1942
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1943
1943
|
closeDelay: NonNullable<string | number>;
|
@@ -2091,6 +2091,7 @@ declare const VCombobox: {
|
|
2091
2091
|
direction: "horizontal" | "vertical";
|
2092
2092
|
valueComparator: typeof deepEqual;
|
2093
2093
|
clearIcon: IconValue;
|
2094
|
+
centerAffix: boolean;
|
2094
2095
|
hideSpinButtons: boolean;
|
2095
2096
|
persistentHint: boolean;
|
2096
2097
|
filterMode: FilterMode;
|
@@ -2140,7 +2141,6 @@ declare const VCombobox: {
|
|
2140
2141
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
2141
2142
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
2142
2143
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
2143
|
-
centerAffix?: boolean | undefined;
|
2144
2144
|
hint?: string | undefined;
|
2145
2145
|
hideDetails?: boolean | "auto" | undefined;
|
2146
2146
|
customFilter?: FilterFunction | undefined;
|
@@ -2421,7 +2421,7 @@ declare const VCombobox: {
|
|
2421
2421
|
eager: boolean;
|
2422
2422
|
location: Anchor;
|
2423
2423
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2424
|
-
updateLocation: (e
|
2424
|
+
updateLocation: (e?: Event | undefined) => void;
|
2425
2425
|
} | undefined) | "connected">;
|
2426
2426
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2427
2427
|
closeDelay: NonNullable<string | number>;
|
@@ -2450,7 +2450,7 @@ declare const VCombobox: {
|
|
2450
2450
|
eager: boolean;
|
2451
2451
|
location: Anchor;
|
2452
2452
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2453
|
-
updateLocation: (e
|
2453
|
+
updateLocation: (e?: Event | undefined) => void;
|
2454
2454
|
} | undefined) | "connected">;
|
2455
2455
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2456
2456
|
closeDelay: NonNullable<string | number>;
|
@@ -2526,7 +2526,7 @@ declare const VCombobox: {
|
|
2526
2526
|
eager: boolean;
|
2527
2527
|
location: Anchor;
|
2528
2528
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2529
|
-
updateLocation: (e
|
2529
|
+
updateLocation: (e?: Event | undefined) => void;
|
2530
2530
|
} | undefined) | "connected">;
|
2531
2531
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2532
2532
|
closeDelay: NonNullable<string | number>;
|
@@ -2879,10 +2879,7 @@ declare const VCombobox: {
|
|
2879
2879
|
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
2880
2880
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
2881
2881
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
2882
|
-
centerAffix:
|
2883
|
-
type: BooleanConstructor;
|
2884
|
-
default: undefined;
|
2885
|
-
};
|
2882
|
+
centerAffix: BooleanConstructor;
|
2886
2883
|
hideSpinButtons: BooleanConstructor;
|
2887
2884
|
hint: StringConstructor;
|
2888
2885
|
persistentHint: BooleanConstructor;
|
@@ -3224,7 +3221,7 @@ declare const VCombobox: {
|
|
3224
3221
|
eager: boolean;
|
3225
3222
|
location: Anchor;
|
3226
3223
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3227
|
-
updateLocation: (e
|
3224
|
+
updateLocation: (e?: Event | undefined) => void;
|
3228
3225
|
} | undefined) | "connected">;
|
3229
3226
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3230
3227
|
closeDelay: NonNullable<string | number>;
|
@@ -3253,7 +3250,7 @@ declare const VCombobox: {
|
|
3253
3250
|
eager: boolean;
|
3254
3251
|
location: Anchor;
|
3255
3252
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3256
|
-
updateLocation: (e
|
3253
|
+
updateLocation: (e?: Event | undefined) => void;
|
3257
3254
|
} | undefined) | "connected">;
|
3258
3255
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3259
3256
|
closeDelay: NonNullable<string | number>;
|
@@ -3329,7 +3326,7 @@ declare const VCombobox: {
|
|
3329
3326
|
eager: boolean;
|
3330
3327
|
location: Anchor;
|
3331
3328
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3332
|
-
updateLocation: (e
|
3329
|
+
updateLocation: (e?: Event | undefined) => void;
|
3333
3330
|
} | undefined) | "connected">;
|
3334
3331
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3335
3332
|
closeDelay: NonNullable<string | number>;
|
@@ -3532,10 +3529,7 @@ declare const VCombobox: {
|
|
3532
3529
|
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
3533
3530
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
3534
3531
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
3535
|
-
centerAffix:
|
3536
|
-
type: BooleanConstructor;
|
3537
|
-
default: undefined;
|
3538
|
-
};
|
3532
|
+
centerAffix: BooleanConstructor;
|
3539
3533
|
hideSpinButtons: BooleanConstructor;
|
3540
3534
|
hint: StringConstructor;
|
3541
3535
|
persistentHint: BooleanConstructor;
|
@@ -3877,7 +3871,7 @@ declare const VCombobox: {
|
|
3877
3871
|
eager: boolean;
|
3878
3872
|
location: Anchor;
|
3879
3873
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3880
|
-
updateLocation: (e
|
3874
|
+
updateLocation: (e?: Event | undefined) => void;
|
3881
3875
|
} | undefined) | "connected">;
|
3882
3876
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3883
3877
|
closeDelay: NonNullable<string | number>;
|
@@ -3906,7 +3900,7 @@ declare const VCombobox: {
|
|
3906
3900
|
eager: boolean;
|
3907
3901
|
location: Anchor;
|
3908
3902
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3909
|
-
updateLocation: (e
|
3903
|
+
updateLocation: (e?: Event | undefined) => void;
|
3910
3904
|
} | undefined) | "connected">;
|
3911
3905
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3912
3906
|
closeDelay: NonNullable<string | number>;
|
@@ -3982,7 +3976,7 @@ declare const VCombobox: {
|
|
3982
3976
|
eager: boolean;
|
3983
3977
|
location: Anchor;
|
3984
3978
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3985
|
-
updateLocation: (e
|
3979
|
+
updateLocation: (e?: Event | undefined) => void;
|
3986
3980
|
} | undefined) | "connected">;
|
3987
3981
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3988
3982
|
closeDelay: NonNullable<string | number>;
|
@@ -6,24 +6,25 @@ import "./VDataTableFooter.css";
|
|
6
6
|
import { VPagination } from "../VPagination/index.mjs";
|
7
7
|
import { VSelect } from "../VSelect/index.mjs"; // Composables
|
8
8
|
import { usePagination } from "./composables/paginate.mjs";
|
9
|
+
import { IconValue } from "../../composables/icons.mjs";
|
9
10
|
import { useLocale } from "../../composables/locale.mjs"; // Utilities
|
10
11
|
import { computed } from 'vue';
|
11
12
|
import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
12
13
|
export const makeVDataTableFooterProps = propsFactory({
|
13
14
|
prevIcon: {
|
14
|
-
type:
|
15
|
+
type: IconValue,
|
15
16
|
default: '$prev'
|
16
17
|
},
|
17
18
|
nextIcon: {
|
18
|
-
type:
|
19
|
+
type: IconValue,
|
19
20
|
default: '$next'
|
20
21
|
},
|
21
22
|
firstIcon: {
|
22
|
-
type:
|
23
|
+
type: IconValue,
|
23
24
|
default: '$first'
|
24
25
|
},
|
25
26
|
lastIcon: {
|
26
|
-
type:
|
27
|
+
type: IconValue,
|
27
28
|
default: '$last'
|
28
29
|
},
|
29
30
|
itemsPerPageText: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDataTableFooter.mjs","names":["VPagination","VSelect","usePagination","useLocale","computed","genericComponent","propsFactory","useRender","makeVDataTableFooterProps","prevIcon","type","
|
1
|
+
{"version":3,"file":"VDataTableFooter.mjs","names":["VPagination","VSelect","usePagination","IconValue","useLocale","computed","genericComponent","propsFactory","useRender","makeVDataTableFooterProps","prevIcon","type","default","nextIcon","firstIcon","lastIcon","itemsPerPageText","String","pageText","firstPageLabel","prevPageLabel","nextPageLabel","lastPageLabel","itemsPerPageOptions","Array","value","title","showCurrentPage","Boolean","VDataTableFooter","name","props","setup","_ref","slots","t","page","pageCount","startIndex","stopIndex","itemsLength","itemsPerPage","setItemsPerPage","map","option","isNaN","Number","paginationProps","filterProps","_createVNode","prepend","v","_mergeProps","$event"],"sources":["../../../src/components/VDataTable/VDataTableFooter.tsx"],"sourcesContent":["// Styles\nimport './VDataTableFooter.sass'\n\n// Components\nimport { VPagination } from '@/components/VPagination'\nimport { VSelect } from '@/components/VSelect'\n\n// Composables\nimport { usePagination } from './composables/paginate'\nimport { IconValue } from '@/composables/icons'\nimport { useLocale } from '@/composables/locale'\n\n// Utilities\nimport { computed } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const makeVDataTableFooterProps = propsFactory({\n prevIcon: {\n type: IconValue,\n default: '$prev',\n },\n nextIcon: {\n type: IconValue,\n default: '$next',\n },\n firstIcon: {\n type: IconValue,\n default: '$first',\n },\n lastIcon: {\n type: IconValue,\n default: '$last',\n },\n itemsPerPageText: {\n type: String,\n default: '$vuetify.dataFooter.itemsPerPageText',\n },\n pageText: {\n type: String,\n default: '$vuetify.dataFooter.pageText',\n },\n firstPageLabel: {\n type: String,\n default: '$vuetify.dataFooter.firstPage',\n },\n prevPageLabel: {\n type: String,\n default: '$vuetify.dataFooter.prevPage',\n },\n nextPageLabel: {\n type: String,\n default: '$vuetify.dataFooter.nextPage',\n },\n lastPageLabel: {\n type: String,\n default: '$vuetify.dataFooter.lastPage',\n },\n itemsPerPageOptions: {\n type: Array as PropType<readonly (number | { title: string, value: number })[]>,\n default: () => ([\n { value: 10, title: '10' },\n { value: 25, title: '25' },\n { value: 50, title: '50' },\n { value: 100, title: '100' },\n { value: -1, title: '$vuetify.dataFooter.itemsPerPageAll' },\n ]),\n },\n showCurrentPage: Boolean,\n}, 'VDataTableFooter')\n\nexport const VDataTableFooter = genericComponent<{ prepend: never }>()({\n name: 'VDataTableFooter',\n\n props: makeVDataTableFooterProps(),\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const { page, pageCount, startIndex, stopIndex, itemsLength, itemsPerPage, setItemsPerPage } = usePagination()\n\n const itemsPerPageOptions = computed(() => (\n props.itemsPerPageOptions.map(option => {\n if (typeof option === 'number') {\n return {\n value: option,\n title: option === -1\n ? t('$vuetify.dataFooter.itemsPerPageAll')\n : String(option),\n }\n }\n\n return {\n ...option,\n title: !isNaN(Number(option.title)) ? option.title : t(option.title),\n }\n })\n ))\n\n useRender(() => {\n const paginationProps = VPagination.filterProps(props)\n\n return (\n <div class=\"v-data-table-footer\">\n { slots.prepend?.() }\n\n <div class=\"v-data-table-footer__items-per-page\">\n <span>{ t(props.itemsPerPageText) }</span>\n\n <VSelect\n items={ itemsPerPageOptions.value }\n modelValue={ itemsPerPage.value }\n onUpdate:modelValue={ v => setItemsPerPage(Number(v)) }\n density=\"compact\"\n variant=\"outlined\"\n hide-details\n />\n </div>\n\n <div class=\"v-data-table-footer__info\">\n <div>\n { t(props.pageText, !itemsLength.value ? 0 : startIndex.value + 1, stopIndex.value, itemsLength.value) }\n </div>\n </div>\n\n <div class=\"v-data-table-footer__pagination\">\n <VPagination\n v-model={ page.value }\n density=\"comfortable\"\n first-aria-label={ props.firstPageLabel }\n last-aria-label={ props.lastPageLabel }\n length={ pageCount.value }\n next-aria-label={ props.nextPageLabel }\n previous-aria-label={ props.prevPageLabel }\n rounded\n show-first-last-page\n total-visible={ props.showCurrentPage ? 1 : 0 }\n variant=\"plain\"\n { ...paginationProps }\n ></VPagination>\n </div>\n </div>\n )\n })\n\n return {}\n },\n})\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,WAAW;AAAA,SACXC,OAAO,gCAEhB;AAAA,SACSC,aAAa;AAAA,SACbC,SAAS;AAAA,SACTC,SAAS,wCAElB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AAGA,OAAO,MAAMC,yBAAyB,GAAGF,YAAY,CAAC;EACpDG,QAAQ,EAAE;IACRC,IAAI,EAAER,SAAS;IACfS,OAAO,EAAE;EACX,CAAC;EACDC,QAAQ,EAAE;IACRF,IAAI,EAAER,SAAS;IACfS,OAAO,EAAE;EACX,CAAC;EACDE,SAAS,EAAE;IACTH,IAAI,EAAER,SAAS;IACfS,OAAO,EAAE;EACX,CAAC;EACDG,QAAQ,EAAE;IACRJ,IAAI,EAAER,SAAS;IACfS,OAAO,EAAE;EACX,CAAC;EACDI,gBAAgB,EAAE;IAChBL,IA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