vuetify 3.3.7 → 3.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/json/attributes.json +3 -3
  2. package/dist/json/importMap.json +76 -76
  3. package/dist/json/web-types.json +153 -153
  4. package/dist/vuetify-labs.css +471 -523
  5. package/dist/vuetify-labs.d.ts +65 -64
  6. package/dist/vuetify-labs.esm.js +149 -82
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +148 -81
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +49 -107
  11. package/dist/vuetify.d.ts +23 -23
  12. package/dist/vuetify.esm.js +92 -69
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +91 -68
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +116 -112
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VAutocomplete/VAutocomplete.css +2 -2
  20. package/lib/components/VAutocomplete/VAutocomplete.sass +2 -2
  21. package/lib/components/VCarousel/VCarousel.mjs +58 -57
  22. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  23. package/lib/components/VColorPicker/VColorPickerEdit.css +1 -0
  24. package/lib/components/VColorPicker/VColorPickerEdit.sass +1 -0
  25. package/lib/components/VColorPicker/VColorPickerPreview.css +1 -1
  26. package/lib/components/VColorPicker/_variables.scss +2 -1
  27. package/lib/components/VCombobox/VCombobox.css +2 -2
  28. package/lib/components/VCombobox/VCombobox.sass +2 -2
  29. package/lib/components/VField/VField.css +8 -70
  30. package/lib/components/VField/VField.mjs +1 -1
  31. package/lib/components/VField/VField.mjs.map +1 -1
  32. package/lib/components/VField/VField.sass +5 -8
  33. package/lib/components/VField/_variables.scss +3 -3
  34. package/lib/components/VList/VListItem.css +3 -0
  35. package/lib/components/VList/VListItem.sass +10 -3
  36. package/lib/components/VOverlay/VOverlay.mjs +2 -2
  37. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  38. package/lib/components/VOverlay/locationStrategies.mjs +6 -0
  39. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  40. package/lib/components/VRangeSlider/VRangeSlider.mjs +4 -2
  41. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  42. package/lib/components/VTextField/VTextField.css +1 -1
  43. package/lib/composables/filter.mjs +3 -2
  44. package/lib/composables/filter.mjs.map +1 -1
  45. package/lib/composables/theme.mjs +2 -2
  46. package/lib/composables/theme.mjs.map +1 -1
  47. package/lib/entry-bundler.mjs +1 -1
  48. package/lib/framework.mjs +1 -1
  49. package/lib/index.d.mts +23 -23
  50. package/lib/labs/VDataIterator/index.d.mts +1 -0
  51. package/lib/labs/VDataTable/VDataTableRows.mjs +1 -1
  52. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  53. package/lib/labs/VDataTable/composables/items.mjs +1 -0
  54. package/lib/labs/VDataTable/composables/items.mjs.map +1 -1
  55. package/lib/labs/VDataTable/index.d.mts +47 -46
  56. package/lib/labs/VDataTable/types.mjs.map +1 -1
  57. package/lib/labs/VDateInput/composables.mjs +1 -1
  58. package/lib/labs/VDateInput/composables.mjs.map +1 -1
  59. package/lib/labs/VDateInput/index.d.mts +16 -16
  60. package/lib/labs/VDatePicker/VDatePicker.mjs +8 -7
  61. package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -1
  62. package/lib/labs/VDatePicker/VDatePickerControls.css +7 -0
  63. package/lib/labs/VDatePicker/VDatePickerControls.mjs +1 -0
  64. package/lib/labs/VDatePicker/VDatePickerControls.mjs.map +1 -1
  65. package/lib/labs/VDatePicker/VDatePickerControls.sass +8 -0
  66. package/lib/labs/VDatePicker/composables.mjs +15 -2
  67. package/lib/labs/VDatePicker/composables.mjs.map +1 -1
  68. package/lib/labs/VDatePicker/index.d.mts +18 -18
  69. package/lib/labs/VDateRangePicker/VDateRangePicker.mjs +2 -4
  70. package/lib/labs/VDateRangePicker/VDateRangePicker.mjs.map +1 -1
  71. package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs +4 -5
  72. package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs.map +1 -1
  73. package/lib/labs/VDateRangePicker/index.d.mts +59 -51
  74. package/lib/labs/VPicker/VPicker.css +0 -1
  75. package/lib/labs/VPicker/VPicker.sass +0 -1
  76. package/lib/labs/components.d.mts +65 -64
  77. package/lib/labs/date/adapters/vuetify.mjs +14 -1
  78. package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
  79. package/lib/labs/date/date.mjs +3 -3
  80. package/lib/labs/date/date.mjs.map +1 -1
  81. package/lib/labs/date/index.d.mts +25 -1
  82. package/package.json +2 -2
  83. package/lib/components/VField/_mixins.sass +0 -7
@@ -75,6 +75,7 @@ type InternalDataTableHeader = DataTableHeader & {
75
75
  lastFixed?: boolean;
76
76
  };
77
77
  interface DataTableItem<T = any> extends GroupableItem<T>, SelectableItem {
78
+ key: any;
78
79
  index: number;
79
80
  columns: {
80
81
  [key: string]: any;
@@ -179,7 +180,7 @@ type GroupHeaderSlot = {
179
180
  isSelected: ReturnType<typeof provideSelection>['isSelected'];
180
181
  toggleSelect: ReturnType<typeof provideSelection>['toggleSelect'];
181
182
  toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup'];
182
- isGroupOpen: ReturnType<typeof provideGroupBy>['toggleGroup'];
183
+ isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen'];
183
184
  };
184
185
  type ItemSlot = {
185
186
  index: number;
@@ -869,7 +870,7 @@ declare const VDataTable: {
869
870
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
870
871
  toggleSelect: (item: SelectableItem) => void;
871
872
  toggleGroup: (group: Group<any>) => void;
872
- isGroupOpen: (group: Group<any>) => void;
873
+ isGroupOpen: (group: Group<any>) => boolean;
873
874
  }) => vue.VNodeChild) | undefined;
874
875
  'no-data'?: (() => vue.VNodeChild) | undefined;
875
876
  'expanded-row'?: ((arg: {
@@ -985,7 +986,7 @@ declare const VDataTable: {
985
986
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
986
987
  toggleSelect: (item: SelectableItem) => void;
987
988
  toggleGroup: (group: Group<any>) => void;
988
- isGroupOpen: (group: Group<any>) => void;
989
+ isGroupOpen: (group: Group<any>) => boolean;
989
990
  }) => vue.VNodeChild) | undefined;
990
991
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
991
992
  'expanded-row'?: false | ((arg: {
@@ -1134,7 +1135,7 @@ declare const VDataTable: {
1134
1135
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1135
1136
  toggleSelect: (item: SelectableItem) => void;
1136
1137
  toggleGroup: (group: Group<any>) => void;
1137
- isGroupOpen: (group: Group<any>) => void;
1138
+ isGroupOpen: (group: Group<any>) => boolean;
1138
1139
  }) => vue.VNodeChild) | undefined;
1139
1140
  "v-slot:expanded-row"?: false | ((arg: {
1140
1141
  index: number;
@@ -1219,7 +1220,7 @@ declare const VDataTable: {
1219
1220
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1220
1221
  toggleSelect: (item: SelectableItem) => void;
1221
1222
  toggleGroup: (group: Group<any>) => void;
1222
- isGroupOpen: (group: Group<any>) => void;
1223
+ isGroupOpen: (group: Group<any>) => boolean;
1223
1224
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
1224
1225
  [key: string]: any;
1225
1226
  }>[]) | undefined;
@@ -1434,7 +1435,7 @@ declare const VDataTable: {
1434
1435
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1435
1436
  toggleSelect: (item: SelectableItem) => void;
1436
1437
  toggleGroup: (group: Group<any>) => void;
1437
- isGroupOpen: (group: Group<any>) => void;
1438
+ isGroupOpen: (group: Group<any>) => boolean;
1438
1439
  }) => vue.VNodeChild) | undefined;
1439
1440
  'no-data'?: (() => vue.VNodeChild) | undefined;
1440
1441
  'expanded-row'?: ((arg: {
@@ -1545,7 +1546,7 @@ declare const VDataTable: {
1545
1546
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1546
1547
  toggleSelect: (item: SelectableItem) => void;
1547
1548
  toggleGroup: (group: Group<any>) => void;
1548
- isGroupOpen: (group: Group<any>) => void;
1549
+ isGroupOpen: (group: Group<any>) => boolean;
1549
1550
  }) => vue.VNodeChild) | undefined;
1550
1551
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
1551
1552
  'expanded-row'?: false | ((arg: {
@@ -1656,7 +1657,7 @@ declare const VDataTable: {
1656
1657
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1657
1658
  toggleSelect: (item: SelectableItem) => void;
1658
1659
  toggleGroup: (group: Group<any>) => void;
1659
- isGroupOpen: (group: Group<any>) => void;
1660
+ isGroupOpen: (group: Group<any>) => boolean;
1660
1661
  }) => vue.VNodeChild) | undefined;
1661
1662
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
1662
1663
  "v-slot:expanded-row"?: false | ((arg: {
@@ -1841,7 +1842,7 @@ declare const VDataTable: {
1841
1842
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
1842
1843
  toggleSelect: (item: SelectableItem) => void;
1843
1844
  toggleGroup: (group: Group<any>) => void;
1844
- isGroupOpen: (group: Group<any>) => void;
1845
+ isGroupOpen: (group: Group<any>) => boolean;
1845
1846
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
1846
1847
  [key: string]: any;
1847
1848
  }>[];
@@ -2071,7 +2072,7 @@ declare const VDataTable: {
2071
2072
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2072
2073
  toggleSelect: (item: SelectableItem) => void;
2073
2074
  toggleGroup: (group: Group<any>) => void;
2074
- isGroupOpen: (group: Group<any>) => void;
2075
+ isGroupOpen: (group: Group<any>) => boolean;
2075
2076
  }) => vue.VNodeChild) | undefined;
2076
2077
  'no-data'?: (() => vue.VNodeChild) | undefined;
2077
2078
  'expanded-row'?: ((arg: {
@@ -2182,7 +2183,7 @@ declare const VDataTable: {
2182
2183
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2183
2184
  toggleSelect: (item: SelectableItem) => void;
2184
2185
  toggleGroup: (group: Group<any>) => void;
2185
- isGroupOpen: (group: Group<any>) => void;
2186
+ isGroupOpen: (group: Group<any>) => boolean;
2186
2187
  }) => vue.VNodeChild) | undefined;
2187
2188
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
2188
2189
  'expanded-row'?: false | ((arg: {
@@ -2293,7 +2294,7 @@ declare const VDataTable: {
2293
2294
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2294
2295
  toggleSelect: (item: SelectableItem) => void;
2295
2296
  toggleGroup: (group: Group<any>) => void;
2296
- isGroupOpen: (group: Group<any>) => void;
2297
+ isGroupOpen: (group: Group<any>) => boolean;
2297
2298
  }) => vue.VNodeChild) | undefined;
2298
2299
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
2299
2300
  "v-slot:expanded-row"?: false | ((arg: {
@@ -2479,7 +2480,7 @@ declare const VDataTable: {
2479
2480
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2480
2481
  toggleSelect: (item: SelectableItem) => void;
2481
2482
  toggleGroup: (group: Group<any>) => void;
2482
- isGroupOpen: (group: Group<any>) => void;
2483
+ isGroupOpen: (group: Group<any>) => boolean;
2483
2484
  }) => vue.VNodeChild) | undefined;
2484
2485
  'no-data'?: (() => vue.VNodeChild) | undefined;
2485
2486
  'expanded-row'?: ((arg: {
@@ -2590,7 +2591,7 @@ declare const VDataTable: {
2590
2591
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2591
2592
  toggleSelect: (item: SelectableItem) => void;
2592
2593
  toggleGroup: (group: Group<any>) => void;
2593
- isGroupOpen: (group: Group<any>) => void;
2594
+ isGroupOpen: (group: Group<any>) => boolean;
2594
2595
  }) => vue.VNodeChild) | undefined;
2595
2596
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
2596
2597
  'expanded-row'?: false | ((arg: {
@@ -2701,7 +2702,7 @@ declare const VDataTable: {
2701
2702
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2702
2703
  toggleSelect: (item: SelectableItem) => void;
2703
2704
  toggleGroup: (group: Group<any>) => void;
2704
- isGroupOpen: (group: Group<any>) => void;
2705
+ isGroupOpen: (group: Group<any>) => boolean;
2705
2706
  }) => vue.VNodeChild) | undefined;
2706
2707
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
2707
2708
  "v-slot:expanded-row"?: false | ((arg: {
@@ -2886,7 +2887,7 @@ declare const VDataTable: {
2886
2887
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
2887
2888
  toggleSelect: (item: SelectableItem) => void;
2888
2889
  toggleGroup: (group: Group<any>) => void;
2889
- isGroupOpen: (group: Group<any>) => void;
2890
+ isGroupOpen: (group: Group<any>) => boolean;
2890
2891
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
2891
2892
  [key: string]: any;
2892
2893
  }>[];
@@ -3856,7 +3857,7 @@ declare const VDataTableVirtual: {
3856
3857
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
3857
3858
  toggleSelect: (item: SelectableItem) => void;
3858
3859
  toggleGroup: (group: Group<any>) => void;
3859
- isGroupOpen: (group: Group<any>) => void;
3860
+ isGroupOpen: (group: Group<any>) => boolean;
3860
3861
  }) => vue.VNodeChild) | undefined;
3861
3862
  'no-data'?: (() => vue.VNodeChild) | undefined;
3862
3863
  'expanded-row'?: ((arg: {
@@ -3966,7 +3967,7 @@ declare const VDataTableVirtual: {
3966
3967
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
3967
3968
  toggleSelect: (item: SelectableItem) => void;
3968
3969
  toggleGroup: (group: Group<any>) => void;
3969
- isGroupOpen: (group: Group<any>) => void;
3970
+ isGroupOpen: (group: Group<any>) => boolean;
3970
3971
  }) => vue.VNodeChild) | undefined;
3971
3972
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
3972
3973
  'expanded-row'?: false | ((arg: {
@@ -4110,7 +4111,7 @@ declare const VDataTableVirtual: {
4110
4111
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4111
4112
  toggleSelect: (item: SelectableItem) => void;
4112
4113
  toggleGroup: (group: Group<any>) => void;
4113
- isGroupOpen: (group: Group<any>) => void;
4114
+ isGroupOpen: (group: Group<any>) => boolean;
4114
4115
  }) => vue.VNodeChild) | undefined;
4115
4116
  "v-slot:expanded-row"?: false | ((arg: {
4116
4117
  index: number;
@@ -4191,7 +4192,7 @@ declare const VDataTableVirtual: {
4191
4192
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4192
4193
  toggleSelect: (item: SelectableItem) => void;
4193
4194
  toggleGroup: (group: Group<any>) => void;
4194
- isGroupOpen: (group: Group<any>) => void;
4195
+ isGroupOpen: (group: Group<any>) => boolean;
4195
4196
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
4196
4197
  [key: string]: any;
4197
4198
  }>[]) | undefined;
@@ -4373,7 +4374,7 @@ declare const VDataTableVirtual: {
4373
4374
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4374
4375
  toggleSelect: (item: SelectableItem) => void;
4375
4376
  toggleGroup: (group: Group<any>) => void;
4376
- isGroupOpen: (group: Group<any>) => void;
4377
+ isGroupOpen: (group: Group<any>) => boolean;
4377
4378
  }) => vue.VNodeChild) | undefined;
4378
4379
  'no-data'?: (() => vue.VNodeChild) | undefined;
4379
4380
  'expanded-row'?: ((arg: {
@@ -4479,7 +4480,7 @@ declare const VDataTableVirtual: {
4479
4480
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4480
4481
  toggleSelect: (item: SelectableItem) => void;
4481
4482
  toggleGroup: (group: Group<any>) => void;
4482
- isGroupOpen: (group: Group<any>) => void;
4483
+ isGroupOpen: (group: Group<any>) => boolean;
4483
4484
  }) => vue.VNodeChild) | undefined;
4484
4485
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
4485
4486
  'expanded-row'?: false | ((arg: {
@@ -4585,7 +4586,7 @@ declare const VDataTableVirtual: {
4585
4586
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4586
4587
  toggleSelect: (item: SelectableItem) => void;
4587
4588
  toggleGroup: (group: Group<any>) => void;
4588
- isGroupOpen: (group: Group<any>) => void;
4589
+ isGroupOpen: (group: Group<any>) => boolean;
4589
4590
  }) => vue.VNodeChild) | undefined;
4590
4591
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
4591
4592
  "v-slot:expanded-row"?: false | ((arg: {
@@ -4751,7 +4752,7 @@ declare const VDataTableVirtual: {
4751
4752
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4752
4753
  toggleSelect: (item: SelectableItem) => void;
4753
4754
  toggleGroup: (group: Group<any>) => void;
4754
- isGroupOpen: (group: Group<any>) => void;
4755
+ isGroupOpen: (group: Group<any>) => boolean;
4755
4756
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
4756
4757
  [key: string]: any;
4757
4758
  }>[];
@@ -4946,7 +4947,7 @@ declare const VDataTableVirtual: {
4946
4947
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
4947
4948
  toggleSelect: (item: SelectableItem) => void;
4948
4949
  toggleGroup: (group: Group<any>) => void;
4949
- isGroupOpen: (group: Group<any>) => void;
4950
+ isGroupOpen: (group: Group<any>) => boolean;
4950
4951
  }) => vue.VNodeChild) | undefined;
4951
4952
  'no-data'?: (() => vue.VNodeChild) | undefined;
4952
4953
  'expanded-row'?: ((arg: {
@@ -5052,7 +5053,7 @@ declare const VDataTableVirtual: {
5052
5053
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5053
5054
  toggleSelect: (item: SelectableItem) => void;
5054
5055
  toggleGroup: (group: Group<any>) => void;
5055
- isGroupOpen: (group: Group<any>) => void;
5056
+ isGroupOpen: (group: Group<any>) => boolean;
5056
5057
  }) => vue.VNodeChild) | undefined;
5057
5058
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
5058
5059
  'expanded-row'?: false | ((arg: {
@@ -5158,7 +5159,7 @@ declare const VDataTableVirtual: {
5158
5159
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5159
5160
  toggleSelect: (item: SelectableItem) => void;
5160
5161
  toggleGroup: (group: Group<any>) => void;
5161
- isGroupOpen: (group: Group<any>) => void;
5162
+ isGroupOpen: (group: Group<any>) => boolean;
5162
5163
  }) => vue.VNodeChild) | undefined;
5163
5164
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
5164
5165
  "v-slot:expanded-row"?: false | ((arg: {
@@ -5324,7 +5325,7 @@ declare const VDataTableVirtual: {
5324
5325
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5325
5326
  toggleSelect: (item: SelectableItem) => void;
5326
5327
  toggleGroup: (group: Group<any>) => void;
5327
- isGroupOpen: (group: Group<any>) => void;
5328
+ isGroupOpen: (group: Group<any>) => boolean;
5328
5329
  }) => vue.VNodeChild) | undefined;
5329
5330
  'no-data'?: (() => vue.VNodeChild) | undefined;
5330
5331
  'expanded-row'?: ((arg: {
@@ -5430,7 +5431,7 @@ declare const VDataTableVirtual: {
5430
5431
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5431
5432
  toggleSelect: (item: SelectableItem) => void;
5432
5433
  toggleGroup: (group: Group<any>) => void;
5433
- isGroupOpen: (group: Group<any>) => void;
5434
+ isGroupOpen: (group: Group<any>) => boolean;
5434
5435
  }) => vue.VNodeChild) | undefined;
5435
5436
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
5436
5437
  'expanded-row'?: false | ((arg: {
@@ -5536,7 +5537,7 @@ declare const VDataTableVirtual: {
5536
5537
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5537
5538
  toggleSelect: (item: SelectableItem) => void;
5538
5539
  toggleGroup: (group: Group<any>) => void;
5539
- isGroupOpen: (group: Group<any>) => void;
5540
+ isGroupOpen: (group: Group<any>) => boolean;
5540
5541
  }) => vue.VNodeChild) | undefined;
5541
5542
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
5542
5543
  "v-slot:expanded-row"?: false | ((arg: {
@@ -5702,7 +5703,7 @@ declare const VDataTableVirtual: {
5702
5703
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
5703
5704
  toggleSelect: (item: SelectableItem) => void;
5704
5705
  toggleGroup: (group: Group<any>) => void;
5705
- isGroupOpen: (group: Group<any>) => void;
5706
+ isGroupOpen: (group: Group<any>) => boolean;
5706
5707
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
5707
5708
  [key: string]: any;
5708
5709
  }>[];
@@ -6107,7 +6108,7 @@ declare const VDataTableServer: {
6107
6108
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6108
6109
  toggleSelect: (item: SelectableItem) => void;
6109
6110
  toggleGroup: (group: Group<any>) => void;
6110
- isGroupOpen: (group: Group<any>) => void;
6111
+ isGroupOpen: (group: Group<any>) => boolean;
6111
6112
  }) => vue.VNodeChild) | undefined;
6112
6113
  'no-data'?: (() => vue.VNodeChild) | undefined;
6113
6114
  'expanded-row'?: ((arg: {
@@ -6223,7 +6224,7 @@ declare const VDataTableServer: {
6223
6224
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6224
6225
  toggleSelect: (item: SelectableItem) => void;
6225
6226
  toggleGroup: (group: Group<any>) => void;
6226
- isGroupOpen: (group: Group<any>) => void;
6227
+ isGroupOpen: (group: Group<any>) => boolean;
6227
6228
  }) => vue.VNodeChild) | undefined;
6228
6229
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
6229
6230
  'expanded-row'?: false | ((arg: {
@@ -6372,7 +6373,7 @@ declare const VDataTableServer: {
6372
6373
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6373
6374
  toggleSelect: (item: SelectableItem) => void;
6374
6375
  toggleGroup: (group: Group<any>) => void;
6375
- isGroupOpen: (group: Group<any>) => void;
6376
+ isGroupOpen: (group: Group<any>) => boolean;
6376
6377
  }) => vue.VNodeChild) | undefined;
6377
6378
  "v-slot:expanded-row"?: false | ((arg: {
6378
6379
  index: number;
@@ -6457,7 +6458,7 @@ declare const VDataTableServer: {
6457
6458
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6458
6459
  toggleSelect: (item: SelectableItem) => void;
6459
6460
  toggleGroup: (group: Group<any>) => void;
6460
- isGroupOpen: (group: Group<any>) => void;
6461
+ isGroupOpen: (group: Group<any>) => boolean;
6461
6462
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
6462
6463
  [key: string]: any;
6463
6464
  }>[]) | undefined;
@@ -6670,7 +6671,7 @@ declare const VDataTableServer: {
6670
6671
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6671
6672
  toggleSelect: (item: SelectableItem) => void;
6672
6673
  toggleGroup: (group: Group<any>) => void;
6673
- isGroupOpen: (group: Group<any>) => void;
6674
+ isGroupOpen: (group: Group<any>) => boolean;
6674
6675
  }) => vue.VNodeChild) | undefined;
6675
6676
  'no-data'?: (() => vue.VNodeChild) | undefined;
6676
6677
  'expanded-row'?: ((arg: {
@@ -6781,7 +6782,7 @@ declare const VDataTableServer: {
6781
6782
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6782
6783
  toggleSelect: (item: SelectableItem) => void;
6783
6784
  toggleGroup: (group: Group<any>) => void;
6784
- isGroupOpen: (group: Group<any>) => void;
6785
+ isGroupOpen: (group: Group<any>) => boolean;
6785
6786
  }) => vue.VNodeChild) | undefined;
6786
6787
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
6787
6788
  'expanded-row'?: false | ((arg: {
@@ -6892,7 +6893,7 @@ declare const VDataTableServer: {
6892
6893
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
6893
6894
  toggleSelect: (item: SelectableItem) => void;
6894
6895
  toggleGroup: (group: Group<any>) => void;
6895
- isGroupOpen: (group: Group<any>) => void;
6896
+ isGroupOpen: (group: Group<any>) => boolean;
6896
6897
  }) => vue.VNodeChild) | undefined;
6897
6898
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
6898
6899
  "v-slot:expanded-row"?: false | ((arg: {
@@ -7081,7 +7082,7 @@ declare const VDataTableServer: {
7081
7082
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7082
7083
  toggleSelect: (item: SelectableItem) => void;
7083
7084
  toggleGroup: (group: Group<any>) => void;
7084
- isGroupOpen: (group: Group<any>) => void;
7085
+ isGroupOpen: (group: Group<any>) => boolean;
7085
7086
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
7086
7087
  [key: string]: any;
7087
7088
  }>[];
@@ -7307,7 +7308,7 @@ declare const VDataTableServer: {
7307
7308
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7308
7309
  toggleSelect: (item: SelectableItem) => void;
7309
7310
  toggleGroup: (group: Group<any>) => void;
7310
- isGroupOpen: (group: Group<any>) => void;
7311
+ isGroupOpen: (group: Group<any>) => boolean;
7311
7312
  }) => vue.VNodeChild) | undefined;
7312
7313
  'no-data'?: (() => vue.VNodeChild) | undefined;
7313
7314
  'expanded-row'?: ((arg: {
@@ -7418,7 +7419,7 @@ declare const VDataTableServer: {
7418
7419
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7419
7420
  toggleSelect: (item: SelectableItem) => void;
7420
7421
  toggleGroup: (group: Group<any>) => void;
7421
- isGroupOpen: (group: Group<any>) => void;
7422
+ isGroupOpen: (group: Group<any>) => boolean;
7422
7423
  }) => vue.VNodeChild) | undefined;
7423
7424
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
7424
7425
  'expanded-row'?: false | ((arg: {
@@ -7529,7 +7530,7 @@ declare const VDataTableServer: {
7529
7530
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7530
7531
  toggleSelect: (item: SelectableItem) => void;
7531
7532
  toggleGroup: (group: Group<any>) => void;
7532
- isGroupOpen: (group: Group<any>) => void;
7533
+ isGroupOpen: (group: Group<any>) => boolean;
7533
7534
  }) => vue.VNodeChild) | undefined;
7534
7535
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
7535
7536
  "v-slot:expanded-row"?: false | ((arg: {
@@ -7714,7 +7715,7 @@ declare const VDataTableServer: {
7714
7715
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7715
7716
  toggleSelect: (item: SelectableItem) => void;
7716
7717
  toggleGroup: (group: Group<any>) => void;
7717
- isGroupOpen: (group: Group<any>) => void;
7718
+ isGroupOpen: (group: Group<any>) => boolean;
7718
7719
  }) => vue.VNodeChild) | undefined;
7719
7720
  'no-data'?: (() => vue.VNodeChild) | undefined;
7720
7721
  'expanded-row'?: ((arg: {
@@ -7825,7 +7826,7 @@ declare const VDataTableServer: {
7825
7826
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7826
7827
  toggleSelect: (item: SelectableItem) => void;
7827
7828
  toggleGroup: (group: Group<any>) => void;
7828
- isGroupOpen: (group: Group<any>) => void;
7829
+ isGroupOpen: (group: Group<any>) => boolean;
7829
7830
  }) => vue.VNodeChild) | undefined;
7830
7831
  'no-data'?: false | (() => vue.VNodeChild) | undefined;
7831
7832
  'expanded-row'?: false | ((arg: {
@@ -7936,7 +7937,7 @@ declare const VDataTableServer: {
7936
7937
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
7937
7938
  toggleSelect: (item: SelectableItem) => void;
7938
7939
  toggleGroup: (group: Group<any>) => void;
7939
- isGroupOpen: (group: Group<any>) => void;
7940
+ isGroupOpen: (group: Group<any>) => boolean;
7940
7941
  }) => vue.VNodeChild) | undefined;
7941
7942
  "v-slot:no-data"?: false | (() => vue.VNodeChild) | undefined;
7942
7943
  "v-slot:expanded-row"?: false | ((arg: {
@@ -8125,7 +8126,7 @@ declare const VDataTableServer: {
8125
8126
  isSelected: (items: SelectableItem | SelectableItem[]) => boolean;
8126
8127
  toggleSelect: (item: SelectableItem) => void;
8127
8128
  toggleGroup: (group: Group<any>) => void;
8128
- isGroupOpen: (group: Group<any>) => void;
8129
+ isGroupOpen: (group: Group<any>) => boolean;
8129
8130
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
8130
8131
  [key: string]: any;
8131
8132
  }>[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/labs/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { GroupableItem } from './composables/group'\nimport type { SelectableItem } from './composables/select'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number\n\nexport type DataTableHeader = {\n key: string\n value?: SelectItemKey\n title: string\n\n colspan?: number\n rowspan?: number\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: string\n maxWidth?: string\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n}\n\nexport type InternalDataTableHeader = DataTableHeader & {\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n}\n\nexport interface DataTableItem<T = any> extends GroupableItem<T>, SelectableItem {\n index: number\n columns: {\n [key: string]: any\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/labs/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { GroupableItem } from './composables/group'\nimport type { SelectableItem } from './composables/select'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number\n\nexport type DataTableHeader = {\n key: string\n value?: SelectItemKey\n title: string\n\n colspan?: number\n rowspan?: number\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: string\n maxWidth?: string\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n}\n\nexport type InternalDataTableHeader = DataTableHeader & {\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n}\n\nexport interface DataTableItem<T = any> extends GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n"],"mappings":""}
@@ -9,7 +9,7 @@ export const makeDateProps = propsFactory({
9
9
  },
10
10
  displayDate: {
11
11
  type: null,
12
- default: new Date()
12
+ default: null
13
13
  },
14
14
  inputMode: {
15
15
  type: String,
@@ -1 +1 @@
1
- {"version":3,"file":"composables.mjs","names":["useProxiedModel","useDate","propsFactory","wrapInArray","makeDateProps","modelValue","type","default","displayDate","Date","inputMode","String","viewMode","format","dateEmits","date","focused","createDateInput","props","isRange","adapter","model","v","arr","filter","map","formatted","d","value","length","parseKeyboardDate","input","fallback","isValid"],"sources":["../../../src/labs/VDateInput/composables.ts"],"sourcesContent":["// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useDate } from '@/labs/date'\n\n// Utilities\nimport { propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const makeDateProps = propsFactory({\n modelValue: {\n type: null as unknown as PropType<any[]>,\n default: () => [],\n },\n displayDate: {\n type: null as unknown as PropType<any>,\n default: new Date(),\n },\n inputMode: {\n type: String as PropType<'calendar' | 'keyboard'>,\n default: 'calendar',\n },\n viewMode: {\n type: String as PropType<'month' | 'year'>,\n default: 'month',\n },\n format: String,\n}, 'date')\n\nexport const dateEmits = {\n 'update:modelValue': (date: any[]) => true,\n 'update:displayDate': (date: any) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:inputMode': (inputMode: 'calendar' | 'keyboard') => true,\n 'update:viewMode': (viewMode: 'month' | 'year') => true,\n}\n\ntype DateInputProps = {\n modelValue?: any | any[]\n 'onUpdate:modelValue': ((value: any | any[]) => void) | undefined\n displayDate?: any\n 'onUpdate:displayDate': ((value: any) => void) | undefined\n inputMode?: 'calendar' | 'keyboard'\n 'onUpdate:inputMode': ((value: 'calendar' | 'keyboard') => void) | undefined\n viewMode?: 'month' | 'year'\n 'onUpdate:viewMode': ((value: 'month' | 'year') => void) | undefined\n format?: string\n}\n\nexport function createDateInput (props: DateInputProps, isRange: boolean) {\n const adapter = useDate()\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => {\n if (v == null) return []\n const arr = wrapInArray(v).filter(v => !!v)\n return arr.map(adapter.date) as Date[]\n },\n v => {\n const arr = wrapInArray(v)\n const formatted = props.format ? arr.map(d => adapter.format(d, props.format as any)) : arr\n if (isRange) return formatted\n return formatted[0]\n })\n\n const inputMode = useProxiedModel(props, 'inputMode')\n const viewMode = useProxiedModel(props, 'viewMode')\n const displayDate = useProxiedModel(props, 'displayDate', model.value.length ? model.value[0] : adapter.date())\n\n function parseKeyboardDate (input: string, fallback?: any) {\n const date = adapter.date(input)\n\n return adapter.isValid(date) ? date : fallback\n }\n\n return {\n model,\n adapter,\n inputMode,\n viewMode,\n displayDate,\n parseKeyboardDate,\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,eAAe;AAAA,SACfC,OAAO,6BAEhB;AAAA,SACSC,YAAY,EAAEC,WAAW,gCAElC;AAGA,OAAO,MAAMC,aAAa,GAAGF,YAAY,CAAC;EACxCG,UAAU,EAAE;IACVC,IAAI,EAAE,IAAkC;IACxCC,OAAO,EAAEA,CAAA,KAAM;EACjB,CAAC;EACDC,WAAW,EAAE;IACXF,IAAI,EAAE,IAAgC;IACtCC,OAAO,EAAE,IAAIE,IAAI;EACnB,CAAC;EACDC,SAAS,EAAE;IACTJ,IAAI,EAAEK,MAA2C;IACjDJ,OAAO,EAAE;EACX,CAAC;EACDK,QAAQ,EAAE;IACRN,IAAI,EAAEK,MAAoC;IAC1CJ,OAAO,EAAE;EACX,CAAC;EACDM,MAAM,EAAEF;AACV,CAAC,EAAE,MAAM,CAAC;AAEV,OAAO,MAAMG,SAAS,GAAG;EACvB,mBAAmB,EAAGC,IAAW,IAAK,IAAI;EAC1C,oBAAoB,EAAGA,IAAS,IAAK,IAAI;EACzC,gBAAgB,EAAGC,OAAgB,IAAK,IAAI;EAC5C,kBAAkB,EAAGN,SAAkC,IAAK,IAAI;EAChE,iBAAiB,EAAGE,QAA0B,IAAK;AACrD,CAAC;AAcD,OAAO,SAASK,eAAeA,CAAEC,KAAqB,EAAEC,OAAgB,EAAE;EACxE,MAAMC,OAAO,GAAGnB,OAAO,EAAE;EACzB,MAAMoB,KAAK,GAAGrB,eAAe,CAC3BkB,KAAK,EACL,YAAY,EACZ,EAAE,EACFI,CAAC,IAAI;IACH,IAAIA,CAAC,IAAI,IAAI,EAAE,OAAO,EAAE;IACxB,MAAMC,GAAG,GAAGpB,WAAW,CAACmB,CAAC,CAAC,CAACE,MAAM,CAACF,CAAC,IAAI,CAAC,CAACA,CAAC,CAAC;IAC3C,OAAOC,GAAG,CAACE,GAAG,CAACL,OAAO,CAACL,IAAI,CAAC;EAC9B,CAAC,EACDO,CAAC,IAAI;IACH,MAAMC,GAAG,GAAGpB,WAAW,CAACmB,CAAC,CAAC;IAC1B,MAAMI,SAAS,GAAGR,KAAK,CAACL,MAAM,GAAGU,GAAG,CAACE,GAAG,CAACE,CAAC,IAAIP,OAAO,CAACP,MAAM,CAACc,CAAC,EAAET,KAAK,CAACL,MAAM,CAAQ,CAAC,GAAGU,GAAG;IAC3F,IAAIJ,OAAO,EAAE,OAAOO,SAAS;IAC7B,OAAOA,SAAS,CAAC,CAAC,CAAC;EACrB,CAAC,CAAC;EAEJ,MAAMhB,SAAS,GAAGV,eAAe,CAACkB,KAAK,EAAE,WAAW,CAAC;EACrD,MAAMN,QAAQ,GAAGZ,eAAe,CAACkB,KAAK,EAAE,UAAU,CAAC;EACnD,MAAMV,WAAW,GAAGR,eAAe,CAACkB,KAAK,EAAE,aAAa,EAAEG,KAAK,CAACO,KAAK,CAACC,MAAM,GAAGR,KAAK,CAACO,KAAK,CAAC,CAAC,CAAC,GAAGR,OAAO,CAACL,IAAI,EAAE,CAAC;EAE/G,SAASe,iBAAiBA,CAAEC,KAAa,EAAEC,QAAc,EAAE;IACzD,MAAMjB,IAAI,GAAGK,OAAO,CAACL,IAAI,CAACgB,KAAK,CAAC;IAEhC,OAAOX,OAAO,CAACa,OAAO,CAAClB,IAAI,CAAC,GAAGA,IAAI,GAAGiB,QAAQ;EAChD;EAEA,OAAO;IACLX,KAAK;IACLD,OAAO;IACPV,SAAS;IACTE,QAAQ;IACRJ,WAAW;IACXsB;EACF,CAAC;AACH"}
1
+ {"version":3,"file":"composables.mjs","names":["useProxiedModel","useDate","propsFactory","wrapInArray","makeDateProps","modelValue","type","default","displayDate","inputMode","String","viewMode","format","dateEmits","date","focused","createDateInput","props","isRange","adapter","model","v","arr","filter","map","formatted","d","value","length","parseKeyboardDate","input","fallback","isValid"],"sources":["../../../src/labs/VDateInput/composables.ts"],"sourcesContent":["// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useDate } from '@/labs/date'\n\n// Utilities\nimport { propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const makeDateProps = propsFactory({\n modelValue: {\n type: null as unknown as PropType<any[]>,\n default: () => [],\n },\n displayDate: {\n type: null as unknown as PropType<any>,\n default: null,\n },\n inputMode: {\n type: String as PropType<'calendar' | 'keyboard'>,\n default: 'calendar',\n },\n viewMode: {\n type: String as PropType<'month' | 'year'>,\n default: 'month',\n },\n format: String,\n}, 'date')\n\nexport const dateEmits = {\n 'update:modelValue': (date: readonly any[]) => true,\n 'update:displayDate': (date: any) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:inputMode': (inputMode: 'calendar' | 'keyboard') => true,\n 'update:viewMode': (viewMode: 'month' | 'year') => true,\n}\n\nexport type DateInputProps = {\n modelValue?: any | any[]\n 'onUpdate:modelValue': ((value: any | any[]) => void) | undefined\n displayDate?: any\n 'onUpdate:displayDate': ((value: any) => void) | undefined\n inputMode?: 'calendar' | 'keyboard'\n 'onUpdate:inputMode': ((value: 'calendar' | 'keyboard') => void) | undefined\n viewMode?: 'month' | 'year'\n 'onUpdate:viewMode': ((value: 'month' | 'year') => void) | undefined\n format?: string\n}\n\nexport function createDateInput (props: DateInputProps, isRange: boolean) {\n const adapter = useDate()\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => {\n if (v == null) return []\n const arr = wrapInArray(v).filter(v => !!v)\n return arr.map(adapter.date) as Date[]\n },\n v => {\n const arr = wrapInArray(v)\n const formatted = props.format ? arr.map(d => adapter.format(d, props.format as any)) : arr\n if (isRange) return formatted\n return formatted[0]\n })\n\n const inputMode = useProxiedModel(props, 'inputMode')\n const viewMode = useProxiedModel(props, 'viewMode')\n const displayDate = useProxiedModel(props, 'displayDate', model.value.length ? model.value[0] : adapter.date())\n\n function parseKeyboardDate (input: string, fallback?: any) {\n const date = adapter.date(input)\n\n return adapter.isValid(date) ? date : fallback\n }\n\n return {\n model,\n adapter,\n inputMode,\n viewMode,\n displayDate,\n parseKeyboardDate,\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,eAAe;AAAA,SACfC,OAAO,6BAEhB;AAAA,SACSC,YAAY,EAAEC,WAAW,gCAElC;AAGA,OAAO,MAAMC,aAAa,GAAGF,YAAY,CAAC;EACxCG,UAAU,EAAE;IACVC,IAAI,EAAE,IAAkC;IACxCC,OAAO,EAAEA,CAAA,KAAM;EACjB,CAAC;EACDC,WAAW,EAAE;IACXF,IAAI,EAAE,IAAgC;IACtCC,OAAO,EAAE;EACX,CAAC;EACDE,SAAS,EAAE;IACTH,IAAI,EAAEI,MAA2C;IACjDH,OAAO,EAAE;EACX,CAAC;EACDI,QAAQ,EAAE;IACRL,IAAI,EAAEI,MAAoC;IAC1CH,OAAO,EAAE;EACX,CAAC;EACDK,MAAM,EAAEF;AACV,CAAC,EAAE,MAAM,CAAC;AAEV,OAAO,MAAMG,SAAS,GAAG;EACvB,mBAAmB,EAAGC,IAAoB,IAAK,IAAI;EACnD,oBAAoB,EAAGA,IAAS,IAAK,IAAI;EACzC,gBAAgB,EAAGC,OAAgB,IAAK,IAAI;EAC5C,kBAAkB,EAAGN,SAAkC,IAAK,IAAI;EAChE,iBAAiB,EAAGE,QAA0B,IAAK;AACrD,CAAC;AAcD,OAAO,SAASK,eAAeA,CAAEC,KAAqB,EAAEC,OAAgB,EAAE;EACxE,MAAMC,OAAO,GAAGlB,OAAO,EAAE;EACzB,MAAMmB,KAAK,GAAGpB,eAAe,CAC3BiB,KAAK,EACL,YAAY,EACZ,EAAE,EACFI,CAAC,IAAI;IACH,IAAIA,CAAC,IAAI,IAAI,EAAE,OAAO,EAAE;IACxB,MAAMC,GAAG,GAAGnB,WAAW,CAACkB,CAAC,CAAC,CAACE,MAAM,CAACF,CAAC,IAAI,CAAC,CAACA,CAAC,CAAC;IAC3C,OAAOC,GAAG,CAACE,GAAG,CAACL,OAAO,CAACL,IAAI,CAAC;EAC9B,CAAC,EACDO,CAAC,IAAI;IACH,MAAMC,GAAG,GAAGnB,WAAW,CAACkB,CAAC,CAAC;IAC1B,MAAMI,SAAS,GAAGR,KAAK,CAACL,MAAM,GAAGU,GAAG,CAACE,GAAG,CAACE,CAAC,IAAIP,OAAO,CAACP,MAAM,CAACc,CAAC,EAAET,KAAK,CAACL,MAAM,CAAQ,CAAC,GAAGU,GAAG;IAC3F,IAAIJ,OAAO,EAAE,OAAOO,SAAS;IAC7B,OAAOA,SAAS,CAAC,CAAC,CAAC;EACrB,CAAC,CAAC;EAEJ,MAAMhB,SAAS,GAAGT,eAAe,CAACiB,KAAK,EAAE,WAAW,CAAC;EACrD,MAAMN,QAAQ,GAAGX,eAAe,CAACiB,KAAK,EAAE,UAAU,CAAC;EACnD,MAAMT,WAAW,GAAGR,eAAe,CAACiB,KAAK,EAAE,aAAa,EAAEG,KAAK,CAACO,KAAK,CAACC,MAAM,GAAGR,KAAK,CAACO,KAAK,CAAC,CAAC,CAAC,GAAGR,OAAO,CAACL,IAAI,EAAE,CAAC;EAE/G,SAASe,iBAAiBA,CAAEC,KAAa,EAAEC,QAAc,EAAE;IACzD,MAAMjB,IAAI,GAAGK,OAAO,CAACL,IAAI,CAACgB,KAAK,CAAC;IAEhC,OAAOX,OAAO,CAACa,OAAO,CAAClB,IAAI,CAAC,GAAGA,IAAI,GAAGiB,QAAQ;EAChD;EAEA,OAAO;IACLX,KAAK;IACLD,OAAO;IACPV,SAAS;IACTE,QAAQ;IACRH,WAAW;IACXqB;EACF,CAAC;AACH"}
@@ -179,7 +179,7 @@ declare const VDateInput: {
179
179
  "v-slot:append"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
180
180
  "v-slot:prepend"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
181
181
  modelValue?: any;
182
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
182
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
183
183
  bgColor?: string | undefined;
184
184
  prependIcon?: IconValue | undefined;
185
185
  appendIcon?: IconValue | undefined;
@@ -259,7 +259,7 @@ declare const VDateInput: {
259
259
  }>;
260
260
  $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
261
261
  $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
262
- $emit: ((event: "update:modelValue", date: any[]) => void) & ((event: "update:focused", focused: boolean) => void) & ((event: "update:inputMode", inputMode: "calendar" | "keyboard") => void) & ((event: "update:displayDate", date: any) => void) & ((event: "update:viewMode", viewMode: "month" | "year") => void);
262
+ $emit: ((event: "update:modelValue", date: readonly any[]) => void) & ((event: "update:focused", focused: boolean) => void) & ((event: "update:inputMode", inputMode: "calendar" | "keyboard") => void) & ((event: "update:displayDate", date: any) => void) & ((event: "update:viewMode", viewMode: "month" | "year") => void);
263
263
  $el: any;
264
264
  $options: vue.ComponentOptionsBase<{
265
265
  flat: boolean;
@@ -374,13 +374,13 @@ declare const VDateInput: {
374
374
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
375
375
  "v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
376
376
  } & {
377
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
377
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
378
378
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
379
379
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
380
380
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
381
381
  "onUpdate:viewMode"?: ((viewMode: "month" | "year") => any) | undefined;
382
382
  }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
383
- 'update:modelValue': (date: any[]) => boolean;
383
+ 'update:modelValue': (date: readonly any[]) => boolean;
384
384
  'update:displayDate': (date: any) => boolean;
385
385
  'update:focused': (focused: boolean) => boolean;
386
386
  'update:inputMode': (inputMode: "calendar" | "keyboard") => boolean;
@@ -589,7 +589,7 @@ declare const VDateInput: {
589
589
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
590
590
  "v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
591
591
  } & {
592
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
592
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
593
593
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
594
594
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
595
595
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
@@ -711,13 +711,13 @@ declare const VDateInput: {
711
711
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
712
712
  "v-slot:counter"?: false | ((arg: VCounterSlot) => vue.VNodeChild) | undefined;
713
713
  } & {
714
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
714
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
715
715
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
716
716
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
717
717
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
718
718
  "onUpdate:viewMode"?: ((viewMode: "month" | "year") => any) | undefined;
719
719
  }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
720
- 'update:modelValue': (date: any[]) => boolean;
720
+ 'update:modelValue': (date: readonly any[]) => boolean;
721
721
  'update:displayDate': (date: any) => boolean;
722
722
  'update:focused': (focused: boolean) => boolean;
723
723
  'update:inputMode': (inputMode: "calendar" | "keyboard") => boolean;
@@ -907,7 +907,7 @@ declare const VDateInput: {
907
907
  modelModifiers: vue.PropType<Record<string, boolean>>;
908
908
  displayDate: {
909
909
  type: vue.PropType<any>;
910
- default: Date;
910
+ default: null;
911
911
  };
912
912
  inputMode: {
913
913
  type: vue.PropType<"calendar" | "keyboard">;
@@ -1033,7 +1033,7 @@ declare const VDateInput: {
1033
1033
  modelModifiers: vue.PropType<Record<string, boolean>>;
1034
1034
  displayDate: {
1035
1035
  type: vue.PropType<any>;
1036
- default: Date;
1036
+ default: null;
1037
1037
  };
1038
1038
  inputMode: {
1039
1039
  type: vue.PropType<"calendar" | "keyboard">;
@@ -1113,7 +1113,7 @@ declare const VDateRangeInput: {
1113
1113
  [key: string]: any;
1114
1114
  }>) => void)[] | undefined;
1115
1115
  modelValue?: any[] | undefined;
1116
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
1116
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
1117
1117
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1118
1118
  displayDate?: any;
1119
1119
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
@@ -1135,7 +1135,7 @@ declare const VDateRangeInput: {
1135
1135
  }>;
1136
1136
  $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1137
1137
  $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1138
- $emit: ((event: "update:modelValue", date: any[]) => void) & ((event: "update:focused", focused: boolean) => void) & ((event: "update:inputMode", inputMode: "calendar" | "keyboard") => void) & ((event: "update:displayDate", date: any) => void) & ((event: "update:viewMode", viewMode: "month" | "year") => void);
1138
+ $emit: ((event: "update:modelValue", date: readonly any[]) => void) & ((event: "update:focused", focused: boolean) => void) & ((event: "update:inputMode", inputMode: "calendar" | "keyboard") => void) & ((event: "update:displayDate", date: any) => void) & ((event: "update:viewMode", viewMode: "month" | "year") => void);
1139
1139
  $el: any;
1140
1140
  $options: vue.ComponentOptionsBase<{
1141
1141
  inputMode: "calendar" | "keyboard";
@@ -1161,13 +1161,13 @@ declare const VDateRangeInput: {
1161
1161
  } & {
1162
1162
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
1163
1163
  } & {
1164
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
1164
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
1165
1165
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1166
1166
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
1167
1167
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
1168
1168
  "onUpdate:viewMode"?: ((viewMode: "month" | "year") => any) | undefined;
1169
1169
  }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1170
- 'update:modelValue': (date: any[]) => boolean;
1170
+ 'update:modelValue': (date: readonly any[]) => boolean;
1171
1171
  'update:displayDate': (date: any) => boolean;
1172
1172
  'update:focused': (focused: boolean) => boolean;
1173
1173
  'update:inputMode': (inputMode: "calendar" | "keyboard") => boolean;
@@ -1227,7 +1227,7 @@ declare const VDateRangeInput: {
1227
1227
  } & {
1228
1228
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
1229
1229
  } & {
1230
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
1230
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
1231
1231
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1232
1232
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
1233
1233
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
@@ -1260,13 +1260,13 @@ declare const VDateRangeInput: {
1260
1260
  } & {
1261
1261
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
1262
1262
  } & {
1263
- "onUpdate:modelValue"?: ((date: any[]) => any) | undefined;
1263
+ "onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
1264
1264
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1265
1265
  "onUpdate:displayDate"?: ((date: any) => any) | undefined;
1266
1266
  "onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
1267
1267
  "onUpdate:viewMode"?: ((viewMode: "month" | "year") => any) | undefined;
1268
1268
  }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1269
- 'update:modelValue': (date: any[]) => boolean;
1269
+ 'update:modelValue': (date: readonly any[]) => boolean;
1270
1270
  'update:displayDate': (date: any) => boolean;
1271
1271
  'update:focused': (focused: boolean) => boolean;
1272
1272
  'update:inputMode': (inputMode: "calendar" | "keyboard") => boolean;
@@ -14,7 +14,6 @@ import { dateEmits, makeDateProps } from "../VDateInput/composables.mjs";
14
14
  import { makeVPickerProps, VPicker } from "../VPicker/VPicker.mjs"; // Composables
15
15
  import { createDatePicker } from "./composables.mjs";
16
16
  import { useLocale } from "../../composables/locale.mjs";
17
- import { useProxiedModel } from "../../composables/proxiedModel.mjs";
18
17
  import { useDate } from "../date/index.mjs"; // Utilities
19
18
  import { computed, ref, watch } from 'vue';
20
19
  import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
@@ -69,12 +68,13 @@ export const VDatePicker = genericComponent()({
69
68
  const {
70
69
  t
71
70
  } = useLocale();
72
- createDatePicker(props);
73
- const model = ref(props.modelValue ?? []);
71
+ const {
72
+ model,
73
+ displayDate,
74
+ viewMode,
75
+ inputMode
76
+ } = createDatePicker(props);
74
77
  const isReversing = ref(false);
75
- const displayDate = useProxiedModel(props, 'displayDate', props.displayDate);
76
- const inputMode = useProxiedModel(props, 'inputMode', props.inputMode);
77
- const viewMode = useProxiedModel(props, 'viewMode', props.viewMode);
78
78
  const inputModel = computed(() => model.value.length ? adapter.format(model.value[0], 'keyboardDate') : '');
79
79
  const title = computed(() => t(props.title));
80
80
  const header = computed(() => model.value.length ? adapter.format(model.value[0], 'normalDateWithWeekday') : t(props.header));
@@ -119,7 +119,8 @@ export const VDatePicker = genericComponent()({
119
119
  return _createVNode(VPicker, _mergeProps(pickerProps, {
120
120
  "class": ['v-date-picker', props.class],
121
121
  "style": props.style,
122
- "title": title.value
122
+ "title": title.value,
123
+ "width": props.showWeek ? 408 : 360
123
124
  }), {
124
125
  header: () => slots.header?.(headerSlotProps.value) ?? _createVNode(VDatePickerHeader, _mergeProps({
125
126
  "key": "header"