@progress/kendo-react-grid 9.4.0-develop.1 → 9.4.0-develop.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 (179) hide show
  1. package/Grid.js +1 -1
  2. package/Grid.mjs +4 -5
  3. package/GridClientContextReader.js +2 -1
  4. package/GridClientContextReader.mjs +15 -14
  5. package/GridClientWrapper.js +2 -1
  6. package/GridClientWrapper.mjs +425 -391
  7. package/GridColumn.js +1 -1
  8. package/GridColumn.mjs +4 -5
  9. package/GridComponent.js +1 -1
  10. package/GridComponent.mjs +262 -252
  11. package/GridSearchBox.js +8 -0
  12. package/GridSearchBox.mjs +35 -0
  13. package/GridState.js +2 -1
  14. package/GridState.mjs +76 -70
  15. package/GridToolbar.js +1 -1
  16. package/GridToolbar.mjs +5 -6
  17. package/GridWatermarkOverlay.js +2 -1
  18. package/GridWatermarkOverlay.mjs +2 -2
  19. package/StatusBar.js +1 -1
  20. package/StatusBar.mjs +0 -1
  21. package/VirtualScroll.js +1 -1
  22. package/VirtualScroll.mjs +0 -1
  23. package/VirtualScrollFixed.js +1 -1
  24. package/VirtualScrollFixed.mjs +9 -10
  25. package/cells/GridCell.js +1 -1
  26. package/cells/GridCell.mjs +15 -17
  27. package/cells/GridDetailCell.js +1 -1
  28. package/cells/GridDetailCell.mjs +5 -6
  29. package/cells/GridDetailHierarchyCell.js +1 -1
  30. package/cells/GridDetailHierarchyCell.mjs +4 -5
  31. package/cells/GridEditCell.js +1 -1
  32. package/cells/GridEditCell.mjs +6 -7
  33. package/cells/GridFilterCell.js +2 -1
  34. package/cells/GridGroupCell.js +1 -1
  35. package/cells/GridGroupCell.mjs +11 -12
  36. package/cells/GridHierarchyCell.js +1 -1
  37. package/cells/GridHierarchyCell.mjs +7 -8
  38. package/cells/GridRowReorderCell.js +1 -1
  39. package/cells/GridRowReorderCell.mjs +3 -4
  40. package/cells/GridSelectionCell.js +1 -1
  41. package/cells/GridSelectionCell.mjs +12 -13
  42. package/cells/client/DetailCellContainer.js +2 -1
  43. package/cells/client/DetailCellContainer.mjs +2 -2
  44. package/cells/client/GridCellContainer.js +2 -1
  45. package/cells/client/GridEditCellContainer.js +2 -1
  46. package/cells/client/GridEditCellEditor.js +2 -1
  47. package/cells/client/GridEditCellEditor.mjs +14 -14
  48. package/cells/client/GridGroupCellContainer.js +2 -1
  49. package/cells/client/GridGroupCellContainer.mjs +39 -39
  50. package/cells/client/GridGroupCellToggle.js +2 -1
  51. package/cells/client/GridGroupCellToggle.mjs +3 -3
  52. package/cells/client/GridHierarchyCellContainer.js +2 -1
  53. package/cells/client/GridHierarchyCellToggle.js +2 -1
  54. package/cells/client/GridHierarchyCellToggle.mjs +15 -15
  55. package/cells/client/GridRowReorderContainer.js +2 -1
  56. package/cells/client/GridRowReorderContainer.mjs +3 -3
  57. package/cells/client/GridSelectionCellContainer.js +2 -1
  58. package/cells/client/GridSelectionCellInput.js +2 -1
  59. package/cells/client/GridSelectionCellInput.mjs +3 -3
  60. package/codemods/index.js +8 -0
  61. package/columnMenu/GridColumnMenuCheckboxFilter.js +2 -1
  62. package/columnMenu/GridColumnMenuColumnsList.js +2 -1
  63. package/columnMenu/GridColumnMenuColumnsList.mjs +16 -16
  64. package/columnMenu/GridColumnMenuFilter.js +2 -1
  65. package/columnMenu/GridColumnMenuFilterCell.js +2 -1
  66. package/columnMenu/GridColumnMenuFilterCell.mjs +3 -3
  67. package/columnMenu/GridColumnMenuFilterUI.js +2 -1
  68. package/columnMenu/GridColumnMenuGroup.js +2 -1
  69. package/columnMenu/GridColumnMenuGroup.mjs +5 -5
  70. package/columnMenu/GridColumnMenuItem.js +2 -1
  71. package/columnMenu/GridColumnMenuItem.mjs +2 -2
  72. package/columnMenu/GridColumnMenuItemContent.js +2 -1
  73. package/columnMenu/GridColumnMenuItemContent.mjs +4 -4
  74. package/columnMenu/GridColumnMenuItemGroup.js +2 -1
  75. package/columnMenu/GridColumnMenuItemGroup.mjs +4 -4
  76. package/columnMenu/GridColumnMenuSort.js +2 -1
  77. package/columnMenu/GridColumnMenuSort.mjs +8 -8
  78. package/columnMenu/GridColumnMenuWrapper.js +2 -1
  79. package/components/GridContainerElementContainer.js +2 -1
  80. package/components/GridCustomCellClientContainer.js +2 -1
  81. package/components/GridCustomCellClientContainer.mjs +2 -2
  82. package/components/GridDragClue.js +2 -1
  83. package/components/GridDragClue.mjs +5 -5
  84. package/components/GridDraggableRowsContainer.js +2 -1
  85. package/components/GridDropClue.js +2 -1
  86. package/components/GridDropClue.mjs +5 -5
  87. package/components/GridElementContainer.js +2 -1
  88. package/components/GridElementContainer.mjs +6 -6
  89. package/components/GridLoader.js +9 -0
  90. package/components/GridLoader.mjs +22 -0
  91. package/components/PagerContainer.js +2 -1
  92. package/components/PagerContainer.mjs +4 -4
  93. package/components/VirtualScrollHeightContainer.js +2 -1
  94. package/components/VirtualScrollHeightContainer.mjs +2 -2
  95. package/components/colGroup/GridColGroup.js +2 -1
  96. package/components/colGroup/GridColGroup.mjs +5 -5
  97. package/components/icons/reorder-row-svg.js +2 -1
  98. package/components/icons/reorder-row-svg.mjs +2 -2
  99. package/components/noRecords/GridNoRecords.js +2 -1
  100. package/components/noRecords/GridNoRecords.mjs +5 -5
  101. package/components/noRecords/GridNoRecordsContainer.js +2 -1
  102. package/components/noRecords/GridNoRecordsContainer.mjs +4 -4
  103. package/components/table/GridTable.js +2 -1
  104. package/components/table/GridTable.mjs +4 -4
  105. package/components/table/GridTableBody.js +2 -1
  106. package/components/table/GridTableBody.mjs +2 -2
  107. package/components/table/GridTableScrollable.js +2 -1
  108. package/components/table/GridTableScrollable.mjs +6 -6
  109. package/components/utils.js +1 -1
  110. package/components/utils.mjs +0 -1
  111. package/constants/index.js +1 -1
  112. package/constants/index.mjs +0 -1
  113. package/contextMenu/GridContextMenu.js +2 -1
  114. package/contextMenu/GridContextMenu.mjs +3 -3
  115. package/contextMenu/enums.js +1 -1
  116. package/contextMenu/enums.mjs +0 -1
  117. package/dist/cdn/js/kendo-react-grid.js +8 -1
  118. package/drag/ColumnDraggable.js +2 -1
  119. package/drag/ColumnDraggable.mjs +7 -7
  120. package/drag/ColumnResize.js +1 -1
  121. package/drag/ColumnResize.mjs +0 -1
  122. package/drag/CommonDragLogic.js +1 -1
  123. package/drag/CommonDragLogic.mjs +0 -1
  124. package/drag/GroupingIndicator.js +2 -1
  125. package/drag/GroupingIndicator.mjs +11 -11
  126. package/filterCommon.js +1 -1
  127. package/filterCommon.mjs +4 -5
  128. package/footer/Footer.js +2 -1
  129. package/footer/FooterCell.js +1 -1
  130. package/footer/FooterCell.mjs +3 -4
  131. package/footer/FooterRow.js +1 -1
  132. package/footer/FooterRow.mjs +6 -7
  133. package/footer/client/FooterCellContainer.js +2 -1
  134. package/footer/client/FooterCellContainer.mjs +5 -5
  135. package/header/FilterRow.js +1 -1
  136. package/header/FilterRow.mjs +41 -43
  137. package/header/GridHeaderCell.js +2 -1
  138. package/header/GridHeaderCell.mjs +4 -4
  139. package/header/GridHeaderSelectionCell.js +2 -1
  140. package/header/GroupPanel.js +2 -1
  141. package/header/Header.js +2 -1
  142. package/header/HeaderRow.js +1 -1
  143. package/header/HeaderRow.mjs +33 -35
  144. package/header/client/GridFilterCellContainer.js +2 -1
  145. package/header/client/GridFilterCellContainer.mjs +7 -7
  146. package/header/client/GridFilterCellElementContainer.js +2 -1
  147. package/header/client/GridHeaderCellContainer.js +2 -1
  148. package/header/client/GridHeaderCellElementContainer.js +2 -1
  149. package/header/client/GridHeaderCellElementContainer.mjs +10 -10
  150. package/header/client/GridHeaderRowContainer.js +2 -1
  151. package/header/client/GridHeaderRowReorderCell.js +2 -1
  152. package/header/client/GridHeaderRowReorderCell.mjs +2 -2
  153. package/header/client/HeaderCellResizer.js +2 -1
  154. package/header/client/HeaderRowDraggable.js +2 -1
  155. package/index.d.mts +60 -3
  156. package/index.d.ts +60 -3
  157. package/index.js +1 -1
  158. package/index.mjs +46 -45
  159. package/messages/index.js +1 -1
  160. package/messages/index.mjs +38 -37
  161. package/messages/messagesMap.js +1 -1
  162. package/messages/messagesMap.mjs +2 -3
  163. package/package-metadata.js +1 -1
  164. package/package-metadata.mjs +2 -3
  165. package/package.json +27 -12
  166. package/paging/GridPagerSettings.js +1 -1
  167. package/paging/GridPagerSettings.mjs +6 -7
  168. package/rows/GridDetailRow.js +1 -1
  169. package/rows/GridDetailRow.mjs +2 -3
  170. package/rows/GridRow.js +2 -1
  171. package/sortCommon.js +8 -0
  172. package/{interfaces/GridSortSettings.mjs → sortCommon.mjs} +0 -1
  173. package/utils/_clientModule.js +2 -1
  174. package/utils/_clientModule.mjs +2 -2
  175. package/utils/_serverModule.js +1 -1
  176. package/utils/_serverModule.mjs +0 -1
  177. package/utils/index.js +1 -1
  178. package/utils/index.mjs +38 -39
  179. package/interfaces/GridSortSettings.js +0 -8
@@ -6,13 +6,13 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as e from "react";
9
+ import * as r from "react";
10
10
  import { DragClue as t } from "@progress/kendo-react-data-tools";
11
11
  import { GridContext as o } from "../GridClientWrapper.mjs";
12
- const a = (n) => {
13
- const r = e.useContext(o);
14
- return /* @__PURE__ */ e.createElement(t, { ref: r.dragLogicRef.current.refDragElementClue });
12
+ const i = (n) => {
13
+ const e = r.useContext(o);
14
+ return /* @__PURE__ */ r.createElement(t, { ref: e.dragLogicRef.current.refDragElementClue });
15
15
  };
16
16
  export {
17
- a as GridDragClue
17
+ i as GridDragClue
18
18
  };
@@ -5,4 +5,5 @@
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 e=require("react"),A=require("../GridClientWrapper.js"),y=require("@progress/kendo-react-common"),n=require("./utils.js"),L=require("react-dom"),m=require("@progress/kendo-svg-icons"),S={zIndex:"19000",position:"absolute",display:"none",visibility:"hidden"},x={zIndex:"20000",display:"flex",position:"fixed",visibility:"hidden",pointerEvents:"none"},X=R=>{const{rowReorderSettings:l,columns:w,unstyled:C}=R,{rowReorder:k,reorderRowDragTargetRef:u,reorderRowDropTargetRef:i,activeDragRowDataItemRef:d,tableBodyElementRef:T}=e.useContext(A.GridContext),[N,h]=e.useState(!1),[O,P]=e.useState(m.cancelIcon),b=e.useRef(null),f=e.useRef(null),c=e.useRef(null),I=e.useRef(null),p=e.useRef(!1),D=e.useRef(null),v=typeof l=="object"?l.enabled:l;e.useEffect(()=>{T.current=b.current},[]);const q=r=>{const t=r.originalEvent.target;t.closest(".k-drag-cell")&&(I.current=r.offsetY,p.current=!0,u.current=t.closest(".k-table-row"))},M=r=>{!p.current||!v||!d.current||(u.current&&(u.current.style.userSelect="none"),h(!0))},Y=r=>{if(!p.current&&!f.current)return;const{clientX:t,clientY:o}=r,a=I.current,g={x:t,y:o-a};f.current&&(f.current.style.left=`${g.x}px`,f.current.style.top=`${g.y}px`,f.current.style.visibility="visible"),F(r)},B=r=>{var o;if(!v||!d.current)return;h(!1);const t=Number((o=i.current)==null?void 0:o.getAttribute("absolute-row-index"));k(r,t,D.current),p.current=!1};y.useDraggable(b,{onPress:q,onDragStart:M,onDrag:Y,onDragEnd:B});const F=r=>{D.current=z(r),G()},G=()=>{var a;if(D.current===n.dropDirection.forbidden||!i.current){$();return}V();const r=n.getOffset(i.current);let t=r.top;const o=r.left+(((a=c.current)==null?void 0:a.offsetWidth)||0)/2;D.current===n.dropDirection.after&&(t+=i.current.offsetHeight),c.current&&(c.current.style.top=`${t}px`,c.current.style.left=`${o}px`,c.current.style.visibility="visible")},$=()=>{c.current&&(c.current.style.display="none")},V=()=>{c.current&&(c.current.style.display="")},j=()=>{if(d.current){if(l.dragClue)return typeof l.dragClue=="string"?l.dragClue:l.dragClue(d.current);{const r=w.find(o=>!o.hidden&&o.columnType==="data");return d.current[r.field]}}},z=r=>{if(i.current===u.current||!i.current||n.isDifferentParent(i.current,u.current))return n.dropDirection.forbidden;const t=i.current.getBoundingClientRect(),a=t.height/2,g=r.clientY,E=t.top;let s=null;g<E+a?s=n.dropDirection.before:g>=E+t.height-a&&(s=n.dropDirection.after),(s===n.dropDirection.before&&i.current===u.current.nextElementSibling||s===n.dropDirection.after&&i.current===u.current.previousElementSibling)&&(s=n.dropDirection.forbidden);const W=s===n.dropDirection.forbidden?m.cancelIcon:m.insertMiddleIcon;return P(W),s},H=e.useMemo(j,[d.current]);return e.createElement(e.Fragment,null,N&&L.createPortal(e.createElement(e.Fragment,null,e.createElement("div",{ref:c,style:S,className:y.classNames(C.rowReorder({dropIndicatorMain:!0,dropIndicatorDirection:!0}))},e.createElement("div",{className:"k-drop-hint-start"}),e.createElement("div",{className:"k-drop-hint-line"})),e.createElement("div",{ref:f,style:x,className:y.classNames(C.rowReorder({dragClueMain:!0,dragClueOperation:!0}))},e.createElement(y.SvgIcon,{className:"k-drag-status",icon:O}),H)),document.body),e.cloneElement(R.children,{ref:b}))};exports.GridReorderableRowsContainer=X;exports.dropIndicatorStyles=S;exports.hintClueStyles=x;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),A=require("../GridClientWrapper.js"),y=require("@progress/kendo-react-common"),n=require("./utils.js"),L=require("react-dom"),m=require("@progress/kendo-svg-icons"),S={zIndex:"19000",position:"absolute",display:"none",visibility:"hidden"},x={zIndex:"20000",display:"flex",position:"fixed",visibility:"hidden",pointerEvents:"none"},X=R=>{const{rowReorderSettings:l,columns:w,unstyled:C}=R,{rowReorder:k,reorderRowDragTargetRef:u,reorderRowDropTargetRef:i,activeDragRowDataItemRef:d,tableBodyElementRef:T}=e.useContext(A.GridContext),[N,h]=e.useState(!1),[O,P]=e.useState(m.cancelIcon),b=e.useRef(null),f=e.useRef(null),c=e.useRef(null),I=e.useRef(null),p=e.useRef(!1),D=e.useRef(null),v=typeof l=="object"?l.enabled:l;e.useEffect(()=>{T.current=b.current},[]);const q=r=>{const t=r.originalEvent.target;t.closest(".k-drag-cell")&&(I.current=r.offsetY,p.current=!0,u.current=t.closest(".k-table-row"))},M=r=>{!p.current||!v||!d.current||(u.current&&(u.current.style.userSelect="none"),h(!0))},Y=r=>{if(!p.current&&!f.current)return;const{clientX:t,clientY:o}=r,a=I.current,g={x:t,y:o-a};f.current&&(f.current.style.left=`${g.x}px`,f.current.style.top=`${g.y}px`,f.current.style.visibility="visible"),F(r)},B=r=>{var o;if(!v||!d.current)return;h(!1);const t=Number((o=i.current)==null?void 0:o.getAttribute("absolute-row-index"));k(r,t,D.current),p.current=!1};y.useDraggable(b,{onPress:q,onDragStart:M,onDrag:Y,onDragEnd:B});const F=r=>{D.current=z(r),G()},G=()=>{var a;if(D.current===n.dropDirection.forbidden||!i.current){$();return}V();const r=n.getOffset(i.current);let t=r.top;const o=r.left+(((a=c.current)==null?void 0:a.offsetWidth)||0)/2;D.current===n.dropDirection.after&&(t+=i.current.offsetHeight),c.current&&(c.current.style.top=`${t}px`,c.current.style.left=`${o}px`,c.current.style.visibility="visible")},$=()=>{c.current&&(c.current.style.display="none")},V=()=>{c.current&&(c.current.style.display="")},j=()=>{if(d.current){if(l.dragClue)return typeof l.dragClue=="string"?l.dragClue:l.dragClue(d.current);{const r=w.find(o=>!o.hidden&&o.columnType==="data");return d.current[r.field]}}},z=r=>{if(i.current===u.current||!i.current||n.isDifferentParent(i.current,u.current))return n.dropDirection.forbidden;const t=i.current.getBoundingClientRect(),a=t.height/2,g=r.clientY,E=t.top;let s=null;g<E+a?s=n.dropDirection.before:g>=E+t.height-a&&(s=n.dropDirection.after),(s===n.dropDirection.before&&i.current===u.current.nextElementSibling||s===n.dropDirection.after&&i.current===u.current.previousElementSibling)&&(s=n.dropDirection.forbidden);const W=s===n.dropDirection.forbidden?m.cancelIcon:m.insertMiddleIcon;return P(W),s},H=e.useMemo(j,[d.current]);return e.createElement(e.Fragment,null,N&&L.createPortal(e.createElement(e.Fragment,null,e.createElement("div",{ref:c,style:S,className:y.classNames(C.rowReorder({dropIndicatorMain:!0,dropIndicatorDirection:!0}))},e.createElement("div",{className:"k-drop-hint-start"}),e.createElement("div",{className:"k-drop-hint-line"})),e.createElement("div",{ref:f,style:x,className:y.classNames(C.rowReorder({dragClueMain:!0,dragClueOperation:!0}))},e.createElement(y.SvgIcon,{className:"k-drag-status",icon:O}),H)),document.body),e.cloneElement(R.children,{ref:b}))};exports.GridReorderableRowsContainer=X;exports.dropIndicatorStyles=S;exports.hintClueStyles=x;
@@ -5,4 +5,5 @@
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 c=require("react"),u=require("@progress/kendo-react-data-tools"),i=require("../GridClientWrapper.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=a(c),l=e=>{const t=n.useContext(i.GridContext);return n.createElement(u.DropClue,{ref:t.dragLogicRef.current.refDropElementClue})};exports.GridDropClue=l;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("@progress/kendo-react-data-tools"),a=require("../GridClientWrapper.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=i(c),l=e=>{const t=n.useContext(a.GridContext);return n.createElement(u.DropClue,{ref:t.dragLogicRef.current.refDropElementClue})};exports.GridDropClue=l;
@@ -6,13 +6,13 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as e from "react";
9
+ import * as r from "react";
10
10
  import { DropClue as t } from "@progress/kendo-react-data-tools";
11
11
  import { GridContext as o } from "../GridClientWrapper.mjs";
12
- const m = (n) => {
13
- const r = e.useContext(o);
14
- return /* @__PURE__ */ e.createElement(t, { ref: r.dragLogicRef.current.refDropElementClue });
12
+ const i = (n) => {
13
+ const e = r.useContext(o);
14
+ return /* @__PURE__ */ r.createElement(t, { ref: e.dragLogicRef.current.refDropElementClue });
15
15
  };
16
16
  export {
17
- m as GridDropClue
17
+ i as GridDropClue
18
18
  };
@@ -5,4 +5,5 @@
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 c=require("react"),i=require("../GridClientWrapper.js");function u(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const r=u(c),l=t=>{const n=r.useContext(i.GridContext),{children:e}=t;return r.cloneElement(e,{...e==null?void 0:e.props,ref:n.elementRef,onKeyDown:n.onKeyDown,onFocus:n.onFocus})};exports.GridElementContainer=l;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),i=require("../GridClientWrapper.js");function u(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const r=u(c),a=t=>{const n=r.useContext(i.GridContext),{children:e}=t;return r.cloneElement(e,{...e==null?void 0:e.props,ref:n.elementRef,onKeyDown:n.onKeyDown,onFocus:n.onFocus})};exports.GridElementContainer=a;
@@ -9,12 +9,12 @@
9
9
  import * as n from "react";
10
10
  import { GridContext as r } from "../GridClientWrapper.mjs";
11
11
  const c = (t) => {
12
- const o = n.useContext(r), { children: e } = t;
13
- return n.cloneElement(e, {
14
- ...e == null ? void 0 : e.props,
15
- ref: o.elementRef,
16
- onKeyDown: o.onKeyDown,
17
- onFocus: o.onFocus
12
+ const e = n.useContext(r), { children: o } = t;
13
+ return n.cloneElement(o, {
14
+ ...o == null ? void 0 : o.props,
15
+ ref: e.elementRef,
16
+ onKeyDown: e.onKeyDown,
17
+ onFocus: e.onFocus
18
18
  });
19
19
  };
20
20
  export {
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2025 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 o=require("react"),c=require("@progress/kendo-react-indicators");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=l(o),i={height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},s=e=>{var t;return n.createElement(n.Fragment,null,e.showLoader?(t=e.loader)!=null?t:n.createElement("div",{className:"k-loading-mask"},n.createElement("div",{className:"k-loading-color"}),n.createElement("div",{style:i},n.createElement(c.Loader,{size:"large",type:"converging-spinner"}))):null)};exports.GridLoader=s;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2025 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 e from "react";
10
+ import { Loader as a } from "@progress/kendo-react-indicators";
11
+ const n = {
12
+ height: "100%",
13
+ display: "flex",
14
+ justifyContent: "center",
15
+ alignItems: "center"
16
+ }, o = (t) => {
17
+ var r;
18
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, t.showLoader ? (r = t.loader) != null ? r : /* @__PURE__ */ e.createElement("div", { className: "k-loading-mask" }, /* @__PURE__ */ e.createElement("div", { className: "k-loading-color" }), /* @__PURE__ */ e.createElement("div", { style: n }, /* @__PURE__ */ e.createElement(a, { size: "large", type: "converging-spinner" }))) : null);
19
+ };
20
+ export {
21
+ o as GridLoader
22
+ };
@@ -5,4 +5,5 @@
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 o=require("react"),s=require("../GridClientWrapper.js"),c=require("../messages/messagesMap.js");function i(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const a=i(o),g=t=>{const r=a.useContext(s.GridContext),{children:e}=t;return a.cloneElement(e,{...e==null?void 0:e.props,onPageChange:r.pagerPageChange,messagesMap:c.pagerMessagesMap,dir:r.dir})};exports.PagerContainer=g;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),s=require("../GridClientWrapper.js"),c=require("../messages/messagesMap.js");function i(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const a=i(o),g=t=>{const r=a.useContext(s.GridContext),{children:e}=t;return a.cloneElement(e,{...e==null?void 0:e.props,onPageChange:r.pagerPageChange,messagesMap:c.pagerMessagesMap,dir:r.dir})};exports.PagerContainer=g;
@@ -6,12 +6,12 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as t from "react";
9
+ import * as o from "react";
10
10
  import { GridContext as n } from "../GridClientWrapper.mjs";
11
11
  import { pagerMessagesMap as a } from "../messages/messagesMap.mjs";
12
- const p = (o) => {
13
- const r = t.useContext(n), { children: e } = o;
14
- return t.cloneElement(e, {
12
+ const p = (t) => {
13
+ const r = o.useContext(n), { children: e } = t;
14
+ return o.cloneElement(e, {
15
15
  ...e == null ? void 0 : e.props,
16
16
  onPageChange: r.pagerPageChange,
17
17
  messagesMap: a,
@@ -5,4 +5,5 @@
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 o=require("react"),c=require("../GridClientWrapper.js");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=l(o),a=e=>{const t=i.useContext(c.GridContext);return i.createElement("div",{style:e.isVirtualScroll?{height:t.vsRef.current.containerHeight+"px"}:{}})};exports.VirtualScrollHeightContainer=a;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),c=require("../GridClientWrapper.js");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=l(i),a=e=>{const t=o.useContext(c.GridContext);return o.createElement("div",{style:e.isVirtualScroll?{height:t.vsRef.current.containerHeight+"px"}:{}})};exports.VirtualScrollHeightContainer=a;
@@ -7,9 +7,9 @@
7
7
  */
8
8
  "use client";
9
9
  import * as t from "react";
10
- import { GridContext as i } from "../GridClientWrapper.mjs";
10
+ import { GridContext as o } from "../GridClientWrapper.mjs";
11
11
  const n = (e) => {
12
- const r = t.useContext(i);
12
+ const r = t.useContext(o);
13
13
  return /* @__PURE__ */ t.createElement("div", { style: e.isVirtualScroll ? { height: r.vsRef.current.containerHeight + "px" } : {} });
14
14
  };
15
15
  export {
@@ -5,4 +5,5 @@
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 c=require("react"),u=require("../../GridClientWrapper.js");function i(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=i(c),l=e=>{const r=o.useContext(u.GridContext);return o.createElement("colgroup",{ref:t=>{r.columnResizeRef.current.colGroupMain=t}},e.children)};exports.GridColGroup=l;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("../../GridClientWrapper.js");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=i(c),l=e=>{const r=n.useContext(u.GridContext);return n.createElement("colgroup",{ref:t=>{r.columnResizeRef.current.colGroupMain=t}},e.children)};exports.GridColGroup=l;
@@ -6,18 +6,18 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as e from "react";
9
+ import * as r from "react";
10
10
  import { GridContext as n } from "../../GridClientWrapper.mjs";
11
- const i = (r) => {
12
- const o = e.useContext(n);
13
- return /* @__PURE__ */ e.createElement(
11
+ const i = (e) => {
12
+ const o = r.useContext(n);
13
+ return /* @__PURE__ */ r.createElement(
14
14
  "colgroup",
15
15
  {
16
16
  ref: (t) => {
17
17
  o.columnResizeRef.current.colGroupMain = t;
18
18
  }
19
19
  },
20
- r.children
20
+ e.children
21
21
  );
22
22
  };
23
23
  export {
@@ -5,4 +5,5 @@
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 e=require("@progress/kendo-svg-icons"),o=require("@progress/kendo-react-common"),n=()=>React.createElement(o.SvgIcon,{icon:e.reorderIcon});exports.ReorderRowIcon=n;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@progress/kendo-svg-icons"),o=require("@progress/kendo-react-common"),r=()=>React.createElement(o.SvgIcon,{icon:e.reorderIcon});exports.ReorderRowIcon=r;
@@ -7,8 +7,8 @@
7
7
  */
8
8
  "use client";
9
9
  import { reorderIcon as o } from "@progress/kendo-svg-icons";
10
- import { SvgIcon as e } from "@progress/kendo-react-common";
11
- const t = () => /* @__PURE__ */ React.createElement(e, { icon: o });
10
+ import { SvgIcon as r } from "@progress/kendo-react-common";
11
+ const t = () => /* @__PURE__ */ React.createElement(r, { icon: o });
12
12
  export {
13
13
  t as ReorderRowIcon
14
14
  };
@@ -5,4 +5,5 @@
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 t=require("@progress/kendo-react-intl"),e=require("../../messages/index.js"),o=r=>{const n=t.useLocalization();return r.children||n.toLanguageString(e.noRecords,e.messages[e.noRecords])};o.displayName="KendoReactGridNoRecords";exports.GridNoRecords=o;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-react-intl"),e=require("../../messages/index.js"),o=r=>{const n=t.useLocalization();return r.children||n.toLanguageString(e.noRecords,e.messages[e.noRecords])};o.displayName="KendoReactGridNoRecords";exports.GridNoRecords=o;
@@ -8,11 +8,11 @@
8
8
  "use client";
9
9
  import { useLocalization as i } from "@progress/kendo-react-intl";
10
10
  import { noRecords as o, messages as t } from "../../messages/index.mjs";
11
- const n = (e) => {
12
- const r = i();
13
- return e.children || r.toLanguageString(o, t[o]);
11
+ const a = (r) => {
12
+ const e = i();
13
+ return r.children || e.toLanguageString(o, t[o]);
14
14
  };
15
- n.displayName = "KendoReactGridNoRecords";
15
+ a.displayName = "KendoReactGridNoRecords";
16
16
  export {
17
- n as GridNoRecords
17
+ a as GridNoRecords
18
18
  };
@@ -5,4 +5,5 @@
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 d=require("react"),a=require("@progress/kendo-react-data-tools"),n=require("@progress/kendo-react-common"),l=require("../../GridClientWrapper.js");function u(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const c=u(d),i=t=>{const r=c.useContext(l.GridContext),e=r.headerRef.current,o=e&&e.table()&&e.table().clientWidth,s=n.uGrid;return c.createElement("div",{key:"no-records",className:n.classNames(s.noRecords({})),style:{width:o}},c.createElement("div",{className:n.classNames(s.noRecordsTemplate({})),[a.KEYBOARD_NAV_DATA_ID]:a.tableKeyboardNavigationTools.generateNavigatableId("no-records",a.tableKeyboardNavigationTools.getIdPrefix(r.navigationStateRef))},t.children))};i.displayName="KendoReactGridNoRecordsContainer";exports.GridNoRecordsContainer=i;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react"),a=require("@progress/kendo-react-data-tools"),n=require("@progress/kendo-react-common"),l=require("../../GridClientWrapper.js");function u(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const c=u(d),i=t=>{const r=c.useContext(l.GridContext),e=r.headerRef.current,o=e&&e.table()&&e.table().clientWidth,s=n.uGrid;return c.createElement("div",{key:"no-records",className:n.classNames(s.noRecords({})),style:{width:o}},c.createElement("div",{className:n.classNames(s.noRecordsTemplate({})),[a.KEYBOARD_NAV_DATA_ID]:a.tableKeyboardNavigationTools.generateNavigatableId("no-records",a.tableKeyboardNavigationTools.getIdPrefix(r.navigationStateRef))},t.children))};i.displayName="KendoReactGridNoRecordsContainer";exports.GridNoRecordsContainer=i;
@@ -7,16 +7,16 @@
7
7
  */
8
8
  "use client";
9
9
  import * as t from "react";
10
- import { KEYBOARD_NAV_DATA_ID as d, tableKeyboardNavigationTools as a } from "@progress/kendo-react-data-tools";
10
+ import { KEYBOARD_NAV_DATA_ID as i, tableKeyboardNavigationTools as a } from "@progress/kendo-react-data-tools";
11
11
  import { classNames as n, uGrid as c } from "@progress/kendo-react-common";
12
12
  import { GridContext as l } from "../../GridClientWrapper.mjs";
13
13
  const m = (s) => {
14
- const r = t.useContext(l), e = r.headerRef.current, i = e && e.table() && e.table().clientWidth, o = c;
15
- return /* @__PURE__ */ t.createElement("div", { key: "no-records", className: n(o.noRecords({})), style: { width: i } }, /* @__PURE__ */ t.createElement(
14
+ const r = t.useContext(l), e = r.headerRef.current, d = e && e.table() && e.table().clientWidth, o = c;
15
+ return /* @__PURE__ */ t.createElement("div", { key: "no-records", className: n(o.noRecords({})), style: { width: d } }, /* @__PURE__ */ t.createElement(
16
16
  "div",
17
17
  {
18
18
  className: n(o.noRecordsTemplate({})),
19
- [d]: a.generateNavigatableId(
19
+ [i]: a.generateNavigatableId(
20
20
  "no-records",
21
21
  a.getIdPrefix(r.navigationStateRef)
22
22
  )
@@ -5,4 +5,5 @@
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("react"),c=require("@progress/kendo-react-data-tools"),o=require("../../GridClientWrapper.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const l=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,l.get?l:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=i(a),s=e=>{const t=r.useContext(o.GridContext);return r.createElement(c.TableSelection,{selectable:e.selectable,onRelease:t.selectionRelease,childRef:n=>{t.tableElementRef.current=n,t.headTableElementRef.current=n}},r.createElement("table",{ref:t.headTableElementRef,className:e.tableClassName},e.children))};exports.GridTable=s;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("@progress/kendo-react-data-tools"),o=require("../../GridClientWrapper.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=i(l),s=e=>{const t=r.useContext(o.GridContext);return r.createElement(c.TableSelection,{selectable:e.selectable,onRelease:t.selectionRelease,childRef:n=>{t.tableElementRef.current=n,t.headTableElementRef.current=n}},r.createElement("table",{ref:t.headTableElementRef,className:e.tableClassName},e.children))};exports.GridTable=s;
@@ -7,12 +7,12 @@
7
7
  */
8
8
  "use client";
9
9
  import * as l from "react";
10
- import { TableSelection as n } from "@progress/kendo-react-data-tools";
11
- import { GridContext as r } from "../../GridClientWrapper.mjs";
10
+ import { TableSelection as r } from "@progress/kendo-react-data-tools";
11
+ import { GridContext as n } from "../../GridClientWrapper.mjs";
12
12
  const o = (t) => {
13
- const e = l.useContext(r);
13
+ const e = l.useContext(n);
14
14
  return /* @__PURE__ */ l.createElement(
15
- n,
15
+ r,
16
16
  {
17
17
  selectable: t.selectable,
18
18
  onRelease: e.selectionRelease,
@@ -5,4 +5,5 @@
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 c=require("react"),l=require("../../GridClientWrapper.js"),a=require("@progress/kendo-react-common");function u(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const r=u(c),i=t=>{const n=r.useContext(l.GridContext),{children:e}=t;return r.createElement(r.Fragment,null,t.rowReorderable?r.createElement(a.DragAndDrop,null,r.cloneElement(e,{...e==null?void 0:e.props})):r.cloneElement(e,{...e==null?void 0:e.props,ref:n.tableBodyElementRef}))};exports.GridTableBody=i;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("../../GridClientWrapper.js"),a=require("@progress/kendo-react-common");function u(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const r=u(c),i=t=>{const n=r.useContext(l.GridContext),{children:e}=t;return r.createElement(r.Fragment,null,t.rowReorderable?r.createElement(a.DragAndDrop,null,r.cloneElement(e,{...e==null?void 0:e.props})):r.cloneElement(e,{...e==null?void 0:e.props,ref:n.tableBodyElementRef}))};exports.GridTableBody=i;
@@ -9,7 +9,7 @@
9
9
  import * as t from "react";
10
10
  import { GridContext as n } from "../../GridClientWrapper.mjs";
11
11
  import { DragAndDrop as l } from "@progress/kendo-react-common";
12
- const c = (r) => {
12
+ const p = (r) => {
13
13
  const o = t.useContext(n), { children: e } = r;
14
14
  return /* @__PURE__ */ t.createElement(t.Fragment, null, r.rowReorderable ? /* @__PURE__ */ t.createElement(l, null, t.cloneElement(e, { ...e == null ? void 0 : e.props })) : t.cloneElement(e, {
15
15
  ...e == null ? void 0 : e.props,
@@ -17,5 +17,5 @@ const c = (r) => {
17
17
  }));
18
18
  };
19
19
  export {
20
- c as GridTableBody
20
+ p as GridTableBody
21
21
  };
@@ -5,4 +5,5 @@
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("react"),c=require("../../GridClientWrapper.js"),o=require("@progress/kendo-react-data-tools");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,r.get?r:{enumerable:!0,get:()=>e[l]})}}return t.default=e,Object.freeze(t)}const n=i(a),s=e=>{const t=n.useContext(c.GridContext);return n.createElement(o.TableSelection,{selectable:e.selectable,onRelease:t.selectionRelease,childRef:l=>{t.tableElementRef.current=l}},n.createElement("table",{className:e.tableClassName,role:"presentation",style:e.tableStyle,ref:t.tableElementRef},e.children))};exports.GridTableScrollable=s;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),c=require("../../GridClientWrapper.js"),o=require("@progress/kendo-react-data-tools");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:()=>e[l]})}}return t.default=e,Object.freeze(t)}const r=i(n),s=e=>{const t=r.useContext(c.GridContext);return r.createElement(o.TableSelection,{selectable:e.selectable,onRelease:t.selectionRelease,childRef:l=>{t.tableElementRef.current=l}},r.createElement("table",{className:e.tableClassName,role:"presentation",style:e.tableStyle,ref:t.tableElementRef},e.children))};exports.GridTableScrollable=s;
@@ -7,12 +7,12 @@
7
7
  */
8
8
  "use client";
9
9
  import * as l from "react";
10
- import { GridContext as n } from "../../GridClientWrapper.mjs";
11
- import { TableSelection as r } from "@progress/kendo-react-data-tools";
12
- const s = (e) => {
13
- const t = l.useContext(n);
10
+ import { GridContext as r } from "../../GridClientWrapper.mjs";
11
+ import { TableSelection as n } from "@progress/kendo-react-data-tools";
12
+ const m = (e) => {
13
+ const t = l.useContext(r);
14
14
  return /* @__PURE__ */ l.createElement(
15
- r,
15
+ n,
16
16
  {
17
17
  selectable: e.selectable,
18
18
  onRelease: t.selectionRelease,
@@ -33,5 +33,5 @@ const s = (e) => {
33
33
  );
34
34
  };
35
35
  export {
36
- s as GridTableScrollable
36
+ m as GridTableScrollable
37
37
  };
@@ -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 s={before:"before",after:"after",forbidden:"forbidden"},u=(t,n)=>(t==null?void 0:t.parentElement)!==(n==null?void 0:n.parentElement);function r(t){const{clientTop:n,clientLeft:o}=D(t),{pageYOffset:f,pageXOffset:e}=b(t),{top:i,left:c}=t.getBoundingClientRect();return{top:i+f-n,left:c+e-o}}const D=t=>t==null?void 0:t.ownerDocument.documentElement,b=t=>t==null?void 0:t.ownerDocument.defaultView;exports.dropDirection=s;exports.getOffset=r;exports.isDifferentParent=u;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s={before:"before",after:"after",forbidden:"forbidden"},u=(t,n)=>(t==null?void 0:t.parentElement)!==(n==null?void 0:n.parentElement);function r(t){const{clientTop:n,clientLeft:o}=D(t),{pageYOffset:f,pageXOffset:e}=b(t),{top:i,left:c}=t.getBoundingClientRect();return{top:i+f-n,left:c+e-o}}const D=t=>t==null?void 0:t.ownerDocument.documentElement,b=t=>t==null?void 0:t.ownerDocument.defaultView;exports.dropDirection=s;exports.getOffset=r;exports.isDifferentParent=u;
@@ -5,7 +5,6 @@
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
  const p = {
10
9
  before: "before",
11
10
  after: "after",
@@ -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 E=require("@progress/kendo-react-data-tools"),T=E.TABLE_ROW_INDEX_ATTRIBUTE,_=E.TABLE_COL_INDEX_ATTRIBUTE,I=E.TABLE_PREVENT_SELECTION_ELEMENT,R=/^(?!.*\bChrome).*\bSafari/i;exports.GRID_COL_INDEX_ATTRIBUTE=_;exports.GRID_PREVENT_SELECTION_ELEMENT=I;exports.GRID_ROW_INDEX_ATTRIBUTE=T;exports.SAFARI_REGEX=R;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("@progress/kendo-react-data-tools"),T=E.TABLE_ROW_INDEX_ATTRIBUTE,_=E.TABLE_COL_INDEX_ATTRIBUTE,I=E.TABLE_PREVENT_SELECTION_ELEMENT,R=/^(?!.*\bChrome).*\bSafari/i;exports.GRID_COL_INDEX_ATTRIBUTE=_;exports.GRID_PREVENT_SELECTION_ELEMENT=I;exports.GRID_ROW_INDEX_ATTRIBUTE=T;exports.SAFARI_REGEX=R;
@@ -5,7 +5,6 @@
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 { TABLE_ROW_INDEX_ATTRIBUTE as E, TABLE_COL_INDEX_ATTRIBUTE as T, TABLE_PREVENT_SELECTION_ELEMENT as _ } from "@progress/kendo-react-data-tools";
10
9
  const R = E, N = T, A = _, L = /^(?!.*\bChrome).*\bSafari/i;
11
10
  export {
@@ -5,4 +5,5 @@
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 w=require("react"),e=require("@progress/kendo-svg-icons"),R=require("@progress/kendo-react-intl"),f=require("@progress/kendo-react-layout"),t=require("./enums.js");function M(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(r,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return r.default=n,Object.freeze(r)}const m=M(w),u={[t.GridContextMenuItemNames.create]:{name:"create",text:"Add",icon:"plus",svgIcon:e.plusIcon,data:{action:"AddCommand"}},[t.GridContextMenuItemNames.edit]:{name:"edit",text:"Edit",icon:"pencil",svgIcon:e.pencilIcon,data:{action:"EditCommand"}},[t.GridContextMenuItemNames.delete]:{name:"delete",text:"Delete",icon:"trash",svgIcon:e.trashIcon,data:{action:"DeleteCommand"}},[t.GridContextMenuItemNames.select]:{name:"select",text:"Select",icon:"table-body",svgIcon:e.tableBodyIcon,items:[{name:"selectRow",text:"Row",icon:"table-row-groups",svgIcon:e.tableRowGroupsIcon,data:{action:"SelectRowCommand"}},{name:"selectAllRows",text:"All rows",icon:"grid",svgIcon:e.gridIcon,data:{action:"SelectAllRowsCommand"}},{name:"clearSelection",text:"Clear selection",icon:"table-unmerge",svgIcon:e.tableUnmergeIcon,data:{action:"ClearSelectionCommand"}}]},[t.GridContextMenuItemNames.copySelection]:{name:"copySelection",text:"Copy selection",icon:"page-header-section",svgIcon:e.pageHeaderSectionIcon,data:{action:"CopySelectionCommand"},options:"withHeaders"},[t.GridContextMenuItemNames.copySelectionNoHeaders]:{name:"copySelectionNoHeaders",text:"Copy selection (No Headers)",icon:"file-txt",svgIcon:e.fileTxtIcon,data:{action:"CopySelectionCommand"}},[t.GridContextMenuItemNames.paste]:{name:"paste",text:"Paste (use CTRL/⌘ + V)",icon:"clipboard",svgIcon:e.clipboardIcon,data:{action:"PasteCommand"}},[t.GridContextMenuItemNames.reorderRow]:{name:"reorderRow",text:"Reorder row",icon:"caret-alt-expand",svgIcon:e.caretAltExpandIcon,items:[{name:"reorderRowUp",text:"Up",icon:"caret-alt-up",svgIcon:e.caretAltUpIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowDown",text:"Down",icon:"caret-alt-down",svgIcon:e.caretAltDownIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowTop",text:"Top",icon:"caret-alt-to-top",svgIcon:e.caretAltToTopIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowBottom",text:"Bottom",icon:"caret-alt-to-bottom",svgIcon:e.caretAltToBottomIcon,data:{action:"ReorderRowCommand"}}]},[t.GridContextMenuItemNames.exportPDF]:{name:"exportPDF",text:"Export to PDF",icon:"file-pdf",svgIcon:e.filePdfIcon,data:{action:"ExportPDFCommand"}},[t.GridContextMenuItemNames.exportExcel]:{name:"exportExcel",text:"Export to Excel",icon:"file-excel",svgIcon:e.fileExcelIcon,items:[{name:"exportToExcelAll",text:"All",data:{action:"ExportExcelCommand"}},{name:"exportToExcelSelection",text:"Selection",data:{action:"ExportExcelCommand"},options:"selection,withHeaders"},{name:"exportToExcelSelectionNoHeaders",text:"Selection (No Headers)",data:{action:"ExportExcelCommand"},options:"selection"}]},[t.GridContextMenuItemNames.separator]:{name:"separator",separator:!0},[t.GridContextMenuItemNames.sortAsc]:{name:"sortAsc",text:"Sort Ascending",icon:"sort-asc-small",svgIcon:e.sortAscSmallIcon,data:{action:"SortCommand"}},[t.GridContextMenuItemNames.sortDesc]:{name:"sortDesc",text:"Sort Descending",icon:"sort-desc-small",svgIcon:e.sortDescSmallIcon,data:{action:"SortCommand"}}},v=n=>{const{show:r,offset:c,dataItem:s,field:d,items:i,onClose:I,onSelect:x}=n,p=R.useLocalization(),C=m.useCallback(a=>{x.call(void 0,{event:a,dataItem:s,field:d})},[x,s,d]),l=m.useCallback(a=>{const o=a;return o.text&&o.name&&(o.text=p.toLanguageString(`contextMenu.${o.name}`,o.text||"")),o.items&&Array.isArray(o.items)&&(o.items=o.items.map(S=>l(S))),o},[p]),g=m.useMemo(()=>i&&i.map(a=>{const o=typeof a=="string"?u[a]:a;return l(o)}),[i,l]);return m.createElement(f.ContextMenu,{show:r,offset:c,items:g,onClose:I,onSelect:C})};exports.GridContextMenu=v;exports.contextMenuItemsMap=u;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),e=require("@progress/kendo-svg-icons"),R=require("@progress/kendo-react-intl"),f=require("@progress/kendo-react-layout"),t=require("./enums.js");function M(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(r,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return r.default=n,Object.freeze(r)}const m=M(w),I={[t.GridContextMenuItemNames.create]:{name:"create",text:"Add",icon:"plus",svgIcon:e.plusIcon,data:{action:"AddCommand"}},[t.GridContextMenuItemNames.edit]:{name:"edit",text:"Edit",icon:"pencil",svgIcon:e.pencilIcon,data:{action:"EditCommand"}},[t.GridContextMenuItemNames.delete]:{name:"delete",text:"Delete",icon:"trash",svgIcon:e.trashIcon,data:{action:"DeleteCommand"}},[t.GridContextMenuItemNames.select]:{name:"select",text:"Select",icon:"table-body",svgIcon:e.tableBodyIcon,items:[{name:"selectRow",text:"Row",icon:"table-row-groups",svgIcon:e.tableRowGroupsIcon,data:{action:"SelectRowCommand"}},{name:"selectAllRows",text:"All rows",icon:"grid",svgIcon:e.gridIcon,data:{action:"SelectAllRowsCommand"}},{name:"clearSelection",text:"Clear selection",icon:"table-unmerge",svgIcon:e.tableUnmergeIcon,data:{action:"ClearSelectionCommand"}}]},[t.GridContextMenuItemNames.copySelection]:{name:"copySelection",text:"Copy selection",icon:"page-header-section",svgIcon:e.pageHeaderSectionIcon,data:{action:"CopySelectionCommand"},options:"withHeaders"},[t.GridContextMenuItemNames.copySelectionNoHeaders]:{name:"copySelectionNoHeaders",text:"Copy selection (No Headers)",icon:"file-txt",svgIcon:e.fileTxtIcon,data:{action:"CopySelectionCommand"}},[t.GridContextMenuItemNames.paste]:{name:"paste",text:"Paste (use CTRL/⌘ + V)",icon:"clipboard",svgIcon:e.clipboardIcon,data:{action:"PasteCommand"}},[t.GridContextMenuItemNames.reorderRow]:{name:"reorderRow",text:"Reorder row",icon:"caret-alt-expand",svgIcon:e.caretAltExpandIcon,items:[{name:"reorderRowUp",text:"Up",icon:"caret-alt-up",svgIcon:e.caretAltUpIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowDown",text:"Down",icon:"caret-alt-down",svgIcon:e.caretAltDownIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowTop",text:"Top",icon:"caret-alt-to-top",svgIcon:e.caretAltToTopIcon,data:{action:"ReorderRowCommand"}},{name:"reorderRowBottom",text:"Bottom",icon:"caret-alt-to-bottom",svgIcon:e.caretAltToBottomIcon,data:{action:"ReorderRowCommand"}}]},[t.GridContextMenuItemNames.exportPDF]:{name:"exportPDF",text:"Export to PDF",icon:"file-pdf",svgIcon:e.filePdfIcon,data:{action:"ExportPDFCommand"}},[t.GridContextMenuItemNames.exportExcel]:{name:"exportExcel",text:"Export to Excel",icon:"file-excel",svgIcon:e.fileExcelIcon,items:[{name:"exportToExcelAll",text:"All",data:{action:"ExportExcelCommand"}},{name:"exportToExcelSelection",text:"Selection",data:{action:"ExportExcelCommand"},options:"selection,withHeaders"},{name:"exportToExcelSelectionNoHeaders",text:"Selection (No Headers)",data:{action:"ExportExcelCommand"},options:"selection"}]},[t.GridContextMenuItemNames.separator]:{name:"separator",separator:!0},[t.GridContextMenuItemNames.sortAsc]:{name:"sortAsc",text:"Sort Ascending",icon:"sort-asc-small",svgIcon:e.sortAscSmallIcon,data:{action:"SortCommand"}},[t.GridContextMenuItemNames.sortDesc]:{name:"sortDesc",text:"Sort Descending",icon:"sort-desc-small",svgIcon:e.sortDescSmallIcon,data:{action:"SortCommand"}}},v=n=>{const{show:r,offset:c,dataItem:s,field:d,items:i,onClose:u,onSelect:x}=n,p=R.useLocalization(),C=m.useCallback(a=>{x.call(void 0,{event:a,dataItem:s,field:d})},[x,s,d]),l=m.useCallback(a=>{const o=a;return o.text&&o.name&&(o.text=p.toLanguageString(`contextMenu.${o.name}`,o.text||"")),o.items&&Array.isArray(o.items)&&(o.items=o.items.map(S=>l(S))),o},[p]),g=m.useMemo(()=>i&&i.map(a=>{const o=typeof a=="string"?I[a]:a;return l(o)}),[i,l]);return m.createElement(f.ContextMenu,{show:r,offset:c,items:g,onClose:u,onSelect:C})};exports.GridContextMenu=v;exports.contextMenuItemsMap=I;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  "use client";
9
9
  import * as a from "react";
10
- import { plusIcon as w, pencilIcon as u, trashIcon as S, tableBodyIcon as R, tableRowGroupsIcon as f, gridIcon as v, tableUnmergeIcon as E, pageHeaderSectionIcon as A, fileTxtIcon as y, clipboardIcon as D, caretAltExpandIcon as b, caretAltUpIcon as T, caretAltDownIcon as H, caretAltToTopIcon as h, caretAltToBottomIcon as M, filePdfIcon as P, fileExcelIcon as N, sortAscSmallIcon as B, sortDescSmallIcon as F } from "@progress/kendo-svg-icons";
10
+ import { plusIcon as w, pencilIcon as S, trashIcon as u, tableBodyIcon as R, tableRowGroupsIcon as f, gridIcon as v, tableUnmergeIcon as E, pageHeaderSectionIcon as A, fileTxtIcon as y, clipboardIcon as D, caretAltExpandIcon as b, caretAltUpIcon as T, caretAltDownIcon as H, caretAltToTopIcon as h, caretAltToBottomIcon as M, filePdfIcon as P, fileExcelIcon as N, sortAscSmallIcon as B, sortDescSmallIcon as F } from "@progress/kendo-svg-icons";
11
11
  import { useLocalization as U } from "@progress/kendo-react-intl";
12
12
  import { ContextMenu as z } from "@progress/kendo-react-layout";
13
13
  import { GridContextMenuItemNames as e } from "./enums.mjs";
@@ -23,14 +23,14 @@ const G = {
23
23
  name: "edit",
24
24
  text: "Edit",
25
25
  icon: "pencil",
26
- svgIcon: u,
26
+ svgIcon: S,
27
27
  data: { action: "EditCommand" }
28
28
  },
29
29
  [e.delete]: {
30
30
  name: "delete",
31
31
  text: "Delete",
32
32
  icon: "trash",
33
- svgIcon: S,
33
+ svgIcon: u,
34
34
  data: { action: "DeleteCommand" }
35
35
  },
36
36
  [e.select]: {
@@ -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"});var r=(c=>(c.head="head",c.body="body",c))(r||{}),o=(c=>(c.create="create",c.edit="edit",c.delete="delete",c.select="select",c.copySelection="copySelection",c.copySelectionNoHeaders="copySelectionNoHeaders",c.paste="paste",c.reorderRow="reorderRow",c.exportPDF="exportPDF",c.exportExcel="exportExcel",c.separator="separator",c.sortAsc="sortAsc",c.sortDesc="sortDesc",c))(o||{});exports.GridContextMenuAnchorPart=r;exports.GridContextMenuItemNames=o;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var c=(r=>(r.head="head",r.body="body",r))(c||{}),o=(r=>(r.create="create",r.edit="edit",r.delete="delete",r.select="select",r.copySelection="copySelection",r.copySelectionNoHeaders="copySelectionNoHeaders",r.paste="paste",r.reorderRow="reorderRow",r.exportPDF="exportPDF",r.exportExcel="exportExcel",r.separator="separator",r.sortAsc="sortAsc",r.sortDesc="sortDesc",r))(o||{});exports.GridContextMenuAnchorPart=c;exports.GridContextMenuItemNames=o;
@@ -5,7 +5,6 @@
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
  var r = /* @__PURE__ */ ((c) => (c.head = "head", c.body = "body", c))(r || {}), o = /* @__PURE__ */ ((c) => (c.create = "create", c.edit = "edit", c.delete = "delete", c.select = "select", c.copySelection = "copySelection", c.copySelectionNoHeaders = "copySelectionNoHeaders", c.paste = "paste", c.reorderRow = "reorderRow", c.exportPDF = "exportPDF", c.exportExcel = "exportExcel", c.separator = "separator", c.sortAsc = "sortAsc", c.sortDesc = "sortDesc", c))(o || {});
10
9
  export {
11
10
  r as GridContextMenuAnchorPart,