@progress/kendo-react-grid 13.4.0-develop.5 → 14.0.0-develop.2

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 (89) hide show
  1. package/BaseCSVExport.d.ts +31 -0
  2. package/BaseCSVExport.js +8 -0
  3. package/BaseCSVExport.mjs +82 -0
  4. package/Grid.d.ts +33 -0
  5. package/GridClientWrapper.js +1 -1
  6. package/GridClientWrapper.mjs +313 -289
  7. package/GridComponent.js +1 -1
  8. package/GridComponent.mjs +247 -252
  9. package/GridCsvExportButton.d.ts +13 -0
  10. package/GridCsvExportButton.js +8 -0
  11. package/GridCsvExportButton.mjs +35 -0
  12. package/columnMenu/GridColumnMenuFilter.mjs +2 -2
  13. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
  14. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +4 -4
  15. package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
  16. package/constants/index.mjs +2 -2
  17. package/dist/cdn/js/kendo-react-grid.js +1 -1
  18. package/hooks/index.d.ts +8 -0
  19. package/hooks/useGridAIRequest.d.ts +150 -0
  20. package/hooks/useGridAIRequest.js +8 -0
  21. package/hooks/useGridAIRequest.mjs +93 -0
  22. package/index.d.mts +5 -2
  23. package/index.d.ts +5 -2
  24. package/index.js +1 -1
  25. package/index.mjs +71 -63
  26. package/interfaces/GridProps.d.ts +81 -0
  27. package/messages/index.d.ts +80 -0
  28. package/messages/index.js +2 -2
  29. package/messages/index.mjs +126 -94
  30. package/package-metadata.js +1 -1
  31. package/package-metadata.mjs +1 -1
  32. package/package.json +19 -19
  33. package/toolbar-tools/GridToolbarAIAssistant.d.ts +2 -34
  34. package/toolbar-tools/GridToolbarAIAssistant.js +2 -2
  35. package/toolbar-tools/GridToolbarAIAssistant.mjs +167 -164
  36. package/toolbar-tools/GridToolbarFilter.mjs +5 -5
  37. package/toolbar-tools/smartbox/SegmentedControl.d.ts +13 -0
  38. package/toolbar-tools/smartbox/SegmentedControl.js +8 -0
  39. package/toolbar-tools/smartbox/SegmentedControl.mjs +109 -0
  40. package/toolbar-tools/smartbox/SmartBox.d.ts +20 -0
  41. package/toolbar-tools/smartbox/SmartBox.js +8 -0
  42. package/toolbar-tools/smartbox/SmartBox.mjs +380 -0
  43. package/toolbar-tools/smartbox/defaultConfigs.d.ts +30 -0
  44. package/toolbar-tools/smartbox/defaultConfigs.js +8 -0
  45. package/toolbar-tools/smartbox/defaultConfigs.mjs +36 -0
  46. package/toolbar-tools/smartbox/hooks/index.d.ts +17 -0
  47. package/toolbar-tools/smartbox/hooks/useDebounce.d.ts +11 -0
  48. package/toolbar-tools/smartbox/hooks/useDebounce.js +9 -0
  49. package/toolbar-tools/smartbox/hooks/useDebounce.mjs +21 -0
  50. package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.d.ts +245 -0
  51. package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.js +9 -0
  52. package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.mjs +54 -0
  53. package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.d.ts +80 -0
  54. package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.js +9 -0
  55. package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.mjs +66 -0
  56. package/toolbar-tools/smartbox/hooks/useSmartBoxInput.d.ts +96 -0
  57. package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.d.ts +93 -0
  58. package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.js +9 -0
  59. package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.mjs +61 -0
  60. package/toolbar-tools/smartbox/hooks/useSmartBoxListData.d.ts +163 -0
  61. package/toolbar-tools/smartbox/hooks/useSmartBoxListData.js +9 -0
  62. package/toolbar-tools/smartbox/hooks/useSmartBoxListData.mjs +102 -0
  63. package/toolbar-tools/smartbox/hooks/useSmartBoxModes.d.ts +115 -0
  64. package/toolbar-tools/smartbox/hooks/useSmartBoxModes.js +9 -0
  65. package/toolbar-tools/smartbox/hooks/useSmartBoxModes.mjs +65 -0
  66. package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.d.ts +56 -0
  67. package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.js +9 -0
  68. package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.mjs +25 -0
  69. package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.d.ts +82 -0
  70. package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.js +9 -0
  71. package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.mjs +67 -0
  72. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.d.ts +70 -0
  73. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.js +9 -0
  74. package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.mjs +57 -0
  75. package/toolbar-tools/smartbox/index.d.ts +10 -0
  76. package/toolbar-tools/smartbox/interfaces/SearchTypes.d.ts +45 -0
  77. package/toolbar-tools/smartbox/interfaces/SegmentedControlTypes.d.ts +66 -0
  78. package/toolbar-tools/smartbox/interfaces/SmartBoxTypes.d.ts +461 -0
  79. package/toolbar-tools/smartbox/interfaces/index.d.ts +11 -0
  80. package/toolbar-tools/smartbox/interfaces/utilTypes.d.ts +25 -0
  81. package/toolbar-tools/smartbox/listItemRenders.d.ts +165 -0
  82. package/toolbar-tools/smartbox/listItemRenders.js +8 -0
  83. package/toolbar-tools/smartbox/listItemRenders.mjs +68 -0
  84. package/toolbar-tools/smartbox/utils.d.ts +14 -0
  85. package/toolbar-tools/smartbox/utils.js +8 -0
  86. package/toolbar-tools/smartbox/utils.mjs +14 -0
  87. package/utils/dataProcessing.d.ts +67 -0
  88. package/utils/dataProcessing.js +8 -0
  89. package/utils/dataProcessing.mjs +49 -0
@@ -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 { ButtonProps } from '@progress/kendo-react-buttons';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the properties of the KendoReact GridCsvExportButton component.
12
+ */
13
+ export declare const GridCsvExportButton: (props: ButtonProps) => React.JSX.Element;
@@ -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 l=require("react"),u=require("./utils/GridContext.js"),d=require("@progress/kendo-svg-icons"),g=require("@progress/kendo-react-common"),C=require("@progress/kendo-react-intl"),c=require("./messages/index.js"),f=require("@progress/kendo-react-buttons");function m(e){const n=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(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const i=m(l),v=e=>{const n=C.useLocalization(),t=i.useContext(u.GridContext),o=a=>{t.exportAsCsv(),e.onClick&&e.onClick.call(void 0,a)},s=g.classNames("k-grid-csv",e.className),r=n.toLanguageString(c.exportCSV,c.messages[c.exportCSV]);return i.createElement(f.Button,{title:r,type:"button",...e,icon:"file-csv",svgIcon:d.fileCsvIcon,className:s,onClick:o},e.children||r)};exports.GridCsvExportButton=v;
@@ -0,0 +1,35 @@
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 e from "react";
9
+ import { GridContext as a } from "./utils/GridContext.mjs";
10
+ import { fileCsvIcon as l } from "@progress/kendo-svg-icons";
11
+ import { classNames as C } from "@progress/kendo-react-common";
12
+ import { useLocalization as f } from "@progress/kendo-react-intl";
13
+ import { exportCSV as i, messages as u } from "./messages/index.mjs";
14
+ import { Button as v } from "@progress/kendo-react-buttons";
15
+ const N = (t) => {
16
+ const n = f(), c = e.useContext(a), r = (m) => {
17
+ c.exportAsCsv(), t.onClick && t.onClick.call(void 0, m);
18
+ }, s = C("k-grid-csv", t.className), o = n.toLanguageString(i, u[i]);
19
+ return /* @__PURE__ */ e.createElement(
20
+ v,
21
+ {
22
+ title: o,
23
+ type: "button",
24
+ ...t,
25
+ icon: "file-csv",
26
+ svgIcon: l,
27
+ className: s,
28
+ onClick: r
29
+ },
30
+ t.children || o
31
+ );
32
+ };
33
+ export {
34
+ N as GridCsvExportButton
35
+ };
@@ -12,7 +12,7 @@ import { GridColumnMenuItem as se } from "./GridColumnMenuItem.mjs";
12
12
  import { GridColumnMenuItemGroup as ce } from "./GridColumnMenuItemGroup.mjs";
13
13
  import { GridColumnMenuItemContent as ue } from "./GridColumnMenuItemContent.mjs";
14
14
  import { useLocalization as fe } from "@progress/kendo-react-intl";
15
- import { getFilterType as $, getDefaultOperator as de, IsUnaryFilter as v, operatorMap as I, booleanFilterValues as me, filterLogicList as ge, defaultHideSecondFilter as Ce } from "../filterCommon.mjs";
15
+ import { getFilterType as $, getDefaultOperator as de, IsUnaryFilter as v, operatorMap as I, defaultHideSecondFilter as me, filterLogicList as ge, booleanFilterValues as Ce } from "../filterCommon.mjs";
16
16
  import { adaptiveColumnMenuFilterTitle as j, messages as E, filterTitle as q, filterSubmitButton as J, filterClearButton as K } from "../messages/index.mjs";
17
17
  import { GridColumnMenuFilterUI as Fe } from "./GridColumnMenuFilterUI.mjs";
18
18
  import { Button as Q } from "@progress/kendo-react-buttons";
@@ -98,7 +98,7 @@ const k = (e) => e || { filters: [], logic: "and" }, x = (e, a) => k(a).filters.
98
98
  }, { column: c, filterUI: ee, hideSecondFilter: V, filterOperators: te } = e, u = fe();
99
99
  if (!c || !c.field)
100
100
  return /* @__PURE__ */ l.createElement("div", null);
101
- const C = $(c.filter), le = V !== void 0 ? V : Ce[C], d = s.filters, A = I(te[C], u), B = I(me, u), re = {
101
+ const C = $(c.filter), le = V !== void 0 ? V : me[C], d = s.filters, A = I(te[C], u), B = I(Ce, u), re = {
102
102
  field: c.field,
103
103
  value: d[0].value,
104
104
  operator: d[0].operator,
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("@progress/kendo-react-layout"),m=require("@progress/kendo-react-common"),d=require("../../utils/GridContext.js"),v=require("@progress/kendo-react-buttons"),h=require("@progress/kendo-svg-icons"),C=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),k=require("@progress/kendo-react-intl"),i=require("../../messages/index.js"),f=n=>{const a=e.useContext(d.GridContext),{actionSheetRef:c,firstViewRef:s,secondViewRef:r}=e.useContext(C.GridColumnMenuAdaptiveContext),o=m.useAdaptiveModeContext(),l=k.useLocalization(),u={animation:!0,navigatable:!1,navigatableElements:[],expand:n.computedShow,animationStyles:o&&a.adaptiveColumnMenuRef<=o.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:o&&a.adaptiveColumnMenuRef<=o.small?"fullscreen":void 0};return e.createElement(t.ActionSheet,{...u,ref:c,style:{"--kendo-actionsheet-view-current":1},onClose:()=>{n.closeMenu()}},e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:s,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(t.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},a.adaptiveTitle||l.toLanguageString(i.columnMenu,i.messages[i.columnMenu]))),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(v.Button,{svgIcon:h.xIcon,onClick:n.closeMenu})))),e.createElement(t.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},n.children))),e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:r,style:{transitionDuration:"500ms",transitionProperty:"transform"}}))};exports.GridAdaptiveColumnMenu=f;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("@progress/kendo-react-layout"),m=require("@progress/kendo-react-common"),d=require("../../utils/GridContext.js"),v=require("@progress/kendo-react-buttons"),h=require("@progress/kendo-svg-icons"),C=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),f=require("@progress/kendo-react-intl"),i=require("../../messages/index.js"),k=n=>{const a=e.useContext(d.GridContext),{actionSheetRef:c,firstViewRef:s,secondViewRef:r}=e.useContext(C.GridColumnMenuAdaptiveContext),o=m.useAdaptiveModeContext(),l=f.useLocalization(),u={animation:!0,navigatable:!1,navigatableElements:[],expand:n.computedShow,animationStyles:o&&a.adaptiveColumnMenuRef<=o.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:o&&a.adaptiveColumnMenuRef<=o.small?"fullscreen":void 0};return e.createElement(t.ActionSheet,{...u,ref:c,style:{"--kendo-actionsheet-view-current":1},onClose:()=>{n.closeMenu()}},e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:s,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(t.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},a.adaptiveTitle||l.toLanguageString(i.columnMenu,i.messages[i.columnMenu]))),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(v.Button,{svgIcon:h.xIcon,onClick:n.closeMenu,fillMode:"flat"})))),e.createElement(t.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},n.children))),e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:r,style:{transitionDuration:"500ms",transitionProperty:"transform"}}))};exports.GridAdaptiveColumnMenu=k;
@@ -16,7 +16,7 @@ import { GridColumnMenuAdaptiveContext as E } from "../adaptiveContext/GridColum
16
16
  import { useLocalization as g } from "@progress/kendo-react-intl";
17
17
  import { columnMenu as i, messages as k } from "../../messages/index.mjs";
18
18
  const G = (t) => {
19
- const o = e.useContext(p), { actionSheetRef: r, firstViewRef: m, secondViewRef: s } = e.useContext(E), n = v(), l = g(), c = {
19
+ const o = e.useContext(p), { actionSheetRef: r, firstViewRef: l, secondViewRef: m } = e.useContext(E), n = v(), s = g(), c = {
20
20
  animation: !0,
21
21
  navigatable: !1,
22
22
  navigatableElements: [],
@@ -39,20 +39,20 @@ const G = (t) => {
39
39
  a,
40
40
  {
41
41
  className: "k-actionsheet-view-animated",
42
- ref: m,
42
+ ref: l,
43
43
  style: {
44
44
  transitionDuration: "500ms",
45
45
  transitionProperty: "transform"
46
46
  }
47
47
  },
48
- /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-titlebar-group" }, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ e.createElement("div", { className: "k-text-center" }, o.adaptiveTitle || l.toLanguageString(i, k[i]))), /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ e.createElement(h, { svgIcon: C, onClick: t.closeMenu })))),
48
+ /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-titlebar-group" }, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ e.createElement("div", { className: "k-text-center" }, o.adaptiveTitle || s.toLanguageString(i, k[i]))), /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ e.createElement(h, { svgIcon: C, onClick: t.closeMenu, fillMode: "flat" })))),
49
49
  /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement("div", { className: "k-column-menu k-column-menu-lg" }, t.children))
50
50
  ),
51
51
  /* @__PURE__ */ e.createElement(
52
52
  a,
53
53
  {
54
54
  className: "k-actionsheet-view-animated",
55
- ref: s,
55
+ ref: m,
56
56
  style: {
57
57
  transitionDuration: "500ms",
58
58
  transitionProperty: "transform"
@@ -7,7 +7,7 @@
7
7
  */
8
8
  "use client";
9
9
  import * as t from "react";
10
- import { tableKeyboardNavigationTools as a, KEYBOARD_NAV_DATA_ID as i } 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 "../../utils/GridContext.mjs";
13
13
  const m = (s) => {
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { TABLE_COL_INDEX_ATTRIBUTE as E, TABLE_ROW_INDEX_ATTRIBUTE as T, TABLE_PREVENT_SELECTION_ELEMENT as _ } from "@progress/kendo-react-data-tools";
9
- const R = T, N = E, L = _;
8
+ import { TABLE_COL_INDEX_ATTRIBUTE as E, TABLE_PREVENT_SELECTION_ELEMENT as T, TABLE_ROW_INDEX_ATTRIBUTE as _ } from "@progress/kendo-react-data-tools";
9
+ const R = _, N = E, L = T;
10
10
  export {
11
11
  N as GRID_COL_INDEX_ATTRIBUTE,
12
12
  L as GRID_PREVENT_SELECTION_ELEMENT,