@progress/kendo-react-data-tools 9.3.1 → 9.4.0-develop.10

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 (111) hide show
  1. package/clipboard/clipboard.service.js +1 -1
  2. package/clipboard/clipboard.service.mjs +0 -1
  3. package/clipboard/common.js +5 -5
  4. package/clipboard/common.mjs +0 -1
  5. package/columnmenu/ColumnMenu.js +2 -1
  6. package/columnmenu/ColumnMenuFilterForm.js +2 -1
  7. package/columnmenu/ColumnMenuFilterLogic.js +2 -1
  8. package/columnmenu/ColumnMenuFilterLogic.mjs +4 -4
  9. package/columnmenu/ColumnMenuFilters.js +2 -1
  10. package/columnmenu/ColumnMenuItem.js +2 -1
  11. package/columnmenu/ColumnMenuItem.mjs +4 -4
  12. package/columnmenu/ColumnMenuOperators.js +1 -1
  13. package/columnmenu/ColumnMenuOperators.mjs +0 -1
  14. package/detail-expansion/expandReducer.js +8 -0
  15. package/detail-expansion/expandReducer.mjs +26 -0
  16. package/detail-expansion/utils.js +8 -0
  17. package/detail-expansion/utils.mjs +17 -0
  18. package/dist/cdn/js/kendo-react-datatools.js +8 -1
  19. package/drag/ColumnDraggable.js +2 -1
  20. package/drag/ColumnResize.js +1 -1
  21. package/drag/ColumnResize.mjs +2 -3
  22. package/drag/ColumnResizer.js +2 -1
  23. package/drag/CommonDragLogic.js +1 -1
  24. package/drag/CommonDragLogic.mjs +0 -1
  25. package/drag/DragClue.js +2 -1
  26. package/drag/DragClue.mjs +4 -4
  27. package/drag/DropClue.js +2 -1
  28. package/drag/DropClue.mjs +3 -3
  29. package/editing/editReducer.js +8 -0
  30. package/editing/editReducer.mjs +43 -0
  31. package/editing/utils.js +8 -0
  32. package/editing/utils.mjs +17 -0
  33. package/filter/Expression.js +2 -1
  34. package/filter/Filter.js +2 -1
  35. package/filter/Filter.mjs +11 -11
  36. package/filter/Group.js +2 -1
  37. package/filter/filters/BooleanFilter.js +2 -1
  38. package/filter/filters/DateFilter.js +2 -1
  39. package/filter/filters/DateFilter.mjs +4 -4
  40. package/filter/filters/EnumFilter.js +2 -1
  41. package/filter/filters/NumericFilter.js +2 -1
  42. package/filter/filters/NumericFilter.mjs +4 -4
  43. package/filter/filters/TextFilter.js +2 -1
  44. package/filter/operators.js +1 -1
  45. package/filter/operators.mjs +0 -1
  46. package/filteringCells/BooleanFilter.js +2 -1
  47. package/filteringCells/BooleanFilter.mjs +4 -4
  48. package/filteringCells/DateFilter.js +2 -1
  49. package/filteringCells/DateFilter.mjs +5 -5
  50. package/filteringCells/FilterComponent.js +2 -1
  51. package/filteringCells/FilterComponent.mjs +7 -7
  52. package/filteringCells/NumericFilter.js +2 -1
  53. package/filteringCells/TextFilter.js +2 -1
  54. package/group-expansion/groupExpandReducer.js +8 -0
  55. package/group-expansion/groupExpandReducer.mjs +107 -0
  56. package/header/ColumnProps.js +1 -1
  57. package/header/ColumnProps.mjs +0 -1
  58. package/header/FilterRow.js +2 -1
  59. package/header/FilterRow.mjs +2 -2
  60. package/header/Header.js +2 -1
  61. package/header/HeaderCell.js +2 -1
  62. package/header/HeaderRow.js +2 -1
  63. package/header/HeaderRow.mjs +5 -5
  64. package/header/HeaderSelectionCell.js +2 -1
  65. package/header/HeaderTdElement.js +2 -1
  66. package/header/HeaderTdElement.mjs +6 -6
  67. package/header/HeaderThElement.js +2 -1
  68. package/header/HeaderThElement.mjs +6 -6
  69. package/header/SortSettings.js +1 -1
  70. package/header/SortSettings.mjs +2 -3
  71. package/header/utils/index.js +1 -1
  72. package/header/utils/index.mjs +5 -6
  73. package/index.d.mts +214 -12
  74. package/index.d.ts +214 -12
  75. package/index.js +1 -1
  76. package/index.mjs +156 -137
  77. package/messages/index.js +1 -1
  78. package/messages/index.mjs +0 -1
  79. package/navigation/NavigatableSettings.js +1 -1
  80. package/navigation/NavigatableSettings.mjs +2 -3
  81. package/navigation/TableKeyboardNavigation.js +2 -1
  82. package/navigation/TableKeyboardNavigationContext.js +2 -1
  83. package/navigation/TableKeyboardNavigationContext.mjs +4 -4
  84. package/navigation/constants.js +1 -1
  85. package/navigation/constants.mjs +8 -9
  86. package/navigation/hooks.js +2 -1
  87. package/navigation/hooks.mjs +5 -5
  88. package/navigation/utils.js +1 -1
  89. package/navigation/utils.mjs +0 -1
  90. package/package-metadata.js +1 -1
  91. package/package-metadata.mjs +2 -3
  92. package/package.json +10 -10
  93. package/pager/Pager.js +2 -1
  94. package/pager/PagerInput.js +2 -1
  95. package/pager/PagerNumericButtons.js +2 -1
  96. package/pager/PagerNumericButtons.mjs +9 -9
  97. package/pager/PagerPageSizes.js +2 -1
  98. package/pager/PagerPageSizes.mjs +3 -3
  99. package/pager/utils.js +1 -1
  100. package/pager/utils.mjs +2 -3
  101. package/selection/TableSelection.js +2 -1
  102. package/selection/constants.js +1 -1
  103. package/selection/constants.mjs +0 -1
  104. package/selection/utils.js +1 -1
  105. package/selection/utils.mjs +63 -63
  106. package/utils/data-operations.js +1 -1
  107. package/utils/data-operations.mjs +82 -67
  108. package/utils/group-operations.js +1 -1
  109. package/utils/group-operations.mjs +7 -8
  110. package/virtualization/columns.js +1 -1
  111. package/virtualization/columns.mjs +19 -15
@@ -5,48 +5,47 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- import { orderBy as s, filterBy as D } from "@progress/kendo-data-query";
10
- import { extendDataItem as y, mapTree as v, getItemPath as P, getNestedValue as g } from "@progress/kendo-react-common";
11
- function i(r, n, t) {
12
- return t ? { ...r, [n]: t.length ? [...t] : void 0 } : r && r[n] ? [...r[n]] : [];
8
+ import { orderBy as v, filterBy as s } from "@progress/kendo-data-query";
9
+ import { extendDataItem as y, mapTree as C, getItemPath as P, getNestedValue as g } from "@progress/kendo-react-common";
10
+ function i(t, n, r) {
11
+ return r ? { ...t, [n]: r.length ? [...r] : void 0 } : t && t[n] ? [...t[n]] : [];
13
12
  }
14
- function C(r, n, t) {
15
- if (r[t]) {
16
- const o = i(r, t, s(i(r, t), n)), e = i(o, t).map((c) => C(c, n, t));
17
- return { ...o, [t]: e };
13
+ function B(t, n, r) {
14
+ if (t[r]) {
15
+ const o = i(t, r, v(i(t, r), n)), e = i(o, r).map((c) => B(c, n, r));
16
+ return { ...o, [r]: e };
18
17
  }
19
- return r;
18
+ return t;
20
19
  }
21
- function $(r, n, t) {
22
- let o = s(r, n);
23
- return o = o.map((e) => C(e, n, t)), o;
20
+ function E(t, n, r) {
21
+ let o = v(t, n);
22
+ return o = o.map((e) => B(e, n, r)), o;
24
23
  }
25
- function B(r, n, t) {
26
- let o = i(r, t);
24
+ function x(t, n, r) {
25
+ let o = i(t, r);
27
26
  if (o && o.length) {
28
- o = o.map((h) => B(h, n, t));
29
- const a = D(o, {
30
- filters: [{ filters: n, logic: "and" }, { operator: (h) => !!(h[t] || []).length }],
27
+ o = o.map((a) => x(a, n, r));
28
+ const l = s(o, {
29
+ filters: [{ filters: n, logic: "and" }, { operator: (a) => !!(a[r] || []).length }],
31
30
  logic: "or"
32
31
  });
33
- return i(r, t, a);
32
+ return i(t, r, l);
34
33
  }
35
- return r;
34
+ return t;
36
35
  }
37
- function k(r, n, t) {
38
- let o = { [t]: [...r] };
39
- return o = B(o, n, t), o[t] || [];
36
+ function $(t, n, r) {
37
+ let o = { [r]: [...t] };
38
+ return o = x(o, n, r), o[r] || [];
40
39
  }
41
- function N(r, n, t) {
40
+ function k(t, n, r) {
42
41
  const o = [], e = [];
43
- for (let c = r.length - 1; c >= 0; c--) {
44
- const a = r[c];
42
+ for (let c = t.length - 1; c >= 0; c--) {
43
+ const l = t[c];
45
44
  o.push({
46
- root: a,
47
- data: n(a),
45
+ root: l,
46
+ data: n(l),
48
47
  level: [c],
49
- levelCount: r.length
48
+ levelCount: t.length
50
49
  });
51
50
  }
52
51
  for (; o.length > 0; ) {
@@ -54,70 +53,86 @@ function N(r, n, t) {
54
53
  if (e.push({
55
54
  dataItem: c.root,
56
55
  level: [...c.level],
57
- ...t(c.root),
56
+ ...r(c.root),
58
57
  levelCount: c.levelCount
59
58
  }), c.data.length)
60
- for (let a = c.data.length - 1; a >= 0; a--) {
61
- const h = c.data[a];
59
+ for (let l = c.data.length - 1; l >= 0; l--) {
60
+ const a = c.data[l];
62
61
  o.push({
63
- root: h,
64
- data: n(h),
65
- level: [...c.level, a],
62
+ root: a,
63
+ data: n(a),
64
+ level: [...c.level, l],
66
65
  levelCount: c.data.length
67
66
  });
68
67
  }
69
68
  }
70
69
  return e;
71
70
  }
72
- const S = (r, n, t) => {
73
- const o = (l) => !!g(n, l), e = (l) => !!g(t, l), c = (l) => {
71
+ const N = (t, n, r) => {
72
+ const o = (h) => !!g(n, h), e = (h) => !!g(r, h), c = (h) => {
74
73
  const f = [];
75
- return o(l) && e(l) && f.push(...g(t, l)), f;
76
- }, a = (l, f, p) => {
77
- f.push({ ...l, level: p }), c(l).forEach((x) => a(x, f, p + 1));
78
- }, h = [];
79
- return r.forEach((l) => a(l, h, 0)), h;
80
- }, V = (r, n, t, o) => {
81
- let e = {}, c = [], a;
82
- return r.forEach((h) => e[n(h)] = { ...h }), r.forEach((h) => {
83
- a = e[t(h)], a ? (a[o] = a[o] || [], a[o].push(e[n(h)])) : c.push(e[n(h)]);
74
+ return o(h) && e(h) && f.push(...g(r, h)), f;
75
+ }, l = (h, f, p) => {
76
+ f.push({ ...h, level: p }), c(h).forEach((D) => l(D, f, p + 1));
77
+ }, a = [];
78
+ return t.forEach((h) => l(h, a, 0)), a;
79
+ }, V = (t, n, r, o) => {
80
+ let e = {}, c = [], l;
81
+ return t.forEach((a) => e[n(a)] = { ...a }), t.forEach((a) => {
82
+ l = e[r(a)], l ? (l[o] = l[o] || [], l[o].push(e[n(a)])) : c.push(e[n(a)]);
84
83
  }), c;
85
- }, j = (r, n, t) => y(r, n, t), q = (r, n, t) => [...v(
86
- [{ [n]: [...r] }],
84
+ }, j = (t, n, r) => y(t, n, r), q = (t, n, r) => [...C(
85
+ [{ [n]: [...t] }],
87
86
  n,
88
- (e) => T(e, t, n)
89
- )[0][n]], T = (r, n, t) => {
90
- const o = r[t] || [], e = o.findIndex(n);
87
+ (e) => T(e, r, n)
88
+ )[0][n]], T = (t, n, r) => {
89
+ const o = t[r] || [], e = o.findIndex(n);
91
90
  if (e !== -1) {
92
91
  const c = [...o];
93
92
  return c.splice(e, 1), {
94
- ...r,
95
- [t]: c
93
+ ...t,
94
+ [r]: c
96
95
  };
97
96
  }
98
- return r;
99
- }, z = (r, n, t, o) => v(
100
- r,
97
+ return t;
98
+ }, z = (t, n, r, o) => C(
99
+ t,
101
100
  n,
102
- (e) => t(e) ? { ...e, [n]: o(e[n] || []) } : e
103
- ), u = (r, n, t) => P(r, n, t), A = (r, n, t, o) => {
104
- const e = [...r], c = u(e, n, o), a = c.pop(), h = c.pop(), l = n[n.length - 1];
105
- if (t) {
106
- const p = u(e, t, o).pop();
107
- (h ? h[o] : e).splice(l, 1), p[o] = p[o] || [], p[o].push(a);
101
+ (e) => r(e) ? { ...e, [n]: o(e[n] || []) } : e
102
+ ), u = (t, n, r) => P(t, n, r), A = (t, n, r, o) => {
103
+ const e = [...t], c = u(e, n, o), l = c.pop(), a = c.pop(), h = n[n.length - 1];
104
+ if (r) {
105
+ const p = u(e, r, o).pop();
106
+ (a ? a[o] : e).splice(h, 1), p[o] = p[o] || [], p[o].push(l);
108
107
  } else
109
- (h ? h[o] : e).splice(l, 1), e.push(a);
108
+ (a ? a[o] : e).splice(h, 1), e.push(l);
110
109
  return e;
110
+ }, G = (t, n) => ({
111
+ ...t,
112
+ filters: t.filters.map((r) => ({ ...r, value: n }))
113
+ }), H = (t) => t != null && t.filters.length && t.filters[0].value || "", J = (t, n) => {
114
+ if (n && !t)
115
+ return n;
116
+ if (t && !n)
117
+ return t;
118
+ if (t && n)
119
+ return {
120
+ logic: "and",
121
+ filters: [t, n]
122
+ };
111
123
  };
112
124
  export {
125
+ J as combineFilters,
113
126
  V as createDataTree,
114
127
  j as extendDataItem,
115
- k as filterBy,
116
- N as flatData,
128
+ $ as filterBy,
129
+ k as flatData,
117
130
  u as getItemPath,
131
+ G as getSearchFromString,
132
+ H as getStringFromSearch,
118
133
  z as modifySubItems,
119
134
  A as moveTreeItem,
120
- $ as orderBy,
135
+ E as orderBy,
121
136
  q as removeItems,
122
- S as treeToFlat
137
+ N as treeToFlat
123
138
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@progress/kendo-react-common"),d="groupId",n="items",r=(e,t,s)=>{e.items&&(e[d]=`${s}${s&&"_"}${e.value}${e.field}`,t>1&&e.items.forEach(o=>r(o,t-1,e[d])))},c=e=>{const{group:t}=e;if(t&&t.length&&e.data)return e.data.forEach(s=>r(s,t.length,""))},I=e=>{const t=[];return a.mapTree(e.data,n,s=>{s[d]&&t.push(s[d])}),t},u=e=>a.mapTree(e.data,n,t=>a.extendDataItem(t,n,{expanded:!e.collapsedIds.some(s=>s===t[d])}));exports.getGroupIds=I;exports.setExpandedState=u;exports.setGroupIds=c;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@progress/kendo-react-common"),d="groupId",n="items",r=(e,t,s)=>{e.items&&(e[d]=`${s}${s&&"_"}${e.value}${e.field}`,t>1&&e.items.forEach(o=>r(o,t-1,e[d])))},c=e=>{const{group:t}=e;if(t&&t.length&&e.data)return e.data.forEach(s=>r(s,t.length,""))},I=e=>{const t=[];return a.mapTree(e.data,n,s=>{s[d]&&t.push(s[d])}),t},u=e=>a.mapTree(e.data,n,t=>a.extendDataItem(t,n,{expanded:!e.collapsedIds.some(s=>s===t[d])}));exports.getGroupIds=I;exports.setExpandedState=u;exports.setGroupIds=c;
@@ -5,20 +5,19 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { mapTree as n, extendDataItem as I } from "@progress/kendo-react-common";
10
- const a = "groupId", d = "items", c = (t, e, s) => {
11
- t.items && (t[a] = `${s}${s && "_"}${t.value}${t.field}`, e > 1 && t.items.forEach((r) => c(r, e - 1, t[a])));
9
+ const a = "groupId", d = "items", r = (t, e, s) => {
10
+ t.items && (t[a] = `${s}${s && "_"}${t.value}${t.field}`, e > 1 && t.items.forEach((c) => r(c, e - 1, t[a])));
12
11
  }, f = (t) => {
13
12
  const { group: e } = t;
14
13
  if (e && e.length && t.data)
15
- return t.data.forEach((s) => c(s, e.length, ""));
16
- }, l = (t) => {
14
+ return t.data.forEach((s) => r(s, e.length, ""));
15
+ }, m = (t) => {
17
16
  const e = [];
18
17
  return n(t.data, d, (s) => {
19
18
  s[a] && e.push(s[a]);
20
19
  }), e;
21
- }, m = (t) => n(
20
+ }, E = (t) => n(
22
21
  t.data,
23
22
  d,
24
23
  (e) => I(e, d, {
@@ -26,7 +25,7 @@ const a = "groupId", d = "items", c = (t, e, s) => {
26
25
  })
27
26
  );
28
27
  export {
29
- l as getGroupIds,
30
- m as setExpandedState,
28
+ m as getGroupIds,
29
+ E as setExpandedState,
31
30
  f as setGroupIds
32
31
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(m){const{enabled:p,columns:l=[],tableViewPortWidth:b,scrollLeft:f}=m,c=l.map(()=>1),i=l.map(()=>!1);if(!p)return{colSpans:c,hiddenColumns:i};const n=l.map(e=>parseFloat((e.width||"").toString())||10);let o=0;for(let e=0;e<l.length;e++){if(l[e].locked)continue;const u=e<n.length-1?n[e+1]:0;if(o+n[e]+u<f)i[e]=!0,o+=n[e];else break}const w=n.reduce((e,u)=>e+u,0);o=0;for(let e=l.length-1;e>=0;e--)if(!l[e].locked)if(o+2*n[e]<w-b-f)i[e]=!0,o+=n[e];else break;const t=[...i],r=e=>e;let s=t.lastIndexOf(!1),g=t.some(r),h=t.every(r),d,a;for(;g&&t.length&&(s!==-1||h);){for(s<t.length-1&&(d=h?t.length:t.length-s-1,a=t.length-d,a===0&&(a=d-1),i[a]=!1,c[a]=d,t.splice(s+1,d));t.length&&!t[t.length-1];)t.pop();s=t.lastIndexOf(!1),g=t.some(r),h=t.every(r)}return{colSpans:c,hiddenColumns:i}}exports.tableColumnsVirtualization=y;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(b){const{enabled:S,columns:l=[],tableViewPortWidth:w,scrollLeft:g,getColSpan:m,dataItem:C}=b,h=l.map(()=>1),i=l.map(()=>!1);if(!S)return{colSpans:h,hiddenColumns:i};const n=l.map(e=>parseFloat((e.width||"").toString())||10);let o=0;for(let e=0;e<l.length;e++){if(l[e].locked)continue;let f=1;if(m!==void 0){let c=m(l[e],C);c>2?f=c-1:c===2&&(f=c)}const O=e<n.length-1?n[e+1]*f:0;if(o+n[e]+O<g)i[e]=!0,o+=n[e];else break}const y=n.reduce((e,f)=>e+f,0);o=0;for(let e=l.length-1;e>=0;e--)if(!l[e].locked)if(o+2*n[e]<y-w-g)i[e]=!0,o+=n[e];else break;const t=[...i],r=e=>e;let s=t.lastIndexOf(!1),p=t.some(r),u=t.every(r),a,d;for(;p&&t.length&&(s!==-1||u);){for(s<t.length-1&&(a=u?t.length:t.length-s-1,d=t.length-a,d===0&&(d=a-1),i[d]=!1,h[d]=a,t.splice(s+1,a));t.length&&!t[t.length-1];)t.pop();s=t.lastIndexOf(!1),p=t.some(r),u=t.every(r)}return{colSpans:h,hiddenColumns:i}}exports.tableColumnsVirtualization=k;
@@ -5,39 +5,43 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- function x(p) {
10
- const { enabled: m, columns: l = [], tableViewPortWidth: b, scrollLeft: u } = p, c = l.map(() => 1), i = l.map(() => !1);
11
- if (!m)
12
- return { colSpans: c, hiddenColumns: i };
8
+ function I(b) {
9
+ const { enabled: w, columns: l = [], tableViewPortWidth: x, scrollLeft: g, getColSpan: p, dataItem: C } = b, r = l.map(() => 1), i = l.map(() => !1);
10
+ if (!w)
11
+ return { colSpans: r, hiddenColumns: i };
13
12
  const n = l.map((e) => parseFloat((e.width || "").toString()) || 10);
14
13
  let o = 0;
15
14
  for (let e = 0; e < l.length; e++) {
16
15
  if (l[e].locked)
17
16
  continue;
18
- const f = e < n.length - 1 ? n[e + 1] : 0;
19
- if (o + n[e] + f < u)
17
+ let f = 1;
18
+ if (p !== void 0) {
19
+ let c = p(l[e], C);
20
+ c > 2 ? f = c - 1 : c === 2 && (f = c);
21
+ }
22
+ const k = e < n.length - 1 ? n[e + 1] * f : 0;
23
+ if (o + n[e] + k < g)
20
24
  i[e] = !0, o += n[e];
21
25
  else
22
26
  break;
23
27
  }
24
- const w = n.reduce((e, f) => e + f, 0);
28
+ const S = n.reduce((e, f) => e + f, 0);
25
29
  o = 0;
26
30
  for (let e = l.length - 1; e >= 0; e--)
27
31
  if (!l[e].locked)
28
- if (o + 2 * n[e] < w - b - u)
32
+ if (o + 2 * n[e] < S - x - g)
29
33
  i[e] = !0, o += n[e];
30
34
  else
31
35
  break;
32
36
  const t = [...i], h = (e) => e;
33
- let s = t.lastIndexOf(!1), g = t.some(h), r = t.every(h), d, a;
34
- for (; g && t.length && (s !== -1 || r); ) {
35
- for (s < t.length - 1 && (d = r ? t.length : t.length - s - 1, a = t.length - d, a === 0 && (a = d - 1), i[a] = !1, c[a] = d, t.splice(s + 1, d)); t.length && !t[t.length - 1]; )
37
+ let s = t.lastIndexOf(!1), m = t.some(h), u = t.every(h), d, a;
38
+ for (; m && t.length && (s !== -1 || u); ) {
39
+ for (s < t.length - 1 && (d = u ? t.length : t.length - s - 1, a = t.length - d, a === 0 && (a = d - 1), i[a] = !1, r[a] = d, t.splice(s + 1, d)); t.length && !t[t.length - 1]; )
36
40
  t.pop();
37
- s = t.lastIndexOf(!1), g = t.some(h), r = t.every(h);
41
+ s = t.lastIndexOf(!1), m = t.some(h), u = t.every(h);
38
42
  }
39
- return { colSpans: c, hiddenColumns: i };
43
+ return { colSpans: r, hiddenColumns: i };
40
44
  }
41
45
  export {
42
- x as tableColumnsVirtualization
46
+ I as tableColumnsVirtualization
43
47
  };