@progress/kendo-react-grid 9.4.1 → 9.4.2-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +208 -209
- package/cells/GridRowReorderCell.js +1 -1
- package/cells/GridRowReorderCell.mjs +14 -13
- package/components/icons/reorder-row-svg.js +1 -1
- package/components/icons/reorder-row-svg.mjs +5 -4
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/header/client/GridHeaderRowReorderCell.js +1 -1
- package/header/client/GridHeaderRowReorderCell.mjs +4 -3
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
|
@@ -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 t=require("react"),s=require("../constants/index.js"),i=require("../components/icons/reorder-row-svg.js"),R=require("./client/GridRowReorderContainer.js"),a=require("@progress/kendo-react-common"),u=e=>{const{...d}=e,r=e.unstyled,o=r&&r.uGrid?r.uGrid:a.uGrid,c=a.classNames(o.td({selected:e.isSelected,sorted:e.isSorted,alt:e.isAlt}),e.className),l={colSpan:e.colSpan,style:e.style,className:c,role:"gridcell","aria-colindex":e.ariaColumnIndex,"aria-selected":e.isSelected,[s.GRID_COL_INDEX_ATTRIBUTE]:e.columnIndex},n=a.classNames(l==null?void 0:l.className,["k-drag-cell",`${e.rowReorderable?"":"k-disabled"}`]);return t.createElement(R.GridRowReorderCellContainer,{rowReorderable:e.rowReorderable,cellProps:d},t.createElement("td",{...l,style:{touchAction:"none"},"aria-disabled":!e.rowReorderable,className:n},t.createElement(i.ReorderRowIcon,null)))};exports.GridRowReorderCell=u;
|
|
@@ -5,37 +5,38 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import
|
|
8
|
+
import a from "react";
|
|
9
|
+
import { GRID_COL_INDEX_ATTRIBUTE as i } from "../constants/index.mjs";
|
|
9
10
|
import { ReorderRowIcon as s } from "../components/icons/reorder-row-svg.mjs";
|
|
10
|
-
import { GridRowReorderCellContainer as
|
|
11
|
-
import { uGrid as
|
|
12
|
-
const
|
|
13
|
-
const { ...
|
|
14
|
-
|
|
11
|
+
import { GridRowReorderCellContainer as m } from "./client/GridRowReorderContainer.mjs";
|
|
12
|
+
import { uGrid as R, classNames as r } from "@progress/kendo-react-common";
|
|
13
|
+
const f = (e) => {
|
|
14
|
+
const { ...d } = e, t = e.unstyled, o = t && t.uGrid ? t.uGrid : R, c = r(
|
|
15
|
+
o.td({ selected: e.isSelected, sorted: e.isSorted, alt: e.isAlt }),
|
|
15
16
|
e.className
|
|
16
17
|
), l = {
|
|
17
18
|
colSpan: e.colSpan,
|
|
18
19
|
style: e.style,
|
|
19
|
-
className:
|
|
20
|
+
className: c,
|
|
20
21
|
role: "gridcell",
|
|
21
22
|
"aria-colindex": e.ariaColumnIndex,
|
|
22
23
|
"aria-selected": e.isSelected,
|
|
23
|
-
[
|
|
24
|
-
},
|
|
24
|
+
[i]: e.columnIndex
|
|
25
|
+
}, n = r(l == null ? void 0 : l.className, [
|
|
25
26
|
"k-drag-cell",
|
|
26
27
|
`${e.rowReorderable ? "" : "k-disabled"}`
|
|
27
28
|
]);
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ a.createElement(m, { rowReorderable: e.rowReorderable, cellProps: d }, /* @__PURE__ */ a.createElement(
|
|
29
30
|
"td",
|
|
30
31
|
{
|
|
31
32
|
...l,
|
|
32
33
|
style: { touchAction: "none" },
|
|
33
34
|
"aria-disabled": !e.rowReorderable,
|
|
34
|
-
className:
|
|
35
|
+
className: n
|
|
35
36
|
},
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ a.createElement(s, null)
|
|
37
38
|
));
|
|
38
39
|
};
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
f as GridRowReorderCell
|
|
41
42
|
};
|
|
@@ -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("@progress/kendo-svg-icons"),
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("@progress/kendo-svg-icons"),r=require("@progress/kendo-react-common"),n=()=>e.createElement(r.SvgIcon,{icon:o.reorderIcon});exports.ReorderRowIcon=n;
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
|
|
9
|
+
import o from "react";
|
|
10
|
+
import { reorderIcon as r } from "@progress/kendo-svg-icons";
|
|
11
|
+
import { SvgIcon as e } from "@progress/kendo-react-common";
|
|
12
|
+
const n = () => /* @__PURE__ */ o.createElement(e, { icon: r });
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
n as ReorderRowIcon
|
|
14
15
|
};
|