@progress/kendo-react-treelist 7.2.4-develop.3 → 7.3.0-develop.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/TreeList.js +8 -0
- package/TreeList.mjs +580 -0
- package/TreeListNoRecords.js +8 -0
- package/TreeListNoRecords.mjs +23 -0
- package/TreeListToolbar.js +8 -0
- package/TreeListToolbar.mjs +26 -0
- package/cells/EditCells/TreeListBooleanEditor.js +8 -0
- package/cells/EditCells/TreeListBooleanEditor.mjs +55 -0
- package/cells/EditCells/TreeListDateEditor.js +8 -0
- package/cells/EditCells/TreeListDateEditor.mjs +54 -0
- package/cells/EditCells/TreeListNumericEditor.js +8 -0
- package/cells/EditCells/TreeListNumericEditor.mjs +53 -0
- package/cells/EditCells/TreeListTextEditor.js +8 -0
- package/cells/EditCells/TreeListTextEditor.mjs +53 -0
- package/cells/FilterCells/TreeListBooleanFilter.js +8 -0
- package/cells/FilterCells/TreeListBooleanFilter.mjs +26 -0
- package/cells/FilterCells/TreeListDateFilter.js +8 -0
- package/cells/FilterCells/TreeListDateFilter.mjs +26 -0
- package/cells/FilterCells/TreeListNumericFilter.js +8 -0
- package/cells/FilterCells/TreeListNumericFilter.mjs +26 -0
- package/cells/FilterCells/TreeListTextFilter.js +8 -0
- package/cells/FilterCells/TreeListTextFilter.mjs +26 -0
- package/cells/FilterCells/utils.js +8 -0
- package/cells/FilterCells/utils.mjs +59 -0
- package/cells/TreeListCell.js +8 -0
- package/cells/TreeListCell.mjs +71 -0
- package/cells/TreeListSelectionCell.js +8 -0
- package/cells/TreeListSelectionCell.mjs +47 -0
- package/constants/index.js +8 -0
- package/constants/index.mjs +15 -0
- package/dist/cdn/js/kendo-react-treelist.js +8 -5
- package/header/TreeListHeaderCell.js +8 -0
- package/header/TreeListHeaderCell.mjs +14 -0
- package/header/TreeListHeaderSelectionCell.js +8 -0
- package/header/TreeListHeaderSelectionCell.mjs +25 -0
- package/index.d.mts +1139 -5
- package/index.d.ts +1139 -38
- package/index.js +8 -5
- package/index.mjs +66 -1184
- package/messages/index.js +8 -0
- package/messages/index.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +8 -8
- package/rows/TreeListDraggableRow.js +8 -0
- package/rows/TreeListDraggableRow.mjs +130 -0
- package/rows/TreeListRow.js +8 -0
- package/rows/TreeListRow.mjs +47 -0
- package/utils/index.js +8 -0
- package/utils/index.mjs +46 -0
- package/ScrollMode.d.ts +0 -5
- package/TreeList.d.ts +0 -137
- package/TreeListNoRecords.d.ts +0 -16
- package/TreeListToolbar.d.ts +0 -15
- package/cells/EditCells/TreeListBooleanEditor.d.ts +0 -11
- package/cells/EditCells/TreeListDateEditor.d.ts +0 -11
- package/cells/EditCells/TreeListNumericEditor.d.ts +0 -12
- package/cells/EditCells/TreeListTextEditor.d.ts +0 -11
- package/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -14
- package/cells/FilterCells/TreeListDateFilter.d.ts +0 -14
- package/cells/FilterCells/TreeListNumericFilter.d.ts +0 -14
- package/cells/FilterCells/TreeListTextFilter.d.ts +0 -14
- package/cells/FilterCells/utils.d.ts +0 -42
- package/cells/TreeListCell.d.ts +0 -9
- package/cells/TreeListSelectionCell.d.ts +0 -11
- package/constants/index.d.ts +0 -10
- package/header/TreeListHeaderCell.d.ts +0 -7
- package/header/TreeListHeaderSelectionCell.d.ts +0 -15
- package/interfaces/DataItemWrapper.d.ts +0 -14
- package/interfaces/TreeListCellProps.d.ts +0 -45
- package/interfaces/TreeListColumnProps.d.ts +0 -45
- package/interfaces/TreeListFilterCellProps.d.ts +0 -10
- package/interfaces/TreeListFilterOperator.d.ts +0 -10
- package/interfaces/TreeListHeaderCellProps.d.ts +0 -10
- package/interfaces/TreeListNoRecordsProps.d.ts +0 -13
- package/interfaces/TreeListProps.d.ts +0 -241
- package/interfaces/TreeListRowProps.d.ts +0 -96
- package/interfaces/TreeListSelectableSettings.d.ts +0 -22
- package/interfaces/TreeListSortSettings.d.ts +0 -13
- package/interfaces/TreeListToolbarProps.d.ts +0 -13
- package/interfaces/events.d.ts +0 -269
- package/messages/index.d.ts +0 -124
- package/package-metadata.d.ts +0 -9
- package/rows/TreeListDraggableRow.d.ts +0 -36
- package/rows/TreeListRow.d.ts +0 -10
- package/utils/index.d.ts +0 -21
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="treelist.filterClearButton",r="treelist.filterEqOperator",e="treelist.filterNotEqOperator",l="treelist.filterIsNullOperator",o="treelist.filterIsNotNullOperator",s="treelist.filterIsEmptyOperator",i="treelist.filterIsNotEmptyOperator",a="treelist.filterStartsWithOperator",f="treelist.filterContainsOperator",n="treelist.filterNotContainsOperator",p="treelist.filterEndsWithOperator",O="treelist.filterGteOperator",I="treelist.filterGtOperator",c="treelist.filterLteOperator",u="treelist.filterLtOperator",E="treelist.filterIsTrue",N="treelist.filterIsFalse",q="treelist.filterBooleanAll",h="treelist.filterAfterOrEqualOperator",B="treelist.filterAfterOperator",m="treelist.filterBeforeOperator",C="treelist.filterBeforeOrEqualOperator",d="treelist.noRecords",y={[t]:"Clear",[r]:"Is equal to",[e]:"Is not equal to",[l]:"Is null",[o]:"Is not null",[s]:"Is empty",[i]:"Is not empty",[a]:"Starts with",[f]:"Contains",[n]:"Does not contain",[p]:"Ends with",[O]:"Is greater than or equal to",[I]:"Is greater than",[c]:"Is less than or equal to",[u]:"Is less than",[E]:"Is true",[N]:"Is false",[q]:"(All)",[h]:"Is after or equal to",[B]:"Is after",[m]:"Is before",[C]:"Is before or equal to",[d]:"No records available"};exports.filterAfterOperator=B;exports.filterAfterOrEqualOperator=h;exports.filterBeforeOperator=m;exports.filterBeforeOrEqualOperator=C;exports.filterBooleanAll=q;exports.filterClearButton=t;exports.filterContainsOperator=f;exports.filterEndsWithOperator=p;exports.filterEqOperator=r;exports.filterGtOperator=I;exports.filterGteOperator=O;exports.filterIsEmptyOperator=s;exports.filterIsFalse=N;exports.filterIsNotEmptyOperator=i;exports.filterIsNotNullOperator=o;exports.filterIsNullOperator=l;exports.filterIsTrue=E;exports.filterLtOperator=u;exports.filterLteOperator=c;exports.filterNotContainsOperator=n;exports.filterNotEqOperator=e;exports.filterStartsWithOperator=a;exports.messages=y;exports.noRecords=d;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const t = "treelist.filterClearButton", e = "treelist.filterEqOperator", r = "treelist.filterNotEqOperator", l = "treelist.filterIsNullOperator", o = "treelist.filterIsNotNullOperator", s = "treelist.filterIsEmptyOperator", i = "treelist.filterIsNotEmptyOperator", a = "treelist.filterStartsWithOperator", f = "treelist.filterContainsOperator", n = "treelist.filterNotContainsOperator", p = "treelist.filterEndsWithOperator", O = "treelist.filterGteOperator", c = "treelist.filterGtOperator", I = "treelist.filterLteOperator", u = "treelist.filterLtOperator", E = "treelist.filterIsTrue", q = "treelist.filterIsFalse", N = "treelist.filterBooleanAll", h = "treelist.filterAfterOrEqualOperator", B = "treelist.filterAfterOperator", C = "treelist.filterBeforeOperator", m = "treelist.filterBeforeOrEqualOperator", A = "treelist.noRecords", d = {
|
|
10
|
+
[t]: "Clear",
|
|
11
|
+
[e]: "Is equal to",
|
|
12
|
+
[r]: "Is not equal to",
|
|
13
|
+
[l]: "Is null",
|
|
14
|
+
[o]: "Is not null",
|
|
15
|
+
[s]: "Is empty",
|
|
16
|
+
[i]: "Is not empty",
|
|
17
|
+
[a]: "Starts with",
|
|
18
|
+
[f]: "Contains",
|
|
19
|
+
[n]: "Does not contain",
|
|
20
|
+
[p]: "Ends with",
|
|
21
|
+
[O]: "Is greater than or equal to",
|
|
22
|
+
[c]: "Is greater than",
|
|
23
|
+
[I]: "Is less than or equal to",
|
|
24
|
+
[u]: "Is less than",
|
|
25
|
+
[E]: "Is true",
|
|
26
|
+
[q]: "Is false",
|
|
27
|
+
[N]: "(All)",
|
|
28
|
+
[h]: "Is after or equal to",
|
|
29
|
+
[B]: "Is after",
|
|
30
|
+
[C]: "Is before",
|
|
31
|
+
[m]: "Is before or equal to",
|
|
32
|
+
[A]: "No records available"
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
B as filterAfterOperator,
|
|
36
|
+
h as filterAfterOrEqualOperator,
|
|
37
|
+
C as filterBeforeOperator,
|
|
38
|
+
m as filterBeforeOrEqualOperator,
|
|
39
|
+
N as filterBooleanAll,
|
|
40
|
+
t as filterClearButton,
|
|
41
|
+
f as filterContainsOperator,
|
|
42
|
+
p as filterEndsWithOperator,
|
|
43
|
+
e as filterEqOperator,
|
|
44
|
+
c as filterGtOperator,
|
|
45
|
+
O as filterGteOperator,
|
|
46
|
+
s as filterIsEmptyOperator,
|
|
47
|
+
q as filterIsFalse,
|
|
48
|
+
i as filterIsNotEmptyOperator,
|
|
49
|
+
o as filterIsNotNullOperator,
|
|
50
|
+
l as filterIsNullOperator,
|
|
51
|
+
E as filterIsTrue,
|
|
52
|
+
u as filterLtOperator,
|
|
53
|
+
I as filterLteOperator,
|
|
54
|
+
n as filterNotContainsOperator,
|
|
55
|
+
r as filterNotEqOperator,
|
|
56
|
+
a as filterStartsWithOperator,
|
|
57
|
+
d as messages,
|
|
58
|
+
A as noRecords
|
|
59
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-treelist",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const e = {
|
|
10
|
+
name: "@progress/kendo-react-treelist",
|
|
11
|
+
productName: "KendoReact",
|
|
12
|
+
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
+
publishDate: 1709715432,
|
|
14
|
+
version: "",
|
|
15
|
+
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as packageMetadata
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-treelist",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0-develop.1",
|
|
4
4
|
"description": "React TreeList enables the display of self-referencing tabular data. KendoReact TreeList package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"@progress/kendo-date-math": "^1.4.1",
|
|
27
27
|
"@progress/kendo-drawing": "^1.19.0",
|
|
28
28
|
"@progress/kendo-licensing": "^1.3.4",
|
|
29
|
-
"@progress/kendo-react-common": "7.
|
|
30
|
-
"@progress/kendo-react-data-tools": "7.
|
|
31
|
-
"@progress/kendo-react-dateinputs": "7.
|
|
32
|
-
"@progress/kendo-react-dialogs": "7.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "7.
|
|
34
|
-
"@progress/kendo-react-inputs": "7.
|
|
35
|
-
"@progress/kendo-react-intl": "7.
|
|
29
|
+
"@progress/kendo-react-common": "7.3.0-develop.1",
|
|
30
|
+
"@progress/kendo-react-data-tools": "7.3.0-develop.1",
|
|
31
|
+
"@progress/kendo-react-dateinputs": "7.3.0-develop.1",
|
|
32
|
+
"@progress/kendo-react-dialogs": "7.3.0-develop.1",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "7.3.0-develop.1",
|
|
34
|
+
"@progress/kendo-react-inputs": "7.3.0-develop.1",
|
|
35
|
+
"@progress/kendo-react-intl": "7.3.0-develop.1",
|
|
36
36
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
37
37
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
38
38
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),v=require("react-dom"),i=require("@progress/kendo-react-common"),D=require("./TreeListRow.js"),c=require("@progress/kendo-svg-icons");function d(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 a=d(f),b=d(v),w=e=>e.visible&&i.canUseDOM?b.createPortal(a.createElement("div",{className:"k-header k-drag-clue",style:{display:"block",position:"absolute",zIndex:2e4,padding:"8px 12px",top:e.top+"px",left:e.left+"px"}},a.createElement(i.IconWrap,{className:i.classNames("k-drag-status"),name:e.allowDrop?"plus":"cancel",icon:e.allowDrop?c.plusIcon:c.cancelIcon}),e.text),document.body):null;function O(e,r,t){if(!e.originalEvent)return-1;let n=u(e,"tr",t);if(n){const s=r?r.childNodes:[];for(let o=0;o<s.length;o++)if(s[o]===n)return o}return-1}function u(e,r,t){let n=t?t.elementFromPoint(e.clientX,e.clientY):null;return r&&n?n.closest(r):null}const R="k-grid k-grid-md",g={visible:!1,top:0,left:0,text:"",allowDrop:!1};class E extends a.Component{constructor(){super(...arguments),this.state={clueProps:{...g}},this.draggable=a.createRef(),this.dragged=null,this.draggedOver=null,this.onPress=()=>this.dragged=this.props.level,this.onDrag=r=>{if(!i.canUseDOM)return;const t=this.draggable.current&&this.draggable.current.element,n=t?t.ownerDocument:document;if(!n)return;const s=r.event,o=this.dragged;if(t&&o){!s.isTouch&&s.type!=="scroll"&&s.originalEvent.preventDefault();const l=this.props.levels[O(s,t.parentNode,n)];this.draggedOver=l;const p=l?!o.every((h,m)=>h===l[m]):!!u(s,R,n);this.setState({clueProps:{visible:!0,top:s.pageY+10,left:s.pageX,text:t.innerText,allowDrop:p}}),this.props.onDrag&&this.props.onDrag.call(void 0,{nativeEvent:s.originalEvent,dragged:o,draggedOver:l,draggedItem:this.props.dataItem})}},this.onRelease=r=>{const t=r.event;if(this.dragged){const n=[...this.dragged],s=this.draggedOver&&[...this.draggedOver],o=this.state.clueProps.allowDrop;this.dragged=null,this.draggedOver=null,this.setState({clueProps:{...g}});const l=this.props.dataItem;o&&this.props.onDrop&&this.props.onDrop.call(void 0,{nativeEvent:t.originalEvent,dragged:n,draggedOver:s,draggedItem:l})}}}render(){const{clueProps:r}=this.state;return a.createElement(a.Fragment,null,a.createElement(i.Draggable,{ref:this.draggable,onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},a.createElement(D.TreeListRow,{...this.props})),a.createElement(w,{...r}))}}exports.TreeListDraggableRow=E;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as a from "react";
|
|
10
|
+
import * as h from "react-dom";
|
|
11
|
+
import { canUseDOM as g, Draggable as m, IconWrap as f, classNames as v } from "@progress/kendo-react-common";
|
|
12
|
+
import { TreeListRow as D } from "./TreeListRow.mjs";
|
|
13
|
+
import { plusIcon as w, cancelIcon as E } from "@progress/kendo-svg-icons";
|
|
14
|
+
const b = (e) => e.visible && g ? h.createPortal(
|
|
15
|
+
/* @__PURE__ */ a.createElement(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
className: "k-header k-drag-clue",
|
|
19
|
+
style: {
|
|
20
|
+
display: "block",
|
|
21
|
+
position: "absolute",
|
|
22
|
+
zIndex: 2e4,
|
|
23
|
+
padding: "8px 12px",
|
|
24
|
+
top: e.top + "px",
|
|
25
|
+
left: e.left + "px"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
/* @__PURE__ */ a.createElement(
|
|
29
|
+
f,
|
|
30
|
+
{
|
|
31
|
+
className: v(
|
|
32
|
+
"k-drag-status"
|
|
33
|
+
),
|
|
34
|
+
name: e.allowDrop ? "plus" : "cancel",
|
|
35
|
+
icon: e.allowDrop ? w : E
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
e.text
|
|
39
|
+
),
|
|
40
|
+
document.body
|
|
41
|
+
) : null;
|
|
42
|
+
function x(e, s, r) {
|
|
43
|
+
if (!e.originalEvent)
|
|
44
|
+
return -1;
|
|
45
|
+
let o = d(e, "tr", r);
|
|
46
|
+
if (o) {
|
|
47
|
+
const t = s ? s.childNodes : [];
|
|
48
|
+
for (let n = 0; n < t.length; n++)
|
|
49
|
+
if (t[n] === o)
|
|
50
|
+
return n;
|
|
51
|
+
}
|
|
52
|
+
return -1;
|
|
53
|
+
}
|
|
54
|
+
function d(e, s, r) {
|
|
55
|
+
let o = r ? r.elementFromPoint(e.clientX, e.clientY) : null;
|
|
56
|
+
return s && o ? o.closest(s) : null;
|
|
57
|
+
}
|
|
58
|
+
const P = "k-grid k-grid-md", i = {
|
|
59
|
+
visible: !1,
|
|
60
|
+
top: 0,
|
|
61
|
+
left: 0,
|
|
62
|
+
text: "",
|
|
63
|
+
allowDrop: !1
|
|
64
|
+
};
|
|
65
|
+
class k extends a.Component {
|
|
66
|
+
constructor() {
|
|
67
|
+
super(...arguments), this.state = {
|
|
68
|
+
clueProps: { ...i }
|
|
69
|
+
}, this.draggable = a.createRef(), this.dragged = null, this.draggedOver = null, this.onPress = () => this.dragged = this.props.level, this.onDrag = (s) => {
|
|
70
|
+
if (!g)
|
|
71
|
+
return;
|
|
72
|
+
const r = this.draggable.current && this.draggable.current.element, o = r ? r.ownerDocument : document;
|
|
73
|
+
if (!o)
|
|
74
|
+
return;
|
|
75
|
+
const t = s.event, n = this.dragged;
|
|
76
|
+
if (r && n) {
|
|
77
|
+
!t.isTouch && t.type !== "scroll" && t.originalEvent.preventDefault();
|
|
78
|
+
const l = this.props.levels[x(t, r.parentNode, o)];
|
|
79
|
+
this.draggedOver = l;
|
|
80
|
+
const c = l ? !n.every((p, u) => p === l[u]) : !!d(t, P, o);
|
|
81
|
+
this.setState({
|
|
82
|
+
clueProps: {
|
|
83
|
+
visible: !0,
|
|
84
|
+
top: t.pageY + 10,
|
|
85
|
+
left: t.pageX,
|
|
86
|
+
text: r.innerText,
|
|
87
|
+
allowDrop: c
|
|
88
|
+
}
|
|
89
|
+
}), this.props.onDrag && this.props.onDrag.call(void 0, {
|
|
90
|
+
nativeEvent: t.originalEvent,
|
|
91
|
+
dragged: n,
|
|
92
|
+
draggedOver: l,
|
|
93
|
+
draggedItem: this.props.dataItem
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}, this.onRelease = (s) => {
|
|
97
|
+
const r = s.event;
|
|
98
|
+
if (this.dragged) {
|
|
99
|
+
const o = [...this.dragged], t = this.draggedOver && [...this.draggedOver], n = this.state.clueProps.allowDrop;
|
|
100
|
+
this.dragged = null, this.draggedOver = null, this.setState({ clueProps: { ...i } });
|
|
101
|
+
const l = this.props.dataItem;
|
|
102
|
+
n && this.props.onDrop && this.props.onDrop.call(void 0, {
|
|
103
|
+
nativeEvent: r.originalEvent,
|
|
104
|
+
dragged: o,
|
|
105
|
+
draggedOver: t,
|
|
106
|
+
draggedItem: l
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @hidden
|
|
113
|
+
*/
|
|
114
|
+
render() {
|
|
115
|
+
const { clueProps: s } = this.state;
|
|
116
|
+
return /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
117
|
+
m,
|
|
118
|
+
{
|
|
119
|
+
ref: this.draggable,
|
|
120
|
+
onPress: this.onPress,
|
|
121
|
+
onDrag: this.onDrag,
|
|
122
|
+
onRelease: this.onRelease
|
|
123
|
+
},
|
|
124
|
+
/* @__PURE__ */ a.createElement(D, { ...this.props })
|
|
125
|
+
), /* @__PURE__ */ a.createElement(b, { ...s }));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export {
|
|
129
|
+
k as TreeListDraggableRow
|
|
130
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),g=require("@progress/kendo-react-common"),b=require("../constants/index.js");function k(e){const a=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(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const o=k(w),i=o.forwardRef((e,a)=>{const{isSelected:t,rowHeight:n,isAltRow:l,expanded:c,ariaRowIndex:s,level:d,ariaSetSize:u,ariaPosInSet:m}=e,R=g.classNames("k-table-row","k-master-row",{"k-selected":t,"k-alt":l}),f=o.useMemo(()=>n!==void 0?{height:n+"px"}:void 0,[n]),r=o.createElement("tr",{onClick:e.onClick,onDoubleClick:e.onDoubleClick,onContextMenu:e.onContextMenu,className:R,style:f,ref:a,"aria-expanded":c,role:"row","aria-rowindex":s,"aria-level":d.length,"aria-posinset":m,"aria-setsize":u,[b.TREELIST_ROW_INDEX_ATTRIBUTE]:e.rowIndex},e.children);return o.createElement(o.Fragment,null,e.render?e.render.call(void 0,r,e):r)});i.displayName="KendoReactTreeListRow";exports.TreeListRow=i;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as t from "react";
|
|
10
|
+
import { classNames as u } from "@progress/kendo-react-common";
|
|
11
|
+
import { TREELIST_ROW_INDEX_ATTRIBUTE as x } from "../constants/index.mjs";
|
|
12
|
+
const k = t.forwardRef((e, o) => {
|
|
13
|
+
const { isSelected: i, rowHeight: a, isAltRow: r, expanded: l, ariaRowIndex: c, level: d, ariaSetSize: s, ariaPosInSet: m } = e, w = u(
|
|
14
|
+
"k-table-row",
|
|
15
|
+
"k-master-row",
|
|
16
|
+
{
|
|
17
|
+
"k-selected": i,
|
|
18
|
+
"k-alt": r
|
|
19
|
+
}
|
|
20
|
+
), R = t.useMemo(
|
|
21
|
+
() => a !== void 0 ? { height: a + "px" } : void 0,
|
|
22
|
+
[a]
|
|
23
|
+
), n = /* @__PURE__ */ t.createElement(
|
|
24
|
+
"tr",
|
|
25
|
+
{
|
|
26
|
+
onClick: e.onClick,
|
|
27
|
+
onDoubleClick: e.onDoubleClick,
|
|
28
|
+
onContextMenu: e.onContextMenu,
|
|
29
|
+
className: w,
|
|
30
|
+
style: R,
|
|
31
|
+
ref: o,
|
|
32
|
+
"aria-expanded": l,
|
|
33
|
+
role: "row",
|
|
34
|
+
"aria-rowindex": c,
|
|
35
|
+
"aria-level": d.length,
|
|
36
|
+
"aria-posinset": m,
|
|
37
|
+
"aria-setsize": s,
|
|
38
|
+
[x]: e.rowIndex
|
|
39
|
+
},
|
|
40
|
+
e.children
|
|
41
|
+
);
|
|
42
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, e.render ? e.render.call(void 0, n, e) : n);
|
|
43
|
+
});
|
|
44
|
+
k.displayName = "KendoReactTreeListRow";
|
|
45
|
+
export {
|
|
46
|
+
k as TreeListRow
|
|
47
|
+
};
|
package/utils/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(n){return n!==void 0&&(typeof n=="number"||/px$/i.test(String(n)))}function u(n,o,a){const l=Array.from(n.tHead&&n.tHead.rows||[]),s=[o];let r;const h=a||(t=>window.getComputedStyle(t).height||void 0);l.forEach(t=>{let e=h(t);s.push(g(e)?parseFloat(String(e)):t.offsetHeight)});for(let t=0;t<l.length;t++)r=s.slice(0,t+1).reduce((e,i)=>e+i),Array.from(l[t].cells).forEach(e=>e.style.top=r+"px")}const c=1e6;function d(n){const{rows:o,tableViewPortHeight:a,scrollTop:l}=n;if(o.length===0)return[];const s=o[0].height,r=Math.min(Math.round(l/s),o.length),h=Math.round(a/s),t=Math.max(0,r-h),e=Math.min(o.length,r+2*h),i=o.slice(t,e),f=i[i.length-1];return t>0&&i.unshift({dataItem:{},level:[c],offsetTop:0,height:i[0].offsetTop,levelCount:0}),e<o.length-1&&i.push({dataItem:{},level:[c,c],offsetTop:f.offsetTop+f.height,height:(o.length-e)*s,levelCount:0}),i}exports.setHeaderRowsTop=u;exports.tableRowsVirtualization=d;
|
package/utils/index.mjs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
function g(n) {
|
|
10
|
+
return n !== void 0 && (typeof n == "number" || /px$/i.test(String(n)));
|
|
11
|
+
}
|
|
12
|
+
function u(n, o, c) {
|
|
13
|
+
const h = Array.from(n.tHead && n.tHead.rows || []), i = [o];
|
|
14
|
+
let l;
|
|
15
|
+
const r = c || ((t) => window.getComputedStyle(t).height || void 0);
|
|
16
|
+
h.forEach((t) => {
|
|
17
|
+
let e = r(t);
|
|
18
|
+
i.push(g(e) ? parseFloat(String(e)) : t.offsetHeight);
|
|
19
|
+
});
|
|
20
|
+
for (let t = 0; t < h.length; t++)
|
|
21
|
+
l = i.slice(0, t + 1).reduce((e, s) => e + s), Array.from(h[t].cells).forEach((e) => e.style.top = l + "px");
|
|
22
|
+
}
|
|
23
|
+
const a = 1e6;
|
|
24
|
+
function p(n) {
|
|
25
|
+
const { rows: o, tableViewPortHeight: c, scrollTop: h } = n;
|
|
26
|
+
if (o.length === 0)
|
|
27
|
+
return [];
|
|
28
|
+
const i = o[0].height, l = Math.min(Math.round(h / i), o.length), r = Math.round(c / i), t = Math.max(0, l - r), e = Math.min(o.length, l + 2 * r), s = o.slice(t, e), f = s[s.length - 1];
|
|
29
|
+
return t > 0 && s.unshift({
|
|
30
|
+
dataItem: {},
|
|
31
|
+
level: [a],
|
|
32
|
+
offsetTop: 0,
|
|
33
|
+
height: s[0].offsetTop,
|
|
34
|
+
levelCount: 0
|
|
35
|
+
}), e < o.length - 1 && s.push({
|
|
36
|
+
dataItem: {},
|
|
37
|
+
level: [a, a],
|
|
38
|
+
offsetTop: f.offsetTop + f.height,
|
|
39
|
+
height: (o.length - e) * i,
|
|
40
|
+
levelCount: 0
|
|
41
|
+
}), s;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
u as setHeaderRowsTop,
|
|
45
|
+
p as tableRowsVirtualization
|
|
46
|
+
};
|
package/ScrollMode.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export type ScrollMode = 'none' | 'scrollable' | 'virtual';
|
package/TreeList.d.ts
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { CommonDragLogic, TableKeyboardNavigationContextType } from '@progress/kendo-react-data-tools';
|
|
8
|
-
import { TreeListCellProps } from './interfaces/TreeListCellProps';
|
|
9
|
-
import { TreeListProps } from './interfaces/TreeListProps';
|
|
10
|
-
import { TreeListHeaderCellProps } from './interfaces/TreeListHeaderCellProps';
|
|
11
|
-
import { TreeListFilterCellProps } from './interfaces/TreeListFilterCellProps';
|
|
12
|
-
/**
|
|
13
|
-
* Represents the [KendoReact TreeList component]({% slug getstarted_treelist %}).
|
|
14
|
-
*/
|
|
15
|
-
export declare class TreeList extends React.Component<TreeListProps, {}> {
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
static propTypes: {
|
|
20
|
-
data: PropTypes.Requireable<any[]>;
|
|
21
|
-
resizable: PropTypes.Requireable<boolean>;
|
|
22
|
-
reorderable: PropTypes.Requireable<boolean>;
|
|
23
|
-
sortable: PropTypes.Requireable<NonNullable<boolean | PropTypes.InferProps<{
|
|
24
|
-
mode: PropTypes.Requireable<string>;
|
|
25
|
-
allowUnsort: PropTypes.Requireable<boolean>;
|
|
26
|
-
}> | null | undefined>>;
|
|
27
|
-
onSortChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
-
sort: PropTypes.Requireable<any[]>;
|
|
29
|
-
columns: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
30
|
-
columnVirtualization: PropTypes.Requireable<boolean>;
|
|
31
|
-
filter: PropTypes.Requireable<any[]>;
|
|
32
|
-
onFilterChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
-
filterRow: PropTypes.Requireable<any>;
|
|
34
|
-
toolbar: PropTypes.Requireable<any>;
|
|
35
|
-
noRecords: PropTypes.Requireable<any>;
|
|
36
|
-
onExpandChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
expandField: PropTypes.Requireable<string>;
|
|
38
|
-
subItemsField: PropTypes.Requireable<string>;
|
|
39
|
-
selectedField: PropTypes.Requireable<string>;
|
|
40
|
-
onSelectionChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
41
|
-
onHeaderSelectionChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
42
|
-
onRowClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
-
onItemChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
44
|
-
editField: PropTypes.Requireable<string>;
|
|
45
|
-
scrollable: PropTypes.Requireable<string>;
|
|
46
|
-
rowHeight: PropTypes.Requireable<number>;
|
|
47
|
-
style: PropTypes.Requireable<object>;
|
|
48
|
-
tableProps: PropTypes.Requireable<object>;
|
|
49
|
-
pager: PropTypes.Requireable<any>;
|
|
50
|
-
skip: PropTypes.Requireable<number>;
|
|
51
|
-
take: PropTypes.Requireable<number>;
|
|
52
|
-
onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
53
|
-
onDataStateChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
-
onColumnResize: PropTypes.Requireable<(...args: any[]) => any>;
|
|
55
|
-
onColumnReorder: PropTypes.Requireable<(...args: any[]) => any>;
|
|
56
|
-
dataItemKey: PropTypes.Requireable<string>;
|
|
57
|
-
navigatable: PropTypes.Requireable<boolean>;
|
|
58
|
-
};
|
|
59
|
-
/** @hidden */
|
|
60
|
-
static contextType: React.Context<TableKeyboardNavigationContextType | undefined>;
|
|
61
|
-
private wrapperScrollLeft;
|
|
62
|
-
private wrapperScrollTop;
|
|
63
|
-
private updateOnScroll;
|
|
64
|
-
private tbodyOffsetTop;
|
|
65
|
-
private prevData;
|
|
66
|
-
private flattedData;
|
|
67
|
-
private extendedColumn;
|
|
68
|
-
private columnsMap;
|
|
69
|
-
private columnResize;
|
|
70
|
-
private element;
|
|
71
|
-
protected dragLogic: CommonDragLogic<TreeListCellProps, TreeListHeaderCellProps, TreeListFilterCellProps>;
|
|
72
|
-
private get _treeListId();
|
|
73
|
-
private get document();
|
|
74
|
-
private contextStateRef;
|
|
75
|
-
private navigationStateRef;
|
|
76
|
-
constructor(props: TreeListProps);
|
|
77
|
-
/**
|
|
78
|
-
* Method to allow the scroll to be set to a specific row index.
|
|
79
|
-
*
|
|
80
|
-
* @param options - Object, containing the rowIndex to which is going to be scrolled.
|
|
81
|
-
*/
|
|
82
|
-
scrollIntoView: (options: {
|
|
83
|
-
rowIndex?: number;
|
|
84
|
-
}) => void;
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
componentDidMount(): void;
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*/
|
|
92
|
-
getSnapshotBeforeUpdate(): null;
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
componentDidUpdate(prevProps: TreeListProps): void;
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
componentWillUnmount(): void;
|
|
101
|
-
/**
|
|
102
|
-
* @hidden
|
|
103
|
-
*/
|
|
104
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
105
|
-
private getExtendedColumn;
|
|
106
|
-
private getColumnsMap;
|
|
107
|
-
private get columns();
|
|
108
|
-
private get flatData();
|
|
109
|
-
private onKeyDown;
|
|
110
|
-
private onFocus;
|
|
111
|
-
private onRowDrag;
|
|
112
|
-
private onRowDrop;
|
|
113
|
-
private columnReorder;
|
|
114
|
-
private onResize;
|
|
115
|
-
private handleOnScroll;
|
|
116
|
-
private calculateSizes;
|
|
117
|
-
private itemChange;
|
|
118
|
-
private selectionChange;
|
|
119
|
-
private onHeaderSelectionChange;
|
|
120
|
-
private selectionRelease;
|
|
121
|
-
private sortChange;
|
|
122
|
-
private headerFilterChange;
|
|
123
|
-
private filterChange;
|
|
124
|
-
private columnMenuFilterChange;
|
|
125
|
-
private expandChange;
|
|
126
|
-
private rowClick;
|
|
127
|
-
private rowDoubleClick;
|
|
128
|
-
private rowContextMenu;
|
|
129
|
-
private onPageChange;
|
|
130
|
-
private raiseDataEvent;
|
|
131
|
-
private getDataState;
|
|
132
|
-
private getArguments;
|
|
133
|
-
private expandedSubItems;
|
|
134
|
-
private getLeafDataItems;
|
|
135
|
-
private expanded;
|
|
136
|
-
private hasChildren;
|
|
137
|
-
}
|
package/TreeListNoRecords.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TreeListNoRecordsProps } from './interfaces/TreeListNoRecordsProps';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the TreeListNoRecords component.
|
|
9
|
-
* The component is rendered when the `data` property of the TreeList is an empty array or undefined.
|
|
10
|
-
*/
|
|
11
|
-
export declare class TreeListNoRecords extends React.Component<TreeListNoRecordsProps, {}> {
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
render(): any;
|
|
16
|
-
}
|
package/TreeListToolbar.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TreeListToolbarProps } from './interfaces/TreeListToolbarProps';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the TreeListToolbar component.
|
|
9
|
-
*/
|
|
10
|
-
export declare class TreeListToolbar extends React.Component<TreeListToolbarProps, {}> {
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
|
|
6
|
-
export interface TreeListBooleanEditorProps extends TreeListCellProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const TreeListBooleanEditor: {
|
|
9
|
-
(props: TreeListBooleanEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
|
|
6
|
-
export interface TreeListDateEditorProps extends TreeListCellProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const TreeListDateEditor: {
|
|
9
|
-
(props: TreeListDateEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
|
|
7
|
-
export interface TreeListNumericEditorProps extends TreeListCellProps {
|
|
8
|
-
}
|
|
9
|
-
export declare const TreeListNumericEditor: {
|
|
10
|
-
(props: TreeListNumericEditorProps): React.ReactElement<HTMLTableCellElement, string | React.JSXElementConstructor<any>> | null;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
|
|
6
|
-
export interface TreeListTextEditorProps extends TreeListCellProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const TreeListTextEditor: {
|
|
9
|
-
(props: TreeListTextEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { FilterComponentProps } from '@progress/kendo-react-data-tools';
|
|
7
|
-
import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
|
|
8
|
-
export interface TreeListBooleanFilterProps extends FilterComponentProps {
|
|
9
|
-
/**
|
|
10
|
-
* The list of the operators.
|
|
11
|
-
*/
|
|
12
|
-
operators?: TreeListFilterOperator[];
|
|
13
|
-
}
|
|
14
|
-
export declare const TreeListBooleanFilter: React.FunctionComponent<TreeListBooleanFilterProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { FilterComponentProps } from '@progress/kendo-react-data-tools';
|
|
7
|
-
import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
|
|
8
|
-
export interface TreeListDateFilterProps extends FilterComponentProps {
|
|
9
|
-
/**
|
|
10
|
-
* The list of the operators.
|
|
11
|
-
*/
|
|
12
|
-
operators?: TreeListFilterOperator[];
|
|
13
|
-
}
|
|
14
|
-
export declare const TreeListDateFilter: React.FunctionComponent<TreeListDateFilterProps>;
|