@progress/kendo-react-grid 14.2.1-develop.3 → 14.2.1

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 (58) hide show
  1. package/GridState.d.ts +1 -1
  2. package/GridState.js +1 -1
  3. package/GridState.mjs +41 -41
  4. package/cells/rowreordercell/GridRowReorderCell.d.ts +1 -1
  5. package/cells/rowreordercell/GridRowReorderCell.js +1 -1
  6. package/cells/rowreordercell/GridRowReorderCell.mjs +6 -6
  7. package/cells/rowreordercell/GridRowReorderCellServer.d.ts +1 -1
  8. package/cells/rowreordercell/GridRowReorderCellServer.js +1 -1
  9. package/cells/rowreordercell/GridRowReorderCellServer.mjs +3 -3
  10. package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +1 -1
  11. package/columnMenu/adaptiveContent/GridActionSheetFooter.js +1 -1
  12. package/columnMenu/adaptiveContent/GridActionSheetFooter.mjs +3 -3
  13. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +1 -1
  14. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.js +1 -1
  15. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +1 -1
  16. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +1 -1
  17. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.js +1 -1
  18. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +1 -1
  19. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +1 -1
  20. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
  21. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +7 -7
  22. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +1 -1
  23. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.js +1 -1
  24. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +3 -3
  25. package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +1 -1
  26. package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.js +1 -1
  27. package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.mjs +6 -6
  28. package/components/GridDraggableRowsContainer.d.ts +1 -1
  29. package/components/GridDraggableRowsContainer.js +1 -1
  30. package/components/GridDraggableRowsContainer.mjs +20 -20
  31. package/components/GridEditDialog.d.ts +1 -1
  32. package/components/GridEditDialog.js +1 -1
  33. package/components/GridEditDialog.mjs +7 -7
  34. package/components/icons/reorder-row-svg.d.ts +1 -1
  35. package/components/icons/reorder-row-svg.js +1 -1
  36. package/components/icons/reorder-row-svg.mjs +3 -3
  37. package/dist/cdn/js/kendo-react-grid.js +1 -1
  38. package/package-metadata.js +1 -1
  39. package/package-metadata.mjs +1 -1
  40. package/package.json +17 -17
  41. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +1 -1
  42. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.js +1 -1
  43. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +7 -7
  44. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +1 -1
  45. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.js +1 -1
  46. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +4 -4
  47. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +1 -1
  48. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.js +1 -1
  49. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.mjs +3 -3
  50. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +1 -1
  51. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.js +1 -1
  52. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.mjs +5 -5
  53. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +1 -1
  54. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.js +1 -1
  55. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.mjs +6 -6
  56. package/utils/_serverModule.d.ts +1 -1
  57. package/utils/_serverModule.js +1 -1
  58. package/utils/_serverModule.mjs +1 -1
package/GridState.d.ts CHANGED
@@ -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 { default as React } from 'react';
9
8
  import { GridProps } from './interfaces/GridProps.js';
9
+ import * as React from 'react';
10
10
  /** @hidden */
11
11
  export declare const useGridState: () => [GridState, any, GridProps];
12
12
  /** @hidden */
package/GridState.js CHANGED
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),L=g.createContext([{},()=>{},{}]),nt=()=>g.useContext(L),it=e=>{var f,k,m,G,P,H,D,b,y,F,T,j,q,M,O,R,w,z,A,B,I,J,K;const{children:N,onEditChange:u,onFilterChange:i,onSortChange:d,onSearchChange:o,onPageChange:h,onGroupChange:c,onDataStateChange:r,onSelectionChange:S,onDetailExpandChange:s,onGroupExpandChange:C,onHeaderSelectionChange:x,onColumnsStateChange:E}=e,[n,l]=g.useState({edit:(f=e.defaultEdit)!=null?f:e.edit,filter:(k=e.defaultFilter)!=null?k:e.filter,highlight:e.highlight,select:(m=e.defaultSelect)!=null?m:e.select,search:(G=e.defaultSearch)!=null?G:e.search,sort:(P=e.defaultSort)!=null?P:e.sort,take:(H=e.defaultTake)!=null?H:e.take,skip:(D=e.defaultSkip)!=null?D:e.skip,group:(b=e.defaultGroup)!=null?b:e.group,detailExpand:(y=e.defaultDetailExpand)!=null?y:e.detailExpand,groupExpand:(F=e.defaultGroupExpand)!=null?F:e.groupExpand,columnsState:(T=e.defaultColumnsState)!=null?T:e.columnsState}),Q={edit:(j=e.edit)!=null?j:n.edit,filter:(q=e.filter)!=null?q:n.filter,highlight:(M=e.highlight)!=null?M:n.highlight,search:(O=e.search)!=null?O:n.search,sort:(R=e.sort)!=null?R:n.sort,take:(w=e.take)!=null?w:n.take,skip:(z=e.skip)!=null?z:n.skip,group:(A=e.group)!=null?A:n.group,select:(B=e.select)!=null?B:n.select,detailExpand:(I=e.detailExpand)!=null?I:n.detailExpand,groupExpand:(J=e.groupExpand)!=null?J:n.groupExpand,columnsState:(K=e.columnsState)!=null?K:n.columnsState},U=t=>{},V=t=>{l(a=>({...a,edit:t.edit})),u==null||u(t)},W=t=>{l(a=>({...a,filter:t.filter})),i==null||i(t)},X=t=>{l(a=>({...a,highlight:t.highlight})),e.onHighlightChange&&e.onHighlightChange(t)},Y=t=>{l(a=>({...a,search:t.search,skip:0})),o==null||o(t)},Z=t=>{l(a=>({...a,sort:t.sort})),d==null||d(t)},_=t=>{l(a=>({...a,...t.page})),h==null||h(t)},$=t=>{l(a=>({...a,group:t.group})),c==null||c(t)},v=t=>{l(a=>({...a,...t.dataState})),r==null||r(t)},p=t=>{l(a=>({...a,select:t.select})),S==null||S(t)},tt=t=>{l(a=>({...a,select:t.select})),x==null||x(t)},et=t=>{l(a=>({...a,detailExpand:t.detailExpand})),s==null||s(t)},at=t=>{l(a=>({...a,groupExpand:t.groupExpand})),C==null||C(t)},lt=t=>{l(a=>({...a,columnsState:t.columnsState})),E==null||E(t)};return g.createElement(L.Provider,{value:[Q,U,{onEditChange:V,onFilterChange:i&&W,onSearchChange:Y,onHighlightChange:X,onSortChange:d&&Z,onPageChange:h&&_,onGroupChange:c&&$,onDataStateChange:v,onSelectionChange:p,onHeaderSelectionChange:tt,onDetailExpandChange:et,onGroupExpandChange:at,onColumnsStateChange:lt}]},N)};exports.GridClientStateProvider=it;exports.useGridState=nt;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const lt=require("react");function it(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const d=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(c,i,d.get?d:{enumerable:!0,get:()=>t[i]})}}return c.default=t,Object.freeze(c)}const o=it(lt),K=o.createContext([{},()=>{},{}]),dt=()=>o.useContext(K),ct=t=>{var m,k,G,b,P,D,O,j,y,H,T,_,F,M,R,q,w,z,N,A,B,I,J;const{children:c,onEditChange:i,onFilterChange:d,onSortChange:h,onSearchChange:r,onPageChange:g,onGroupChange:u,onDataStateChange:s,onSelectionChange:S,onDetailExpandChange:f,onGroupExpandChange:C,onHeaderSelectionChange:x,onColumnsStateChange:E}=t,[l,n]=o.useState({edit:(m=t.defaultEdit)!=null?m:t.edit,filter:(k=t.defaultFilter)!=null?k:t.filter,highlight:t.highlight,select:(G=t.defaultSelect)!=null?G:t.select,search:(b=t.defaultSearch)!=null?b:t.search,sort:(P=t.defaultSort)!=null?P:t.sort,take:(D=t.defaultTake)!=null?D:t.take,skip:(O=t.defaultSkip)!=null?O:t.skip,group:(j=t.defaultGroup)!=null?j:t.group,detailExpand:(y=t.defaultDetailExpand)!=null?y:t.detailExpand,groupExpand:(H=t.defaultGroupExpand)!=null?H:t.groupExpand,columnsState:(T=t.defaultColumnsState)!=null?T:t.columnsState}),L={edit:(_=t.edit)!=null?_:l.edit,filter:(F=t.filter)!=null?F:l.filter,highlight:(M=t.highlight)!=null?M:l.highlight,search:(R=t.search)!=null?R:l.search,sort:(q=t.sort)!=null?q:l.sort,take:(w=t.take)!=null?w:l.take,skip:(z=t.skip)!=null?z:l.skip,group:(N=t.group)!=null?N:l.group,select:(A=t.select)!=null?A:l.select,detailExpand:(B=t.detailExpand)!=null?B:l.detailExpand,groupExpand:(I=t.groupExpand)!=null?I:l.groupExpand,columnsState:(J=t.columnsState)!=null?J:l.columnsState},Q=e=>{},U=e=>{n(a=>({...a,edit:e.edit})),i==null||i(e)},V=e=>{n(a=>({...a,filter:e.filter})),d==null||d(e)},W=e=>{n(a=>({...a,highlight:e.highlight})),t.onHighlightChange&&t.onHighlightChange(e)},X=e=>{n(a=>({...a,search:e.search,skip:0})),r==null||r(e)},Y=e=>{n(a=>({...a,sort:e.sort})),h==null||h(e)},Z=e=>{n(a=>({...a,...e.page})),g==null||g(e)},$=e=>{n(a=>({...a,group:e.group})),u==null||u(e)},v=e=>{n(a=>({...a,...e.dataState})),s==null||s(e)},p=e=>{n(a=>({...a,select:e.select})),S==null||S(e)},tt=e=>{n(a=>({...a,select:e.select})),x==null||x(e)},et=e=>{n(a=>({...a,detailExpand:e.detailExpand})),f==null||f(e)},at=e=>{n(a=>({...a,groupExpand:e.groupExpand})),C==null||C(e)},nt=e=>{n(a=>({...a,columnsState:e.columnsState})),E==null||E(e)};return o.createElement(K.Provider,{value:[L,Q,{onEditChange:U,onFilterChange:d&&V,onSearchChange:X,onHighlightChange:W,onSortChange:h&&Y,onPageChange:g&&Z,onGroupChange:u&&$,onDataStateChange:v,onSelectionChange:p,onHeaderSelectionChange:tt,onDetailExpandChange:et,onGroupExpandChange:at,onColumnsStateChange:nt}]},c)};exports.GridClientStateProvider=ct;exports.useGridState=dt;
package/GridState.mjs CHANGED
@@ -6,12 +6,12 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import g from "react";
10
- const M = g.createContext([{}, () => {
11
- }, {}]), ht = () => g.useContext(M), it = (e) => {
12
- var E, k, m, G, H, D, P, F, _, R, T, b, j, q, w, y, z, A, B, I, J, K, L;
9
+ import * as g from "react";
10
+ const N = g.createContext([{}, () => {
11
+ }, {}]), nt = () => g.useContext(N), ht = (e) => {
12
+ var f, k, m, G, H, D, P, F, R, T, b, j, q, w, y, z, A, B, I, J, K, L, M;
13
13
  const {
14
- children: N,
14
+ children: O,
15
15
  onEditChange: u,
16
16
  onFilterChange: h,
17
17
  onSortChange: i,
@@ -23,9 +23,9 @@ const M = g.createContext([{}, () => {
23
23
  onDetailExpandChange: r,
24
24
  onGroupExpandChange: x,
25
25
  onHeaderSelectionChange: C,
26
- onColumnsStateChange: f
26
+ onColumnsStateChange: E
27
27
  } = e, [n, l] = g.useState({
28
- edit: (E = e.defaultEdit) != null ? E : e.edit,
28
+ edit: (f = e.defaultEdit) != null ? f : e.edit,
29
29
  filter: (k = e.defaultFilter) != null ? k : e.filter,
30
30
  highlight: e.highlight,
31
31
  select: (m = e.defaultSelect) != null ? m : e.select,
@@ -34,34 +34,34 @@ const M = g.createContext([{}, () => {
34
34
  take: (D = e.defaultTake) != null ? D : e.take,
35
35
  skip: (P = e.defaultSkip) != null ? P : e.skip,
36
36
  group: (F = e.defaultGroup) != null ? F : e.group,
37
- detailExpand: (_ = e.defaultDetailExpand) != null ? _ : e.detailExpand,
38
- groupExpand: (R = e.defaultGroupExpand) != null ? R : e.groupExpand,
39
- columnsState: (T = e.defaultColumnsState) != null ? T : e.columnsState
40
- }), O = {
41
- edit: (b = e.edit) != null ? b : n.edit,
42
- filter: (j = e.filter) != null ? j : n.filter,
43
- highlight: (q = e.highlight) != null ? q : n.highlight,
44
- search: (w = e.search) != null ? w : n.search,
45
- sort: (y = e.sort) != null ? y : n.sort,
46
- take: (z = e.take) != null ? z : n.take,
47
- skip: (A = e.skip) != null ? A : n.skip,
48
- group: (B = e.group) != null ? B : n.group,
49
- select: (I = e.select) != null ? I : n.select,
50
- detailExpand: (J = e.detailExpand) != null ? J : n.detailExpand,
51
- groupExpand: (K = e.groupExpand) != null ? K : n.groupExpand,
52
- columnsState: (L = e.columnsState) != null ? L : n.columnsState
53
- }, Q = (t) => {
37
+ detailExpand: (R = e.defaultDetailExpand) != null ? R : e.detailExpand,
38
+ groupExpand: (T = e.defaultGroupExpand) != null ? T : e.groupExpand,
39
+ columnsState: (b = e.defaultColumnsState) != null ? b : e.columnsState
40
+ }), Q = {
41
+ edit: (j = e.edit) != null ? j : n.edit,
42
+ filter: (q = e.filter) != null ? q : n.filter,
43
+ highlight: (w = e.highlight) != null ? w : n.highlight,
44
+ search: (y = e.search) != null ? y : n.search,
45
+ sort: (z = e.sort) != null ? z : n.sort,
46
+ take: (A = e.take) != null ? A : n.take,
47
+ skip: (B = e.skip) != null ? B : n.skip,
48
+ group: (I = e.group) != null ? I : n.group,
49
+ select: (J = e.select) != null ? J : n.select,
50
+ detailExpand: (K = e.detailExpand) != null ? K : n.detailExpand,
51
+ groupExpand: (L = e.groupExpand) != null ? L : n.groupExpand,
52
+ columnsState: (M = e.columnsState) != null ? M : n.columnsState
54
53
  }, U = (t) => {
55
- l((a) => ({ ...a, edit: t.edit })), u == null || u(t);
56
54
  }, V = (t) => {
57
- l((a) => ({ ...a, filter: t.filter })), h == null || h(t);
55
+ l((a) => ({ ...a, edit: t.edit })), u == null || u(t);
58
56
  }, W = (t) => {
59
- l((a) => ({ ...a, highlight: t.highlight })), e.onHighlightChange && e.onHighlightChange(t);
57
+ l((a) => ({ ...a, filter: t.filter })), h == null || h(t);
60
58
  }, X = (t) => {
61
- l((a) => ({ ...a, search: t.search, skip: 0 })), o == null || o(t);
59
+ l((a) => ({ ...a, highlight: t.highlight })), e.onHighlightChange && e.onHighlightChange(t);
62
60
  }, Y = (t) => {
63
- l((a) => ({ ...a, sort: t.sort })), i == null || i(t);
61
+ l((a) => ({ ...a, search: t.search, skip: 0 })), o == null || o(t);
64
62
  }, Z = (t) => {
63
+ l((a) => ({ ...a, sort: t.sort })), i == null || i(t);
64
+ }, _ = (t) => {
65
65
  l((a) => ({ ...a, ...t.page })), d == null || d(t);
66
66
  }, $ = (t) => {
67
67
  l((a) => ({ ...a, group: t.group })), c == null || c(t);
@@ -76,21 +76,21 @@ const M = g.createContext([{}, () => {
76
76
  }, at = (t) => {
77
77
  l((a) => ({ ...a, groupExpand: t.groupExpand })), x == null || x(t);
78
78
  }, lt = (t) => {
79
- l((a) => ({ ...a, columnsState: t.columnsState })), f == null || f(t);
79
+ l((a) => ({ ...a, columnsState: t.columnsState })), E == null || E(t);
80
80
  };
81
81
  return /* @__PURE__ */ g.createElement(
82
- M.Provider,
82
+ N.Provider,
83
83
  {
84
84
  value: [
85
- O,
86
85
  Q,
86
+ U,
87
87
  {
88
- onEditChange: U,
89
- onFilterChange: h && V,
90
- onSearchChange: X,
91
- onHighlightChange: W,
92
- onSortChange: i && Y,
93
- onPageChange: d && Z,
88
+ onEditChange: V,
89
+ onFilterChange: h && W,
90
+ onSearchChange: Y,
91
+ onHighlightChange: X,
92
+ onSortChange: i && Z,
93
+ onPageChange: d && _,
94
94
  onGroupChange: c && $,
95
95
  onDataStateChange: v,
96
96
  onSelectionChange: p,
@@ -101,10 +101,10 @@ const M = g.createContext([{}, () => {
101
101
  }
102
102
  ]
103
103
  },
104
- N
104
+ O
105
105
  );
106
106
  };
107
107
  export {
108
- it as GridClientStateProvider,
109
- ht as useGridState
108
+ ht as GridClientStateProvider,
109
+ nt as useGridState
110
110
  };
@@ -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 { default as React } from 'react';
9
8
  import { GridCellProps } from '../../interfaces/GridCellProps.js';
9
+ import * as React from 'react';
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),n=require("../../components/icons/reorder-row-svg.js"),s=require("./utils.js"),c=require("./useRowReorderCellClientTdProps.js"),d=o=>{const{cellProps:e}=o,{tdProps:t}=s.getRowReorderCellTdProps(e),l=c.useRowReorderCellClientTdProps(e);return r.createElement("td",{...t,...l,style:{touchAction:"none"}},r.createElement(n.ReorderRowIcon,null))};exports.GridRowReorderCell=d;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("../../components/icons/reorder-row-svg.js"),s=require("./utils.js"),u=require("./useRowReorderCellClientTdProps.js");function d(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=d(l),i=e=>{const{cellProps:t}=e,{tdProps:r}=s.getRowReorderCellTdProps(t),o=u.useRowReorderCellClientTdProps(t);return n.createElement("td",{...r,...o,style:{touchAction:"none"}},n.createElement(c.ReorderRowIcon,null))};exports.GridRowReorderCell=i;
@@ -6,14 +6,14 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import o from "react";
9
+ import * as e from "react";
10
10
  import { ReorderRowIcon as n } from "../../components/icons/reorder-row-svg.mjs";
11
11
  import { getRowReorderCellTdProps as c } from "./utils.mjs";
12
- import { useRowReorderCellClientTdProps as d } from "./useRowReorderCellClientTdProps.mjs";
13
- const i = (r) => {
14
- const { cellProps: e } = r, { tdProps: t } = c(e), l = d(e);
15
- return /* @__PURE__ */ o.createElement("td", { ...t, ...l, style: { touchAction: "none" } }, /* @__PURE__ */ o.createElement(n, null));
12
+ import { useRowReorderCellClientTdProps as s } from "./useRowReorderCellClientTdProps.mjs";
13
+ const R = (r) => {
14
+ const { cellProps: o } = r, { tdProps: t } = c(o), l = s(o);
15
+ return /* @__PURE__ */ e.createElement("td", { ...t, ...l, style: { touchAction: "none" } }, /* @__PURE__ */ e.createElement(n, null));
16
16
  };
17
17
  export {
18
- i as GridRowReorderCell
18
+ R as GridRowReorderCell
19
19
  };
@@ -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 { default as React } from 'react';
9
8
  import { GridCellProps } from '../../interfaces/GridCellProps.js';
9
+ import * as React from 'react';
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -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 e=require("react"),l=require("../../components/icons/reorder-row-svg.js"),n=require("./GridRowReorderCellServerContainer.js"),c=require("./utils.js"),d=o=>{const{cellProps:r}=o,{tdProps:t}=c.getRowReorderCellTdProps(r);return e.createElement(n.GridRowReorderCellServerContainer,{cellProps:r},e.createElement("td",{...t,style:{touchAction:"none"}},e.createElement(l.ReorderRowIcon,null)))};exports.GridRowReorderCellServer=d;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("../../components/icons/reorder-row-svg.js"),i=require("./GridRowReorderCellServerContainer.js"),d=require("./utils.js");function s(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=s(c),u=e=>{const{cellProps:r}=e,{tdProps:t}=d.getRowReorderCellTdProps(r);return o.createElement(i.GridRowReorderCellServerContainer,{cellProps:r},o.createElement("td",{...t,style:{touchAction:"none"}},o.createElement(l.ReorderRowIcon,null)))};exports.GridRowReorderCellServer=u;
@@ -5,14 +5,14 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import e from "react";
8
+ import * as e from "react";
9
9
  import { ReorderRowIcon as l } from "../../components/icons/reorder-row-svg.mjs";
10
10
  import { GridRowReorderCellServerContainer as n } from "./GridRowReorderCellServerContainer.mjs";
11
11
  import { getRowReorderCellTdProps as c } from "./utils.mjs";
12
- const p = (o) => {
12
+ const i = (o) => {
13
13
  const { cellProps: r } = o, { tdProps: t } = c(r);
14
14
  return /* @__PURE__ */ e.createElement(n, { cellProps: r }, /* @__PURE__ */ e.createElement("td", { ...t, style: { touchAction: "none" } }, /* @__PURE__ */ e.createElement(l, null)));
15
15
  };
16
16
  export {
17
- p as GridRowReorderCellServer
17
+ i as GridRowReorderCellServer
18
18
  };
@@ -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 { default as React } from 'react';
9
8
  import { SVGIcon } from '@progress/kendo-svg-icons';
9
+ import * as React from 'react';
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),n=require("@progress/kendo-react-buttons"),o=e=>t.createElement("form",{onSubmit:e.onApply,onReset:e.onReset},t.createElement("div",{className:"k-actions k-actions-stretched"},t.createElement(n.Button,{svgIcon:e.resetIcon,size:"large",type:"reset"},e.resetMessage),t.createElement(n.Button,{disabled:e.submitDisabled,svgIcon:e.submitIcon,type:"submit",size:"large",themeColor:"primary"},e.submitMessage)));exports.GridActionSheetFooterContent=o;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),c=require("@progress/kendo-react-buttons");function s(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=s(a),i=e=>n.createElement("form",{onSubmit:e.onApply,onReset:e.onReset},n.createElement("div",{className:"k-actions k-actions-stretched"},n.createElement(c.Button,{svgIcon:e.resetIcon,size:"large",type:"reset"},e.resetMessage),n.createElement(c.Button,{disabled:e.submitDisabled,svgIcon:e.submitIcon,type:"submit",size:"large",themeColor:"primary"},e.submitMessage)));exports.GridActionSheetFooterContent=i;
@@ -6,9 +6,9 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import t from "react";
9
+ import * as t from "react";
10
10
  import { Button as n } from "@progress/kendo-react-buttons";
11
- const a = (e) => /* @__PURE__ */ t.createElement("form", { onSubmit: e.onApply, onReset: e.onReset }, /* @__PURE__ */ t.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ t.createElement(n, { svgIcon: e.resetIcon, size: "large", type: "reset" }, e.resetMessage), /* @__PURE__ */ t.createElement(
11
+ const o = (e) => /* @__PURE__ */ t.createElement("form", { onSubmit: e.onApply, onReset: e.onReset }, /* @__PURE__ */ t.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ t.createElement(n, { svgIcon: e.resetIcon, size: "large", type: "reset" }, e.resetMessage), /* @__PURE__ */ t.createElement(
12
12
  n,
13
13
  {
14
14
  disabled: e.submitDisabled,
@@ -20,5 +20,5 @@ const a = (e) => /* @__PURE__ */ t.createElement("form", { onSubmit: e.onApply,
20
20
  e.submitMessage
21
21
  )));
22
22
  export {
23
- a as GridActionSheetFooterContent
23
+ o as GridActionSheetFooterContent
24
24
  };
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as React } from 'react';
8
+ import * as React from 'react';
9
9
  /**
10
10
  * @hidden
11
11
  */
@@ -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"),f=require("react-dom"),t=require("../../messages/index.js"),S=require("../../utils/GridContext.js"),i=require("@progress/kendo-react-layout"),s=require("@progress/kendo-react-buttons"),o=require("@progress/kendo-svg-icons"),v=require("@progress/kendo-react-intl"),u=require("@progress/kendo-react-inputs"),b=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),E=require("./GridActionSheetFooter.js"),x=n=>{const c=e.useContext(S.GridContext),l=v.useLocalization(),{actionSheetRef:r,secondViewRef:m}=e.useContext(b.GridColumnMenuAdaptiveContext),d=c.dir==="rtl"?o.chevronRightIcon:o.chevronLeftIcon,h=l.toLanguageString(t.adaptiveColumnMenuCheckboxFilterTitle,t.messages[t.adaptiveColumnMenuCheckboxFilterTitle]);e.useEffect(()=>{c!=null&&c.mobileMode&&r.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const k=()=>{n.onBackView&&n.onBackView(),c!=null&&c.mobileMode&&r.current.element.style.setProperty("--kendo-actionsheet-view-current",1)};return e.createElement(e.Fragment,null,f.createPortal(e.createElement(e.Fragment,null,e.createElement(i.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",onClick:k,svgIcon:d,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},h)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",svgIcon:o.xIcon,onClick:n.handleClose,fillMode:"flat"})))),e.createElement(i.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},n.searchBox,e.createElement("ul",{className:"k-reset k-multicheck-wrap"},e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(u.Checkbox,{size:c.mobileMode?"large":"medium",label:l.toLanguageString(t.filterCheckAll,t.messages[t.filterCheckAll]),onChange:a=>n.handleCheckBoxChange(a,"all"),checked:n.isAllSelected()})),n.currentData.map((a,g)=>e.createElement("li",{className:"k-item",key:`colmenu-checkbox-item-${g}`},e.createElement(u.Checkbox,{size:c.mobileMode?"large":"medium",label:String(a),onChange:C=>n.handleCheckBoxChange(C,a),checked:n.uniqueFilterValues.includes(a)})))),e.createElement("div",{className:"k-filter-selected-items"},n.uniqueFilterValues.length+" "+l.toLanguageString(t.filterSelectedItems,t.messages[t.filterSelectedItems]))))),e.createElement(i.ActionSheetFooter,null,e.createElement(E.GridActionSheetFooterContent,{onApply:n.submit,onReset:n.clear,submitMessage:l.toLanguageString(t.filterSubmitButton,t.messages[t.filterSubmitButton]),resetMessage:l.toLanguageString(t.filterClearButton,t.messages[t.filterClearButton])}))),m.current.current))};exports.GridAdaptiveCheckboxFilter=x;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),C=require("react-dom"),n=require("../../messages/index.js"),S=require("../../utils/GridContext.js"),i=require("@progress/kendo-react-layout"),s=require("@progress/kendo-react-buttons"),r=require("@progress/kendo-svg-icons"),v=require("@progress/kendo-react-intl"),u=require("@progress/kendo-react-inputs"),E=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),x=require("./GridActionSheetFooter.js");function M(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(c,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return c.default=t,Object.freeze(c)}const e=M(b),y=t=>{const c=e.useContext(S.GridContext),a=v.useLocalization(),{actionSheetRef:o,secondViewRef:m}=e.useContext(E.GridColumnMenuAdaptiveContext),d=c.dir==="rtl"?r.chevronRightIcon:r.chevronLeftIcon,h=a.toLanguageString(n.adaptiveColumnMenuCheckboxFilterTitle,n.messages[n.adaptiveColumnMenuCheckboxFilterTitle]);e.useEffect(()=>{c!=null&&c.mobileMode&&o.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const k=()=>{t.onBackView&&t.onBackView(),c!=null&&c.mobileMode&&o.current.element.style.setProperty("--kendo-actionsheet-view-current",1)};return e.createElement(e.Fragment,null,C.createPortal(e.createElement(e.Fragment,null,e.createElement(i.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",onClick:k,svgIcon:d,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},h)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",svgIcon:r.xIcon,onClick:t.handleClose,fillMode:"flat"})))),e.createElement(i.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},t.searchBox,e.createElement("ul",{className:"k-reset k-multicheck-wrap"},e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(u.Checkbox,{size:c.mobileMode?"large":"medium",label:a.toLanguageString(n.filterCheckAll,n.messages[n.filterCheckAll]),onChange:l=>t.handleCheckBoxChange(l,"all"),checked:t.isAllSelected()})),t.currentData.map((l,g)=>e.createElement("li",{className:"k-item",key:`colmenu-checkbox-item-${g}`},e.createElement(u.Checkbox,{size:c.mobileMode?"large":"medium",label:String(l),onChange:f=>t.handleCheckBoxChange(f,l),checked:t.uniqueFilterValues.includes(l)})))),e.createElement("div",{className:"k-filter-selected-items"},t.uniqueFilterValues.length+" "+a.toLanguageString(n.filterSelectedItems,n.messages[n.filterSelectedItems]))))),e.createElement(i.ActionSheetFooter,null,e.createElement(x.GridActionSheetFooterContent,{onApply:t.submit,onReset:t.clear,submitMessage:a.toLanguageString(n.filterSubmitButton,n.messages[n.filterSubmitButton]),resetMessage:a.toLanguageString(n.filterClearButton,n.messages[n.filterClearButton])}))),m.current.current))};exports.GridAdaptiveCheckboxFilter=y;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import e from "react";
9
+ import * as e from "react";
10
10
  import S from "react-dom";
11
11
  import { adaptiveColumnMenuCheckboxFilterTitle as i, messages as c, filterCheckAll as r, filterSelectedItems as m, filterClearButton as s, filterSubmitButton as u } from "../../messages/index.mjs";
12
12
  import { GridContext as b } from "../../utils/GridContext.mjs";
@@ -5,9 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as React } from 'react';
9
8
  import { TextBoxChangeEvent } from '@progress/kendo-react-inputs';
10
9
  import { GridColumnState } from '../../index.js';
10
+ import * as React from 'react';
11
11
  /**
12
12
  * @hidden
13
13
  */
@@ -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"),S=require("react-dom"),E=require("../../utils/GridContext.js"),c=require("@progress/kendo-svg-icons"),t=require("../../messages/index.js"),m=require("@progress/kendo-react-buttons"),b=require("@progress/kendo-react-intl"),i=require("@progress/kendo-react-inputs"),r=require("@progress/kendo-react-layout"),x=require("@progress/kendo-react-common"),M=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),A=require("./GridActionSheetFooter.js"),y=n=>{const l=b.useLocalization(),a=e.useContext(E.GridContext),{actionSheetRef:s,secondViewRef:d}=e.useContext(M.GridColumnMenuAdaptiveContext),h=a.dir==="rtl"?c.chevronRightIcon:c.chevronLeftIcon,g=l.toLanguageString(t.adaptiveColumnMenuChooserTitle,t.messages[t.adaptiveColumnMenuChooserTitle]),C=l.toLanguageString(t.adaptiveColumnMenuChooserSubTitle,t.messages[t.adaptiveColumnMenuChooserSubTitle]);e.useEffect(()=>{a.mobileMode&&s.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const k=()=>{a.mobileMode&&s.current.element.style.setProperty("--kendo-actionsheet-view-current",1),n.onBackView&&n.onBackView()},f=()=>e.createElement(i.InputPrefix,null,e.createElement(x.IconWrap,{name:"search",icon:c.searchIcon}));return e.createElement(e.Fragment,null,S.createPortal(e.createElement(e.Fragment,null,e.createElement(r.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(m.Button,{type:"button",onClick:k,svgIcon:h,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},g),e.createElement("div",{className:"k-actionsheet-subtitle k-text-center"},C)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(m.Button,{type:"button",svgIcon:c.xIcon,onClick:n.handleClose,fillMode:"flat"})))),e.createElement(r.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},e.createElement(i.TextBox,{size:a.mobileMode?"large":"medium",className:"k-searchbox",value:n.filter,onChange:n.onFilter,prefix:f}),e.createElement("ul",{className:"k-reset k-multicheck-wrap"},!n.filter&&e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(i.Checkbox,{size:a.mobileMode?"large":"medium",checked:n.allSelected,onChange:n.onSelectAll,label:l.toLanguageString(t.filterSelectAll,t.messages[t.filterSelectAll])})),n.filtered.map((o,I)=>e.createElement("li",{key:o.id,className:"k-item"},e.createElement(i.Checkbox,{size:a.mobileMode?"large":"medium",disabled:n.selectedColumns[o.id||""]&&n.checkedCount===1,checked:n.selectedColumns[o.id||""],onChange:v=>{var u;return n.onCheckChange(!!((u=v.target.element)!=null&&u.checked),o.id)},label:o.title||o.field})))),e.createElement("div",{className:"k-filter-selected-items"},n.checkedCount," ",l.toLanguageString(t.columnMenuColumnChooserSelectedItems,t.messages[t.columnMenuColumnChooserSelectedItems]))))),e.createElement(r.ActionSheetFooter,null,e.createElement(A.GridActionSheetFooterContent,{onApply:n.onApply,onReset:n.onReset,resetMessage:l.toLanguageString(t.filterResetButton,t.messages[t.filterResetButton]),submitMessage:l.toLanguageString(t.filterApplyButton,t.messages[t.filterApplyButton])}))),d.current.current))};exports.GridAdaptiveColumnChooser=y;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),b=require("react-dom"),E=require("../../utils/GridContext.js"),i=require("@progress/kendo-svg-icons"),n=require("../../messages/index.js"),m=require("@progress/kendo-react-buttons"),x=require("@progress/kendo-react-intl"),r=require("@progress/kendo-react-inputs"),s=require("@progress/kendo-react-layout"),M=require("@progress/kendo-react-common"),y=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),A=require("./GridActionSheetFooter.js");function R(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(a,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return a.default=t,Object.freeze(a)}const e=R(v),I=t=>{const a=x.useLocalization(),o=e.useContext(E.GridContext),{actionSheetRef:c,secondViewRef:d}=e.useContext(y.GridColumnMenuAdaptiveContext),g=o.dir==="rtl"?i.chevronRightIcon:i.chevronLeftIcon,h=a.toLanguageString(n.adaptiveColumnMenuChooserTitle,n.messages[n.adaptiveColumnMenuChooserTitle]),C=a.toLanguageString(n.adaptiveColumnMenuChooserSubTitle,n.messages[n.adaptiveColumnMenuChooserSubTitle]);e.useEffect(()=>{o.mobileMode&&c.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const k=()=>{o.mobileMode&&c.current.element.style.setProperty("--kendo-actionsheet-view-current",1),t.onBackView&&t.onBackView()},f=()=>e.createElement(r.InputPrefix,null,e.createElement(M.IconWrap,{name:"search",icon:i.searchIcon}));return e.createElement(e.Fragment,null,b.createPortal(e.createElement(e.Fragment,null,e.createElement(s.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(m.Button,{type:"button",onClick:k,svgIcon:g,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},h),e.createElement("div",{className:"k-actionsheet-subtitle k-text-center"},C)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(m.Button,{type:"button",svgIcon:i.xIcon,onClick:t.handleClose,fillMode:"flat"})))),e.createElement(s.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},e.createElement(r.TextBox,{size:o.mobileMode?"large":"medium",className:"k-searchbox",value:t.filter,onChange:t.onFilter,prefix:f}),e.createElement("ul",{className:"k-reset k-multicheck-wrap"},!t.filter&&e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(r.Checkbox,{size:o.mobileMode?"large":"medium",checked:t.allSelected,onChange:t.onSelectAll,label:a.toLanguageString(n.filterSelectAll,n.messages[n.filterSelectAll])})),t.filtered.map((l,N)=>e.createElement("li",{key:l.id,className:"k-item"},e.createElement(r.Checkbox,{size:o.mobileMode?"large":"medium",disabled:t.selectedColumns[l.id||""]&&t.checkedCount===1,checked:t.selectedColumns[l.id||""],onChange:S=>{var u;return t.onCheckChange(!!((u=S.target.element)!=null&&u.checked),l.id)},label:l.title||l.field})))),e.createElement("div",{className:"k-filter-selected-items"},t.checkedCount," ",a.toLanguageString(n.columnMenuColumnChooserSelectedItems,n.messages[n.columnMenuColumnChooserSelectedItems]))))),e.createElement(s.ActionSheetFooter,null,e.createElement(A.GridActionSheetFooterContent,{onApply:t.onApply,onReset:t.onReset,resetMessage:a.toLanguageString(n.filterResetButton,n.messages[n.filterResetButton]),submitMessage:a.toLanguageString(n.filterApplyButton,n.messages[n.filterApplyButton])}))),d.current.current))};exports.GridAdaptiveColumnChooser=I;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import e from "react";
9
+ import * as e from "react";
10
10
  import M from "react-dom";
11
11
  import { GridContext as N } from "../../utils/GridContext.mjs";
12
12
  import { chevronRightIcon as A, chevronLeftIcon as y, xIcon as I, searchIcon as w } from "@progress/kendo-svg-icons";
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as React } from 'react';
8
+ import * as React from 'react';
9
9
  /**
10
10
  * @hidden
11
11
  */
@@ -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"),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;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),a=require("@progress/kendo-react-layout"),d=require("@progress/kendo-react-common"),v=require("../../utils/GridContext.js"),f=require("@progress/kendo-react-buttons"),g=require("@progress/kendo-svg-icons"),h=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),p=require("@progress/kendo-react-intl"),r=require("../../messages/index.js");function C(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const e=C(m),k=t=>{const n=e.useContext(v.GridContext),{actionSheetRef:o,firstViewRef:i,secondViewRef:s}=e.useContext(h.GridColumnMenuAdaptiveContext),c=d.useAdaptiveModeContext(),l=p.useLocalization(),u={animation:!0,navigatable:!1,navigatableElements:[],expand:t.computedShow,animationStyles:c&&n.adaptiveColumnMenuRef<=c.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:c&&n.adaptiveColumnMenuRef<=c.small?"fullscreen":void 0};return e.createElement(a.ActionSheet,{...u,ref:o,style:{"--kendo-actionsheet-view-current":1},onClose:()=>{t.closeMenu()}},e.createElement(a.ActionSheetView,{className:"k-actionsheet-view-animated",ref:i,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(a.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},n.adaptiveTitle||l.toLanguageString(r.columnMenu,r.messages[r.columnMenu]))),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(f.Button,{svgIcon:g.xIcon,onClick:t.closeMenu,fillMode:"flat"})))),e.createElement(a.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},t.children))),e.createElement(a.ActionSheetView,{className:"k-actionsheet-view-animated",ref:s,style:{transitionDuration:"500ms",transitionProperty:"transform"}}))};exports.GridAdaptiveColumnMenu=k;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import e from "react";
9
+ import * as e from "react";
10
10
  import { ActionSheet as u, ActionSheetView as a, ActionSheetHeader as d, ActionSheetContent as f } from "@progress/kendo-react-layout";
11
11
  import { useAdaptiveModeContext as v } from "@progress/kendo-react-common";
12
12
  import { GridContext as p } from "../../utils/GridContext.mjs";
@@ -15,8 +15,8 @@ import { xIcon as C } from "@progress/kendo-svg-icons";
15
15
  import { GridColumnMenuAdaptiveContext as E } from "../adaptiveContext/GridColumnMenuAdaptiveContext.mjs";
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
- const G = (t) => {
19
- const o = e.useContext(p), { actionSheetRef: r, firstViewRef: l, secondViewRef: m } = e.useContext(E), n = v(), s = g(), c = {
18
+ const b = (t) => {
19
+ const o = e.useContext(p), { actionSheetRef: r, firstViewRef: s, secondViewRef: l } = e.useContext(E), n = v(), m = 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: l,
42
+ ref: s,
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 || s.toLanguageString(i, k[i]))), /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ e.createElement(h, { svgIcon: C, onClick: t.closeMenu, fillMode: "flat" })))),
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 || m.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: m,
55
+ ref: l,
56
56
  style: {
57
57
  transitionDuration: "500ms",
58
58
  transitionProperty: "transform"
@@ -62,5 +62,5 @@ const G = (t) => {
62
62
  );
63
63
  };
64
64
  export {
65
- G as GridAdaptiveColumnMenu
65
+ b as GridAdaptiveColumnMenu
66
66
  };
@@ -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 { default as React } from 'react';
9
8
  import { GridColumnMenuFilterUIProps } from '../../interfaces/GridColumnMenuFilterUIProps.js';
9
+ import * as React from 'react';
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -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"),f=require("react-dom"),o=require("@progress/kendo-react-layout"),a=require("@progress/kendo-react-buttons"),g=require("@progress/kendo-react-intl"),h=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),r=require("@progress/kendo-svg-icons"),v=require("../GridColumnMenuFilterUI.js"),n=require("../../messages/index.js"),C=require("../../utils/GridContext.js"),E=require("./GridActionSheetFooter.js"),k=t=>{const c=g.useLocalization(),i=e.useContext(C.GridContext),{actionSheetRef:l,secondViewRef:s}=e.useContext(h.GridColumnMenuAdaptiveContext),u=i.dir==="rtl"?r.chevronRightIcon:r.chevronLeftIcon;e.useEffect(()=>{i.mobileMode&&l.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const m=()=>{i.mobileMode&&l.current.element.style.setProperty("--kendo-actionsheet-view-current",1),t.onBackView&&t.onBackView()};return e.createElement(e.Fragment,null,f.createPortal(e.createElement(e.Fragment,null,t.FilterUI?e.createElement(t.FilterUI,{...t.filterUIProps}):e.createElement(e.Fragment,null,e.createElement(o.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(a.Button,{type:"button",onClick:m,svgIcon:u,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},t.adaptiveTitle)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(a.Button,{type:"button",svgIcon:r.xIcon,onClick:t.handleClose,fillMode:"flat"})))),e.createElement(o.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},e.createElement(v.GridColumnMenuFilterUI,{...t.filterUIProps})))),e.createElement(o.ActionSheetFooter,null,e.createElement(E.GridActionSheetFooterContent,{onApply:t.submit,onReset:t.clear,resetIcon:r.filterClearIcon,submitIcon:r.filterIcon,submitMessage:c.toLanguageString(n.filterSubmitButton,n.messages[n.filterSubmitButton]),resetMessage:c.toLanguageString(n.filterClearButton,n.messages[n.filterClearButton]),submitDisabled:!t.isFilterValid})))),s.current.current))};exports.GridAdaptiveFilterMenu=k;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),g=require("react-dom"),a=require("@progress/kendo-react-layout"),l=require("@progress/kendo-react-buttons"),h=require("@progress/kendo-react-intl"),v=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),c=require("@progress/kendo-svg-icons"),b=require("../GridColumnMenuFilterUI.js"),o=require("../../messages/index.js"),k=require("../../utils/GridContext.js"),C=require("./GridActionSheetFooter.js");function E(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const e=E(f),S=t=>{const r=h.useLocalization(),n=e.useContext(k.GridContext),{actionSheetRef:i,secondViewRef:s}=e.useContext(v.GridColumnMenuAdaptiveContext),u=n.dir==="rtl"?c.chevronRightIcon:c.chevronLeftIcon;e.useEffect(()=>{n.mobileMode&&i.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const m=()=>{n.mobileMode&&i.current.element.style.setProperty("--kendo-actionsheet-view-current",1),t.onBackView&&t.onBackView()};return e.createElement(e.Fragment,null,g.createPortal(e.createElement(e.Fragment,null,t.FilterUI?e.createElement(t.FilterUI,{...t.filterUIProps}):e.createElement(e.Fragment,null,e.createElement(a.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(l.Button,{type:"button",onClick:m,svgIcon:u,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},t.adaptiveTitle)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(l.Button,{type:"button",svgIcon:c.xIcon,onClick:t.handleClose,fillMode:"flat"})))),e.createElement(a.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},e.createElement(b.GridColumnMenuFilterUI,{...t.filterUIProps})))),e.createElement(a.ActionSheetFooter,null,e.createElement(C.GridActionSheetFooterContent,{onApply:t.submit,onReset:t.clear,resetIcon:c.filterClearIcon,submitIcon:c.filterIcon,submitMessage:r.toLanguageString(o.filterSubmitButton,o.messages[o.filterSubmitButton]),resetMessage:r.toLanguageString(o.filterClearButton,o.messages[o.filterClearButton]),submitDisabled:!t.isFilterValid})))),s.current.current))};exports.GridAdaptiveFilterMenu=S;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import e from "react";
9
+ import * as e from "react";
10
10
  import d from "react-dom";
11
11
  import { ActionSheetHeader as h, ActionSheetContent as E, ActionSheetFooter as g } from "@progress/kendo-react-layout";
12
12
  import { Button as i } from "@progress/kendo-react-buttons";
@@ -17,7 +17,7 @@ import { GridColumnMenuFilterUI as M } from "../GridColumnMenuFilterUI.mjs";
17
17
  import { filterClearButton as a, messages as c, filterSubmitButton as l } from "../../messages/index.mjs";
18
18
  import { GridContext as x } from "../../utils/GridContext.mjs";
19
19
  import { GridActionSheetFooterContent as A } from "./GridActionSheetFooter.mjs";
20
- const z = (t) => {
20
+ const L = (t) => {
21
21
  const o = v(), n = e.useContext(x), { actionSheetRef: r, secondViewRef: m } = e.useContext(I), s = n.dir === "rtl" ? k : C;
22
22
  e.useEffect(() => {
23
23
  n.mobileMode && r.current.element.style.setProperty("--kendo-actionsheet-view-current", 2);
@@ -70,5 +70,5 @@ const z = (t) => {
70
70
  ));
71
71
  };
72
72
  export {
73
- z as GridAdaptiveFilterMenu
73
+ L as GridAdaptiveFilterMenu
74
74
  };
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as React } from 'react';
8
+ import * as React from 'react';
9
9
  /**
10
10
  * @hidden
11
11
  */
@@ -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=e.createContext(void 0),d=n=>{const o=e.useRef(null),r=e.useRef(null),u=e.useRef(null),i=e.useMemo(()=>({actionSheetRef:o,firstViewRef:r,secondViewRef:u}),[]);return e.createElement(t.Provider,{value:i},n.children)};exports.GridColumnMenuAdaptiveContext=t;exports.GridColumnMenuAdaptiveProvider=d;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");function l(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=l(i),u=n.createContext(void 0),a=e=>{const r=n.useRef(null),t=n.useRef(null),o=n.useRef(null),c=n.useMemo(()=>({actionSheetRef:r,firstViewRef:t,secondViewRef:o}),[]);return n.createElement(u.Provider,{value:c},e.children)};exports.GridColumnMenuAdaptiveContext=u;exports.GridColumnMenuAdaptiveProvider=a;
@@ -6,12 +6,12 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import e from "react";
10
- const i = e.createContext(void 0), c = (t) => {
11
- const n = e.useRef(null), o = e.useRef(null), r = e.useRef(null), u = e.useMemo(() => ({ actionSheetRef: n, firstViewRef: o, secondViewRef: r }), []);
12
- return /* @__PURE__ */ e.createElement(i.Provider, { value: u }, t.children);
9
+ import * as e from "react";
10
+ const u = e.createContext(void 0), i = (t) => {
11
+ const n = e.useRef(null), o = e.useRef(null), r = e.useRef(null), s = e.useMemo(() => ({ actionSheetRef: n, firstViewRef: o, secondViewRef: r }), []);
12
+ return /* @__PURE__ */ e.createElement(u.Provider, { value: s }, t.children);
13
13
  };
14
14
  export {
15
- i as GridColumnMenuAdaptiveContext,
16
- c as GridColumnMenuAdaptiveProvider
15
+ u as GridColumnMenuAdaptiveContext,
16
+ i as GridColumnMenuAdaptiveProvider
17
17
  };
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as React } from 'react';
8
+ import * as React from 'react';
9
9
  /**
10
10
  * @hidden
11
11
  */