@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.
@@ -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 n=require("../constants/index.js"),s=require("../components/icons/reorder-row-svg.js"),i=require("./client/GridRowReorderContainer.js"),t=require("@progress/kendo-react-common"),R=e=>{const{...a}=e,r=e.unstyled,d=r&&r.uGrid?r.uGrid:t.uGrid,c=t.classNames(d.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,[n.GRID_COL_INDEX_ATTRIBUTE]:e.columnIndex},o=t.classNames(l==null?void 0:l.className,["k-drag-cell",`${e.rowReorderable?"":"k-disabled"}`]);return React.createElement(i.GridRowReorderCellContainer,{rowReorderable:e.rowReorderable,cellProps:a},React.createElement("td",{...l,style:{touchAction:"none"},"aria-disabled":!e.rowReorderable,className:o},React.createElement(s.ReorderRowIcon,null)))};exports.GridRowReorderCell=R;
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 { GRID_COL_INDEX_ATTRIBUTE as n } from "../constants/index.mjs";
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 i } from "./client/GridRowReorderContainer.mjs";
11
- import { uGrid as m, classNames as t } from "@progress/kendo-react-common";
12
- const N = (e) => {
13
- const { ...r } = e, a = e.unstyled, c = a && a.uGrid ? a.uGrid : m, d = t(
14
- c.td({ selected: e.isSelected, sorted: e.isSorted, alt: e.isAlt }),
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: d,
20
+ className: c,
20
21
  role: "gridcell",
21
22
  "aria-colindex": e.ariaColumnIndex,
22
23
  "aria-selected": e.isSelected,
23
- [n]: e.columnIndex
24
- }, o = t(l == null ? void 0 : l.className, [
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__ */ React.createElement(i, { rowReorderable: e.rowReorderable, cellProps: r }, /* @__PURE__ */ React.createElement(
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: o
35
+ className: n
35
36
  },
36
- /* @__PURE__ */ React.createElement(s, null)
37
+ /* @__PURE__ */ a.createElement(s, null)
37
38
  ));
38
39
  };
39
40
  export {
40
- N as GridRowReorderCell
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"),o=require("@progress/kendo-react-common"),r=()=>React.createElement(o.SvgIcon,{icon:e.reorderIcon});exports.ReorderRowIcon=r;
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 { reorderIcon as o } from "@progress/kendo-svg-icons";
10
- import { SvgIcon as r } from "@progress/kendo-react-common";
11
- const t = () => /* @__PURE__ */ React.createElement(r, { icon: o });
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
- t as ReorderRowIcon
14
+ n as ReorderRowIcon
14
15
  };