@vuetify/nightly 3.1.6-master-20230221.0 → 3.1.6

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 (37) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/dist/json/attributes.json +1 -1
  3. package/dist/json/importMap.json +38 -38
  4. package/dist/json/web-types.json +2 -2
  5. package/dist/vuetify-labs.css +51 -47
  6. package/dist/vuetify-labs.esm.js +14 -9
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +14 -9
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +41 -37
  11. package/dist/vuetify.d.ts +10 -10
  12. package/dist/vuetify.esm.js +11 -6
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +11 -6
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +132 -130
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VSystemBar/VSystemBar.css +5 -1
  20. package/lib/components/VSystemBar/VSystemBar.sass +5 -1
  21. package/lib/components/VSystemBar/_variables.scss +4 -1
  22. package/lib/composables/nested/nested.mjs +2 -2
  23. package/lib/composables/nested/nested.mjs.map +1 -1
  24. package/lib/composables/nested/selectStrategies.mjs +7 -1
  25. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  26. package/lib/composables/proxiedModel.mjs +1 -1
  27. package/lib/composables/proxiedModel.mjs.map +1 -1
  28. package/lib/entry-bundler.mjs +1 -1
  29. package/lib/entry-bundler.mjs.map +1 -1
  30. package/lib/framework.mjs +1 -1
  31. package/lib/framework.mjs.map +1 -1
  32. package/lib/index.d.ts +10 -10
  33. package/lib/labs/VDataTable/VDataTableServer.mjs +2 -2
  34. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  35. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +3 -3
  36. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  37. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,18 +1,22 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.6-master-20230221.0...v) (2023-02-21)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.6...v) (2023-02-22)
2
2
 
3
3
 
4
4
 
5
- ## [3.1.6-master-20230221.0](https://github.com/vuetifyjs/vuetify/compare/v3.1.5...v3.1.6-master-20230221.0) (2023-02-21)
5
+ ## [3.1.6](https://github.com/vuetifyjs/vuetify/compare/v3.1.5...v3.1.6) (2023-02-22)
6
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
+ * **proxiedModel:** don't lose reactive references to values ([f32a720](https://github.com/vuetifyjs/vuetify/commit/f32a720001383f87983146c00dea9db685d0761d)), closes [#16741](https://github.com/vuetifyjs/vuetify/issues/16741) [#16512](https://github.com/vuetifyjs/vuetify/issues/16512) [#16612](https://github.com/vuetifyjs/vuetify/issues/16612)
10
11
  * **theme:** support vueuse/head v1.0 ([#16721](https://github.com/vuetifyjs/vuetify/issues/16721)) ([f07101c](https://github.com/vuetifyjs/vuetify/commit/f07101c0e248faaa509267b368541840e8621ac0))
11
12
  * **VColorPicker:** consistent output values ([#16674](https://github.com/vuetifyjs/vuetify/issues/16674)) ([01c35ef](https://github.com/vuetifyjs/vuetify/commit/01c35efad9025f196f937c45a3fef206e180b180)), closes [#16672](https://github.com/vuetifyjs/vuetify/issues/16672)
12
13
  * **VColorPicker:** never change track color ([46eaef7](https://github.com/vuetifyjs/vuetify/commit/46eaef785eb1d59a9508ae8a0dedae2b8d5b5b3e)), closes [#16689](https://github.com/vuetifyjs/vuetify/issues/16689)
13
14
  * **VColorPicker:** reset canvas handle position when color = null ([f00ee78](https://github.com/vuetifyjs/vuetify/commit/f00ee7816079c14ae690c6fa37bca22bdd75934b))
14
15
  * **VColorPicker:** support dynamic width ([#16675](https://github.com/vuetifyjs/vuetify/issues/16675)) ([7190d27](https://github.com/vuetifyjs/vuetify/commit/7190d275d839c2a518d294b41c45cb29b1eda4e4)), closes [#7151](https://github.com/vuetifyjs/vuetify/issues/7151) [#16668](https://github.com/vuetifyjs/vuetify/issues/16668)
16
+ * **VDataTableServer:** support column slots ([#16707](https://github.com/vuetifyjs/vuetify/issues/16707)) ([fe92699](https://github.com/vuetifyjs/vuetify/commit/fe92699e60915440d653733523860e87b2e0c87e)), closes [#16704](https://github.com/vuetifyjs/vuetify/issues/16704)
15
17
  * **VOverlay:** don't use cancelIdleCallback in safari ([9a4caf3](https://github.com/vuetifyjs/vuetify/commit/9a4caf331d05c31a1223712802babe7eec707d72)), closes [#16613](https://github.com/vuetifyjs/vuetify/issues/16613)
18
+ * **VSystemBar:** reserve space for hidden scrollbar from VOverlay ([#16734](https://github.com/vuetifyjs/vuetify/issues/16734)) ([2e545ae](https://github.com/vuetifyjs/vuetify/commit/2e545ae8f9f99d8417091886005fc7dc68ef8b72)), closes [#16727](https://github.com/vuetifyjs/vuetify/issues/16727)
19
+ * **VVirtualScroll:** clamp visible items to [0, items.length] ([e493439](https://github.com/vuetifyjs/vuetify/commit/e493439324278e3a15ba51cfb9c45ec226328257)), closes [#16725](https://github.com/vuetifyjs/vuetify/issues/16725)
16
20
 
17
21
 
18
22
 
@@ -3208,7 +3208,7 @@
3208
3208
  "description": "An alternative styling that reduces `v-list-item` width and rounds the corners. Typically used with **[v-navigation-drawer](/components/navigation-drawers)**"
3209
3209
  },
3210
3210
  "v-list/select-strategy": {
3211
- "type": "\"single-leaf\" | \"leaf\" | \"independent\" | \"single-independent\" | \"classic\" | <a href=\"https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/composables/nested/selectStrategies.ts#L2-L9\" target=\"_blank\">SelectStrategyFn</a>",
3211
+ "type": "\"single-leaf\" | \"leaf\" | \"independent\" | \"single-independent\" | \"classic\" | <a href=\"https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/composables/nested/selectStrategies.ts#L4-L11\" target=\"_blank\">SelectStrategyFn</a>",
3212
3212
  "description": "MISSING DESCRIPTION ([edit in github](https://github.com/vuetifyjs/vuetify/tree/master/packages/api-generator/src/locale/en/nested.json))"
3213
3213
  },
3214
3214
  "v-list/open-strategy": {
@@ -4,10 +4,6 @@
4
4
  "from": "components/VDefaultsProvider/index.mjs",
5
5
  "styles": []
6
6
  },
7
- "VHover": {
8
- "from": "components/VHover/index.mjs",
9
- "styles": []
10
- },
11
7
  "VForm": {
12
8
  "from": "components/VForm/index.mjs",
13
9
  "styles": []
@@ -28,12 +24,8 @@
28
24
  "from": "components/VGrid/index.mjs",
29
25
  "styles": []
30
26
  },
31
- "VLazy": {
32
- "from": "components/VLazy/index.mjs",
33
- "styles": []
34
- },
35
- "VLocaleProvider": {
36
- "from": "components/VLocaleProvider/index.mjs",
27
+ "VHover": {
28
+ "from": "components/VHover/index.mjs",
37
29
  "styles": []
38
30
  },
39
31
  "VLayout": {
@@ -44,6 +36,14 @@
44
36
  "from": "components/VLayout/index.mjs",
45
37
  "styles": []
46
38
  },
39
+ "VLazy": {
40
+ "from": "components/VLazy/index.mjs",
41
+ "styles": []
42
+ },
43
+ "VLocaleProvider": {
44
+ "from": "components/VLocaleProvider/index.mjs",
45
+ "styles": []
46
+ },
47
47
  "VNoSsr": {
48
48
  "from": "components/VNoSsr/index.mjs",
49
49
  "styles": []
@@ -140,18 +140,6 @@
140
140
  "from": "components/VApp/index.mjs",
141
141
  "styles": []
142
142
  },
143
- "VAlert": {
144
- "from": "components/VAlert/index.mjs",
145
- "styles": []
146
- },
147
- "VAlertTitle": {
148
- "from": "components/VAlert/index.mjs",
149
- "styles": []
150
- },
151
- "VAutocomplete": {
152
- "from": "components/VAutocomplete/index.mjs",
153
- "styles": []
154
- },
155
143
  "VAppBar": {
156
144
  "from": "components/VAppBar/index.mjs",
157
145
  "styles": []
@@ -164,10 +152,26 @@
164
152
  "from": "components/VAppBar/index.mjs",
165
153
  "styles": []
166
154
  },
155
+ "VAlert": {
156
+ "from": "components/VAlert/index.mjs",
157
+ "styles": []
158
+ },
159
+ "VAlertTitle": {
160
+ "from": "components/VAlert/index.mjs",
161
+ "styles": []
162
+ },
163
+ "VAutocomplete": {
164
+ "from": "components/VAutocomplete/index.mjs",
165
+ "styles": []
166
+ },
167
167
  "VAvatar": {
168
168
  "from": "components/VAvatar/index.mjs",
169
169
  "styles": []
170
170
  },
171
+ "VBadge": {
172
+ "from": "components/VBadge/index.mjs",
173
+ "styles": []
174
+ },
171
175
  "VBanner": {
172
176
  "from": "components/VBanner/index.mjs",
173
177
  "styles": []
@@ -180,10 +184,6 @@
180
184
  "from": "components/VBanner/index.mjs",
181
185
  "styles": []
182
186
  },
183
- "VBadge": {
184
- "from": "components/VBadge/index.mjs",
185
- "styles": []
186
- },
187
187
  "VBottomNavigation": {
188
188
  "from": "components/VBottomNavigation/index.mjs",
189
189
  "styles": []
@@ -260,10 +260,6 @@
260
260
  "from": "components/VChipGroup/index.mjs",
261
261
  "styles": []
262
262
  },
263
- "VCombobox": {
264
- "from": "components/VCombobox/index.mjs",
265
- "styles": []
266
- },
267
263
  "VCode": {
268
264
  "from": "components/VCode/index.mjs",
269
265
  "styles": []
@@ -272,6 +268,10 @@
272
268
  "from": "components/VColorPicker/index.mjs",
273
269
  "styles": []
274
270
  },
271
+ "VCombobox": {
272
+ "from": "components/VCombobox/index.mjs",
273
+ "styles": []
274
+ },
275
275
  "VCounter": {
276
276
  "from": "components/VCounter/index.mjs",
277
277
  "styles": []
@@ -444,14 +444,14 @@
444
444
  "from": "components/VSelectionControl/index.mjs",
445
445
  "styles": []
446
446
  },
447
- "VSheet": {
448
- "from": "components/VSheet/index.mjs",
449
- "styles": []
450
- },
451
447
  "VSelectionControlGroup": {
452
448
  "from": "components/VSelectionControlGroup/index.mjs",
453
449
  "styles": []
454
450
  },
451
+ "VSheet": {
452
+ "from": "components/VSheet/index.mjs",
453
+ "styles": []
454
+ },
455
455
  "VSlideGroup": {
456
456
  "from": "components/VSlideGroup/index.mjs",
457
457
  "styles": []
@@ -504,10 +504,6 @@
504
504
  "from": "components/VTimeline/index.mjs",
505
505
  "styles": []
506
506
  },
507
- "VTooltip": {
508
- "from": "components/VTooltip/index.mjs",
509
- "styles": []
510
- },
511
507
  "VToolbar": {
512
508
  "from": "components/VToolbar/index.mjs",
513
509
  "styles": []
@@ -520,6 +516,10 @@
520
516
  "from": "components/VToolbar/index.mjs",
521
517
  "styles": []
522
518
  },
519
+ "VTooltip": {
520
+ "from": "components/VTooltip/index.mjs",
521
+ "styles": []
522
+ },
523
523
  "VWindow": {
524
524
  "from": "components/VWindow/index.mjs",
525
525
  "styles": []
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "3.1.6-master-20230221.0",
5
+ "version": "3.1.6",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -11733,7 +11733,7 @@
11733
11733
  "default": "'single-leaf'",
11734
11734
  "value": {
11735
11735
  "kind": "expression",
11736
- "type": "\"single-leaf\" | \"leaf\" | \"independent\" | \"single-independent\" | \"classic\" | <a href=\"https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/composables/nested/selectStrategies.ts#L2-L9\" target=\"_blank\">SelectStrategyFn</a>"
11736
+ "type": "\"single-leaf\" | \"leaf\" | \"independent\" | \"single-independent\" | \"classic\" | <a href=\"https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/composables/nested/selectStrategies.ts#L4-L11\" target=\"_blank\">SelectStrategyFn</a>"
11737
11737
  }
11738
11738
  },
11739
11739
  {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.6-master-20230221.0
2
+ * Vuetify v3.1.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -15809,18 +15809,6 @@ html.overflow-y-hidden {
15809
15809
  }
15810
15810
  .v-virtual-scroll__container {
15811
15811
  display: block;
15812
- }.v-app-bar {
15813
- display: flex;
15814
- }
15815
- .v-app-bar.v-toolbar {
15816
- background: rgb(var(--v-theme-surface));
15817
- color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
15818
- }
15819
- .v-app-bar.v-toolbar:not(.v-toolbar--flat) {
15820
- box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
15821
- }
15822
- .v-app-bar:not(.v-toolbar--absolute) {
15823
- padding-inline-end: var(--v-scrollbar-offset);
15824
15812
  }.v-application {
15825
15813
  display: flex;
15826
15814
  background: rgb(var(--v-theme-background));
@@ -15836,6 +15824,18 @@ html.overflow-y-hidden {
15836
15824
  max-width: 100%;
15837
15825
  min-height: 100vh;
15838
15826
  position: relative;
15827
+ }.v-app-bar {
15828
+ display: flex;
15829
+ }
15830
+ .v-app-bar.v-toolbar {
15831
+ background: rgb(var(--v-theme-surface));
15832
+ color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
15833
+ }
15834
+ .v-app-bar.v-toolbar:not(.v-toolbar--flat) {
15835
+ box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
15836
+ }
15837
+ .v-app-bar:not(.v-toolbar--absolute) {
15838
+ padding-inline-end: var(--v-scrollbar-offset);
15839
15839
  }.v-alert {
15840
15840
  display: grid;
15841
15841
  flex: 1 1;
@@ -19550,39 +19550,6 @@ textarea.v-field__input::placeholder {
19550
19550
  }
19551
19551
  .v-footer--rounded {
19552
19552
  border-radius: 4px;
19553
- }.v-img {
19554
- --v-theme-overlay-multiplier: 3;
19555
- z-index: 0;
19556
- }
19557
- .v-img--booting .v-responsive__sizer {
19558
- transition: none;
19559
- }
19560
-
19561
- .v-img__img,
19562
- .v-img__picture,
19563
- .v-img__gradient,
19564
- .v-img__placeholder,
19565
- .v-img__error {
19566
- z-index: -1;
19567
- position: absolute;
19568
- top: 0;
19569
- left: 0;
19570
- width: 100%;
19571
- height: 100%;
19572
- }
19573
-
19574
- .v-img__img--preload {
19575
- filter: blur(4px);
19576
- }
19577
- .v-img__img--contain {
19578
- object-fit: contain;
19579
- }
19580
- .v-img__img--cover {
19581
- object-fit: cover;
19582
- }
19583
-
19584
- .v-img__gradient {
19585
- background-repeat: no-repeat;
19586
19553
  }.v-icon {
19587
19554
  --v-icon-size-multiplier: 1;
19588
19555
  align-items: center;
@@ -19630,6 +19597,39 @@ textarea.v-field__input::placeholder {
19630
19597
 
19631
19598
  .v-icon--end {
19632
19599
  margin-inline-start: 8px;
19600
+ }.v-img {
19601
+ --v-theme-overlay-multiplier: 3;
19602
+ z-index: 0;
19603
+ }
19604
+ .v-img--booting .v-responsive__sizer {
19605
+ transition: none;
19606
+ }
19607
+
19608
+ .v-img__img,
19609
+ .v-img__picture,
19610
+ .v-img__gradient,
19611
+ .v-img__placeholder,
19612
+ .v-img__error {
19613
+ z-index: -1;
19614
+ position: absolute;
19615
+ top: 0;
19616
+ left: 0;
19617
+ width: 100%;
19618
+ height: 100%;
19619
+ }
19620
+
19621
+ .v-img__img--preload {
19622
+ filter: blur(4px);
19623
+ }
19624
+ .v-img__img--contain {
19625
+ object-fit: contain;
19626
+ }
19627
+ .v-img__img--cover {
19628
+ object-fit: cover;
19629
+ }
19630
+
19631
+ .v-img__gradient {
19632
+ background-repeat: no-repeat;
19633
19633
  }.v-input {
19634
19634
  display: grid;
19635
19635
  flex: 1 1 auto;
@@ -21375,7 +21375,8 @@ html.v-overlay-scroll-blocked {
21375
21375
  height: 24px;
21376
21376
  justify-content: flex-end;
21377
21377
  max-width: 100%;
21378
- padding: 0 8px;
21378
+ padding-inline-start: 8px;
21379
+ padding-inline-end: 8px;
21379
21380
  position: relative;
21380
21381
  text-align: end;
21381
21382
  width: 100%;
@@ -21402,6 +21403,9 @@ html.v-overlay-scroll-blocked {
21402
21403
  }
21403
21404
  .v-system-bar--window {
21404
21405
  height: 32px;
21406
+ }
21407
+ .v-system-bar:not(.v-system-bar--absolute) {
21408
+ padding-inline-end: calc(var(--v-scrollbar-offset) + 8px);
21405
21409
  }.v-tabs {
21406
21410
  display: flex;
21407
21411
  height: var(--v-tabs-height);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.6-master-20230221.0
2
+ * Vuetify v3.1.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1823,7 +1823,7 @@ function useProxiedModel(props, prop, defaultValue) {
1823
1823
  });
1824
1824
  const model = computed({
1825
1825
  get() {
1826
- return transformIn(toRaw(isControlled.value ? props[prop] : internal.value));
1826
+ return transformIn(isControlled.value ? props[prop] : internal.value);
1827
1827
  },
1828
1828
  set(internalValue) {
1829
1829
  const newValue = transformOut(internalValue);
@@ -7079,7 +7079,6 @@ const listOpenStrategy = {
7079
7079
  };
7080
7080
 
7081
7081
  /* eslint-disable sonarjs/no-identical-functions */
7082
-
7083
7082
  const independentSelectStrategy = mandatory => {
7084
7083
  const strategy = {
7085
7084
  select: _ref => {
@@ -7088,6 +7087,8 @@ const independentSelectStrategy = mandatory => {
7088
7087
  value,
7089
7088
  selected
7090
7089
  } = _ref;
7090
+ id = toRaw(id);
7091
+
7091
7092
  // When mandatory and we're trying to deselect when id
7092
7093
  // is the only currently selected item then do nothing
7093
7094
  if (mandatory && !value) {
@@ -7132,6 +7133,7 @@ const independentSingleSelectStrategy = mandatory => {
7132
7133
  id,
7133
7134
  ...rest
7134
7135
  } = _ref3;
7136
+ id = toRaw(id);
7135
7137
  const singleSelected = selected.has(id) ? new Map([[id, selected.get(id)]]) : new Map();
7136
7138
  return parentStrategy.select({
7137
7139
  ...rest,
@@ -7162,6 +7164,7 @@ const leafSelectStrategy = mandatory => {
7162
7164
  children,
7163
7165
  ...rest
7164
7166
  } = _ref4;
7167
+ id = toRaw(id);
7165
7168
  if (children.has(id)) return selected;
7166
7169
  return parentStrategy.select({
7167
7170
  id,
@@ -7185,6 +7188,7 @@ const leafSingleSelectStrategy = mandatory => {
7185
7188
  children,
7186
7189
  ...rest
7187
7190
  } = _ref5;
7191
+ id = toRaw(id);
7188
7192
  if (children.has(id)) return selected;
7189
7193
  return parentStrategy.select({
7190
7194
  id,
@@ -7208,6 +7212,7 @@ const classicSelectStrategy = mandatory => {
7208
7212
  children,
7209
7213
  parents
7210
7214
  } = _ref6;
7215
+ id = toRaw(id);
7211
7216
  const original = new Map(selected);
7212
7217
  const items = [id];
7213
7218
  while (items.length) {
@@ -7429,7 +7434,7 @@ const useNestedItem = (id, isGroup) => {
7429
7434
  isOpen: computed(() => parent.root.opened.value.has(computedId.value)),
7430
7435
  parent: computed(() => parent.root.parents.value.get(computedId.value)),
7431
7436
  select: (selected, e) => parent.root.select(computedId.value, selected, e),
7432
- isSelected: computed(() => parent.root.selected.value.get(computedId.value) === 'on'),
7437
+ isSelected: computed(() => parent.root.selected.value.get(toRaw(computedId.value)) === 'on'),
7433
7438
  isIndeterminate: computed(() => parent.root.selected.value.get(computedId.value) === 'indeterminate'),
7434
7439
  isLeaf: computed(() => !parent.root.children.value.get(computedId.value)),
7435
7440
  isGroupActivator: parent.isGroupActivator
@@ -19478,7 +19483,7 @@ const VDataTableServer = genericComponent()({
19478
19483
  "sticky": props.fixedHeader,
19479
19484
  "loading": props.loading,
19480
19485
  "color": props.color
19481
- }, null)]), slots.thead?.(), createVNode("tbody", {
19486
+ }, slots)]), slots.thead?.(), createVNode("tbody", {
19482
19487
  "class": "v-data-table__tbody",
19483
19488
  "role": "rowgroup"
19484
19489
  }, [slots.body ? slots.body() : createVNode(VDataTableRows, {
@@ -19599,9 +19604,9 @@ const VVirtualScroll = genericComponent()({
19599
19604
  const midPointIndex = calculateMidPointIndex(scrollTop + height / 2);
19600
19605
  const buffer = Math.round(visibleItems.value / 3);
19601
19606
  if (direction === UP && midPointIndex <= first.value + buffer * 2 - 1) {
19602
- first.value = Math.max(midPointIndex - buffer, 0);
19607
+ first.value = clamp(midPointIndex - buffer, 0, props.items.length);
19603
19608
  } else if (direction === DOWN && midPointIndex >= first.value + buffer * 2 - 1) {
19604
- first.value = Math.min(Math.max(0, midPointIndex - buffer), props.items.length - visibleItems.value);
19609
+ first.value = clamp(midPointIndex - buffer, 0, props.items.length - visibleItems.value);
19605
19610
  }
19606
19611
  lastScrollTop = rootEl.value.scrollTop;
19607
19612
  }
@@ -20001,7 +20006,7 @@ function createVuetify$1() {
20001
20006
  locale
20002
20007
  };
20003
20008
  }
20004
- const version$1 = "3.1.6-master-20230221.0";
20009
+ const version$1 = "3.1.6";
20005
20010
  createVuetify$1.version = version$1;
20006
20011
 
20007
20012
  // Vue's inject() can only be used in setup
@@ -20013,7 +20018,7 @@ function inject(key) {
20013
20018
  }
20014
20019
  }
20015
20020
 
20016
- const version = "3.1.6-master-20230221.0";
20021
+ const version = "3.1.6";
20017
20022
 
20018
20023
  const createVuetify = function () {
20019
20024
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};