@progress/kendo-react-grid 14.2.1-develop.3 → 14.2.1-develop.4
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.
- package/GridState.d.ts +1 -1
- package/GridState.js +1 -1
- package/GridState.mjs +41 -41
- package/cells/rowreordercell/GridRowReorderCell.d.ts +1 -1
- package/cells/rowreordercell/GridRowReorderCell.js +1 -1
- package/cells/rowreordercell/GridRowReorderCell.mjs +6 -6
- package/cells/rowreordercell/GridRowReorderCellServer.d.ts +1 -1
- package/cells/rowreordercell/GridRowReorderCellServer.js +1 -1
- package/cells/rowreordercell/GridRowReorderCellServer.mjs +3 -3
- package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridActionSheetFooter.js +1 -1
- package/columnMenu/adaptiveContent/GridActionSheetFooter.mjs +3 -3
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +7 -7
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +3 -3
- package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +1 -1
- package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.js +1 -1
- package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.mjs +6 -6
- package/components/GridDraggableRowsContainer.d.ts +1 -1
- package/components/GridDraggableRowsContainer.js +1 -1
- package/components/GridDraggableRowsContainer.mjs +20 -20
- package/components/GridEditDialog.d.ts +1 -1
- package/components/GridEditDialog.js +1 -1
- package/components/GridEditDialog.mjs +7 -7
- package/components/icons/reorder-row-svg.d.ts +1 -1
- package/components/icons/reorder-row-svg.js +1 -1
- package/components/icons/reorder-row-svg.mjs +3 -3
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +1 -1
- package/package.json +17 -17
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.js +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +7 -7
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.js +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +4 -4
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.js +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.js +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.mjs +5 -5
- package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +1 -1
- package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.js +1 -1
- package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.mjs +6 -6
- package/utils/_serverModule.d.ts +1 -1
- package/utils/_serverModule.js +1 -1
- 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
|
|
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
|
|
11
|
-
}, {}]),
|
|
12
|
-
var
|
|
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:
|
|
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:
|
|
26
|
+
onColumnsStateChange: E
|
|
27
27
|
} = e, [n, l] = g.useState({
|
|
28
|
-
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: (
|
|
38
|
-
groupExpand: (
|
|
39
|
-
columnsState: (
|
|
40
|
-
}),
|
|
41
|
-
edit: (
|
|
42
|
-
filter: (
|
|
43
|
-
highlight: (
|
|
44
|
-
search: (
|
|
45
|
-
sort: (
|
|
46
|
-
take: (
|
|
47
|
-
skip: (
|
|
48
|
-
group: (
|
|
49
|
-
select: (
|
|
50
|
-
detailExpand: (
|
|
51
|
-
groupExpand: (
|
|
52
|
-
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,
|
|
55
|
+
l((a) => ({ ...a, edit: t.edit })), u == null || u(t);
|
|
58
56
|
}, W = (t) => {
|
|
59
|
-
l((a) => ({ ...a,
|
|
57
|
+
l((a) => ({ ...a, filter: t.filter })), h == null || h(t);
|
|
60
58
|
}, X = (t) => {
|
|
61
|
-
l((a) => ({ ...a,
|
|
59
|
+
l((a) => ({ ...a, highlight: t.highlight })), e.onHighlightChange && e.onHighlightChange(t);
|
|
62
60
|
}, Y = (t) => {
|
|
63
|
-
l((a) => ({ ...a,
|
|
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 })),
|
|
79
|
+
l((a) => ({ ...a, columnsState: t.columnsState })), E == null || E(t);
|
|
80
80
|
};
|
|
81
81
|
return /* @__PURE__ */ g.createElement(
|
|
82
|
-
|
|
82
|
+
N.Provider,
|
|
83
83
|
{
|
|
84
84
|
value: [
|
|
85
|
-
O,
|
|
86
85
|
Q,
|
|
86
|
+
U,
|
|
87
87
|
{
|
|
88
|
-
onEditChange:
|
|
89
|
-
onFilterChange: h &&
|
|
90
|
-
onSearchChange:
|
|
91
|
-
onHighlightChange:
|
|
92
|
-
onSortChange: i &&
|
|
93
|
-
onPageChange: d &&
|
|
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
|
-
|
|
104
|
+
O
|
|
105
105
|
);
|
|
106
106
|
};
|
|
107
107
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
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
|
|
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
|
|
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
|
|
13
|
-
const
|
|
14
|
-
const { cellProps:
|
|
15
|
-
return /* @__PURE__ */
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
19
|
-
const o = e.useContext(p), { actionSheetRef: r, firstViewRef:
|
|
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:
|
|
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 ||
|
|
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:
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
11
|
-
const n = e.useRef(null), o = e.useRef(null), r = e.useRef(null),
|
|
12
|
-
return /* @__PURE__ */ e.createElement(
|
|
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
|
-
|
|
16
|
-
|
|
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
|
|
8
|
+
import * as React from 'react';
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|