@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.
- 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/package-metadata.js
CHANGED
|
@@ -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=Object.freeze({name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1772784189,version:"14.2.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -8,6 +8,6 @@ export const packageMetadata = Object.freeze({
|
|
|
8
8
|
productCode: 'KENDOUIREACT',
|
|
9
9
|
productCodes: ['KENDOUIREACT'],
|
|
10
10
|
publishDate: 0,
|
|
11
|
-
version: '14.2.1
|
|
11
|
+
version: '14.2.1',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-grid",
|
|
3
|
-
"version": "14.2.1
|
|
3
|
+
"version": "14.2.1",
|
|
4
4
|
"description": "React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"@progress/kendo-data-query": "^1.7.2",
|
|
30
30
|
"@progress/kendo-drawing": "^1.21.2",
|
|
31
31
|
"@progress/kendo-licensing": "^1.7.2",
|
|
32
|
-
"@progress/kendo-react-animation": "14.2.1
|
|
33
|
-
"@progress/kendo-react-buttons": "14.2.1
|
|
34
|
-
"@progress/kendo-react-common": "14.2.1
|
|
35
|
-
"@progress/kendo-react-data-tools": "14.2.1
|
|
36
|
-
"@progress/kendo-react-dateinputs": "14.2.1
|
|
37
|
-
"@progress/kendo-react-indicators": "14.2.1
|
|
38
|
-
"@progress/kendo-react-form": "14.2.1
|
|
39
|
-
"@progress/kendo-react-labels": "14.2.1
|
|
40
|
-
"@progress/kendo-react-dialogs": "14.2.1
|
|
41
|
-
"@progress/kendo-react-dropdowns": "14.2.1
|
|
42
|
-
"@progress/kendo-react-inputs": "14.2.1
|
|
43
|
-
"@progress/kendo-react-intl": "14.2.1
|
|
44
|
-
"@progress/kendo-react-popup": "14.2.1
|
|
45
|
-
"@progress/kendo-react-layout": "14.2.1
|
|
46
|
-
"@progress/kendo-react-conversational-ui": "14.2.1
|
|
32
|
+
"@progress/kendo-react-animation": "14.2.1",
|
|
33
|
+
"@progress/kendo-react-buttons": "14.2.1",
|
|
34
|
+
"@progress/kendo-react-common": "14.2.1",
|
|
35
|
+
"@progress/kendo-react-data-tools": "14.2.1",
|
|
36
|
+
"@progress/kendo-react-dateinputs": "14.2.1",
|
|
37
|
+
"@progress/kendo-react-indicators": "14.2.1",
|
|
38
|
+
"@progress/kendo-react-form": "14.2.1",
|
|
39
|
+
"@progress/kendo-react-labels": "14.2.1",
|
|
40
|
+
"@progress/kendo-react-dialogs": "14.2.1",
|
|
41
|
+
"@progress/kendo-react-dropdowns": "14.2.1",
|
|
42
|
+
"@progress/kendo-react-inputs": "14.2.1",
|
|
43
|
+
"@progress/kendo-react-intl": "14.2.1",
|
|
44
|
+
"@progress/kendo-react-popup": "14.2.1",
|
|
45
|
+
"@progress/kendo-react-layout": "14.2.1",
|
|
46
|
+
"@progress/kendo-react-conversational-ui": "14.2.1",
|
|
47
47
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
48
48
|
"react": "^18.0.0 || ^19.0.0",
|
|
49
49
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"package": {
|
|
149
149
|
"productName": "KendoReact",
|
|
150
150
|
"productCode": "KENDOUIREACT",
|
|
151
|
-
"publishDate":
|
|
151
|
+
"publishDate": 1772784189,
|
|
152
152
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
@@ -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 { GridColumnState } from '../../interfaces/index.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 A=require("react"),n=require("../../messages/index.js"),N=require("../../utils/GridContext.js"),o=require("@progress/kendo-react-layout"),h=require("@progress/kendo-react-buttons"),r=require("@progress/kendo-svg-icons"),y=require("@progress/kendo-react-intl"),C=require("@progress/kendo-react-inputs"),I=require("../../columnMenu/adaptiveContent/GridActionSheetFooter.js"),M=require("../adaptiveContext/GridToolbarAdaptiveContext.js"),w=require("@progress/kendo-react-common"),B=require("../../columnMenu/GridColumnMenuItemGroup.js"),q=require("../../columnMenu/GridColumnMenuItem.js");function G(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(a,i,s.get?s:{enumerable:!0,get:()=>t[i]})}}return a.default=t,Object.freeze(a)}const e=G(A),R=t=>{const a=e.useContext(N.GridContext),{actionSheetRef:i,firstViewRef:s,secondViewRef:v}=e.useContext(M.GridToolbarAdaptiveContext),m=w.useAdaptiveModeContext(),c=y.useLocalization(),[g,E]=e.useState(""),S={animation:!0,navigatable:!1,navigatableElements:[],expand:t.computedShow,animationStyles:m&&a.adaptiveColumnMenuRef<=m.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:m&&a.adaptiveColumnMenuRef<=m.small?"fullscreen":void 0},b=a.dir==="rtl"?r.chevronRightIcon:r.chevronLeftIcon,f=c.toLanguageString(n.adaptiveColumnMenuCheckboxFilterTitle,n.messages[n.adaptiveColumnMenuCheckboxFilterTitle]),x=()=>{t.onBackView&&t.onBackView(),a!=null&&a.mobileMode&&i.current.element.style.setProperty("--kendo-actionsheet-view-current",1)};return e.createElement(o.ActionSheet,{...S,ref:i,style:{"--kendo-actionsheet-view-current":1},onClose:t.onClose},e.createElement(o.ActionSheetView,{className:"k-actionsheet-view-animated",ref:s,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(o.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},f)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(h.Button,{svgIcon:r.xIcon,onClick:t.onClose,fillMode:"flat"})))),e.createElement(o.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},t.filtered.map(l=>{var u,d;return e.createElement(B.GridColumnMenuItemGroup,{key:l.id},e.createElement("div",{className:"k-expander"},e.createElement(q.GridColumnMenuItem,{title:t.renderTitle(l),expandable:!0,expanded:!!((d=(u=t.expandState)==null?void 0:u.find(k=>k.column.field===l.field))!=null&&d.expanded),onClick:k=>(i.current.element.style.setProperty("--kendo-actionsheet-view-current",2),E(l.field),t.onFilterExpand(k,l))})))}))),e.createElement(o.ActionSheetFooter,null,e.createElement("div",{className:"k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer"},e.createElement(h.Button,{svgIcon:r.filterClearIcon,onClick:t.handleClearAllFilters,size:"large"},c.toLanguageString(n.filterClearAllButton,n.messages[n.filterClearAllButton]))))),e.createElement(o.ActionSheetView,{className:"k-actionsheet-view-animated",ref:v,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(o.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(h.Button,{type:"button",onClick:x,svgIcon:b,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},f+(g?` ${g}`:""))),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(h.Button,{type:"button",svgIcon:r.xIcon,onClick:t.onClose,fillMode:"flat"})))),e.createElement(o.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},t.searchBox,e.createElement("ul",{className:"k-multicheck-wrap"},e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(C.Checkbox,{size:a.mobileMode?"large":"medium",label:c.toLanguageString(n.filterCheckAll,n.messages[n.filterCheckAll]),onChange:l=>t.handleCheckBoxChange(l,"all"),checked:t.isAllSelected()})),t.currentData.map((l,u)=>e.createElement("li",{className:"k-item",key:`colmenu-checkbox-item-${u}`},e.createElement(C.Checkbox,{size:a.mobileMode?"large":"medium",label:String(l),onChange:d=>t.handleCheckBoxChange(d,l),checked:t.uniqueFilterValues.includes(l)})))),e.createElement("div",{className:"k-filter-selected-items"},t.uniqueFilterValues.length+" "+c.toLanguageString(n.filterSelectedItems,n.messages[n.filterSelectedItems]))))),e.createElement(o.ActionSheetFooter,null,e.createElement(I.GridActionSheetFooterContent,{onApply:t.submit,onReset:t.clear,submitMessage:c.toLanguageString(n.filterSubmitButton,n.messages[n.filterSubmitButton]),resetMessage:c.toLanguageString(n.filterClearButton,n.messages[n.filterClearButton])}))))};exports.GridAdaptiveToolbarCheckboxFilter=R;
|
|
@@ -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 { adaptiveColumnMenuCheckboxFilterTitle as f, messages as i, filterClearAllButton as k, filterCheckAll as g, filterSelectedItems as v, filterClearButton as E, filterSubmitButton as C } from "../../messages/index.mjs";
|
|
11
11
|
import { GridContext as L } from "../../utils/GridContext.mjs";
|
|
12
12
|
import { ActionSheet as R, ActionSheetView as S, ActionSheetHeader as x, ActionSheetContent as N, ActionSheetFooter as b } from "@progress/kendo-react-layout";
|
|
@@ -17,9 +17,9 @@ import { Checkbox as y } from "@progress/kendo-react-inputs";
|
|
|
17
17
|
import { GridActionSheetFooterContent as T } from "../../columnMenu/adaptiveContent/GridActionSheetFooter.mjs";
|
|
18
18
|
import { GridToolbarAdaptiveContext as D } from "../adaptiveContext/GridToolbarAdaptiveContext.mjs";
|
|
19
19
|
import { useAdaptiveModeContext as q } from "@progress/kendo-react-common";
|
|
20
|
-
import { GridColumnMenuItemGroup as
|
|
21
|
-
import { GridColumnMenuItem as
|
|
22
|
-
const
|
|
20
|
+
import { GridColumnMenuItemGroup as $ } from "../../columnMenu/GridColumnMenuItemGroup.mjs";
|
|
21
|
+
import { GridColumnMenuItem as H } from "../../columnMenu/GridColumnMenuItem.mjs";
|
|
22
|
+
const ne = (t) => {
|
|
23
23
|
const a = e.useContext(L), { actionSheetRef: s, firstViewRef: A, secondViewRef: M } = e.useContext(D), o = q(), l = P(), [d, I] = e.useState(""), p = {
|
|
24
24
|
animation: !0,
|
|
25
25
|
navigatable: !1,
|
|
@@ -55,8 +55,8 @@ const ae = (t) => {
|
|
|
55
55
|
/* @__PURE__ */ e.createElement(x, 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" }, h)), /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ e.createElement(m, { svgIcon: w, onClick: t.onClose, fillMode: "flat" })))),
|
|
56
56
|
/* @__PURE__ */ e.createElement(N, null, /* @__PURE__ */ e.createElement("div", { className: "k-column-menu k-column-menu-lg" }, t.filtered.map((n) => {
|
|
57
57
|
var c, r;
|
|
58
|
-
return /* @__PURE__ */ e.createElement(
|
|
59
|
-
|
|
58
|
+
return /* @__PURE__ */ e.createElement($, { key: n.id }, /* @__PURE__ */ e.createElement("div", { className: "k-expander" }, /* @__PURE__ */ e.createElement(
|
|
59
|
+
H,
|
|
60
60
|
{
|
|
61
61
|
title: t.renderTitle(n),
|
|
62
62
|
expandable: !0,
|
|
@@ -110,5 +110,5 @@ const ae = (t) => {
|
|
|
110
110
|
);
|
|
111
111
|
};
|
|
112
112
|
export {
|
|
113
|
-
|
|
113
|
+
ne as GridAdaptiveToolbarCheckboxFilter
|
|
114
114
|
};
|
|
@@ -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"),S=require("../../utils/GridContext.js"),m=require("@progress/kendo-svg-icons"),n=require("../../messages/index.js"),b=require("@progress/kendo-react-buttons"),x=require("@progress/kendo-react-intl"),s=require("@progress/kendo-react-inputs"),r=require("@progress/kendo-react-layout"),d=require("@progress/kendo-react-common"),E=require("../../columnMenu/adaptiveContent/GridActionSheetFooter.js"),A=require("../adaptiveContext/GridToolbarAdaptiveContext.js");function M(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const o=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(a,l,o.get?o:{enumerable:!0,get:()=>t[l]})}}return a.default=t,Object.freeze(a)}const e=M(v),p=t=>{const a=e.useContext(S.GridContext),{actionSheetRef:l}=e.useContext(A.GridToolbarAdaptiveContext),o=d.useAdaptiveModeContext(),i=x.useLocalization(),g={animation:!0,navigatable:!1,navigatableElements:[],expand:t.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},C=i.toLanguageString(n.adaptiveColumnMenuChooserTitle,n.messages[n.adaptiveColumnMenuChooserTitle]),h=i.toLanguageString(n.adaptiveColumnMenuChooserSubTitle,n.messages[n.adaptiveColumnMenuChooserSubTitle]),k=()=>e.createElement(s.InputPrefix,null,e.createElement(d.IconWrap,{name:"search",icon:m.searchIcon}));return e.createElement(r.ActionSheet,{...g,ref:l,style:{"--kendo-actionsheet-view-current":1},onClose:t.onClose},e.createElement(r.ActionSheetView,null,e.createElement(r.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},C),e.createElement("div",{className:"k-actionsheet-subtitle k-text-center"},h)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(b.Button,{type:"button",svgIcon:m.xIcon,onClick:t.onClose,fillMode:"flat"})))),e.createElement(r.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},e.createElement(s.TextBox,{size:a.mobileMode?"large":"medium",className:"k-searchbox",value:t.filter,onChange:t.onFilter,prefix:k}),e.createElement("ul",{className:"k-reset k-multicheck-wrap"},!t.filter&&e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(s.Checkbox,{size:a.mobileMode?"large":"medium",checked:t.allSelected,onChange:t.onSelectAll,label:i.toLanguageString(n.filterSelectAll,n.messages[n.filterSelectAll])})),t.filtered.map((c,y)=>e.createElement("li",{key:c.id,className:"k-item"},e.createElement(s.Checkbox,{size:a.mobileMode?"large":"medium",disabled:t.selectedColumns[c.id||""]&&t.checkedCount===1,checked:t.selectedColumns[c.id||""],onChange:f=>{var u;return t.onCheckChange(!!((u=f.target.element)!=null&&u.checked),c.id)},label:c.title||c.field})))),e.createElement("div",{className:"k-filter-selected-items"},t.checkedCount," ",i.toLanguageString(n.columnMenuColumnChooserSelectedItems,n.messages[n.columnMenuColumnChooserSelectedItems]))))),e.createElement(r.ActionSheetFooter,null,e.createElement(E.GridActionSheetFooterContent,{onApply:t.onApply,onReset:t.onReset,resetMessage:i.toLanguageString(n.filterResetButton,n.messages[n.filterResetButton]),submitMessage:i.toLanguageString(n.filterApplyButton,n.messages[n.filterApplyButton])}))))};exports.GridAdaptiveToolbarColumnChooser=p;
|
|
@@ -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 { GridContext as x } from "../../utils/GridContext.mjs";
|
|
11
11
|
import { xIcon as b, searchIcon as A } from "@progress/kendo-svg-icons";
|
|
12
12
|
import { adaptiveColumnMenuChooserTitle as m, messages as l, adaptiveColumnMenuChooserSubTitle as r, filterSelectAll as s, columnMenuColumnChooserSelectedItems as d, filterApplyButton as u, filterResetButton as h } from "../../messages/index.mjs";
|
|
@@ -18,7 +18,7 @@ import { useAdaptiveModeContext as I, IconWrap as z } from "@progress/kendo-reac
|
|
|
18
18
|
import { GridActionSheetFooterContent as G } from "../../columnMenu/adaptiveContent/GridActionSheetFooter.mjs";
|
|
19
19
|
import { GridToolbarAdaptiveContext as F } from "../adaptiveContext/GridToolbarAdaptiveContext.mjs";
|
|
20
20
|
const U = (t) => {
|
|
21
|
-
const o = e.useContext(x), { actionSheetRef:
|
|
21
|
+
const o = e.useContext(x), { actionSheetRef: C } = e.useContext(F), i = I(), n = p(), f = {
|
|
22
22
|
animation: !0,
|
|
23
23
|
navigatable: !1,
|
|
24
24
|
navigatableElements: [],
|
|
@@ -36,8 +36,8 @@ const U = (t) => {
|
|
|
36
36
|
return /* @__PURE__ */ e.createElement(
|
|
37
37
|
L,
|
|
38
38
|
{
|
|
39
|
-
...
|
|
40
|
-
ref:
|
|
39
|
+
...f,
|
|
40
|
+
ref: C,
|
|
41
41
|
style: { "--kendo-actionsheet-view-current": 1 },
|
|
42
42
|
onClose: t.onClose
|
|
43
43
|
},
|
|
@@ -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 { GridColumnState } from '../../interfaces/GridColumnState.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 m=require("react"),l=require("@progress/kendo-svg-icons"),o=require("../../messages/index.js"),s=require("@progress/kendo-react-buttons"),g=require("@progress/kendo-react-intl"),r=require("@progress/kendo-react-layout"),p=require("../../utils/GridContext.js"),v=require("../adaptiveContext/GridToolbarAdaptiveContext.js"),C=require("@progress/kendo-react-common");function h(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(a,i,n.get?n:{enumerable:!0,get:()=>t[i]})}}return a.default=t,Object.freeze(a)}const e=h(m),k=t=>{const a=e.useContext(p.GridContext),{actionSheetRef:i}=e.useContext(v.GridToolbarAdaptiveContext),n=C.useAdaptiveModeContext(),c=g.useLocalization(),u={animation:!0,navigatable:!1,navigatableElements:[],expand:t.computedShow,animationStyles:n&&a.adaptiveColumnMenuRef<=n.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:n&&a.adaptiveColumnMenuRef<=n.small?"fullscreen":void 0},d=c.toLanguageString(o.adaptiveToolbarGroupTitle,o.messages[o.adaptiveToolbarGroupTitle]);return e.createElement(r.ActionSheet,{...u,ref:i,style:{"--kendo-actionsheet-view-current":1},onClose:t.onClose},e.createElement(r.ActionSheetView,null,e.createElement(r.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},d)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",svgIcon:l.checkIcon,themeColor:"primary",onClick:t.onClose,fillMode:"flat"})))),e.createElement(r.ActionSheetContent,null,e.createElement("div",{className:"k-group-menu k-group-menu-lg"},t.toolContent)),e.createElement(r.ActionSheetFooter,null,e.createElement("div",{className:"k-actions k-actions-stretched"},e.createElement(s.Button,{svgIcon:l.xIcon,onClick:t.onClear,size:"large",disabled:t.isDisabledButton},c.toLanguageString(o.groupClearButton,o.messages[o.groupClearButton])),e.createElement(s.Button,{svgIcon:l.checkIcon,themeColor:"primary",size:"large",onClick:t.onClose},c.toLanguageString(o.groupApplyButton,o.messages[o.groupApplyButton]))))))};exports.GridAdaptiveToolbarGroup=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 { checkIcon as r, xIcon as p } from "@progress/kendo-svg-icons";
|
|
11
11
|
import { adaptiveToolbarGroupTitle as c, messages as a, groupClearButton as m, groupApplyButton as s } from "../../messages/index.mjs";
|
|
12
12
|
import { Button as i } from "@progress/kendo-react-buttons";
|
|
@@ -15,7 +15,7 @@ import { ActionSheet as C, ActionSheetView as h, ActionSheetHeader as f, ActionS
|
|
|
15
15
|
import { GridContext as S } from "../../utils/GridContext.mjs";
|
|
16
16
|
import { GridToolbarAdaptiveContext as x } from "../adaptiveContext/GridToolbarAdaptiveContext.mjs";
|
|
17
17
|
import { useAdaptiveModeContext as b } from "@progress/kendo-react-common";
|
|
18
|
-
const
|
|
18
|
+
const L = (t) => {
|
|
19
19
|
const l = e.useContext(S), { actionSheetRef: u } = e.useContext(x), o = b(), n = v(), d = {
|
|
20
20
|
animation: !0,
|
|
21
21
|
navigatable: !1,
|
|
@@ -55,5 +55,5 @@ const M = (t) => {
|
|
|
55
55
|
);
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
58
|
-
|
|
58
|
+
L as GridAdaptiveToolbarGroup
|
|
59
59
|
};
|
|
@@ -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 { GridColumnState } from '../../interfaces/GridColumnState.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 C=require("react"),s=require("@progress/kendo-svg-icons"),n=require("../../messages/index.js"),u=require("@progress/kendo-react-buttons"),v=require("@progress/kendo-react-intl"),i=require("@progress/kendo-react-layout"),k=require("../../columnMenu/GridColumnMenuItem.js"),h=require("../../columnMenu/GridColumnMenuItemGroup.js"),S=require("../../utils/GridContext.js"),b=require("../adaptiveContext/GridToolbarAdaptiveContext.js"),f=require("@progress/kendo-react-common");function p(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const e=p(C),E=t=>{const a=e.useContext(S.GridContext),{actionSheetRef:r}=e.useContext(b.GridToolbarAdaptiveContext),o=f.useAdaptiveModeContext(),l=v.useLocalization(),d={animation:!0,navigatable:!1,navigatableElements:[],expand:t.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},m=l.toLanguageString(n.adaptiveToolbarSortTitle,n.messages[n.adaptiveToolbarSortTitle]);return e.createElement(i.ActionSheet,{...d,ref:r,style:{"--kendo-actionsheet-view-current":1},onClose:t.onClose},e.createElement(i.ActionSheetView,null,e.createElement(i.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},m)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(u.Button,{type:"button",svgIcon:s.checkIcon,themeColor:"primary",onClick:t.onClose,fillMode:"flat"})))),e.createElement(i.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},e.createElement(h.GridColumnMenuItemGroup,null,t.filtered.map(c=>e.createElement(k.GridColumnMenuItem,{key:c.id,title:t.renderTitle(c),onClick:g=>t.handleSorting(g,c)}))))),e.createElement(i.ActionSheetFooter,null,e.createElement("div",{className:"k-actions k-actions-stretched"},e.createElement(u.Button,{svgIcon:s.xIcon,onClick:t.onClear,size:"large",disabled:t.isDisabledButton},l.toLanguageString(n.sortClearButton,n.messages[n.sortClearButton])),e.createElement(u.Button,{svgIcon:s.checkIcon,themeColor:"primary",size:"large",onClick:t.onClose},l.toLanguageString(n.sortApplyButton,n.messages[n.sortApplyButton]))))))};exports.GridAdaptiveToolbarSort=E;
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import e from "react";
|
|
10
|
-
import { checkIcon as m, xIcon as
|
|
9
|
+
import * as e from "react";
|
|
10
|
+
import { checkIcon as m, xIcon as h } from "@progress/kendo-svg-icons";
|
|
11
11
|
import { adaptiveToolbarSortTitle as c, messages as i, sortClearButton as s, sortApplyButton as d } from "../../messages/index.mjs";
|
|
12
12
|
import { Button as l } from "@progress/kendo-react-buttons";
|
|
13
|
-
import { useLocalization as
|
|
13
|
+
import { useLocalization as f } from "@progress/kendo-react-intl";
|
|
14
14
|
import { ActionSheet as p, ActionSheetView as E, ActionSheetHeader as k, ActionSheetContent as S, ActionSheetFooter as x } from "@progress/kendo-react-layout";
|
|
15
15
|
import { GridColumnMenuItem as b } from "../../columnMenu/GridColumnMenuItem.mjs";
|
|
16
16
|
import { GridColumnMenuItemGroup as A } from "../../columnMenu/GridColumnMenuItemGroup.mjs";
|
|
@@ -18,7 +18,7 @@ import { GridContext as y } from "../../utils/GridContext.mjs";
|
|
|
18
18
|
import { GridToolbarAdaptiveContext as I } from "../adaptiveContext/GridToolbarAdaptiveContext.mjs";
|
|
19
19
|
import { useAdaptiveModeContext as N } from "@progress/kendo-react-common";
|
|
20
20
|
const H = (t) => {
|
|
21
|
-
const r = e.useContext(y), { actionSheetRef: u } = e.useContext(I), o = N(), n =
|
|
21
|
+
const r = e.useContext(y), { actionSheetRef: u } = e.useContext(I), o = N(), n = f(), C = {
|
|
22
22
|
animation: !0,
|
|
23
23
|
navigatable: !1,
|
|
24
24
|
navigatableElements: [],
|
|
@@ -54,7 +54,7 @@ const H = (t) => {
|
|
|
54
54
|
))))), /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ e.createElement(
|
|
55
55
|
l,
|
|
56
56
|
{
|
|
57
|
-
svgIcon:
|
|
57
|
+
svgIcon: h,
|
|
58
58
|
onClick: t.onClear,
|
|
59
59
|
size: "large",
|
|
60
60
|
disabled: t.isDisabledButton
|
|
@@ -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 a=require("react");function l(e){const o=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(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const r=l(a),c=r.createContext(void 0),u=e=>{const o=r.useRef(null),t=r.useRef(null),n=r.useRef(null),i=r.useMemo(()=>({actionSheetRef:o,firstViewRef:t,secondViewRef:n}),[]);return r.createElement(c.Provider,{value:i},e.children)};exports.GridToolbarAdaptiveContext=c;exports.GridToolbarAdaptiveProvider=u;
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import e from "react";
|
|
10
|
-
const
|
|
11
|
-
const o = e.useRef(null), r = e.useRef(null), n = e.useRef(null),
|
|
12
|
-
return /* @__PURE__ */ e.createElement(
|
|
9
|
+
import * as e from "react";
|
|
10
|
+
const i = e.createContext(void 0), c = (t) => {
|
|
11
|
+
const o = e.useRef(null), r = e.useRef(null), n = e.useRef(null), s = e.useMemo(() => ({ actionSheetRef: o, firstViewRef: r, secondViewRef: n }), []);
|
|
12
|
+
return /* @__PURE__ */ e.createElement(i.Provider, { value: s }, t.children);
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
i as GridToolbarAdaptiveContext,
|
|
16
|
+
c as GridToolbarAdaptiveProvider
|
|
17
17
|
};
|
package/utils/_serverModule.d.ts
CHANGED
|
@@ -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
|
*/
|
package/utils/_serverModule.js
CHANGED
|
@@ -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 a=require("react");function o(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 c=o(a),l=()=>c.createElement(c.Fragment,null);exports.ServerFragment=l;
|
package/utils/_serverModule.mjs
CHANGED
|
@@ -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 e from "react";
|
|
8
|
+
import * as e from "react";
|
|
9
9
|
const r = () => /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
10
10
|
export {
|
|
11
11
|
r as ServerFragment
|