@progress/kendo-react-gantt 8.3.0-develop.10 → 8.3.0-develop.12
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/components/GanttTreelist.mjs +26 -13
- package/package-metadata.mjs +1 -1
- package/package.json +12 -12
|
@@ -116,7 +116,9 @@ const F = class F extends l.Component {
|
|
|
116
116
|
}, this.calculateSizes = (e) => {
|
|
117
117
|
if (!e || this.props.scrollable === "none")
|
|
118
118
|
return;
|
|
119
|
-
const t = Array.from(e.childNodes), n = t.find((r) => r.nodeName === "TABLE"), s = this.props.toolbar && t.find(
|
|
119
|
+
const t = Array.from(e.childNodes), n = t.find((r) => r.nodeName === "TABLE"), s = this.props.toolbar && t.find(
|
|
120
|
+
(r) => r.nodeType === 1 && r.classList.contains("k-grid-toolbar")
|
|
121
|
+
);
|
|
120
122
|
let i = 0;
|
|
121
123
|
if (s) {
|
|
122
124
|
const r = s.style.boxSizing;
|
|
@@ -416,28 +418,30 @@ const F = class F extends l.Component {
|
|
|
416
418
|
isSelected: typeof h == "boolean" && h
|
|
417
419
|
}, S = this.props.editRow, z = this.props.row || pe, R = B(a, I, k, y, m, h);
|
|
418
420
|
return I && S ? /* @__PURE__ */ l.createElement(S, { ...u, key: u.key }, R) : /* @__PURE__ */ l.createElement(z, { ...u, key: u.key }, R);
|
|
419
|
-
}) || /* @__PURE__ */ l.createElement("tr", { className: "k-table-row k-grid-norecords" }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: C.length }, this.props.noRecords || /* @__PURE__ */ l.createElement(ge, null))), q = (a) => this.props.sort && this.props.sort.some((m) => m.field === a), G = /* @__PURE__ */ l.createElement(
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
}) || /* @__PURE__ */ l.createElement("tr", { className: "k-table-row k-grid-norecords" }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: C.length }, this.props.noRecords || /* @__PURE__ */ l.createElement(ge, null))), q = (a) => this.props.sort && this.props.sort.some((m) => m.field === a), G = /* @__PURE__ */ l.createElement(
|
|
422
|
+
"colgroup",
|
|
423
|
+
{
|
|
424
|
+
ref: (a) => {
|
|
425
|
+
this.columnResize.colGroupMain = a;
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
C.map((a, m) => /* @__PURE__ */ l.createElement(
|
|
423
429
|
"col",
|
|
424
430
|
{
|
|
425
431
|
key: m.toString(),
|
|
426
432
|
className: q(a.field) ? "k-sorted" : void 0,
|
|
427
433
|
style: a.width !== void 0 ? { width: a.width } : void 0
|
|
428
434
|
}
|
|
429
|
-
)
|
|
430
|
-
)
|
|
435
|
+
))
|
|
436
|
+
), J = this.props.columnVirtualization || this.props.scrollable === "virtual", Q = this.props.selectable && this.props.selectable.drag ? "none" : void 0, X = this.props.tableProps || {};
|
|
431
437
|
return /* @__PURE__ */ l.createElement(A.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
|
|
432
438
|
"div",
|
|
433
439
|
{
|
|
434
440
|
id: this.props.treelistId,
|
|
435
441
|
style: this.props.style,
|
|
436
|
-
className: Z(
|
|
437
|
-
"k-
|
|
438
|
-
|
|
439
|
-
{ "k-treelist-scrollable": e !== "none" }
|
|
440
|
-
),
|
|
442
|
+
className: Z("k-grid k-grid-md", this.props.className, {
|
|
443
|
+
"k-treelist-scrollable": e !== "none"
|
|
444
|
+
}),
|
|
441
445
|
ref: (a) => this.element = a,
|
|
442
446
|
onScroll: J ? this.onScroll : void 0,
|
|
443
447
|
onKeyDown: this.onKeyDown,
|
|
@@ -467,7 +471,16 @@ const F = class F extends l.Component {
|
|
|
467
471
|
},
|
|
468
472
|
G,
|
|
469
473
|
N,
|
|
470
|
-
/* @__PURE__ */ l.createElement(
|
|
474
|
+
/* @__PURE__ */ l.createElement(
|
|
475
|
+
"tbody",
|
|
476
|
+
{
|
|
477
|
+
className: "k-table-tbody",
|
|
478
|
+
...ie,
|
|
479
|
+
ref: (a) => this.tbodyElement = a,
|
|
480
|
+
role: "presentation"
|
|
481
|
+
},
|
|
482
|
+
$
|
|
483
|
+
)
|
|
471
484
|
)
|
|
472
485
|
),
|
|
473
486
|
this.props.pager && /* @__PURE__ */ l.createElement(
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-gantt",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1725519277,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-gantt",
|
|
3
|
-
"version": "8.3.0-develop.
|
|
3
|
+
"version": "8.3.0-develop.12",
|
|
4
4
|
"description": "React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"@progress/kendo-date-math": "^1.4.1",
|
|
27
27
|
"@progress/kendo-drawing": "^1.20.1",
|
|
28
28
|
"@progress/kendo-licensing": "^1.3.4",
|
|
29
|
-
"@progress/kendo-react-buttons": "8.3.0-develop.
|
|
30
|
-
"@progress/kendo-react-common": "8.3.0-develop.
|
|
31
|
-
"@progress/kendo-react-data-tools": "8.3.0-develop.
|
|
32
|
-
"@progress/kendo-react-dateinputs": "8.3.0-develop.
|
|
33
|
-
"@progress/kendo-react-dialogs": "8.3.0-develop.
|
|
34
|
-
"@progress/kendo-react-dropdowns": "8.3.0-develop.
|
|
35
|
-
"@progress/kendo-react-form": "8.3.0-develop.
|
|
36
|
-
"@progress/kendo-react-inputs": "8.3.0-develop.
|
|
37
|
-
"@progress/kendo-react-intl": "8.3.0-develop.
|
|
38
|
-
"@progress/kendo-react-labels": "8.3.0-develop.
|
|
39
|
-
"@progress/kendo-react-treelist": "8.3.0-develop.
|
|
29
|
+
"@progress/kendo-react-buttons": "8.3.0-develop.12",
|
|
30
|
+
"@progress/kendo-react-common": "8.3.0-develop.12",
|
|
31
|
+
"@progress/kendo-react-data-tools": "8.3.0-develop.12",
|
|
32
|
+
"@progress/kendo-react-dateinputs": "8.3.0-develop.12",
|
|
33
|
+
"@progress/kendo-react-dialogs": "8.3.0-develop.12",
|
|
34
|
+
"@progress/kendo-react-dropdowns": "8.3.0-develop.12",
|
|
35
|
+
"@progress/kendo-react-form": "8.3.0-develop.12",
|
|
36
|
+
"@progress/kendo-react-inputs": "8.3.0-develop.12",
|
|
37
|
+
"@progress/kendo-react-intl": "8.3.0-develop.12",
|
|
38
|
+
"@progress/kendo-react-labels": "8.3.0-develop.12",
|
|
39
|
+
"@progress/kendo-react-treelist": "8.3.0-develop.12",
|
|
40
40
|
"@progress/kendo-svg-icons": "^3.0.0",
|
|
41
41
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
42
42
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|