vuetify 3.5.9 → 3.5.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/dist/_component-variables-labs.sass +1 -0
- package/dist/json/attributes.json +106 -6
- package/dist/json/importMap-labs.json +8 -4
- package/dist/json/importMap.json +122 -122
- package/dist/json/tags.json +30 -0
- package/dist/json/web-types.json +582 -15
- package/dist/vuetify-labs.css +2456 -2414
- package/dist/vuetify-labs.d.ts +2711 -1996
- package/dist/vuetify-labs.esm.js +518 -40
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +518 -39
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +681 -676
- package/dist/vuetify.d.ts +2356 -2303
- package/dist/vuetify.esm.js +605 -330
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +604 -328
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1106 -1098
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +15 -15
- package/lib/components/VApp/index.d.mts +8 -8
- package/lib/components/VAppBar/index.d.mts +7 -7
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +94 -94
- package/lib/components/VAvatar/index.d.mts +8 -8
- package/lib/components/VBadge/index.d.mts +7 -7
- package/lib/components/VBanner/index.d.mts +20 -20
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +27 -26
- package/lib/components/VBtnGroup/index.d.mts +8 -8
- package/lib/components/VCard/index.d.mts +32 -32
- package/lib/components/VCarousel/index.d.mts +6 -6
- package/lib/components/VCheckbox/index.d.mts +44 -44
- package/lib/components/VChip/index.d.mts +7 -7
- package/lib/components/VCode/index.d.mts +8 -8
- package/lib/components/VCombobox/VCombobox.mjs +5 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +94 -94
- package/lib/components/VDataTable/index.d.mts +6 -6
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +10 -4
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +10 -10
- package/lib/components/VDefaultsProvider/index.d.mts +8 -8
- package/lib/components/VDialog/index.d.mts +12 -6
- package/lib/components/VDivider/index.d.mts +8 -8
- package/lib/components/VExpansionPanel/index.d.mts +19 -19
- package/lib/components/VField/VField.css +2 -0
- package/lib/components/VField/VField.mjs +1 -1
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +2 -0
- package/lib/components/VField/index.d.mts +28 -28
- package/lib/components/VFileInput/index.d.mts +133 -133
- package/lib/components/VFooter/index.d.mts +8 -8
- package/lib/components/VGrid/index.d.mts +32 -32
- package/lib/components/VIcon/VIcon.css +4 -0
- package/lib/components/VIcon/VIcon.mjs +7 -3
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.sass +4 -0
- package/lib/components/VIcon/_variables.scss +1 -0
- package/lib/components/VIcon/index.d.mts +25 -16
- package/lib/components/VImg/index.d.mts +4 -4
- package/lib/components/VInput/index.d.mts +21 -21
- package/lib/components/VKbd/index.d.mts +8 -8
- package/lib/components/VLabel/index.d.mts +8 -8
- package/lib/components/VLayout/index.d.mts +16 -16
- package/lib/components/VLazy/index.d.mts +8 -8
- package/lib/components/VList/VListItem.mjs +2 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +48 -48
- package/lib/components/VLocaleProvider/index.d.mts +12 -12
- package/lib/components/VMain/index.d.mts +8 -8
- package/lib/components/VMenu/VMenu.mjs +3 -0
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +14 -8
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +22 -8
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +2 -1
- package/lib/components/VNavigationDrawer/index.d.mts +11 -11
- package/lib/components/VOtpInput/VOtpInput.mjs +7 -2
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.d.mts +31 -31
- package/lib/components/VOverlay/VOverlay.mjs +8 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +3 -0
- package/lib/components/VOverlay/scrollStrategies.mjs +2 -2
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VPagination/index.d.mts +7 -7
- package/lib/components/VProgressLinear/VProgressLinear.css +0 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +0 -1
- package/lib/components/VProgressLinear/index.d.mts +7 -7
- package/lib/components/VRadioGroup/index.d.mts +44 -44
- package/lib/components/VRangeSlider/index.d.mts +47 -47
- package/lib/components/VRating/index.d.mts +7 -7
- package/lib/components/VResponsive/index.d.mts +8 -8
- package/lib/components/VSelect/index.d.mts +94 -94
- package/lib/components/VSheet/index.d.mts +8 -8
- package/lib/components/VSkeletonLoader/index.d.mts +8 -8
- package/lib/components/VSlider/index.d.mts +47 -47
- package/lib/components/VSnackbar/index.d.mts +25 -19
- package/lib/components/VStepper/index.d.mts +41 -41
- package/lib/components/VSwitch/index.d.mts +39 -39
- package/lib/components/VSystemBar/index.d.mts +8 -8
- package/lib/components/VTabs/index.d.mts +15 -15
- package/lib/components/VTextField/index.d.mts +173 -173
- package/lib/components/VTextarea/index.d.mts +119 -119
- package/lib/components/VThemeProvider/index.d.mts +8 -8
- package/lib/components/VTimeline/index.d.mts +8 -8
- package/lib/components/VToolbar/index.d.mts +8 -8
- package/lib/components/VTooltip/index.d.mts +14 -8
- package/lib/components/VWindow/index.d.mts +10 -10
- package/lib/components/index.d.mts +1869 -1832
- package/lib/components/transitions/index.d.mts +128 -128
- package/lib/composables/date/adapters/vuetify.mjs +1 -1
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/composables/theme.mjs +1 -1
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +3 -2
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +37 -36
- package/lib/labs/VCalendar/index.d.mts +32 -32
- package/lib/labs/VFab/index.d.mts +15 -15
- package/lib/labs/VNumberInput/VNumberInput.css +38 -0
- package/lib/labs/VNumberInput/VNumberInput.mjs +209 -0
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -0
- package/lib/labs/VNumberInput/VNumberInput.sass +47 -0
- package/lib/labs/VNumberInput/_variables.scss +1 -0
- package/lib/labs/VNumberInput/index.d.mts +607 -0
- package/lib/labs/VNumberInput/index.mjs +2 -0
- package/lib/labs/VNumberInput/index.mjs.map +1 -0
- package/lib/labs/VPicker/index.d.mts +8 -8
- package/lib/labs/VSparkline/index.d.mts +7 -7
- package/lib/labs/VSpeedDial/VSpeedDial.mjs +9 -5
- package/lib/labs/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/labs/VSpeedDial/index.d.mts +120 -24
- package/lib/labs/VTreeview/index.d.mts +8 -8
- package/lib/labs/components.d.mts +788 -95
- package/lib/labs/components.mjs +1 -0
- package/lib/labs/components.mjs.map +1 -1
- package/lib/locale/no.mjs +1 -1
- package/lib/locale/no.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -247,7 +247,7 @@ declare const VCombobox: {
|
|
|
247
247
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
|
248
248
|
flat: boolean;
|
|
249
249
|
reverse: boolean;
|
|
250
|
-
variant: "filled" | "
|
|
250
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
251
251
|
type: string;
|
|
252
252
|
error: boolean;
|
|
253
253
|
active: boolean;
|
|
@@ -262,16 +262,16 @@ declare const VCombobox: {
|
|
|
262
262
|
eager: boolean;
|
|
263
263
|
disabled: boolean;
|
|
264
264
|
readonly: boolean | null;
|
|
265
|
-
noDataText: string;
|
|
266
265
|
messages: string | readonly string[];
|
|
267
|
-
|
|
268
|
-
density: Density;
|
|
269
|
-
valueComparator: typeof deepEqual;
|
|
270
|
-
clearIcon: IconValue;
|
|
266
|
+
noDataText: string;
|
|
271
267
|
focused: boolean;
|
|
272
268
|
errorMessages: string | readonly string[] | null;
|
|
273
269
|
maxErrors: string | number;
|
|
274
270
|
rules: readonly ValidationRule[];
|
|
271
|
+
tile: boolean;
|
|
272
|
+
density: Density;
|
|
273
|
+
valueComparator: typeof deepEqual;
|
|
274
|
+
clearIcon: IconValue;
|
|
275
275
|
hideSpinButtons: boolean;
|
|
276
276
|
persistentHint: boolean;
|
|
277
277
|
filterMode: FilterMode;
|
|
@@ -304,6 +304,8 @@ declare const VCombobox: {
|
|
|
304
304
|
placeholder?: string | undefined;
|
|
305
305
|
theme?: string | undefined;
|
|
306
306
|
counter?: string | number | boolean | undefined;
|
|
307
|
+
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
308
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
307
309
|
rounded?: string | number | boolean | undefined;
|
|
308
310
|
bgColor?: string | undefined;
|
|
309
311
|
prependIcon?: IconValue | undefined;
|
|
@@ -315,8 +317,6 @@ declare const VCombobox: {
|
|
|
315
317
|
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
|
316
318
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
317
319
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
318
|
-
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
319
|
-
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
320
320
|
centerAffix?: boolean | undefined;
|
|
321
321
|
hint?: string | undefined;
|
|
322
322
|
hideDetails?: boolean | "auto" | undefined;
|
|
@@ -815,10 +815,10 @@ declare const VCombobox: {
|
|
|
815
815
|
'update:modelValue': (value: any) => true;
|
|
816
816
|
'update:search': (value: string) => true;
|
|
817
817
|
'update:menu': (value: boolean) => true;
|
|
818
|
-
}, "multiple" | "$children" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "
|
|
818
|
+
}, "multiple" | "$children" | "v-slots" | "modelValue" | "items" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:loader" | "v-slot:label" | "v-slot:message" | "v-slot:details" | "returnObject" | "v-slot:item" | "itemTitle" | "itemValue" | "itemProps" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
819
819
|
flat: boolean;
|
|
820
820
|
reverse: boolean;
|
|
821
|
-
variant: "filled" | "
|
|
821
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
822
822
|
type: string;
|
|
823
823
|
error: boolean;
|
|
824
824
|
active: boolean;
|
|
@@ -833,16 +833,16 @@ declare const VCombobox: {
|
|
|
833
833
|
eager: boolean;
|
|
834
834
|
disabled: boolean;
|
|
835
835
|
readonly: boolean | null;
|
|
836
|
-
noDataText: string;
|
|
837
836
|
messages: string | readonly string[];
|
|
838
|
-
|
|
839
|
-
density: Density;
|
|
840
|
-
valueComparator: typeof deepEqual;
|
|
841
|
-
clearIcon: IconValue;
|
|
837
|
+
noDataText: string;
|
|
842
838
|
focused: boolean;
|
|
843
839
|
errorMessages: string | readonly string[] | null;
|
|
844
840
|
maxErrors: string | number;
|
|
845
841
|
rules: readonly ValidationRule[];
|
|
842
|
+
tile: boolean;
|
|
843
|
+
density: Density;
|
|
844
|
+
valueComparator: typeof deepEqual;
|
|
845
|
+
clearIcon: IconValue;
|
|
846
846
|
hideSpinButtons: boolean;
|
|
847
847
|
persistentHint: boolean;
|
|
848
848
|
filterMode: FilterMode;
|
|
@@ -875,6 +875,8 @@ declare const VCombobox: {
|
|
|
875
875
|
placeholder?: string | undefined;
|
|
876
876
|
theme?: string | undefined;
|
|
877
877
|
counter?: string | number | boolean | undefined;
|
|
878
|
+
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
879
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
878
880
|
rounded?: string | number | boolean | undefined;
|
|
879
881
|
bgColor?: string | undefined;
|
|
880
882
|
prependIcon?: IconValue | undefined;
|
|
@@ -886,8 +888,6 @@ declare const VCombobox: {
|
|
|
886
888
|
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
|
887
889
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
888
890
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
889
|
-
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
890
|
-
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
891
891
|
centerAffix?: boolean | undefined;
|
|
892
892
|
hint?: string | undefined;
|
|
893
893
|
hideDetails?: boolean | "auto" | undefined;
|
|
@@ -1384,7 +1384,7 @@ declare const VCombobox: {
|
|
|
1384
1384
|
}, {
|
|
1385
1385
|
flat: boolean;
|
|
1386
1386
|
reverse: boolean;
|
|
1387
|
-
variant: "filled" | "
|
|
1387
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
1388
1388
|
type: string;
|
|
1389
1389
|
error: boolean;
|
|
1390
1390
|
active: boolean;
|
|
@@ -1399,17 +1399,17 @@ declare const VCombobox: {
|
|
|
1399
1399
|
eager: boolean;
|
|
1400
1400
|
disabled: boolean;
|
|
1401
1401
|
readonly: boolean | null;
|
|
1402
|
-
noDataText: string;
|
|
1403
1402
|
messages: string | readonly string[];
|
|
1403
|
+
noDataText: string;
|
|
1404
|
+
focused: boolean;
|
|
1405
|
+
errorMessages: string | readonly string[] | null;
|
|
1406
|
+
maxErrors: string | number;
|
|
1407
|
+
rules: readonly ValidationRule[];
|
|
1404
1408
|
rounded: string | number | boolean;
|
|
1405
1409
|
tile: boolean;
|
|
1406
1410
|
density: Density;
|
|
1407
1411
|
valueComparator: typeof deepEqual;
|
|
1408
1412
|
clearIcon: IconValue;
|
|
1409
|
-
focused: boolean;
|
|
1410
|
-
errorMessages: string | readonly string[] | null;
|
|
1411
|
-
maxErrors: string | number;
|
|
1412
|
-
rules: readonly ValidationRule[];
|
|
1413
1413
|
centerAffix: boolean;
|
|
1414
1414
|
hideSpinButtons: boolean;
|
|
1415
1415
|
persistentHint: boolean;
|
|
@@ -1501,7 +1501,7 @@ declare const VCombobox: {
|
|
|
1501
1501
|
}, {
|
|
1502
1502
|
flat: boolean;
|
|
1503
1503
|
reverse: boolean;
|
|
1504
|
-
variant: "filled" | "
|
|
1504
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
1505
1505
|
type: string;
|
|
1506
1506
|
error: boolean;
|
|
1507
1507
|
active: boolean;
|
|
@@ -1516,16 +1516,16 @@ declare const VCombobox: {
|
|
|
1516
1516
|
eager: boolean;
|
|
1517
1517
|
disabled: boolean;
|
|
1518
1518
|
readonly: boolean | null;
|
|
1519
|
-
noDataText: string;
|
|
1520
1519
|
messages: string | readonly string[];
|
|
1521
|
-
|
|
1522
|
-
density: Density;
|
|
1523
|
-
valueComparator: typeof deepEqual;
|
|
1524
|
-
clearIcon: IconValue;
|
|
1520
|
+
noDataText: string;
|
|
1525
1521
|
focused: boolean;
|
|
1526
1522
|
errorMessages: string | readonly string[] | null;
|
|
1527
1523
|
maxErrors: string | number;
|
|
1528
1524
|
rules: readonly ValidationRule[];
|
|
1525
|
+
tile: boolean;
|
|
1526
|
+
density: Density;
|
|
1527
|
+
valueComparator: typeof deepEqual;
|
|
1528
|
+
clearIcon: IconValue;
|
|
1529
1529
|
hideSpinButtons: boolean;
|
|
1530
1530
|
persistentHint: boolean;
|
|
1531
1531
|
filterMode: FilterMode;
|
|
@@ -1558,6 +1558,8 @@ declare const VCombobox: {
|
|
|
1558
1558
|
placeholder?: string | undefined;
|
|
1559
1559
|
theme?: string | undefined;
|
|
1560
1560
|
counter?: string | number | boolean | undefined;
|
|
1561
|
+
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
1562
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
1561
1563
|
rounded?: string | number | boolean | undefined;
|
|
1562
1564
|
bgColor?: string | undefined;
|
|
1563
1565
|
prependIcon?: IconValue | undefined;
|
|
@@ -1569,8 +1571,6 @@ declare const VCombobox: {
|
|
|
1569
1571
|
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
|
1570
1572
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
1571
1573
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
1572
|
-
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
1573
|
-
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
1574
1574
|
centerAffix?: boolean | undefined;
|
|
1575
1575
|
hint?: string | undefined;
|
|
1576
1576
|
hideDetails?: boolean | "auto" | undefined;
|
|
@@ -2067,7 +2067,7 @@ declare const VCombobox: {
|
|
|
2067
2067
|
}, any, {}, {}, {}, {
|
|
2068
2068
|
flat: boolean;
|
|
2069
2069
|
reverse: boolean;
|
|
2070
|
-
variant: "filled" | "
|
|
2070
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
2071
2071
|
type: string;
|
|
2072
2072
|
error: boolean;
|
|
2073
2073
|
active: boolean;
|
|
@@ -2082,17 +2082,17 @@ declare const VCombobox: {
|
|
|
2082
2082
|
eager: boolean;
|
|
2083
2083
|
disabled: boolean;
|
|
2084
2084
|
readonly: boolean | null;
|
|
2085
|
-
noDataText: string;
|
|
2086
2085
|
messages: string | readonly string[];
|
|
2086
|
+
noDataText: string;
|
|
2087
|
+
focused: boolean;
|
|
2088
|
+
errorMessages: string | readonly string[] | null;
|
|
2089
|
+
maxErrors: string | number;
|
|
2090
|
+
rules: readonly ValidationRule[];
|
|
2087
2091
|
rounded: string | number | boolean;
|
|
2088
2092
|
tile: boolean;
|
|
2089
2093
|
density: Density;
|
|
2090
2094
|
valueComparator: typeof deepEqual;
|
|
2091
2095
|
clearIcon: IconValue;
|
|
2092
|
-
focused: boolean;
|
|
2093
|
-
errorMessages: string | readonly string[] | null;
|
|
2094
|
-
maxErrors: string | number;
|
|
2095
|
-
rules: readonly ValidationRule[];
|
|
2096
2096
|
centerAffix: boolean;
|
|
2097
2097
|
hideSpinButtons: boolean;
|
|
2098
2098
|
persistentHint: boolean;
|
|
@@ -2121,7 +2121,7 @@ declare const VCombobox: {
|
|
|
2121
2121
|
} & vue.ComponentOptionsBase<{
|
|
2122
2122
|
flat: boolean;
|
|
2123
2123
|
reverse: boolean;
|
|
2124
|
-
variant: "filled" | "
|
|
2124
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
2125
2125
|
type: string;
|
|
2126
2126
|
error: boolean;
|
|
2127
2127
|
active: boolean;
|
|
@@ -2136,16 +2136,16 @@ declare const VCombobox: {
|
|
|
2136
2136
|
eager: boolean;
|
|
2137
2137
|
disabled: boolean;
|
|
2138
2138
|
readonly: boolean | null;
|
|
2139
|
-
noDataText: string;
|
|
2140
2139
|
messages: string | readonly string[];
|
|
2141
|
-
|
|
2142
|
-
density: Density;
|
|
2143
|
-
valueComparator: typeof deepEqual;
|
|
2144
|
-
clearIcon: IconValue;
|
|
2140
|
+
noDataText: string;
|
|
2145
2141
|
focused: boolean;
|
|
2146
2142
|
errorMessages: string | readonly string[] | null;
|
|
2147
2143
|
maxErrors: string | number;
|
|
2148
2144
|
rules: readonly ValidationRule[];
|
|
2145
|
+
tile: boolean;
|
|
2146
|
+
density: Density;
|
|
2147
|
+
valueComparator: typeof deepEqual;
|
|
2148
|
+
clearIcon: IconValue;
|
|
2149
2149
|
hideSpinButtons: boolean;
|
|
2150
2150
|
persistentHint: boolean;
|
|
2151
2151
|
filterMode: FilterMode;
|
|
@@ -2178,6 +2178,8 @@ declare const VCombobox: {
|
|
|
2178
2178
|
placeholder?: string | undefined;
|
|
2179
2179
|
theme?: string | undefined;
|
|
2180
2180
|
counter?: string | number | boolean | undefined;
|
|
2181
|
+
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
2182
|
+
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
2181
2183
|
rounded?: string | number | boolean | undefined;
|
|
2182
2184
|
bgColor?: string | undefined;
|
|
2183
2185
|
prependIcon?: IconValue | undefined;
|
|
@@ -2189,8 +2191,6 @@ declare const VCombobox: {
|
|
|
2189
2191
|
'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
|
|
2190
2192
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
2191
2193
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
|
2192
|
-
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
2193
|
-
validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
|
|
2194
2194
|
centerAffix?: boolean | undefined;
|
|
2195
2195
|
hint?: string | undefined;
|
|
2196
2196
|
hideDetails?: boolean | "auto" | undefined;
|
|
@@ -2689,10 +2689,10 @@ declare const VCombobox: {
|
|
|
2689
2689
|
'update:modelValue': (value: any) => true;
|
|
2690
2690
|
'update:search': (value: string) => true;
|
|
2691
2691
|
'update:menu': (value: boolean) => true;
|
|
2692
|
-
}, "multiple" | "$children" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "
|
|
2692
|
+
}, "multiple" | "$children" | "v-slots" | "modelValue" | "items" | "v-slot:append" | "v-slot:prepend" | "update:modelValue" | "v-slot:loader" | "v-slot:label" | "v-slot:message" | "v-slot:details" | "returnObject" | "v-slot:item" | "itemTitle" | "itemValue" | "itemProps" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">, string, {
|
|
2693
2693
|
flat: boolean;
|
|
2694
2694
|
reverse: boolean;
|
|
2695
|
-
variant: "filled" | "
|
|
2695
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
|
2696
2696
|
type: string;
|
|
2697
2697
|
error: boolean;
|
|
2698
2698
|
active: boolean;
|
|
@@ -2707,17 +2707,17 @@ declare const VCombobox: {
|
|
|
2707
2707
|
eager: boolean;
|
|
2708
2708
|
disabled: boolean;
|
|
2709
2709
|
readonly: boolean | null;
|
|
2710
|
-
noDataText: string;
|
|
2711
2710
|
messages: string | readonly string[];
|
|
2711
|
+
noDataText: string;
|
|
2712
|
+
focused: boolean;
|
|
2713
|
+
errorMessages: string | readonly string[] | null;
|
|
2714
|
+
maxErrors: string | number;
|
|
2715
|
+
rules: readonly ValidationRule[];
|
|
2712
2716
|
rounded: string | number | boolean;
|
|
2713
2717
|
tile: boolean;
|
|
2714
2718
|
density: Density;
|
|
2715
2719
|
valueComparator: typeof deepEqual;
|
|
2716
2720
|
clearIcon: IconValue;
|
|
2717
|
-
focused: boolean;
|
|
2718
|
-
errorMessages: string | readonly string[] | null;
|
|
2719
|
-
maxErrors: string | number;
|
|
2720
|
-
rules: readonly ValidationRule[];
|
|
2721
2721
|
centerAffix: boolean;
|
|
2722
2722
|
hideSpinButtons: boolean;
|
|
2723
2723
|
persistentHint: boolean;
|
|
@@ -2871,7 +2871,7 @@ declare const VCombobox: {
|
|
|
2871
2871
|
flat: BooleanConstructor;
|
|
2872
2872
|
reverse: BooleanConstructor;
|
|
2873
2873
|
variant: {
|
|
2874
|
-
type: PropType<"filled" | "
|
|
2874
|
+
type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
|
|
2875
2875
|
default: string;
|
|
2876
2876
|
validator: (v: any) => boolean;
|
|
2877
2877
|
};
|
|
@@ -2912,11 +2912,30 @@ declare const VCombobox: {
|
|
|
2912
2912
|
class: PropType<any>;
|
|
2913
2913
|
placeholder: StringConstructor;
|
|
2914
2914
|
theme: StringConstructor;
|
|
2915
|
-
counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
2916
2915
|
messages: {
|
|
2917
2916
|
type: PropType<string | readonly string[]>;
|
|
2918
2917
|
default: () => never[];
|
|
2919
2918
|
};
|
|
2919
|
+
counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
2920
|
+
focused: BooleanConstructor;
|
|
2921
|
+
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
|
2922
|
+
errorMessages: {
|
|
2923
|
+
type: PropType<string | readonly string[] | null>;
|
|
2924
|
+
default: () => never[];
|
|
2925
|
+
};
|
|
2926
|
+
maxErrors: {
|
|
2927
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2928
|
+
default: number;
|
|
2929
|
+
};
|
|
2930
|
+
rules: {
|
|
2931
|
+
type: PropType<readonly ValidationRule[]>;
|
|
2932
|
+
default: () => never[];
|
|
2933
|
+
};
|
|
2934
|
+
modelValue: {
|
|
2935
|
+
type: PropType<any>;
|
|
2936
|
+
default: any;
|
|
2937
|
+
};
|
|
2938
|
+
validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
|
2920
2939
|
rounded: {
|
|
2921
2940
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
2922
2941
|
default: undefined;
|
|
@@ -2927,10 +2946,6 @@ declare const VCombobox: {
|
|
|
2927
2946
|
default: string;
|
|
2928
2947
|
validator: (v: any) => boolean;
|
|
2929
2948
|
};
|
|
2930
|
-
modelValue: {
|
|
2931
|
-
type: PropType<any>;
|
|
2932
|
-
default: any;
|
|
2933
|
-
};
|
|
2934
2949
|
bgColor: StringConstructor;
|
|
2935
2950
|
prependIcon: PropType<IconValue>;
|
|
2936
2951
|
appendIcon: PropType<IconValue>;
|
|
@@ -2945,21 +2960,6 @@ declare const VCombobox: {
|
|
|
2945
2960
|
'onClick:prepend': PropType<(args_0: MouseEvent) => void>;
|
|
2946
2961
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
|
2947
2962
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
|
2948
|
-
focused: BooleanConstructor;
|
|
2949
|
-
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
|
2950
|
-
validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
|
2951
|
-
errorMessages: {
|
|
2952
|
-
type: PropType<string | readonly string[] | null>;
|
|
2953
|
-
default: () => never[];
|
|
2954
|
-
};
|
|
2955
|
-
maxErrors: {
|
|
2956
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
2957
|
-
default: number;
|
|
2958
|
-
};
|
|
2959
|
-
rules: {
|
|
2960
|
-
type: PropType<readonly ValidationRule[]>;
|
|
2961
|
-
default: () => never[];
|
|
2962
|
-
};
|
|
2963
2963
|
centerAffix: {
|
|
2964
2964
|
type: BooleanConstructor;
|
|
2965
2965
|
default: undefined;
|
|
@@ -3555,7 +3555,7 @@ declare const VCombobox: {
|
|
|
3555
3555
|
flat: BooleanConstructor;
|
|
3556
3556
|
reverse: BooleanConstructor;
|
|
3557
3557
|
variant: {
|
|
3558
|
-
type: PropType<"filled" | "
|
|
3558
|
+
type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
|
|
3559
3559
|
default: string;
|
|
3560
3560
|
validator: (v: any) => boolean;
|
|
3561
3561
|
};
|
|
@@ -3596,11 +3596,30 @@ declare const VCombobox: {
|
|
|
3596
3596
|
class: PropType<any>;
|
|
3597
3597
|
placeholder: StringConstructor;
|
|
3598
3598
|
theme: StringConstructor;
|
|
3599
|
-
counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
3600
3599
|
messages: {
|
|
3601
3600
|
type: PropType<string | readonly string[]>;
|
|
3602
3601
|
default: () => never[];
|
|
3603
3602
|
};
|
|
3603
|
+
counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
3604
|
+
focused: BooleanConstructor;
|
|
3605
|
+
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
|
3606
|
+
errorMessages: {
|
|
3607
|
+
type: PropType<string | readonly string[] | null>;
|
|
3608
|
+
default: () => never[];
|
|
3609
|
+
};
|
|
3610
|
+
maxErrors: {
|
|
3611
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
3612
|
+
default: number;
|
|
3613
|
+
};
|
|
3614
|
+
rules: {
|
|
3615
|
+
type: PropType<readonly ValidationRule[]>;
|
|
3616
|
+
default: () => never[];
|
|
3617
|
+
};
|
|
3618
|
+
modelValue: {
|
|
3619
|
+
type: PropType<any>;
|
|
3620
|
+
default: any;
|
|
3621
|
+
};
|
|
3622
|
+
validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
|
3604
3623
|
rounded: {
|
|
3605
3624
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
3606
3625
|
default: undefined;
|
|
@@ -3611,10 +3630,6 @@ declare const VCombobox: {
|
|
|
3611
3630
|
default: string;
|
|
3612
3631
|
validator: (v: any) => boolean;
|
|
3613
3632
|
};
|
|
3614
|
-
modelValue: {
|
|
3615
|
-
type: PropType<any>;
|
|
3616
|
-
default: any;
|
|
3617
|
-
};
|
|
3618
3633
|
bgColor: StringConstructor;
|
|
3619
3634
|
prependIcon: PropType<IconValue>;
|
|
3620
3635
|
appendIcon: PropType<IconValue>;
|
|
@@ -3629,21 +3644,6 @@ declare const VCombobox: {
|
|
|
3629
3644
|
'onClick:prepend': PropType<(args_0: MouseEvent) => void>;
|
|
3630
3645
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
|
3631
3646
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
|
3632
|
-
focused: BooleanConstructor;
|
|
3633
|
-
'onUpdate:focused': PropType<(args_0: boolean) => void>;
|
|
3634
|
-
validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
|
|
3635
|
-
errorMessages: {
|
|
3636
|
-
type: PropType<string | readonly string[] | null>;
|
|
3637
|
-
default: () => never[];
|
|
3638
|
-
};
|
|
3639
|
-
maxErrors: {
|
|
3640
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
3641
|
-
default: number;
|
|
3642
|
-
};
|
|
3643
|
-
rules: {
|
|
3644
|
-
type: PropType<readonly ValidationRule[]>;
|
|
3645
|
-
default: () => never[];
|
|
3646
|
-
};
|
|
3647
3647
|
centerAffix: {
|
|
3648
3648
|
type: BooleanConstructor;
|
|
3649
3649
|
default: undefined;
|
|
@@ -879,7 +879,7 @@ declare const VDataTable: {
|
|
|
879
879
|
'update:groupBy': (value: any) => boolean;
|
|
880
880
|
'update:expanded': (value: any) => boolean;
|
|
881
881
|
'update:currentItems': (value: any) => boolean;
|
|
882
|
-
}, "$children" | "headers" | "v-slot:default" | "v-slots" | "
|
|
882
|
+
}, "$children" | "headers" | "v-slot:default" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
883
883
|
page: string | number;
|
|
884
884
|
style: vue.StyleValue;
|
|
885
885
|
expanded: readonly string[];
|
|
@@ -1301,7 +1301,7 @@ declare const VDataTable: {
|
|
|
1301
1301
|
'update:groupBy': (value: any) => boolean;
|
|
1302
1302
|
'update:expanded': (value: any) => boolean;
|
|
1303
1303
|
'update:currentItems': (value: any) => boolean;
|
|
1304
|
-
}, "$children" | "headers" | "v-slot:default" | "v-slots" | "
|
|
1304
|
+
}, "$children" | "headers" | "v-slot:default" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
|
1305
1305
|
page: string | number;
|
|
1306
1306
|
style: vue.StyleValue;
|
|
1307
1307
|
expanded: readonly string[];
|
|
@@ -2305,7 +2305,7 @@ declare const VDataTableVirtual: {
|
|
|
2305
2305
|
'update:options': (value: any) => boolean;
|
|
2306
2306
|
'update:groupBy': (value: any) => boolean;
|
|
2307
2307
|
'update:expanded': (value: any) => boolean;
|
|
2308
|
-
}, "$children" | "v-slots" | "
|
|
2308
|
+
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
2309
2309
|
style: vue.StyleValue;
|
|
2310
2310
|
expanded: readonly string[];
|
|
2311
2311
|
tag: string;
|
|
@@ -2742,7 +2742,7 @@ declare const VDataTableVirtual: {
|
|
|
2742
2742
|
'update:options': (value: any) => boolean;
|
|
2743
2743
|
'update:groupBy': (value: any) => boolean;
|
|
2744
2744
|
'update:expanded': (value: any) => boolean;
|
|
2745
|
-
}, "$children" | "v-slots" | "
|
|
2745
|
+
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, string, {
|
|
2746
2746
|
style: vue.StyleValue;
|
|
2747
2747
|
expanded: readonly string[];
|
|
2748
2748
|
tag: string;
|
|
@@ -3292,7 +3292,7 @@ declare const VDataTableServer: {
|
|
|
3292
3292
|
'update:options': (options: any) => boolean;
|
|
3293
3293
|
'update:expanded': (options: any) => boolean;
|
|
3294
3294
|
'update:groupBy': (value: any) => boolean;
|
|
3295
|
-
}, "$children" | "v-slot:default" | "v-slots" | "
|
|
3295
|
+
}, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
3296
3296
|
page: string | number;
|
|
3297
3297
|
style: vue.StyleValue;
|
|
3298
3298
|
expanded: readonly string[];
|
|
@@ -3817,7 +3817,7 @@ declare const VDataTableServer: {
|
|
|
3817
3817
|
'update:options': (options: any) => boolean;
|
|
3818
3818
|
'update:expanded': (options: any) => boolean;
|
|
3819
3819
|
'update:groupBy': (value: any) => boolean;
|
|
3820
|
-
}, "$children" | "v-slot:default" | "v-slots" | "
|
|
3820
|
+
}, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
|
3821
3821
|
page: string | number;
|
|
3822
3822
|
style: vue.StyleValue;
|
|
3823
3823
|
expanded: readonly string[];
|
|
@@ -38,6 +38,12 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
38
38
|
const adapter = useDate();
|
|
39
39
|
const rangeStart = shallowRef();
|
|
40
40
|
const rangeStop = shallowRef();
|
|
41
|
+
if (props.multiple === 'range' && model.value.length > 0) {
|
|
42
|
+
rangeStart.value = model.value[0];
|
|
43
|
+
if (model.value.length > 1) {
|
|
44
|
+
rangeStop.value = model.value[model.value.length - 1];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
41
47
|
const atMax = computed(() => {
|
|
42
48
|
const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity;
|
|
43
49
|
return model.value.length >= max;
|
|
@@ -48,15 +54,15 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
48
54
|
rangeStart.value = _value;
|
|
49
55
|
model.value = [rangeStart.value];
|
|
50
56
|
} else if (!rangeStop.value) {
|
|
51
|
-
if (adapter.isSameDay(
|
|
57
|
+
if (adapter.isSameDay(_value, rangeStart.value)) {
|
|
52
58
|
rangeStart.value = undefined;
|
|
53
59
|
model.value = [];
|
|
54
60
|
return;
|
|
55
|
-
} else if (adapter.isBefore(
|
|
56
|
-
rangeStop.value = rangeStart.value;
|
|
61
|
+
} else if (adapter.isBefore(_value, rangeStart.value)) {
|
|
62
|
+
rangeStop.value = adapter.endOfDay(rangeStart.value);
|
|
57
63
|
rangeStart.value = _value;
|
|
58
64
|
} else {
|
|
59
|
-
rangeStop.value = _value;
|
|
65
|
+
rangeStop.value = adapter.endOfDay(_value);
|
|
60
66
|
}
|
|
61
67
|
const diff = adapter.getDiff(rangeStop.value, rangeStart.value, 'days');
|
|
62
68
|
const datesInRange = [rangeStart.value];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDatePickerMonth.mjs","names":["VBtn","VDefaultsProvider","makeCalendarProps","useCalendar","useDate","computed","ref","shallowRef","genericComponent","propsFactory","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","daysInMonth","model","weekNumbers","adapter","rangeStart","rangeStop","atMax","max","includes","Infinity","value","length","onRangeClick","_value","startOfDay","isSameDay","undefined","isBefore","diff","getDiff","datesInRange","i","nextDate","addDays","push","onMultipleClick","index","findIndex","selection","splice","onClick","_createVNode","_createTextVNode","map","week","getWeekdays","weekDay","item","slotProps","isSelected","isDisabled","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","class","isToday","disabled","icon","ripple","text","localized","variant","default","day"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { useDate } from '@/composables/date/date'\n\n// Utilities\nimport { computed, ref, shallowRef } from 'vue'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n\n ...makeCalendarProps(),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<VDatePickerMonthSlots>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n\n const { daysInMonth, model, weekNumbers } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(value, rangeStart.value)) {\n rangeStop.value = rangeStart.value\n rangeStart.value = _value\n } else {\n rangeStop.value = _value\n }\n\n const diff = adapter.getDiff(rangeStop.value, rangeStart.value, 'days')\n const datesInRange = [rangeStart.value]\n\n for (let i = 1; i < diff; i++) {\n const nextDate = adapter.addDays(rangeStart.value, i)\n datesInRange.push(nextDate)\n }\n\n datesInRange.push(rangeStop.value)\n\n model.value = datesInRange\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n\n return () => (\n <div class=\"v-date-picker-month\">\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <div\n ref={ daysRef }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && adapter.getWeekdays().map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n class: 'v-date-picker-month__day-btn',\n color: (item.isSelected || item.isToday) && !item.isDisabled\n ? props.color\n : undefined,\n disabled: item.isDisabled,\n icon: true,\n ripple: false,\n text: item.localized,\n variant: item.isDisabled\n ? item.isToday ? 'outlined' : 'text'\n : item.isToday && !item.isSelected ? 'outlined' : 'flat',\n onClick: () => onClick(item.date),\n },\n }}\n >\n { slots.day?.(slotProps) ?? (\n <VBtn { ...slotProps.props } />\n )}\n </VDefaultsProvider>\n )}\n </div>\n )\n })}\n </div>\n </div>\n )\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,IAAI;AAAA,SACJC,iBAAiB,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K,EAAE,8BAA8B;YACrChE,KAAK,EAAE,CAACsD,IAAI,CAACE,UAAU,IAAIF,IAAI,CAACW,OAAO,KAAK,CAACX,IAAI,CAACG,UAAU,GACxDhD,KAAK,CAACT,KAAK,GACXiC,SAAS;YACbiC,QAAQ,EAAEZ,IAAI,CAACG,UAAU;YACzBU,IAAI,EAAE,IAAI;YACVC,MAAM,EAAE,KAAK;YACbC,IAAI,EAAEf,IAAI,CAACgB,SAAS;YACpBC,OAAO,EAAEjB,IAAI,CAACG,UAAU,GACpBH,IAAI,CAACW,OAAO,GAAG,UAAU,GAAG,MAAM,GAClCX,IAAI,CAACW,OAAO,IAAI,CAACX,IAAI,CAACE,UAAU,GAAG,UAAU,GAAG,MAAM;YAC1DT,OAAO,EAAEA,CAAA,KAAMA,OAAO,CAACO,IAAI,CAAC3C,IAAI;UAClC;QACF;MAAC;QAAA6D,OAAA,EAAAA,CAAA,MAECzD,KAAK,CAAC0D,GAAG,GAAGlB,SAAS,CAAC,IAAAP,YAAA,CAAA3D,IAAA,EACXkE,SAAS,CAAC9C,KAAK,OAC3B;MAAA,EAEJ;IAGP,CAAC,CAAC,IAGP;EACH;AACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"VDatePickerMonth.mjs","names":["VBtn","VDefaultsProvider","makeCalendarProps","useCalendar","useDate","computed","ref","shallowRef","genericComponent","propsFactory","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","daysInMonth","model","weekNumbers","adapter","rangeStart","rangeStop","value","length","atMax","max","includes","Infinity","onRangeClick","_value","startOfDay","isSameDay","undefined","isBefore","endOfDay","diff","getDiff","datesInRange","i","nextDate","addDays","push","onMultipleClick","index","findIndex","selection","splice","onClick","_createVNode","_createTextVNode","map","week","getWeekdays","weekDay","item","slotProps","isSelected","isDisabled","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","class","isToday","disabled","icon","ripple","text","localized","variant","default","day"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { useDate } from '@/composables/date/date'\n\n// Utilities\nimport { computed, ref, shallowRef } from 'vue'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n\n ...makeCalendarProps(),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<VDatePickerMonthSlots>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n\n const { daysInMonth, model, weekNumbers } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n\n if (props.multiple === 'range' && model.value.length > 0) {\n rangeStart.value = model.value[0]\n if (model.value.length > 1) {\n rangeStop.value = model.value[model.value.length - 1]\n }\n }\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(_value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(_value, rangeStart.value)) {\n rangeStop.value = adapter.endOfDay(rangeStart.value)\n rangeStart.value = _value\n } else {\n rangeStop.value = adapter.endOfDay(_value)\n }\n\n const diff = adapter.getDiff(rangeStop.value, rangeStart.value, 'days')\n const datesInRange = [rangeStart.value]\n\n for (let i = 1; i < diff; i++) {\n const nextDate = adapter.addDays(rangeStart.value, i)\n datesInRange.push(nextDate)\n }\n\n datesInRange.push(rangeStop.value)\n\n model.value = datesInRange\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n\n return () => (\n <div class=\"v-date-picker-month\">\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <div\n ref={ daysRef }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && adapter.getWeekdays().map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n class: 'v-date-picker-month__day-btn',\n color: (item.isSelected || item.isToday) && !item.isDisabled\n ? props.color\n : undefined,\n disabled: item.isDisabled,\n icon: true,\n ripple: false,\n text: item.localized,\n variant: item.isDisabled\n ? item.isToday ? 'outlined' : 'text'\n : item.isToday && !item.isSelected ? 'outlined' : 'flat',\n onClick: () => onClick(item.date),\n },\n }}\n >\n { slots.day?.(slotProps) ?? (\n <VBtn { ...slotProps.props } />\n )}\n </VDefaultsProvider>\n )}\n </div>\n )\n })}\n </div>\n </div>\n )\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,IAAI;AAAA,SACJC,iBAAiB,0CAE1B;AAAA,SACSC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,OAAO,2CAEhB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACtCC,gBAAgB,EAAEC,YAAY,gCAEvC;AAaA,OAAO,MAAMC,yBAAyB,GAAGD,YAAY,CAAC;EACpDE,KAAK,EAAEC,MAAM;EACbC,YAAY,EAAEC,OAAO;EACrBC,QAAQ,EAAE,CAACD,OAAO,EAAEE,MAAM,EAAEJ,MAAM,CAAyD;EAC3FK,QAAQ,EAAEH,OAAO;EAEjB,GAAGZ,iBAAiB,CAAC;AACvB,CAAC,EAAE,kBAAkB,CAAC;AAEtB,OAAO,MAAMgB,gBAAgB,GAAGV,gBAAgB,CAAwB,CAAC,CAAC;EACxEW,IAAI,EAAE,kBAAkB;EAExBC,KAAK,EAA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