@vuetify/nightly 3.6.12-master.2024-07-10 → 3.6.12-master.2024-07-11

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 (36) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/json/importMap-labs.json +16 -16
  3. package/dist/json/importMap.json +160 -160
  4. package/dist/json/web-types.json +1 -1
  5. package/dist/vuetify-labs.css +2754 -2754
  6. package/dist/vuetify-labs.d.ts +22 -21
  7. package/dist/vuetify-labs.esm.js +21 -8
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +21 -8
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +876 -876
  12. package/dist/vuetify.d.ts +73 -72
  13. package/dist/vuetify.esm.js +21 -8
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +21 -8
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +23 -23
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VDataIterator/index.d.mts +1 -0
  21. package/lib/components/VDataTable/VDataTable.mjs +6 -2
  22. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  23. package/lib/components/VDataTable/VDataTableServer.mjs +6 -2
  24. package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
  25. package/lib/components/VDataTable/VDataTableVirtual.mjs +6 -2
  26. package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
  27. package/lib/components/VDataTable/composables/group.mjs +2 -1
  28. package/lib/components/VDataTable/composables/group.mjs.map +1 -1
  29. package/lib/components/VDataTable/composables/sort.mjs +1 -1
  30. package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
  31. package/lib/components/VDataTable/index.d.mts +22 -21
  32. package/lib/components/index.d.mts +22 -21
  33. package/lib/entry-bundler.mjs +1 -1
  34. package/lib/framework.mjs +1 -1
  35. package/lib/index.d.mts +51 -51
  36. package/package.json +1 -1
@@ -22603,6 +22603,7 @@ interface Group<T = any> {
22603
22603
  declare function provideGroupBy(options: {
22604
22604
  groupBy: Ref<readonly SortItem[]>;
22605
22605
  sortBy: Ref<readonly SortItem[]>;
22606
+ disableSort?: Ref<boolean>;
22606
22607
  }): {
22607
22608
  sortByWithGroups: vue.ComputedRef<SortItem[]>;
22608
22609
  toggleGroup: (group: Group) => void;
@@ -23998,6 +23999,7 @@ declare const VDataTable: {
23998
23999
  multiSort: boolean;
23999
24000
  mustSort: boolean;
24000
24001
  groupBy: readonly SortItem[];
24002
+ disableSort: boolean;
24001
24003
  showSelect: boolean;
24002
24004
  expandOnClick: boolean;
24003
24005
  showExpand: boolean;
@@ -24013,7 +24015,6 @@ declare const VDataTable: {
24013
24015
  value: number;
24014
24016
  })[];
24015
24017
  showCurrentPage: boolean;
24016
- disableSort: boolean;
24017
24018
  sortAscIcon: IconValue;
24018
24019
  sortDescIcon: IconValue;
24019
24020
  fixedHeader: boolean;
@@ -24077,6 +24078,7 @@ declare const VDataTable: {
24077
24078
  multiSort: boolean;
24078
24079
  mustSort: boolean;
24079
24080
  groupBy: readonly SortItem[];
24081
+ disableSort: boolean;
24080
24082
  showSelect: boolean;
24081
24083
  expandOnClick: boolean;
24082
24084
  showExpand: boolean;
@@ -24092,7 +24094,6 @@ declare const VDataTable: {
24092
24094
  value: number;
24093
24095
  })[];
24094
24096
  showCurrentPage: boolean;
24095
- disableSort: boolean;
24096
24097
  sortAscIcon: IconValue;
24097
24098
  sortDescIcon: IconValue;
24098
24099
  fixedHeader: boolean;
@@ -24147,6 +24148,7 @@ declare const VDataTable: {
24147
24148
  multiSort: boolean;
24148
24149
  mustSort: boolean;
24149
24150
  groupBy: readonly SortItem[];
24151
+ disableSort: boolean;
24150
24152
  showSelect: boolean;
24151
24153
  expandOnClick: boolean;
24152
24154
  showExpand: boolean;
@@ -24162,7 +24164,6 @@ declare const VDataTable: {
24162
24164
  value: number;
24163
24165
  })[];
24164
24166
  showCurrentPage: boolean;
24165
- disableSort: boolean;
24166
24167
  sortAscIcon: IconValue;
24167
24168
  sortDescIcon: IconValue;
24168
24169
  fixedHeader: boolean;
@@ -24299,6 +24300,7 @@ declare const VDataTable: {
24299
24300
  multiSort: boolean;
24300
24301
  mustSort: boolean;
24301
24302
  groupBy: readonly SortItem[];
24303
+ disableSort: boolean;
24302
24304
  showSelect: boolean;
24303
24305
  expandOnClick: boolean;
24304
24306
  showExpand: boolean;
@@ -24314,7 +24316,6 @@ declare const VDataTable: {
24314
24316
  value: number;
24315
24317
  })[];
24316
24318
  showCurrentPage: boolean;
24317
- disableSort: boolean;
24318
24319
  sortAscIcon: IconValue;
24319
24320
  sortDescIcon: IconValue;
24320
24321
  fixedHeader: boolean;
@@ -24369,6 +24370,7 @@ declare const VDataTable: {
24369
24370
  multiSort: boolean;
24370
24371
  mustSort: boolean;
24371
24372
  groupBy: readonly SortItem[];
24373
+ disableSort: boolean;
24372
24374
  showSelect: boolean;
24373
24375
  expandOnClick: boolean;
24374
24376
  showExpand: boolean;
@@ -24384,7 +24386,6 @@ declare const VDataTable: {
24384
24386
  value: number;
24385
24387
  })[];
24386
24388
  showCurrentPage: boolean;
24387
- disableSort: boolean;
24388
24389
  sortAscIcon: IconValue;
24389
24390
  sortDescIcon: IconValue;
24390
24391
  fixedHeader: boolean;
@@ -24421,6 +24422,7 @@ declare const VDataTable: {
24421
24422
  multiSort: boolean;
24422
24423
  mustSort: boolean;
24423
24424
  groupBy: readonly SortItem[];
24425
+ disableSort: boolean;
24424
24426
  showSelect: boolean;
24425
24427
  expandOnClick: boolean;
24426
24428
  showExpand: boolean;
@@ -24436,7 +24438,6 @@ declare const VDataTable: {
24436
24438
  value: number;
24437
24439
  })[];
24438
24440
  showCurrentPage: boolean;
24439
- disableSort: boolean;
24440
24441
  sortAscIcon: IconValue;
24441
24442
  sortDescIcon: IconValue;
24442
24443
  fixedHeader: boolean;
@@ -24500,6 +24501,7 @@ declare const VDataTable: {
24500
24501
  multiSort: boolean;
24501
24502
  mustSort: boolean;
24502
24503
  groupBy: readonly SortItem[];
24504
+ disableSort: boolean;
24503
24505
  showSelect: boolean;
24504
24506
  expandOnClick: boolean;
24505
24507
  showExpand: boolean;
@@ -24515,7 +24517,6 @@ declare const VDataTable: {
24515
24517
  value: number;
24516
24518
  })[];
24517
24519
  showCurrentPage: boolean;
24518
- disableSort: boolean;
24519
24520
  sortAscIcon: IconValue;
24520
24521
  sortDescIcon: IconValue;
24521
24522
  fixedHeader: boolean;
@@ -25416,10 +25417,10 @@ declare const VDataTableVirtual: {
25416
25417
  multiSort: boolean;
25417
25418
  mustSort: boolean;
25418
25419
  groupBy: readonly SortItem[];
25420
+ disableSort: boolean;
25419
25421
  showSelect: boolean;
25420
25422
  expandOnClick: boolean;
25421
25423
  showExpand: boolean;
25422
- disableSort: boolean;
25423
25424
  sortAscIcon: IconValue;
25424
25425
  sortDescIcon: IconValue;
25425
25426
  fixedHeader: boolean;
@@ -25518,10 +25519,10 @@ declare const VDataTableVirtual: {
25518
25519
  multiSort: boolean;
25519
25520
  mustSort: boolean;
25520
25521
  groupBy: readonly SortItem[];
25522
+ disableSort: boolean;
25521
25523
  showSelect: boolean;
25522
25524
  expandOnClick: boolean;
25523
25525
  showExpand: boolean;
25524
- disableSort: boolean;
25525
25526
  sortAscIcon: IconValue;
25526
25527
  sortDescIcon: IconValue;
25527
25528
  fixedHeader: boolean;
@@ -25614,10 +25615,10 @@ declare const VDataTableVirtual: {
25614
25615
  multiSort: boolean;
25615
25616
  mustSort: boolean;
25616
25617
  groupBy: readonly SortItem[];
25618
+ disableSort: boolean;
25617
25619
  showSelect: boolean;
25618
25620
  expandOnClick: boolean;
25619
25621
  showExpand: boolean;
25620
- disableSort: boolean;
25621
25622
  sortAscIcon: IconValue;
25622
25623
  sortDescIcon: IconValue;
25623
25624
  fixedHeader: boolean;
@@ -25734,10 +25735,10 @@ declare const VDataTableVirtual: {
25734
25735
  multiSort: boolean;
25735
25736
  mustSort: boolean;
25736
25737
  groupBy: readonly SortItem[];
25738
+ disableSort: boolean;
25737
25739
  showSelect: boolean;
25738
25740
  expandOnClick: boolean;
25739
25741
  showExpand: boolean;
25740
- disableSort: boolean;
25741
25742
  sortAscIcon: IconValue;
25742
25743
  sortDescIcon: IconValue;
25743
25744
  fixedHeader: boolean;
@@ -25830,10 +25831,10 @@ declare const VDataTableVirtual: {
25830
25831
  multiSort: boolean;
25831
25832
  mustSort: boolean;
25832
25833
  groupBy: readonly SortItem[];
25834
+ disableSort: boolean;
25833
25835
  showSelect: boolean;
25834
25836
  expandOnClick: boolean;
25835
25837
  showExpand: boolean;
25836
- disableSort: boolean;
25837
25838
  sortAscIcon: IconValue;
25838
25839
  sortDescIcon: IconValue;
25839
25840
  fixedHeader: boolean;
@@ -25866,10 +25867,10 @@ declare const VDataTableVirtual: {
25866
25867
  multiSort: boolean;
25867
25868
  mustSort: boolean;
25868
25869
  groupBy: readonly SortItem[];
25870
+ disableSort: boolean;
25869
25871
  showSelect: boolean;
25870
25872
  expandOnClick: boolean;
25871
25873
  showExpand: boolean;
25872
- disableSort: boolean;
25873
25874
  sortAscIcon: IconValue;
25874
25875
  sortDescIcon: IconValue;
25875
25876
  fixedHeader: boolean;
@@ -25968,10 +25969,10 @@ declare const VDataTableVirtual: {
25968
25969
  multiSort: boolean;
25969
25970
  mustSort: boolean;
25970
25971
  groupBy: readonly SortItem[];
25972
+ disableSort: boolean;
25971
25973
  showSelect: boolean;
25972
25974
  expandOnClick: boolean;
25973
25975
  showExpand: boolean;
25974
- disableSort: boolean;
25975
25976
  sortAscIcon: IconValue;
25976
25977
  sortDescIcon: IconValue;
25977
25978
  fixedHeader: boolean;
@@ -26416,6 +26417,7 @@ declare const VDataTableServer: {
26416
26417
  multiSort: boolean;
26417
26418
  mustSort: boolean;
26418
26419
  groupBy: readonly SortItem[];
26420
+ disableSort: boolean;
26419
26421
  showSelect: boolean;
26420
26422
  expandOnClick: boolean;
26421
26423
  showExpand: boolean;
@@ -26432,7 +26434,6 @@ declare const VDataTableServer: {
26432
26434
  value: number;
26433
26435
  })[];
26434
26436
  showCurrentPage: boolean;
26435
- disableSort: boolean;
26436
26437
  sortAscIcon: IconValue;
26437
26438
  sortDescIcon: IconValue;
26438
26439
  fixedHeader: boolean;
@@ -26534,6 +26535,7 @@ declare const VDataTableServer: {
26534
26535
  multiSort: boolean;
26535
26536
  mustSort: boolean;
26536
26537
  groupBy: readonly SortItem[];
26538
+ disableSort: boolean;
26537
26539
  showSelect: boolean;
26538
26540
  expandOnClick: boolean;
26539
26541
  showExpand: boolean;
@@ -26550,7 +26552,6 @@ declare const VDataTableServer: {
26550
26552
  value: number;
26551
26553
  })[];
26552
26554
  showCurrentPage: boolean;
26553
- disableSort: boolean;
26554
26555
  sortAscIcon: IconValue;
26555
26556
  sortDescIcon: IconValue;
26556
26557
  fixedHeader: boolean;
@@ -26644,6 +26645,7 @@ declare const VDataTableServer: {
26644
26645
  multiSort: boolean;
26645
26646
  mustSort: boolean;
26646
26647
  groupBy: readonly SortItem[];
26648
+ disableSort: boolean;
26647
26649
  showSelect: boolean;
26648
26650
  expandOnClick: boolean;
26649
26651
  showExpand: boolean;
@@ -26659,7 +26661,6 @@ declare const VDataTableServer: {
26659
26661
  value: number;
26660
26662
  })[];
26661
26663
  showCurrentPage: boolean;
26662
- disableSort: boolean;
26663
26664
  sortAscIcon: IconValue;
26664
26665
  sortDescIcon: IconValue;
26665
26666
  fixedHeader: boolean;
@@ -26794,6 +26795,7 @@ declare const VDataTableServer: {
26794
26795
  multiSort: boolean;
26795
26796
  mustSort: boolean;
26796
26797
  groupBy: readonly SortItem[];
26798
+ disableSort: boolean;
26797
26799
  showSelect: boolean;
26798
26800
  expandOnClick: boolean;
26799
26801
  showExpand: boolean;
@@ -26810,7 +26812,6 @@ declare const VDataTableServer: {
26810
26812
  value: number;
26811
26813
  })[];
26812
26814
  showCurrentPage: boolean;
26813
- disableSort: boolean;
26814
26815
  sortAscIcon: IconValue;
26815
26816
  sortDescIcon: IconValue;
26816
26817
  fixedHeader: boolean;
@@ -26904,6 +26905,7 @@ declare const VDataTableServer: {
26904
26905
  multiSort: boolean;
26905
26906
  mustSort: boolean;
26906
26907
  groupBy: readonly SortItem[];
26908
+ disableSort: boolean;
26907
26909
  showSelect: boolean;
26908
26910
  expandOnClick: boolean;
26909
26911
  showExpand: boolean;
@@ -26919,7 +26921,6 @@ declare const VDataTableServer: {
26919
26921
  value: number;
26920
26922
  })[];
26921
26923
  showCurrentPage: boolean;
26922
- disableSort: boolean;
26923
26924
  sortAscIcon: IconValue;
26924
26925
  sortDescIcon: IconValue;
26925
26926
  fixedHeader: boolean;
@@ -26954,6 +26955,7 @@ declare const VDataTableServer: {
26954
26955
  multiSort: boolean;
26955
26956
  mustSort: boolean;
26956
26957
  groupBy: readonly SortItem[];
26958
+ disableSort: boolean;
26957
26959
  showSelect: boolean;
26958
26960
  expandOnClick: boolean;
26959
26961
  showExpand: boolean;
@@ -26970,7 +26972,6 @@ declare const VDataTableServer: {
26970
26972
  value: number;
26971
26973
  })[];
26972
26974
  showCurrentPage: boolean;
26973
- disableSort: boolean;
26974
26975
  sortAscIcon: IconValue;
26975
26976
  sortDescIcon: IconValue;
26976
26977
  fixedHeader: boolean;
@@ -27072,6 +27073,7 @@ declare const VDataTableServer: {
27072
27073
  multiSort: boolean;
27073
27074
  mustSort: boolean;
27074
27075
  groupBy: readonly SortItem[];
27076
+ disableSort: boolean;
27075
27077
  showSelect: boolean;
27076
27078
  expandOnClick: boolean;
27077
27079
  showExpand: boolean;
@@ -27087,7 +27089,6 @@ declare const VDataTableServer: {
27087
27089
  value: number;
27088
27090
  })[];
27089
27091
  showCurrentPage: boolean;
27090
- disableSort: boolean;
27091
27092
  sortAscIcon: IconValue;
27092
27093
  sortDescIcon: IconValue;
27093
27094
  fixedHeader: boolean;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.12-master.2024-07-10
2
+ * Vuetify v3.6.12-master.2024-07-11
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -18090,6 +18090,7 @@ function createGroupBy(props) {
18090
18090
  }
18091
18091
  function provideGroupBy(options) {
18092
18092
  const {
18093
+ disableSort,
18093
18094
  groupBy,
18094
18095
  sortBy
18095
18096
  } = options;
@@ -18098,7 +18099,7 @@ function provideGroupBy(options) {
18098
18099
  return groupBy.value.map(val => ({
18099
18100
  ...val,
18100
18101
  order: val.order ?? false
18101
- })).concat(sortBy.value);
18102
+ })).concat(disableSort?.value ? [] : sortBy.value);
18102
18103
  });
18103
18104
  function isGroupOpen(group) {
18104
18105
  return opened.value.has(group.id);
@@ -18607,7 +18608,7 @@ function useSort() {
18607
18608
  function useSortedItems(props, items, sortBy, options) {
18608
18609
  const locale = useLocale();
18609
18610
  const sortedItems = computed(() => {
18610
- if (!sortBy.value.length || props.disableSort) return items.value;
18611
+ if (!sortBy.value.length) return items.value;
18611
18612
  return sortItems(items.value, sortBy.value, locale.current.value, {
18612
18613
  transform: options?.transform,
18613
18614
  sortFunctions: {
@@ -20359,6 +20360,9 @@ const VDataTable = genericComponent()({
20359
20360
  page,
20360
20361
  itemsPerPage
20361
20362
  } = createPagination(props);
20363
+ const {
20364
+ disableSort
20365
+ } = toRefs(props);
20362
20366
  const {
20363
20367
  columns,
20364
20368
  headers,
@@ -20396,7 +20400,8 @@ const VDataTable = genericComponent()({
20396
20400
  toggleGroup
20397
20401
  } = provideGroupBy({
20398
20402
  groupBy,
20399
- sortBy
20403
+ sortBy,
20404
+ disableSort
20400
20405
  });
20401
20406
  const {
20402
20407
  sortedItems
@@ -20539,6 +20544,9 @@ const VDataTableVirtual = genericComponent()({
20539
20544
  multiSort,
20540
20545
  mustSort
20541
20546
  } = createSort(props);
20547
+ const {
20548
+ disableSort
20549
+ } = toRefs(props);
20542
20550
  const {
20543
20551
  columns,
20544
20552
  headers,
@@ -20575,7 +20583,8 @@ const VDataTableVirtual = genericComponent()({
20575
20583
  toggleGroup
20576
20584
  } = provideGroupBy({
20577
20585
  groupBy,
20578
- sortBy
20586
+ sortBy,
20587
+ disableSort
20579
20588
  });
20580
20589
  const {
20581
20590
  sortedItems
@@ -20764,6 +20773,9 @@ const VDataTableServer = genericComponent()({
20764
20773
  page,
20765
20774
  itemsPerPage
20766
20775
  } = createPagination(props);
20776
+ const {
20777
+ disableSort
20778
+ } = toRefs(props);
20767
20779
  const itemsLength = computed(() => parseInt(props.itemsLength, 10));
20768
20780
  const {
20769
20781
  columns,
@@ -20791,7 +20803,8 @@ const VDataTableServer = genericComponent()({
20791
20803
  extractRows
20792
20804
  } = provideGroupBy({
20793
20805
  groupBy,
20794
- sortBy
20806
+ sortBy,
20807
+ disableSort
20795
20808
  });
20796
20809
  const {
20797
20810
  pageCount,
@@ -30269,7 +30282,7 @@ function createVuetify$1() {
30269
30282
  goTo
30270
30283
  };
30271
30284
  }
30272
- const version$1 = "3.6.12-master.2024-07-10";
30285
+ const version$1 = "3.6.12-master.2024-07-11";
30273
30286
  createVuetify$1.version = version$1;
30274
30287
 
30275
30288
  // Vue's inject() can only be used in setup
@@ -30522,7 +30535,7 @@ var index = /*#__PURE__*/Object.freeze({
30522
30535
 
30523
30536
  /* eslint-disable local-rules/sort-imports */
30524
30537
 
30525
- const version = "3.6.12-master.2024-07-10";
30538
+ const version = "3.6.12-master.2024-07-11";
30526
30539
 
30527
30540
  /* eslint-disable local-rules/sort-imports */
30528
30541