@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.
package/dist/vuetify.js CHANGED
@@ -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
  */
@@ -24422,6 +24422,7 @@
24422
24422
  const makeVDataIteratorProps = propsFactory({
24423
24423
  search: String,
24424
24424
  loading: Boolean,
24425
+ itemsLength: [Number, String],
24425
24426
  ...makeComponentProps(),
24426
24427
  ...makeDataIteratorItemsProps(),
24427
24428
  ...makeDataTableSelectProps(),
@@ -24504,7 +24505,8 @@
24504
24505
  const {
24505
24506
  flatItems
24506
24507
  } = useGroupedItems(sortedItems, groupBy, opened, false);
24507
- const itemsLength = vue.toRef(() => flatItems.value.length);
24508
+ const manualPagination = vue.toRef(() => !isEmpty(props.itemsLength));
24509
+ const itemsLength = vue.toRef(() => manualPagination.value ? Number(props.itemsLength) : flatItems.value.length);
24508
24510
  const {
24509
24511
  startIndex,
24510
24512
  stopIndex,
@@ -24518,15 +24520,22 @@
24518
24520
  itemsPerPage,
24519
24521
  itemsLength
24520
24522
  });
24521
- const {
24522
- paginatedItems
24523
- } = usePaginatedItems({
24524
- items: flatItems,
24525
- startIndex,
24526
- stopIndex,
24527
- itemsPerPage
24523
+ const paginatedItems = vue.shallowRef([]);
24524
+ const currentItems = vue.computed(() => manualPagination.value ? flatItems.value : paginatedItems.value);
24525
+ useToggleScope(() => !manualPagination.value, () => {
24526
+ const {
24527
+ paginatedItems: items
24528
+ } = usePaginatedItems({
24529
+ items: flatItems,
24530
+ startIndex,
24531
+ stopIndex,
24532
+ itemsPerPage
24533
+ });
24534
+ vue.watchEffect(() => {
24535
+ paginatedItems.value = items.value;
24536
+ });
24528
24537
  });
24529
- const paginatedItemsWithoutGroups = vue.computed(() => extractRows(paginatedItems.value));
24538
+ const currentItemsWithoutGroups = vue.computed(() => extractRows(currentItems.value));
24530
24539
  const {
24531
24540
  isSelected,
24532
24541
  select,
@@ -24534,7 +24543,7 @@
24534
24543
  toggleSelect
24535
24544
  } = provideSelection(props, {
24536
24545
  allItems: items,
24537
- currentPage: paginatedItemsWithoutGroups
24546
+ currentPage: currentItemsWithoutGroups
24538
24547
  });
24539
24548
  const {
24540
24549
  isExpanded,
@@ -24565,9 +24574,9 @@
24565
24574
  toggleExpand,
24566
24575
  isGroupOpen,
24567
24576
  toggleGroup,
24568
- items: paginatedItemsWithoutGroups.value,
24577
+ items: currentItemsWithoutGroups.value,
24569
24578
  itemsCount: filteredItems.value.length,
24570
- groupedItems: paginatedItems.value
24579
+ groupedItems: currentItems.value
24571
24580
  }));
24572
24581
  useRender(() => vue.createVNode(props.tag, {
24573
24582
  "class": vue.normalizeClass(['v-data-iterator', {
@@ -24586,7 +24595,7 @@
24586
24595
  default: slotProps => slots.loader?.(slotProps)
24587
24596
  }) : vue.createElementVNode("div", {
24588
24597
  "key": "items"
24589
- }, [!paginatedItems.value.length ? slots['no-data']?.() : slots.default?.(slotProps.value)])]
24598
+ }, [!currentItems.value.length ? slots['no-data']?.() : slots.default?.(slotProps.value)])]
24590
24599
  }), slots.footer?.(slotProps.value)]
24591
24600
  }));
24592
24601
  return {};
@@ -36901,7 +36910,7 @@
36901
36910
  };
36902
36911
  });
36903
36912
  }
36904
- const version$1 = "3.11.4-dev.2025-12-22";
36913
+ const version$1 = "3.11.4-dev.2025-12-23";
36905
36914
  createVuetify$1.version = version$1;
36906
36915
 
36907
36916
  // Vue's inject() can only be used in setup
@@ -36926,7 +36935,7 @@
36926
36935
  ...options
36927
36936
  });
36928
36937
  };
36929
- const version = "3.11.4-dev.2025-12-22";
36938
+ const version = "3.11.4-dev.2025-12-23";
36930
36939
  createVuetify.version = version;
36931
36940
 
36932
36941
  exports.blueprints = index;