@progress/kendo-react-grid 14.2.2-develop.1 → 14.3.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 (101) hide show
  1. package/GridClientContextReader.js +1 -1
  2. package/GridClientContextReader.mjs +10 -9
  3. package/GridClientWrapper.js +1 -1
  4. package/GridClientWrapper.mjs +651 -494
  5. package/GridComponent.js +1 -1
  6. package/GridComponent.mjs +418 -379
  7. package/GridState.d.ts +2 -0
  8. package/GridState.js +1 -1
  9. package/GridState.mjs +98 -90
  10. package/{toolbar-tools/smartbox/SegmentedControl.d.ts → cells/pincell/GridPinCell.d.ts} +4 -2
  11. package/cells/pincell/GridPinCell.js +9 -0
  12. package/cells/pincell/GridPinCell.mjs +19 -0
  13. package/cells/pincell/GridPinCellServer.d.ts +15 -0
  14. package/cells/pincell/GridPinCellServer.js +8 -0
  15. package/cells/pincell/GridPinCellServer.mjs +32 -0
  16. package/cells/pincell/GridPinCellServerContainer.d.ts +11 -0
  17. package/cells/pincell/GridPinCellServerContainer.js +9 -0
  18. package/cells/pincell/GridPinCellServerContainer.mjs +26 -0
  19. package/cells/pincell/GridPinDropdownButton.d.ts +21 -0
  20. package/cells/pincell/GridPinDropdownButton.js +9 -0
  21. package/cells/pincell/GridPinDropdownButton.mjs +58 -0
  22. package/cells/pincell/useGridPinCellClientTdProps.d.ts +24 -0
  23. package/cells/pincell/useGridPinCellClientTdProps.js +9 -0
  24. package/cells/pincell/useGridPinCellClientTdProps.mjs +21 -0
  25. package/cells/pincell/utils.d.ts +20 -0
  26. package/cells/pincell/utils.js +8 -0
  27. package/cells/pincell/utils.mjs +47 -0
  28. package/components/PinnedRowsTable.d.ts +48 -0
  29. package/components/PinnedRowsTable.js +9 -0
  30. package/components/PinnedRowsTable.mjs +133 -0
  31. package/components/StickyGroupTable.d.ts +42 -0
  32. package/components/StickyGroupTable.js +9 -0
  33. package/components/StickyGroupTable.mjs +82 -0
  34. package/components/colGroup/GridColGroup.js +1 -1
  35. package/components/colGroup/GridColGroup.mjs +9 -9
  36. package/contextMenu/GridContextMenu.d.ts +42 -0
  37. package/contextMenu/GridContextMenu.js +1 -1
  38. package/contextMenu/GridContextMenu.mjs +101 -51
  39. package/contextMenu/enums.d.ts +5 -1
  40. package/contextMenu/enums.js +1 -1
  41. package/contextMenu/enums.mjs +2 -2
  42. package/dist/cdn/js/kendo-react-grid.js +1 -1
  43. package/drag/ColumnResize.d.ts +17 -0
  44. package/drag/ColumnResize.js +1 -1
  45. package/drag/ColumnResize.mjs +107 -100
  46. package/getRowContents.d.ts +58 -0
  47. package/getRowContents.js +8 -0
  48. package/getRowContents.mjs +99 -0
  49. package/header/GridHeaderGroupSpacerCell.d.ts +13 -0
  50. package/header/GridHeaderGroupSpacerCell.js +9 -0
  51. package/header/GridHeaderGroupSpacerCell.mjs +23 -0
  52. package/header/client/GridHeaderPinCell.d.ts +12 -0
  53. package/header/client/GridHeaderPinCell.js +9 -0
  54. package/header/client/GridHeaderPinCell.mjs +14 -0
  55. package/hooks/useStickyGroups.d.ts +71 -0
  56. package/hooks/useStickyGroups.js +9 -0
  57. package/hooks/useStickyGroups.mjs +350 -0
  58. package/index.d.mts +5 -2
  59. package/index.d.ts +5 -2
  60. package/index.js +1 -1
  61. package/index.mjs +97 -95
  62. package/interfaces/ColumnType.d.ts +1 -1
  63. package/interfaces/GridCellsSettings.d.ts +23 -0
  64. package/interfaces/GridGroupableSettings.d.ts +23 -0
  65. package/interfaces/GridProps.d.ts +70 -1
  66. package/interfaces/GridRowProps.d.ts +4 -0
  67. package/interfaces/GridRowsSettings.d.ts +11 -0
  68. package/interfaces/events.d.ts +17 -0
  69. package/messages/index.d.ts +25 -0
  70. package/messages/index.js +2 -2
  71. package/messages/index.mjs +122 -112
  72. package/package-metadata.js +1 -1
  73. package/package-metadata.mjs +2 -2
  74. package/package.json +17 -17
  75. package/rows/GridRow.js +1 -1
  76. package/rows/GridRow.mjs +25 -24
  77. package/rows/GridRowRenderer.d.ts +1 -0
  78. package/rows/GridRowRenderer.js +1 -1
  79. package/rows/GridRowRenderer.mjs +39 -36
  80. package/stacked/GridStackedRow.d.ts +5 -0
  81. package/stacked/GridStackedRow.js +1 -1
  82. package/stacked/GridStackedRow.mjs +118 -116
  83. package/stacked/StackedModeComponents.d.ts +1 -0
  84. package/stacked/StackedModeComponents.js +1 -1
  85. package/stacked/StackedModeComponents.mjs +14 -14
  86. package/stacked/StackedModeRow.d.ts +1 -0
  87. package/stacked/StackedModeRow.js +1 -1
  88. package/stacked/StackedModeRow.mjs +13 -11
  89. package/toolbar-tools/smartbox/SmartBox.js +1 -1
  90. package/toolbar-tools/smartbox/SmartBox.mjs +102 -94
  91. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.d.ts +12 -3
  92. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.js +1 -1
  93. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.mjs +42 -41
  94. package/toolbar-tools/smartbox/index.d.ts +0 -1
  95. package/toolbar-tools/smartbox/interfaces/index.d.ts +0 -1
  96. package/utils/index.d.ts +1 -0
  97. package/utils/index.js +1 -1
  98. package/utils/index.mjs +44 -44
  99. package/toolbar-tools/smartbox/SegmentedControl.js +0 -8
  100. package/toolbar-tools/smartbox/SegmentedControl.mjs +0 -109
  101. package/toolbar-tools/smartbox/interfaces/SegmentedControlTypes.d.ts +0 -66
@@ -23,6 +23,22 @@ export declare class ColumnResize {
23
23
  * The footer `colgroup` of the Grid (if any).
24
24
  */
25
25
  colGroupFooter: any | null;
26
+ /**
27
+ * The sticky header `colgroup` of the Grid (if any).
28
+ */
29
+ colGroupStickyHeader: any;
30
+ /**
31
+ * The sticky footer `colgroup` of the Grid (if any).
32
+ */
33
+ colGroupStickyFooter: any;
34
+ /**
35
+ * The pinned-top `colgroup` of the Grid (if any).
36
+ */
37
+ colGroupPinnedTop: any;
38
+ /**
39
+ * The pinned-bottom `colgroup` of the Grid (if any).
40
+ */
41
+ colGroupPinnedBottom: any;
26
42
  columns: ExtendedColumnProps[];
27
43
  /**
28
44
  * The `columnsState` of the Grid (if any).
@@ -36,6 +52,7 @@ export declare class ColumnResize {
36
52
  private isRtl;
37
53
  constructor(triggerResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean, columnsState: GridColumnState[], targetId?: string) => void);
38
54
  setIsRtl: (isRtl: boolean) => void;
55
+ private get colGroups();
39
56
  private applyWidthConstraints;
40
57
  initWidths: () => void;
41
58
  dragHandler: (event: any, column: ExtendedColumnProps, dragCue: HTMLSpanElement, end: boolean) => void;
@@ -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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../utils/index.js"),m=1,w=20;class W{constructor(a){this.columns=[],this.columnsState=[],this.resizable=!1,this.isRtl=!1,this.setIsRtl=n=>{this.isRtl=n},this.initWidths=()=>{var c;const n=((c=this.colGroupMain)==null?void 0:c.children)||[],l=u.getFlatColumnsState(this.columnsState),r=this.columns.filter(e=>{var o;return!((o=e.children)!=null&&o.length)});for(let e=0;e<n.length;e++){const o=n[e],t=r[e];let i="";const h=l.find(s=>s.id===r[e].id);h&&(i=this.applyWidthConstraints(h,t)),o.width=i,this.colGroupHeader&&(this.colGroupHeader.children[e].width=i),this.colGroupFooter&&(this.colGroupFooter.children[e].width=i)}},this.dragHandler=(n,l,r,c)=>{const e=n.originalEvent;c||(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation());const o=r.closest("th");if(!o||!o)return;const t=o.clientWidth;let i=t;if(this.isRtl?i+=r.getBoundingClientRect().right-r.offsetWidth/2-n.clientX:i+=n.clientX-r.getBoundingClientRect().left-r.offsetWidth/2,!c&&Math.abs(i-t)<1)return;this.fixateInitialWidths(o.parentElement.clientWidth),this.setWidths(l,Math.floor(i)/t);const h=this.columns.filter(s=>!s.children.length).findIndex(s=>s.id===l.id);this.onResize(h,t,i,e,c,this.columnsState,l.id)},this.dblClickHandler=(n,l)=>{const r=this.columns.filter(d=>l.indexOf(d.id)>-1),c=u.getFlatColumnsState(this.columnsState);if(!this.colGroupMain||!r.length)return;const e={},o=r;for(;o.length>0;){const d=o.pop();if(!d)break;d.children.length?o.push(...d.children):e[d.id]=d}const t=this.columns.filter(d=>!d.children.length),i=[];t.forEach((d,p)=>{e[d.id]&&i.push(p)});const h=[this.colGroupMain.parentElement],s=[this.colGroupMain];this.colGroupHeader&&(h.push(this.colGroupHeader.parentElement),s.push(this.colGroupHeader)),this.colGroupFooter&&(h.push(this.colGroupFooter.parentElement),s.push(this.colGroupFooter)),h.forEach(d=>d.classList.add("k-autofitting"));const f=[];s.forEach(d=>{i.forEach(p=>{d.children[p]&&(d.children[p].width="",f[p]=Math.max(f[p]||0,d.children[p].offsetWidth+m))})}),s.forEach(d=>{i.forEach(p=>{if(d.children[p]){d.children[p].width=f[p]+"px";const g=c.find(G=>G.id===t[p].id);g&&(g.width=f[p])}})}),h.forEach(d=>d.classList.remove("k-autofitting")),this.onResize(i[0],0,0,n,!0,this.columnsState,l[0])},this.updateColElements=n=>{const l=this.columns.filter(c=>!c.hidden&&!c.children.length);let r=1e-10;for(let c=0;c<n.length;c++){const e=n[c],o=l.findIndex(f=>f.id===e.id),t=parseFloat((e.width||0).toString()),i=Math.floor(t);r+=t-i;const h=i+Math.floor(r);r-=Math.floor(r);const s=l.find(f=>f.id===e.id);if(!s)return;if(this.colGroupMain&&this.colGroupMain.children[o]){const f=parseInt(this.colGroupMain.children[o].width,10);this.colGroupMain.children[o].width=h+"px",this.updateNextLockedCol(this.colGroupMain.parentElement,s,f-h)}if(this.colGroupHeader&&this.colGroupHeader.children[o]){const f=parseInt(this.colGroupHeader.children[o].width,10);this.colGroupHeader.children[o].width=h+"px",this.updateNextLockedCol(this.colGroupHeader.parentElement,s,f-h)}if(this.colGroupFooter&&this.colGroupFooter.children[o]){const f=parseInt(this.colGroupFooter.children[o].width,10);this.colGroupFooter.children[o].width=h+"px",this.updateNextLockedCol(this.colGroupFooter.parentElement,s,f-h)}}},this.onResize=a}applyWidthConstraints(a,n,l=1){if(!a.width)return a.width||"";const r=a.width.toString();if(r.includes("%")){const f=parseFloat(r)*l,d=Math.max(0,Math.min(100,f));return a.width=d+"%",a.width}let e=parseFloat(r)*l;const o=n.minResizableWidth===void 0?10:n.minResizableWidth,t=n==null?void 0:n.minWidth,i=t!==void 0?Math.max(o,t):o,h=n==null?void 0:n.maxWidth;return e<i&&(e=i),h!==void 0&&e>h&&(e=h),a.width=e,e}fixateInitialWidths(a){var o;let n=0;const l=((o=this.colGroupMain)==null?void 0:o.children)||[];for(let t=0;t<l.length;t++)l[t].width?a-=l[t].clientWidth:n++;if(n===0)return;const r=Math.floor(a/n),c=u.getFlatColumnsState(this.columnsState),e=this.columns.filter(t=>!t.children.length);for(let t=0;t<l.length;t++){const i=l[t],h=i.width?i.clientWidth:r;i.width=h;const s=c.find(f=>f.id===e[t].id);s&&(s.width=h.toString()),this.colGroupHeader&&(this.colGroupHeader.children[t].width=h),this.colGroupFooter&&(this.colGroupFooter.children[t].width=h)}}setWidths(a,n){const l=u.getFlatColumnsState(this.columnsState),r=this.columns.findIndex(t=>t.id===a.id),c=[];let e=a.children.filter(t=>!t.hidden).length;for(let t=r+1;t<this.columns.length&&!(e<=0);t++){const i=this.columns[t];i.children.length?e+=i.children.filter(h=>!h.hidden).length:c.push(i),e--}c.length===0&&c.push(a);const o=[];c.forEach(t=>{const i=l.find(h=>h.id===t.id);i&&(this.applyWidthConstraints(i,t,n),o.push(i))}),this.updateColElements(o)}updateNextLockedCol(a,n,l){const r=n.index,c=this.colGroupMain.parentElement.closest(".k-grid"),e=c==null?void 0:c.clientWidth,o=this.columns.filter(t=>t.locked).map(t=>parseInt(t.width+"",10)).reduce((t,i)=>t+i,0);!n.locked||e<=o+w||this.columns.forEach(t=>{if(t!=null&&t.locked&&l){const i=a==null?void 0:a.querySelectorAll('[aria-colindex="'+t.ariaColumnIndex+'"]');i==null||i.forEach(h=>{const s=h.style;this.isRtl?(t.index>r&&s&&s.right&&(s.right=parseInt(s.right,10)-l+"px"),t.index<r&&s&&s.left&&(s.left=parseInt(s.left,10)-l+"px")):(t.index>r&&s&&s.left&&(s.left=parseInt(s.left,10)-l+"px"),t.index<r&&s&&s.right&&(s.right=parseInt(s.right,10)-l+"px"))})}})}}exports.ColumnResize=W;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../utils/index.js"),m=1,x=20;class S{constructor(a){this.columns=[],this.columnsState=[],this.resizable=!1,this.isRtl=!1,this.setIsRtl=s=>{this.isRtl=s},this.initWidths=()=>{var c;const s=((c=this.colGroupMain)==null?void 0:c.children)||[],h=p.getFlatColumnsState(this.columnsState),o=this.columns.filter(e=>{var l;return!((l=e.children)!=null&&l.length)});for(let e=0;e<s.length;e++){const l=o[e];let t="";const i=h.find(d=>d.id===o[e].id);i&&(t=this.applyWidthConstraints(i,l)),this.colGroups.forEach(d=>{d.children[e].width=t})}},this.dragHandler=(s,h,o,c)=>{const e=s.originalEvent;c||(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation());const l=o.closest("th");if(!l||!l)return;const t=l.clientWidth;let i=t;if(this.isRtl?i+=o.getBoundingClientRect().right-o.offsetWidth/2-s.clientX:i+=s.clientX-o.getBoundingClientRect().left-o.offsetWidth/2,!c&&Math.abs(i-t)<1)return;this.fixateInitialWidths(l.parentElement.clientWidth),this.setWidths(h,Math.floor(i)/t);const d=this.columns.filter(n=>!n.children.length).findIndex(n=>n.id===h.id);this.onResize(d,t,i,e,c,this.columnsState,h.id)},this.dblClickHandler=(s,h)=>{const o=this.columns.filter(r=>h.indexOf(r.id)>-1),c=p.getFlatColumnsState(this.columnsState);if(!this.colGroupMain||!o.length)return;const e={},l=o;for(;l.length>0;){const r=l.pop();if(!r)break;r.children.length?l.push(...r.children):e[r.id]=r}const t=this.columns.filter(r=>!r.children.length),i=[];t.forEach((r,u)=>{e[r.id]&&i.push(u)});const d=this.colGroups,n=d.map(r=>r.parentElement);n.forEach(r=>r.classList.add("k-autofitting"));const f=[];d.forEach(r=>{i.forEach(u=>{r.children[u]&&(r.children[u].width="",f[u]=Math.max(f[u]||0,r.children[u].offsetWidth+m))})}),d.forEach(r=>{i.forEach(u=>{if(r.children[u]){r.children[u].width=f[u]+"px";const g=c.find(W=>W.id===t[u].id);g&&(g.width=f[u])}})}),n.forEach(r=>r.classList.remove("k-autofitting")),this.onResize(i[0],0,0,s,!0,this.columnsState,h[0])},this.updateColElements=s=>{const h=this.columns.filter(c=>!c.hidden&&!c.children.length);let o=1e-10;for(let c=0;c<s.length;c++){const e=s[c],l=h.findIndex(f=>f.id===e.id),t=parseFloat((e.width||0).toString()),i=Math.floor(t);o+=t-i;const d=i+Math.floor(o);o-=Math.floor(o);const n=h.find(f=>f.id===e.id);if(!n)return;this.colGroups.forEach(f=>{if(f.children[l]){const r=parseInt(f.children[l].width,10);f.children[l].width=d+"px",this.updateNextLockedCol(f.parentElement,n,r-d)}})}},this.onResize=a}get colGroups(){return[this.colGroupMain,this.colGroupHeader,this.colGroupFooter,this.colGroupStickyHeader,this.colGroupStickyFooter,this.colGroupPinnedTop,this.colGroupPinnedBottom].filter(Boolean)}applyWidthConstraints(a,s,h=1){if(!a.width)return a.width||"";const o=a.width.toString();if(o.includes("%")){const f=parseFloat(o)*h,r=Math.max(0,Math.min(100,f));return a.width=r+"%",a.width}let e=parseFloat(o)*h;const l=s.minResizableWidth===void 0?10:s.minResizableWidth,t=s==null?void 0:s.minWidth,i=t!==void 0?Math.max(l,t):l,d=s==null?void 0:s.maxWidth;return e<i&&(e=i),d!==void 0&&e>d&&(e=d),a.width=e,e}fixateInitialWidths(a){var l;let s=0;const h=((l=this.colGroupMain)==null?void 0:l.children)||[];for(let t=0;t<h.length;t++)h[t].width?a-=h[t].clientWidth:s++;if(s===0)return;const o=Math.floor(a/s),c=p.getFlatColumnsState(this.columnsState),e=this.columns.filter(t=>!t.children.length);for(let t=0;t<h.length;t++){const i=h[t],d=i.width?i.clientWidth:o,n=c.find(f=>f.id===e[t].id);n&&(n.width=d.toString()),this.colGroups.forEach(f=>{f.children[t].width=d})}}setWidths(a,s){const h=p.getFlatColumnsState(this.columnsState),o=this.columns.findIndex(t=>t.id===a.id),c=[];let e=a.children.filter(t=>!t.hidden).length;for(let t=o+1;t<this.columns.length&&!(e<=0);t++){const i=this.columns[t];i.children.length?e+=i.children.filter(d=>!d.hidden).length:c.push(i),e--}c.length===0&&c.push(a);const l=[];c.forEach(t=>{const i=h.find(d=>d.id===t.id);i&&(this.applyWidthConstraints(i,t,s),l.push(i))}),this.updateColElements(l)}updateNextLockedCol(a,s,h){const o=s.index,c=this.colGroupMain.parentElement.closest(".k-grid"),e=c==null?void 0:c.clientWidth,l=this.columns.filter(t=>t.locked).map(t=>parseInt(t.width+"",10)).reduce((t,i)=>t+i,0);!s.locked||e<=l+x||this.columns.forEach(t=>{if(t!=null&&t.locked&&h){const i=a==null?void 0:a.querySelectorAll('[aria-colindex="'+t.ariaColumnIndex+'"]');i==null||i.forEach(d=>{const n=d.style;this.isRtl?(t.index>o&&n&&n.right&&(n.right=parseInt(n.right,10)-h+"px"),t.index<o&&n&&n.left&&(n.left=parseInt(n.left,10)-h+"px")):(t.index>o&&n&&n.left&&(n.left=parseInt(n.left,10)-h+"px"),t.index<o&&n&&n.right&&(n.right=parseInt(n.right,10)-h+"px"))})}})}}exports.ColumnResize=S;
@@ -6,151 +6,158 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { getFlatColumnsState as u } from "../utils/index.mjs";
9
- const w = 1, W = 20;
10
- class F {
9
+ const x = 1, m = 20;
10
+ class S {
11
11
  constructor(a) {
12
- this.columns = [], this.columnsState = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (h) => {
13
- this.isRtl = h;
12
+ this.columns = [], this.columnsState = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
13
+ this.isRtl = s;
14
14
  }, this.initWidths = () => {
15
15
  var c;
16
- const h = ((c = this.colGroupMain) == null ? void 0 : c.children) || [], l = u(this.columnsState), r = this.columns.filter((e) => {
17
- var o;
18
- return !((o = e.children) != null && o.length);
16
+ const s = ((c = this.colGroupMain) == null ? void 0 : c.children) || [], h = u(this.columnsState), o = this.columns.filter((e) => {
17
+ var r;
18
+ return !((r = e.children) != null && r.length);
19
19
  });
20
- for (let e = 0; e < h.length; e++) {
21
- const o = h[e], t = r[e];
22
- let i = "";
23
- const n = l.find((s) => s.id === r[e].id);
24
- n && (i = this.applyWidthConstraints(n, t)), o.width = i, this.colGroupHeader && (this.colGroupHeader.children[e].width = i), this.colGroupFooter && (this.colGroupFooter.children[e].width = i);
20
+ for (let e = 0; e < s.length; e++) {
21
+ const r = o[e];
22
+ let t = "";
23
+ const i = h.find((d) => d.id === o[e].id);
24
+ i && (t = this.applyWidthConstraints(i, r)), this.colGroups.forEach((d) => {
25
+ d.children[e].width = t;
26
+ });
25
27
  }
26
- }, this.dragHandler = (h, l, r, c) => {
27
- const e = h.originalEvent;
28
+ }, this.dragHandler = (s, h, o, c) => {
29
+ const e = s.originalEvent;
28
30
  c || (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation());
29
- const o = r.closest("th");
30
- if (!o || !o)
31
+ const r = o.closest("th");
32
+ if (!r || !r)
31
33
  return;
32
- const t = o.clientWidth;
34
+ const t = r.clientWidth;
33
35
  let i = t;
34
- if (this.isRtl ? i += r.getBoundingClientRect().right - r.offsetWidth / 2 - h.clientX : i += h.clientX - r.getBoundingClientRect().left - r.offsetWidth / 2, !c && Math.abs(i - t) < 1)
36
+ if (this.isRtl ? i += o.getBoundingClientRect().right - o.offsetWidth / 2 - s.clientX : i += s.clientX - o.getBoundingClientRect().left - o.offsetWidth / 2, !c && Math.abs(i - t) < 1)
35
37
  return;
36
- this.fixateInitialWidths(o.parentElement.clientWidth), this.setWidths(l, Math.floor(i) / t);
37
- const n = this.columns.filter((s) => !s.children.length).findIndex((s) => s.id === l.id);
38
- this.onResize(n, t, i, e, c, this.columnsState, l.id);
39
- }, this.dblClickHandler = (h, l) => {
40
- const r = this.columns.filter((d) => l.indexOf(d.id) > -1), c = u(this.columnsState);
41
- if (!this.colGroupMain || !r.length)
38
+ this.fixateInitialWidths(r.parentElement.clientWidth), this.setWidths(h, Math.floor(i) / t);
39
+ const d = this.columns.filter((n) => !n.children.length).findIndex((n) => n.id === h.id);
40
+ this.onResize(d, t, i, e, c, this.columnsState, h.id);
41
+ }, this.dblClickHandler = (s, h) => {
42
+ const o = this.columns.filter((l) => h.indexOf(l.id) > -1), c = u(this.columnsState);
43
+ if (!this.colGroupMain || !o.length)
42
44
  return;
43
- const e = {}, o = r;
44
- for (; o.length > 0; ) {
45
- const d = o.pop();
46
- if (!d)
45
+ const e = {}, r = o;
46
+ for (; r.length > 0; ) {
47
+ const l = r.pop();
48
+ if (!l)
47
49
  break;
48
- d.children.length ? o.push(...d.children) : e[d.id] = d;
50
+ l.children.length ? r.push(...l.children) : e[l.id] = l;
49
51
  }
50
- const t = this.columns.filter((d) => !d.children.length), i = [];
51
- t.forEach((d, p) => {
52
- e[d.id] && i.push(p);
52
+ const t = this.columns.filter((l) => !l.children.length), i = [];
53
+ t.forEach((l, p) => {
54
+ e[l.id] && i.push(p);
53
55
  });
54
- const n = [this.colGroupMain.parentElement], s = [this.colGroupMain];
55
- this.colGroupHeader && (n.push(this.colGroupHeader.parentElement), s.push(this.colGroupHeader)), this.colGroupFooter && (n.push(this.colGroupFooter.parentElement), s.push(this.colGroupFooter)), n.forEach((d) => d.classList.add("k-autofitting"));
56
+ const d = this.colGroups, n = d.map((l) => l.parentElement);
57
+ n.forEach((l) => l.classList.add("k-autofitting"));
56
58
  const f = [];
57
- s.forEach((d) => {
59
+ d.forEach((l) => {
58
60
  i.forEach((p) => {
59
- d.children[p] && (d.children[p].width = "", f[p] = Math.max(
61
+ l.children[p] && (l.children[p].width = "", f[p] = Math.max(
60
62
  f[p] || 0,
61
- d.children[p].offsetWidth + w
63
+ l.children[p].offsetWidth + x
62
64
  ));
63
65
  });
64
- }), s.forEach((d) => {
66
+ }), d.forEach((l) => {
65
67
  i.forEach((p) => {
66
- if (d.children[p]) {
67
- d.children[p].width = f[p] + "px";
68
- const g = c.find((G) => G.id === t[p].id);
68
+ if (l.children[p]) {
69
+ l.children[p].width = f[p] + "px";
70
+ const g = c.find((W) => W.id === t[p].id);
69
71
  g && (g.width = f[p]);
70
72
  }
71
73
  });
72
- }), n.forEach((d) => d.classList.remove("k-autofitting")), this.onResize(i[0], 0, 0, h, !0, this.columnsState, l[0]);
73
- }, this.updateColElements = (h) => {
74
- const l = this.columns.filter((c) => !c.hidden && !c.children.length);
75
- let r = 1e-10;
76
- for (let c = 0; c < h.length; c++) {
77
- const e = h[c], o = l.findIndex((f) => f.id === e.id), t = parseFloat((e.width || 0).toString()), i = Math.floor(t);
78
- r += t - i;
79
- const n = i + Math.floor(r);
80
- r -= Math.floor(r);
81
- const s = l.find((f) => f.id === e.id);
82
- if (!s)
74
+ }), n.forEach((l) => l.classList.remove("k-autofitting")), this.onResize(i[0], 0, 0, s, !0, this.columnsState, h[0]);
75
+ }, this.updateColElements = (s) => {
76
+ const h = this.columns.filter((c) => !c.hidden && !c.children.length);
77
+ let o = 1e-10;
78
+ for (let c = 0; c < s.length; c++) {
79
+ const e = s[c], r = h.findIndex((f) => f.id === e.id), t = parseFloat((e.width || 0).toString()), i = Math.floor(t);
80
+ o += t - i;
81
+ const d = i + Math.floor(o);
82
+ o -= Math.floor(o);
83
+ const n = h.find((f) => f.id === e.id);
84
+ if (!n)
83
85
  return;
84
- if (this.colGroupMain && this.colGroupMain.children[o]) {
85
- const f = parseInt(this.colGroupMain.children[o].width, 10);
86
- this.colGroupMain.children[o].width = n + "px", this.updateNextLockedCol(this.colGroupMain.parentElement, s, f - n);
87
- }
88
- if (this.colGroupHeader && this.colGroupHeader.children[o]) {
89
- const f = parseInt(this.colGroupHeader.children[o].width, 10);
90
- this.colGroupHeader.children[o].width = n + "px", this.updateNextLockedCol(this.colGroupHeader.parentElement, s, f - n);
91
- }
92
- if (this.colGroupFooter && this.colGroupFooter.children[o]) {
93
- const f = parseInt(this.colGroupFooter.children[o].width, 10);
94
- this.colGroupFooter.children[o].width = n + "px", this.updateNextLockedCol(this.colGroupFooter.parentElement, s, f - n);
95
- }
86
+ this.colGroups.forEach((f) => {
87
+ if (f.children[r]) {
88
+ const l = parseInt(f.children[r].width, 10);
89
+ f.children[r].width = d + "px", this.updateNextLockedCol(f.parentElement, n, l - d);
90
+ }
91
+ });
96
92
  }
97
93
  }, this.onResize = a;
98
94
  }
99
- applyWidthConstraints(a, h, l = 1) {
95
+ get colGroups() {
96
+ return [
97
+ this.colGroupMain,
98
+ this.colGroupHeader,
99
+ this.colGroupFooter,
100
+ this.colGroupStickyHeader,
101
+ this.colGroupStickyFooter,
102
+ this.colGroupPinnedTop,
103
+ this.colGroupPinnedBottom
104
+ ].filter(Boolean);
105
+ }
106
+ applyWidthConstraints(a, s, h = 1) {
100
107
  if (!a.width)
101
108
  return a.width || "";
102
- const r = a.width.toString();
103
- if (r.includes("%")) {
104
- const f = parseFloat(r) * l, d = Math.max(0, Math.min(100, f));
105
- return a.width = d + "%", a.width;
109
+ const o = a.width.toString();
110
+ if (o.includes("%")) {
111
+ const f = parseFloat(o) * h, l = Math.max(0, Math.min(100, f));
112
+ return a.width = l + "%", a.width;
106
113
  }
107
- let e = parseFloat(r) * l;
108
- const o = h.minResizableWidth === void 0 ? 10 : h.minResizableWidth, t = h == null ? void 0 : h.minWidth, i = t !== void 0 ? Math.max(o, t) : o, n = h == null ? void 0 : h.maxWidth;
109
- return e < i && (e = i), n !== void 0 && e > n && (e = n), a.width = e, e;
114
+ let e = parseFloat(o) * h;
115
+ const r = s.minResizableWidth === void 0 ? 10 : s.minResizableWidth, t = s == null ? void 0 : s.minWidth, i = t !== void 0 ? Math.max(r, t) : r, d = s == null ? void 0 : s.maxWidth;
116
+ return e < i && (e = i), d !== void 0 && e > d && (e = d), a.width = e, e;
110
117
  }
111
118
  fixateInitialWidths(a) {
112
- var o;
113
- let h = 0;
114
- const l = ((o = this.colGroupMain) == null ? void 0 : o.children) || [];
115
- for (let t = 0; t < l.length; t++)
116
- l[t].width ? a -= l[t].clientWidth : h++;
117
- if (h === 0)
119
+ var r;
120
+ let s = 0;
121
+ const h = ((r = this.colGroupMain) == null ? void 0 : r.children) || [];
122
+ for (let t = 0; t < h.length; t++)
123
+ h[t].width ? a -= h[t].clientWidth : s++;
124
+ if (s === 0)
118
125
  return;
119
- const r = Math.floor(a / h), c = u(this.columnsState), e = this.columns.filter((t) => !t.children.length);
120
- for (let t = 0; t < l.length; t++) {
121
- const i = l[t], n = i.width ? i.clientWidth : r;
122
- i.width = n;
123
- const s = c.find((f) => f.id === e[t].id);
124
- s && (s.width = n.toString()), this.colGroupHeader && (this.colGroupHeader.children[t].width = n), this.colGroupFooter && (this.colGroupFooter.children[t].width = n);
126
+ const o = Math.floor(a / s), c = u(this.columnsState), e = this.columns.filter((t) => !t.children.length);
127
+ for (let t = 0; t < h.length; t++) {
128
+ const i = h[t], d = i.width ? i.clientWidth : o, n = c.find((f) => f.id === e[t].id);
129
+ n && (n.width = d.toString()), this.colGroups.forEach((f) => {
130
+ f.children[t].width = d;
131
+ });
125
132
  }
126
133
  }
127
- setWidths(a, h) {
128
- const l = u(this.columnsState), r = this.columns.findIndex((t) => t.id === a.id), c = [];
134
+ setWidths(a, s) {
135
+ const h = u(this.columnsState), o = this.columns.findIndex((t) => t.id === a.id), c = [];
129
136
  let e = a.children.filter((t) => !t.hidden).length;
130
- for (let t = r + 1; t < this.columns.length && !(e <= 0); t++) {
137
+ for (let t = o + 1; t < this.columns.length && !(e <= 0); t++) {
131
138
  const i = this.columns[t];
132
- i.children.length ? e += i.children.filter((n) => !n.hidden).length : c.push(i), e--;
139
+ i.children.length ? e += i.children.filter((d) => !d.hidden).length : c.push(i), e--;
133
140
  }
134
141
  c.length === 0 && c.push(a);
135
- const o = [];
142
+ const r = [];
136
143
  c.forEach((t) => {
137
- const i = l.find((n) => n.id === t.id);
138
- i && (this.applyWidthConstraints(i, t, h), o.push(i));
139
- }), this.updateColElements(o);
144
+ const i = h.find((d) => d.id === t.id);
145
+ i && (this.applyWidthConstraints(i, t, s), r.push(i));
146
+ }), this.updateColElements(r);
140
147
  }
141
- updateNextLockedCol(a, h, l) {
142
- const r = h.index, c = this.colGroupMain.parentElement.closest(".k-grid"), e = c == null ? void 0 : c.clientWidth, o = this.columns.filter((t) => t.locked).map((t) => parseInt(t.width + "", 10)).reduce((t, i) => t + i, 0);
143
- !h.locked || e <= o + W || this.columns.forEach((t) => {
144
- if (t != null && t.locked && l) {
148
+ updateNextLockedCol(a, s, h) {
149
+ const o = s.index, c = this.colGroupMain.parentElement.closest(".k-grid"), e = c == null ? void 0 : c.clientWidth, r = this.columns.filter((t) => t.locked).map((t) => parseInt(t.width + "", 10)).reduce((t, i) => t + i, 0);
150
+ !s.locked || e <= r + m || this.columns.forEach((t) => {
151
+ if (t != null && t.locked && h) {
145
152
  const i = a == null ? void 0 : a.querySelectorAll('[aria-colindex="' + t.ariaColumnIndex + '"]');
146
- i == null || i.forEach((n) => {
147
- const s = n.style;
148
- this.isRtl ? (t.index > r && s && s.right && (s.right = parseInt(s.right, 10) - l + "px"), t.index < r && s && s.left && (s.left = parseInt(s.left, 10) - l + "px")) : (t.index > r && s && s.left && (s.left = parseInt(s.left, 10) - l + "px"), t.index < r && s && s.right && (s.right = parseInt(s.right, 10) - l + "px"));
153
+ i == null || i.forEach((d) => {
154
+ const n = d.style;
155
+ this.isRtl ? (t.index > o && n && n.right && (n.right = parseInt(n.right, 10) - h + "px"), t.index < o && n && n.left && (n.left = parseInt(n.left, 10) - h + "px")) : (t.index > o && n && n.left && (n.left = parseInt(n.left, 10) - h + "px"), t.index < o && n && n.right && (n.right = parseInt(n.right, 10) - h + "px"));
149
156
  });
150
157
  }
151
158
  });
152
159
  }
153
160
  }
154
161
  export {
155
- F as ColumnResize
162
+ S as ColumnResize
156
163
  };
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditDescriptor } from '@progress/kendo-react-data-tools';
9
+ import { ExtendedColumnProps } from './GridColumn.js';
10
+ import { DataItemWrapper } from './utils/index.js';
11
+ import { GridCellProps } from './interfaces/GridCellProps.js';
12
+ import { GridCellRenderModel } from './interfaces/GridCellRenderModel.js';
13
+ import { GridColumnState } from './interfaces/GridColumnState.js';
14
+ import { GridCellsSettings } from './interfaces/GridCellsSettings.js';
15
+ import { IntlService, LocalizationService } from '@progress/kendo-react-intl';
16
+ import { SortDescriptor } from '@progress/kendo-data-query';
17
+ import * as React from 'react';
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface DataRowContext {
22
+ leafColumns: ExtendedColumnProps[];
23
+ columnsState: GridColumnState[];
24
+ cellsToRender: GridCellRenderModel[];
25
+ hasDynamicColSpan?: boolean;
26
+ getCellsToRender?: (dataItem: any) => GridCellRenderModel[];
27
+ idPrefix: string;
28
+ gridClasses: any;
29
+ unstyled?: any;
30
+ localization?: LocalizationService;
31
+ intl?: IntlService;
32
+ cells?: GridCellsSettings;
33
+ isRowReorderable?: boolean;
34
+ sort?: SortDescriptor[];
35
+ editable?: any;
36
+ isClient?: boolean;
37
+ isEditDialog?: boolean;
38
+ dataItemKey?: string;
39
+ select?: Record<string, any>;
40
+ highlight?: Record<string, any>;
41
+ }
42
+ /**
43
+ * @hidden
44
+ */
45
+ export interface DataRowResult {
46
+ /** Array of rendered cell elements for the row. */
47
+ row: React.ReactElement[];
48
+ /** Whether any cell in the row is in edit mode. */
49
+ isInEdit: boolean;
50
+ /** Whether the entire row is selected. */
51
+ isSelected: boolean;
52
+ /** Whether the entire row is highlighted. */
53
+ isHighlighted: boolean;
54
+ }
55
+ /**
56
+ * @hidden
57
+ */
58
+ export declare function getRowContents(ctx: DataRowContext, edit: EditDescriptor | undefined, item: DataItemWrapper, rowId: string, rowDataIndex: number, isAlt: boolean, spannedRows?: Record<string, Required<GridCellProps['_rowSpan']>>): DataRowResult;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),s=require("@progress/kendo-react-common"),W=require("@progress/kendo-react-data-tools"),G=require("./utils/index.js"),X=require("./cells/datacell/GridCell.js"),Y=require("./cells/datacell/GridCellServer.js"),Z=require("./cells/editcell/GridEditCell.js"),ee=require("./cells/editcell/GridEditCellServer.js");function te(l){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const t in l)if(t!=="default"){const g=Object.getOwnPropertyDescriptor(l,t);Object.defineProperty(d,t,g.get?g:{enumerable:!0,get:()=>l[t]})}}return d.default=l,Object.freeze(d)}const le=te(U);function oe(l,d,t,g,O,q,i){const{leafColumns:C,columnsState:R,idPrefix:_,gridClasses:A,unstyled:D,localization:N,intl:P,cells:j,isRowReorderable:x,sort:H,editable:K,isClient:v,isEditDialog:V,dataItemKey:o,select:b,highlight:S}=l;let T=!1;const c=b&&o&&s.getter(o)(t.dataItem)!==void 0?b[s.getter(o)(t.dataItem)]:void 0,f=S&&o&&s.getter(o)(t.dataItem)!==void 0?S[s.getter(o)(t.dataItem)]:void 0;return{row:(l.hasDynamicColSpan?l.getCellsToRender(t.dataItem):l.cellsToRender).map(({columnIndex:a,colSpan:z})=>{var h,I,k,m,E,w;const e=C[a],y=R[a],B=(I=(h=e.locked)!=null?h:y==null?void 0:y.locked)!=null?I:!1;let u;if((k=e.rowSpannable)!=null&&k.enabled&&t.rowType==="data"&&e.field&&i){const r=e.field?(E=(m=e.rowSpannable).valueGetter)==null?void 0:E.call(m,t.dataItem,e.field):null;u={value:r,count:1},i[e.field]&&((w=i[e.field])==null?void 0:w.value)===r&&i[e.field]!==null?(i[e.field].count++,u.count=null):i[e.field]=u}const M=e.id?e.id:a,$=s.classNames(A.contentSticky({locked:B}),e.className),F=e.left!==void 0?{left:e.left,right:e.right}:{};let p=!1;if(e.editable&&K){const r=d&&o?d[s.getter(o)(t.dataItem)]:void 0;let n;typeof r=="boolean"?n=r:Array.isArray(r)?n=e.field?r.indexOf(e.field)>-1:!1:n=e.field!==void 0&&r===e.field,n&&e.columnType==="data"&&(n===!0||n===e.field)&&(T=!0,V||(p=!0))}const L=e._type==="expand",J={locked:e.locked,id:W.tableKeyboardNavigationTools.generateNavigatableId(`${g}-${String(a)}`,_,L||t.rowType==="groupHeader"||t.rowType==="groupFooter"||e.field==="value"?"nodata":"cell"),colSpan:z,dataItem:t.dataItem,field:e.field,editor:e.editor,format:e.format,columnType:e.columnType,rowReorderable:x,className:$,cells:G.resolveCells(j,e.cells),columnIndex:a,columnsCount:C.length,rowType:t.rowType,level:t.level,expanded:t.expanded,dataIndex:t.dataIndex,rowDataIndex:O,columnPosition:F,style:{},ariaColumnIndex:e.ariaColumnIndex,isSelected:!!((e==null?void 0:e._type)==="edit"?c:Array.isArray(c)&&c.indexOf(a)>-1),isHighlighted:!!((e==null?void 0:e._type)==="edit"?f:Array.isArray(f)&&f.indexOf(a)>-1),isSorted:!!G.isSorted(e.field,H),isInEdit:p,isAlt:q,unstyled:D,group:t.group,localization:N,intl:P,_rowSpan:u},Q=e.defaultCell||p&&(v?Z.GridEditCell:ee.GridEditCellServer)||(v?X.GridCell:Y.GridCellServer);return le.createElement(Q,{key:M,cellProps:J})}),isInEdit:T,isSelected:typeof c=="boolean"&&c,isHighlighted:typeof f=="boolean"&&f}}exports.getRowContents=oe;
@@ -0,0 +1,99 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as Q from "react";
9
+ import { getter as f, classNames as U } from "@progress/kendo-react-common";
10
+ import { tableKeyboardNavigationTools as W } from "@progress/kendo-react-data-tools";
11
+ import { isSorted as X, resolveCells as Y } from "./utils/index.mjs";
12
+ import { GridCell as Z } from "./cells/datacell/GridCell.mjs";
13
+ import { GridCellServer as ee } from "./cells/datacell/GridCellServer.mjs";
14
+ import { GridEditCell as le } from "./cells/editcell/GridEditCell.mjs";
15
+ import { GridEditCellServer as te } from "./cells/editcell/GridEditCellServer.mjs";
16
+ function ce(c, y, l, w, A, G, a) {
17
+ const {
18
+ leafColumns: g,
19
+ columnsState: N,
20
+ idPrefix: x,
21
+ gridClasses: _,
22
+ unstyled: D,
23
+ localization: H,
24
+ intl: K,
25
+ cells: O,
26
+ isRowReorderable: P,
27
+ sort: R,
28
+ editable: V,
29
+ isClient: m,
30
+ isEditDialog: B,
31
+ dataItemKey: t,
32
+ select: v,
33
+ highlight: C
34
+ } = c;
35
+ let h = !1;
36
+ const d = v && t && f(t)(l.dataItem) !== void 0 ? v[f(t)(l.dataItem)] : void 0, s = C && t && f(t)(l.dataItem) !== void 0 ? C[f(t)(l.dataItem)] : void 0;
37
+ return {
38
+ row: (c.hasDynamicColSpan ? c.getCellsToRender(l.dataItem) : c.cellsToRender).map(({ columnIndex: i, colSpan: $ }) => {
39
+ var b, I, S, T, k, E;
40
+ const e = g[i], p = N[i], z = (I = (b = e.locked) != null ? b : p == null ? void 0 : p.locked) != null ? I : !1;
41
+ let n;
42
+ if ((S = e.rowSpannable) != null && S.enabled && l.rowType === "data" && e.field && a) {
43
+ const o = e.field ? (k = (T = e.rowSpannable).valueGetter) == null ? void 0 : k.call(T, l.dataItem, e.field) : null;
44
+ n = { value: o, count: 1 }, a[e.field] && ((E = a[e.field]) == null ? void 0 : E.value) === o && a[e.field] !== null ? (a[e.field].count++, n.count = null) : a[e.field] = n;
45
+ }
46
+ const F = e.id ? e.id : i, L = U(_.contentSticky({ locked: z }), e.className), j = e.left !== void 0 ? { left: e.left, right: e.right } : {};
47
+ let u = !1;
48
+ if (e.editable && V) {
49
+ const o = y && t ? y[f(t)(l.dataItem)] : void 0;
50
+ let r;
51
+ typeof o == "boolean" ? r = o : Array.isArray(o) ? r = e.field ? o.indexOf(e.field) > -1 : !1 : r = e.field !== void 0 && o === e.field, r && e.columnType === "data" && (r === !0 || r === e.field) && (h = !0, B || (u = !0));
52
+ }
53
+ const q = e._type === "expand", J = {
54
+ locked: e.locked,
55
+ id: W.generateNavigatableId(
56
+ `${w}-${String(i)}`,
57
+ x,
58
+ q || l.rowType === "groupHeader" || l.rowType === "groupFooter" || e.field === "value" ? "nodata" : "cell"
59
+ ),
60
+ colSpan: $,
61
+ dataItem: l.dataItem,
62
+ field: e.field,
63
+ editor: e.editor,
64
+ format: e.format,
65
+ columnType: e.columnType,
66
+ rowReorderable: P,
67
+ className: L,
68
+ cells: Y(O, e.cells),
69
+ columnIndex: i,
70
+ columnsCount: g.length,
71
+ rowType: l.rowType,
72
+ level: l.level,
73
+ expanded: l.expanded,
74
+ dataIndex: l.dataIndex,
75
+ rowDataIndex: A,
76
+ columnPosition: j,
77
+ style: {},
78
+ ariaColumnIndex: e.ariaColumnIndex,
79
+ isSelected: !!((e == null ? void 0 : e._type) === "edit" ? d : Array.isArray(d) && d.indexOf(i) > -1),
80
+ isHighlighted: !!((e == null ? void 0 : e._type) === "edit" ? s : Array.isArray(s) && s.indexOf(i) > -1),
81
+ isSorted: !!X(e.field, R),
82
+ isInEdit: u,
83
+ isAlt: G,
84
+ unstyled: D,
85
+ group: l.group,
86
+ localization: H,
87
+ intl: K,
88
+ _rowSpan: n
89
+ }, M = e.defaultCell || u && (m ? le : te) || (m ? Z : ee);
90
+ return /* @__PURE__ */ Q.createElement(M, { key: F, cellProps: J });
91
+ }),
92
+ isInEdit: h,
93
+ isSelected: typeof d == "boolean" && d,
94
+ isHighlighted: typeof s == "boolean" && s
95
+ };
96
+ }
97
+ export {
98
+ ce as getRowContents
99
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GridHeaderCellProps } from '../interfaces/GridHeaderCellProps.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const GridHeaderGroupSpacerCell: (_props: GridHeaderCellProps) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("@progress/kendo-react-common"),i=require("@progress/kendo-react-intl"),o=require("../messages/index.js");function u(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const d=u(l),p=t=>{var n;const e=c.useUnstyled(),r=(n=e==null?void 0:e.uGrid)!=null?n:c.uGrid,s=i.useLocalization().toLanguageString(o.headerGroupSpacerAccessibleLabel,o.messages[o.headerGroupSpacerAccessibleLabel]);return d.createElement("span",{className:c.classNames(r.srOnly({}))},s)};exports.GridHeaderGroupSpacerCell=p;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as t from "react";
10
+ import { useUnstyled as c, uGrid as i, classNames as l } from "@progress/kendo-react-common";
11
+ import { useLocalization as n } from "@progress/kendo-react-intl";
12
+ import { headerGroupSpacerAccessibleLabel as a, messages as m } from "../messages/index.mjs";
13
+ const f = (p) => {
14
+ var r;
15
+ const e = c(), o = (r = e == null ? void 0 : e.uGrid) != null ? r : i, s = n().toLanguageString(
16
+ a,
17
+ m[a]
18
+ );
19
+ return /* @__PURE__ */ t.createElement("span", { className: l(o.srOnly({})) }, s);
20
+ };
21
+ export {
22
+ f as GridHeaderGroupSpacerCell
23
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const GridHeaderPinCell: (props: any) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("../GridHeaderCell.js");function a(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=a(c),i=e=>o.createElement(l.GridHeaderCell,{...e});exports.GridHeaderPinCell=i;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as r from "react";
10
+ import { GridHeaderCell as t } from "../GridHeaderCell.mjs";
11
+ const a = (e) => /* @__PURE__ */ r.createElement(t, { ...e });
12
+ export {
13
+ a as GridHeaderPinCell
14
+ };