@vuetify/nightly 3.11.4-dev.2025-12-22 → 3.11.4-dev.2025-12-23

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.11.4-dev.2025-12-22
2
+ * Vuetify v3.11.4-dev.2025-12-23
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -24102,6 +24102,7 @@
24102
24102
  const makeVDataIteratorProps = propsFactory({
24103
24103
  search: String,
24104
24104
  loading: Boolean,
24105
+ itemsLength: [Number, String],
24105
24106
  ...makeComponentProps(),
24106
24107
  ...makeDataIteratorItemsProps(),
24107
24108
  ...makeDataTableSelectProps(),
@@ -24184,7 +24185,8 @@
24184
24185
  const {
24185
24186
  flatItems
24186
24187
  } = useGroupedItems(sortedItems, groupBy, opened, false);
24187
- const itemsLength = vue.toRef(() => flatItems.value.length);
24188
+ const manualPagination = vue.toRef(() => !isEmpty(props.itemsLength));
24189
+ const itemsLength = vue.toRef(() => manualPagination.value ? Number(props.itemsLength) : flatItems.value.length);
24188
24190
  const {
24189
24191
  startIndex,
24190
24192
  stopIndex,
@@ -24198,15 +24200,22 @@
24198
24200
  itemsPerPage,
24199
24201
  itemsLength
24200
24202
  });
24201
- const {
24202
- paginatedItems
24203
- } = usePaginatedItems({
24204
- items: flatItems,
24205
- startIndex,
24206
- stopIndex,
24207
- itemsPerPage
24203
+ const paginatedItems = vue.shallowRef([]);
24204
+ const currentItems = vue.computed(() => manualPagination.value ? flatItems.value : paginatedItems.value);
24205
+ useToggleScope(() => !manualPagination.value, () => {
24206
+ const {
24207
+ paginatedItems: items
24208
+ } = usePaginatedItems({
24209
+ items: flatItems,
24210
+ startIndex,
24211
+ stopIndex,
24212
+ itemsPerPage
24213
+ });
24214
+ vue.watchEffect(() => {
24215
+ paginatedItems.value = items.value;
24216
+ });
24208
24217
  });
24209
- const paginatedItemsWithoutGroups = vue.computed(() => extractRows(paginatedItems.value));
24218
+ const currentItemsWithoutGroups = vue.computed(() => extractRows(currentItems.value));
24210
24219
  const {
24211
24220
  isSelected,
24212
24221
  select,
@@ -24214,7 +24223,7 @@
24214
24223
  toggleSelect
24215
24224
  } = provideSelection(props, {
24216
24225
  allItems: items,
24217
- currentPage: paginatedItemsWithoutGroups
24226
+ currentPage: currentItemsWithoutGroups
24218
24227
  });
24219
24228
  const {
24220
24229
  isExpanded,
@@ -24245,9 +24254,9 @@
24245
24254
  toggleExpand,
24246
24255
  isGroupOpen,
24247
24256
  toggleGroup,
24248
- items: paginatedItemsWithoutGroups.value,
24257
+ items: currentItemsWithoutGroups.value,
24249
24258
  itemsCount: filteredItems.value.length,
24250
- groupedItems: paginatedItems.value
24259
+ groupedItems: currentItems.value
24251
24260
  }));
24252
24261
  useRender(() => vue.createVNode(props.tag, {
24253
24262
  "class": vue.normalizeClass(['v-data-iterator', {
@@ -24266,7 +24275,7 @@
24266
24275
  default: slotProps => slots.loader?.(slotProps)
24267
24276
  }) : vue.createElementVNode("div", {
24268
24277
  "key": "items"
24269
- }, [!paginatedItems.value.length ? slots['no-data']?.() : slots.default?.(slotProps.value)])]
24278
+ }, [!currentItems.value.length ? slots['no-data']?.() : slots.default?.(slotProps.value)])]
24270
24279
  }), slots.footer?.(slotProps.value)]
24271
24280
  }));
24272
24281
  return {};
@@ -39447,7 +39456,7 @@
39447
39456
  };
39448
39457
  });
39449
39458
  }
39450
- const version$1 = "3.11.4-dev.2025-12-22";
39459
+ const version$1 = "3.11.4-dev.2025-12-23";
39451
39460
  createVuetify$1.version = version$1;
39452
39461
 
39453
39462
  // Vue's inject() can only be used in setup
@@ -39750,7 +39759,7 @@
39750
39759
 
39751
39760
  /* eslint-disable local-rules/sort-imports */
39752
39761
 
39753
- const version = "3.11.4-dev.2025-12-22";
39762
+ const version = "3.11.4-dev.2025-12-23";
39754
39763
 
39755
39764
  /* eslint-disable local-rules/sort-imports */
39756
39765