@progress/kendo-react-treelist 6.1.1 → 7.0.0-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/LICENSE.md +1 -1
- package/ScrollMode.d.ts +5 -0
- package/{dist/es/TreeList.d.ts → TreeList.d.ts} +6 -2
- package/{dist/es/TreeListNoRecords.d.ts → TreeListNoRecords.d.ts} +4 -0
- package/TreeListToolbar.d.ts +15 -0
- package/cells/EditCells/TreeListBooleanEditor.d.ts +11 -0
- package/cells/EditCells/TreeListDateEditor.d.ts +11 -0
- package/{dist/es/cells → cells}/EditCells/TreeListNumericEditor.d.ts +4 -0
- package/cells/EditCells/TreeListTextEditor.d.ts +11 -0
- package/{dist/npm/cells → cells}/FilterCells/TreeListBooleanFilter.d.ts +4 -0
- package/{dist/npm/cells → cells}/FilterCells/TreeListDateFilter.d.ts +4 -0
- package/{dist/es/cells → cells}/FilterCells/TreeListNumericFilter.d.ts +4 -0
- package/{dist/es/cells → cells}/FilterCells/TreeListTextFilter.d.ts +4 -0
- package/{dist/npm/cells → cells}/FilterCells/utils.d.ts +4 -0
- package/cells/TreeListCell.d.ts +9 -0
- package/cells/TreeListSelectionCell.d.ts +11 -0
- package/{dist/es/constants → constants}/index.d.ts +4 -0
- package/dist/cdn/js/kendo-react-treelist.js +5 -1
- package/header/TreeListHeaderCell.d.ts +7 -0
- package/header/TreeListHeaderSelectionCell.d.ts +15 -0
- package/index.d.ts +38 -0
- package/index.js +5 -0
- package/index.mjs +1181 -0
- package/interfaces/DataItemWrapper.d.ts +14 -0
- package/{dist/npm/interfaces → interfaces}/TreeListCellProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/TreeListColumnProps.d.ts +4 -0
- package/interfaces/TreeListFilterCellProps.d.ts +10 -0
- package/interfaces/TreeListFilterOperator.d.ts +10 -0
- package/interfaces/TreeListHeaderCellProps.d.ts +10 -0
- package/interfaces/TreeListNoRecordsProps.d.ts +13 -0
- package/{dist/es/interfaces → interfaces}/TreeListProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/TreeListRowProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/TreeListSelectableSettings.d.ts +5 -1
- package/interfaces/TreeListSortSettings.d.ts +13 -0
- package/interfaces/TreeListToolbarProps.d.ts +13 -0
- package/{dist/es/interfaces → interfaces}/events.d.ts +4 -0
- package/{dist/npm/messages → messages}/index.d.ts +4 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +36 -57
- package/{dist/es/rows → rows}/TreeListDraggableRow.d.ts +5 -1
- package/rows/TreeListRow.d.ts +10 -0
- package/{dist/npm/utils → utils}/index.d.ts +4 -0
- package/about.md +0 -3
- package/debug.log +0 -3
- package/dist/es/ScrollMode.d.ts +0 -1
- package/dist/es/ScrollMode.js +0 -1
- package/dist/es/TreeList.js +0 -632
- package/dist/es/TreeListNoRecords.js +0 -37
- package/dist/es/TreeListToolbar.d.ts +0 -11
- package/dist/es/TreeListToolbar.js +0 -33
- package/dist/es/cells/EditCells/TreeListBooleanEditor.d.ts +0 -8
- package/dist/es/cells/EditCells/TreeListBooleanEditor.js +0 -41
- package/dist/es/cells/EditCells/TreeListDateEditor.d.ts +0 -8
- package/dist/es/cells/EditCells/TreeListDateEditor.js +0 -40
- package/dist/es/cells/EditCells/TreeListNumericEditor.js +0 -41
- package/dist/es/cells/EditCells/TreeListTextEditor.d.ts +0 -8
- package/dist/es/cells/EditCells/TreeListTextEditor.js +0 -39
- package/dist/es/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -10
- package/dist/es/cells/FilterCells/TreeListBooleanFilter.js +0 -30
- package/dist/es/cells/FilterCells/TreeListDateFilter.d.ts +0 -10
- package/dist/es/cells/FilterCells/TreeListDateFilter.js +0 -30
- package/dist/es/cells/FilterCells/TreeListNumericFilter.js +0 -30
- package/dist/es/cells/FilterCells/TreeListTextFilter.js +0 -30
- package/dist/es/cells/FilterCells/utils.d.ts +0 -38
- package/dist/es/cells/FilterCells/utils.js +0 -66
- package/dist/es/cells/TreeListCell.d.ts +0 -6
- package/dist/es/cells/TreeListCell.js +0 -61
- package/dist/es/cells/TreeListSelectionCell.d.ts +0 -8
- package/dist/es/cells/TreeListSelectionCell.js +0 -31
- package/dist/es/constants/index.js +0 -7
- package/dist/es/header/TreeListHeaderCell.d.ts +0 -3
- package/dist/es/header/TreeListHeaderCell.js +0 -14
- package/dist/es/header/TreeListHeaderSelectionCell.d.ts +0 -11
- package/dist/es/header/TreeListHeaderSelectionCell.js +0 -45
- package/dist/es/interfaces/DataItemWrapper.d.ts +0 -10
- package/dist/es/interfaces/DataItemWrapper.js +0 -1
- package/dist/es/interfaces/TreeListCellProps.d.ts +0 -42
- package/dist/es/interfaces/TreeListCellProps.js +0 -1
- package/dist/es/interfaces/TreeListColumnProps.js +0 -1
- package/dist/es/interfaces/TreeListFilterCellProps.d.ts +0 -6
- package/dist/es/interfaces/TreeListFilterCellProps.js +0 -1
- package/dist/es/interfaces/TreeListFilterOperator.d.ts +0 -6
- package/dist/es/interfaces/TreeListFilterOperator.js +0 -1
- package/dist/es/interfaces/TreeListHeaderCellProps.d.ts +0 -6
- package/dist/es/interfaces/TreeListHeaderCellProps.js +0 -1
- package/dist/es/interfaces/TreeListNoRecordsProps.d.ts +0 -10
- package/dist/es/interfaces/TreeListNoRecordsProps.js +0 -1
- package/dist/es/interfaces/TreeListProps.js +0 -1
- package/dist/es/interfaces/TreeListRowProps.js +0 -1
- package/dist/es/interfaces/TreeListSelectableSettings.js +0 -2
- package/dist/es/interfaces/TreeListSortSettings.d.ts +0 -9
- package/dist/es/interfaces/TreeListSortSettings.js +0 -1
- package/dist/es/interfaces/TreeListToolbarProps.d.ts +0 -10
- package/dist/es/interfaces/TreeListToolbarProps.js +0 -1
- package/dist/es/interfaces/events.js +0 -1
- package/dist/es/main.d.ts +0 -34
- package/dist/es/main.js +0 -23
- package/dist/es/messages/index.d.ts +0 -120
- package/dist/es/messages/index.js +0 -121
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/rows/TreeListDraggableRow.js +0 -171
- package/dist/es/rows/TreeListRow.d.ts +0 -6
- package/dist/es/rows/TreeListRow.js +0 -31
- package/dist/es/utils/index.d.ts +0 -17
- package/dist/es/utils/index.js +0 -68
- package/dist/npm/ScrollMode.d.ts +0 -1
- package/dist/npm/ScrollMode.js +0 -2
- package/dist/npm/TreeList.d.ts +0 -133
- package/dist/npm/TreeList.js +0 -635
- package/dist/npm/TreeListNoRecords.d.ts +0 -12
- package/dist/npm/TreeListNoRecords.js +0 -40
- package/dist/npm/TreeListToolbar.d.ts +0 -11
- package/dist/npm/TreeListToolbar.js +0 -36
- package/dist/npm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -8
- package/dist/npm/cells/EditCells/TreeListBooleanEditor.js +0 -45
- package/dist/npm/cells/EditCells/TreeListDateEditor.d.ts +0 -8
- package/dist/npm/cells/EditCells/TreeListDateEditor.js +0 -44
- package/dist/npm/cells/EditCells/TreeListNumericEditor.d.ts +0 -8
- package/dist/npm/cells/EditCells/TreeListNumericEditor.js +0 -45
- package/dist/npm/cells/EditCells/TreeListTextEditor.d.ts +0 -8
- package/dist/npm/cells/EditCells/TreeListTextEditor.js +0 -43
- package/dist/npm/cells/FilterCells/TreeListBooleanFilter.js +0 -34
- package/dist/npm/cells/FilterCells/TreeListDateFilter.js +0 -34
- package/dist/npm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -10
- package/dist/npm/cells/FilterCells/TreeListNumericFilter.js +0 -34
- package/dist/npm/cells/FilterCells/TreeListTextFilter.d.ts +0 -10
- package/dist/npm/cells/FilterCells/TreeListTextFilter.js +0 -34
- package/dist/npm/cells/FilterCells/utils.js +0 -70
- package/dist/npm/cells/TreeListCell.d.ts +0 -6
- package/dist/npm/cells/TreeListCell.js +0 -65
- package/dist/npm/cells/TreeListSelectionCell.d.ts +0 -8
- package/dist/npm/cells/TreeListSelectionCell.js +0 -35
- package/dist/npm/constants/index.d.ts +0 -6
- package/dist/npm/constants/index.js +0 -10
- package/dist/npm/header/TreeListHeaderCell.d.ts +0 -3
- package/dist/npm/header/TreeListHeaderCell.js +0 -18
- package/dist/npm/header/TreeListHeaderSelectionCell.d.ts +0 -11
- package/dist/npm/header/TreeListHeaderSelectionCell.js +0 -48
- package/dist/npm/interfaces/DataItemWrapper.d.ts +0 -10
- package/dist/npm/interfaces/DataItemWrapper.js +0 -2
- package/dist/npm/interfaces/TreeListCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListColumnProps.d.ts +0 -41
- package/dist/npm/interfaces/TreeListColumnProps.js +0 -2
- package/dist/npm/interfaces/TreeListFilterCellProps.d.ts +0 -6
- package/dist/npm/interfaces/TreeListFilterCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListFilterOperator.d.ts +0 -6
- package/dist/npm/interfaces/TreeListFilterOperator.js +0 -2
- package/dist/npm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
- package/dist/npm/interfaces/TreeListHeaderCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListNoRecordsProps.d.ts +0 -10
- package/dist/npm/interfaces/TreeListNoRecordsProps.js +0 -2
- package/dist/npm/interfaces/TreeListProps.d.ts +0 -234
- package/dist/npm/interfaces/TreeListProps.js +0 -2
- package/dist/npm/interfaces/TreeListRowProps.d.ts +0 -93
- package/dist/npm/interfaces/TreeListRowProps.js +0 -2
- package/dist/npm/interfaces/TreeListSelectableSettings.d.ts +0 -18
- package/dist/npm/interfaces/TreeListSelectableSettings.js +0 -3
- package/dist/npm/interfaces/TreeListSortSettings.d.ts +0 -9
- package/dist/npm/interfaces/TreeListSortSettings.js +0 -2
- package/dist/npm/interfaces/TreeListToolbarProps.d.ts +0 -10
- package/dist/npm/interfaces/TreeListToolbarProps.js +0 -2
- package/dist/npm/interfaces/events.d.ts +0 -265
- package/dist/npm/interfaces/events.js +0 -2
- package/dist/npm/main.d.ts +0 -34
- package/dist/npm/main.js +0 -63
- package/dist/npm/messages/index.js +0 -124
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/rows/TreeListDraggableRow.d.ts +0 -32
- package/dist/npm/rows/TreeListDraggableRow.js +0 -174
- package/dist/npm/rows/TreeListRow.d.ts +0 -6
- package/dist/npm/rows/TreeListRow.js +0 -34
- package/dist/npm/utils/index.js +0 -74
- package/dist/systemjs/kendo-react-treelist.js +0 -1
- package/e2e-next/basic.tests.ts +0 -24
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
if (typeof b !== "function" && b !== null)
|
|
10
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
-
extendStatics(d, b);
|
|
12
|
-
function __() { this.constructor = d; }
|
|
13
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
-
};
|
|
15
|
-
})();
|
|
16
|
-
var __assign = (this && this.__assign) || function () {
|
|
17
|
-
__assign = Object.assign || function(t) {
|
|
18
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
-
s = arguments[i];
|
|
20
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
21
|
-
t[p] = s[p];
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
};
|
|
25
|
-
return __assign.apply(this, arguments);
|
|
26
|
-
};
|
|
27
|
-
import * as React from 'react';
|
|
28
|
-
import { guid } from '@progress/kendo-react-common';
|
|
29
|
-
import { HeaderSelectionCell } from '@progress/kendo-react-data-tools';
|
|
30
|
-
var TreeListHeaderSelectionCell = /** @class */ (function (_super) {
|
|
31
|
-
__extends(TreeListHeaderSelectionCell, _super);
|
|
32
|
-
function TreeListHeaderSelectionCell() {
|
|
33
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
34
|
-
_this._inputId = guid();
|
|
35
|
-
return _this;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
TreeListHeaderSelectionCell.prototype.render = function () {
|
|
41
|
-
return React.createElement(HeaderSelectionCell, __assign({ inputId: this._inputId }, this.props));
|
|
42
|
-
};
|
|
43
|
-
return TreeListHeaderSelectionCell;
|
|
44
|
-
}(React.Component));
|
|
45
|
-
export { TreeListHeaderSelectionCell };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CellProps } from '@progress/kendo-react-data-tools';
|
|
3
|
-
/**
|
|
4
|
-
* Represents the props of the TreeListCell component.
|
|
5
|
-
*/
|
|
6
|
-
export interface TreeListCellProps extends Omit<CellProps, 'onExpandChange' | 'render' | 'onChange'> {
|
|
7
|
-
/**
|
|
8
|
-
* An array of indexes of each parent and current item in the data tree.
|
|
9
|
-
*/
|
|
10
|
-
level: number[];
|
|
11
|
-
/**
|
|
12
|
-
* Indicates that the data item of the cell has subitems.
|
|
13
|
-
*/
|
|
14
|
-
hasChildren?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* If set to `true`, the cell will render indentation based on its level prop and
|
|
17
|
-
* the icons that are used for expanding and collapsing child rows.
|
|
18
|
-
*/
|
|
19
|
-
expandable?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The index of the column. Useful for applying `aria-colindex` accessibility attribute.
|
|
22
|
-
*/
|
|
23
|
-
colIndex: number;
|
|
24
|
-
/**
|
|
25
|
-
* The event that is fired when the expand or collapse icon of the cell is clicked.
|
|
26
|
-
*/
|
|
27
|
-
onExpandChange: (event: React.MouseEvent<HTMLSpanElement>, dataItem: any, level: number[]) => void;
|
|
28
|
-
/**
|
|
29
|
-
* A function for overriding the default rendering of the cell.
|
|
30
|
-
*/
|
|
31
|
-
render?: (defaultRendering: React.ReactElement<HTMLTableCellElement> | null, props: TreeListCellProps) => React.ReactElement<HTMLTableCellElement> | null;
|
|
32
|
-
/**
|
|
33
|
-
* The event that is fired when the cell value is changed.
|
|
34
|
-
*/
|
|
35
|
-
onChange?: (event: {
|
|
36
|
-
dataItem: any;
|
|
37
|
-
level: number[];
|
|
38
|
-
syntheticEvent: React.SyntheticEvent<any>;
|
|
39
|
-
field?: string;
|
|
40
|
-
value?: any;
|
|
41
|
-
}) => void;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* The props of the TreeListNoRecords component.
|
|
4
|
-
*/
|
|
5
|
-
export interface TreeListNoRecordsProps {
|
|
6
|
-
/**
|
|
7
|
-
* The React elements which will be rendered inside the TreeList when no records are available.
|
|
8
|
-
*/
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnSortSettings, SortSettings } from '@progress/kendo-react-data-tools';
|
|
2
|
-
/**
|
|
3
|
-
* The settings for sorting the TreeList columns.
|
|
4
|
-
*/
|
|
5
|
-
export declare type TreeListColumnSortSettings = ColumnSortSettings;
|
|
6
|
-
/**
|
|
7
|
-
* The settings for sorting the TreeList data.
|
|
8
|
-
*/
|
|
9
|
-
export declare type TreeListSortSettings = SortSettings;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/es/main.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { TreeList } from './TreeList';
|
|
2
|
-
import { TreeListProps } from './interfaces/TreeListProps';
|
|
3
|
-
import { TreeListColumnProps } from './interfaces/TreeListColumnProps';
|
|
4
|
-
import { TreeListCellProps } from './interfaces/TreeListCellProps';
|
|
5
|
-
import { TreeListCell } from './cells/TreeListCell';
|
|
6
|
-
import { TreeListHeaderCell } from './header/TreeListHeaderCell';
|
|
7
|
-
import { TreeListHeaderCellProps } from './interfaces/TreeListHeaderCellProps';
|
|
8
|
-
import { TreeListSelectionCell, TreeListSelectionCellProps } from './cells/TreeListSelectionCell';
|
|
9
|
-
import { TreeListHeaderSelectionCell, TreeListHeaderSelectionCellProps } from './header/TreeListHeaderSelectionCell';
|
|
10
|
-
import { TreeListRow } from './rows/TreeListRow';
|
|
11
|
-
import { TreeListDraggableRow } from './rows/TreeListDraggableRow';
|
|
12
|
-
import { TreeListRowProps } from './interfaces/TreeListRowProps';
|
|
13
|
-
import { TreeListToolbar } from './TreeListToolbar';
|
|
14
|
-
import { TreeListToolbarProps } from './interfaces/TreeListToolbarProps';
|
|
15
|
-
import { TreeListNoRecords } from './TreeListNoRecords';
|
|
16
|
-
import { TreeListNoRecordsProps } from './interfaces/TreeListNoRecordsProps';
|
|
17
|
-
import { TreeListDataStateChangeEvent, TreeListFilterChangeEvent, TreeListSortChangeEvent, TreeListExpandChangeEvent, TreeListSelectionChangeEvent, TreeListItemChangeEvent, TreeListRowClickEvent, TreeListColumnResizeEvent, TreeListColumnReorderEvent, TreeListPageChangeEvent, TreeListRowDragEvent, TreeListColumnMenuFilterChangeEvent, TreeListHeaderSelectionChangeEvent, TreeListEvent, TreeListRowDoubleClickEvent, TreeListRowContextMenuEvent, TreeListDragSelectionReleaseEvent, TreeListKeyDownEvent } from './interfaces/events';
|
|
18
|
-
import { TreeListSortSettings, TreeListColumnSortSettings } from './interfaces/TreeListSortSettings';
|
|
19
|
-
import { TreeListTextFilter, TreeListTextFilterProps } from './cells/FilterCells/TreeListTextFilter';
|
|
20
|
-
import { TreeListNumericFilter, TreeListNumericFilterProps } from './cells/FilterCells/TreeListNumericFilter';
|
|
21
|
-
import { TreeListDateFilter, TreeListDateFilterProps } from './cells/FilterCells/TreeListDateFilter';
|
|
22
|
-
import { TreeListBooleanFilter, TreeListBooleanFilterProps } from './cells/FilterCells/TreeListBooleanFilter';
|
|
23
|
-
import { TreeListTextEditor, TreeListTextEditorProps } from './cells/EditCells/TreeListTextEditor';
|
|
24
|
-
import { TreeListNumericEditor, TreeListNumericEditorProps } from './cells/EditCells/TreeListNumericEditor';
|
|
25
|
-
import { TreeListBooleanEditor, TreeListBooleanEditorProps } from './cells/EditCells/TreeListBooleanEditor';
|
|
26
|
-
import { TreeListDateEditor, TreeListDateEditorProps } from './cells/EditCells/TreeListDateEditor';
|
|
27
|
-
import { mapTree, mapTreeItem, getNestedValue } from '@progress/kendo-react-common';
|
|
28
|
-
import { orderBy, filterBy, moveTreeItem, getItemPath, createDataTree, extendDataItem, removeItems, modifySubItems, treeToFlat, flatData } from '@progress/kendo-react-data-tools';
|
|
29
|
-
import { DataItemWrapper } from './interfaces/DataItemWrapper';
|
|
30
|
-
import { setHeaderRowsTop, tableRowsVirtualization } from './utils';
|
|
31
|
-
import { TREELIST_COL_INDEX_ATTRIBUTE, TREELIST_ROW_INDEX_ATTRIBUTE, TREELIST_PREVENT_SELECTION_ELEMENT } from './constants';
|
|
32
|
-
import { getSelectedState, getSelectedStateFromKeyDown, setSelectedState } from '@progress/kendo-react-data-tools';
|
|
33
|
-
import { TreeListSelectableMode, TreeListSelectableSettings } from './interfaces/TreeListSelectableSettings';
|
|
34
|
-
export { TreeList, TreeListProps, TreeListColumnProps, TreeListCell, TreeListCellProps, TreeListRow, TreeListDraggableRow, TreeListRowProps, TreeListHeaderCell, TreeListHeaderCellProps, TreeListSelectionCell, TreeListSelectionCellProps, TreeListHeaderSelectionCell, TreeListHeaderSelectionCellProps, TreeListToolbar, TreeListToolbarProps, TreeListNoRecords, TreeListNoRecordsProps, TreeListSortSettings, TreeListColumnSortSettings, TreeListTextFilter, TreeListTextFilterProps, TreeListNumericFilter, TreeListNumericFilterProps, TreeListDateFilter, TreeListDateFilterProps, TreeListBooleanFilter, TreeListBooleanFilterProps, TreeListTextEditor, TreeListTextEditorProps, TreeListNumericEditor, TreeListNumericEditorProps, TreeListBooleanEditor, TreeListBooleanEditorProps, TreeListDateEditor, TreeListDateEditorProps, TreeListDataStateChangeEvent, TreeListFilterChangeEvent, TreeListColumnMenuFilterChangeEvent, TreeListSortChangeEvent, TreeListExpandChangeEvent, TreeListSelectionChangeEvent, TreeListItemChangeEvent, TreeListHeaderSelectionChangeEvent, TreeListRowClickEvent, TreeListColumnResizeEvent, TreeListColumnReorderEvent, TreeListPageChangeEvent, TreeListRowDragEvent, TreeListEvent, TreeListRowDoubleClickEvent, TreeListRowContextMenuEvent, TreeListDragSelectionReleaseEvent, TreeListKeyDownEvent, orderBy, filterBy, mapTree, createDataTree, extendDataItem, mapTreeItem, moveTreeItem, getItemPath, removeItems, modifySubItems, treeToFlat, DataItemWrapper, flatData, getNestedValue, setHeaderRowsTop, tableRowsVirtualization, TREELIST_COL_INDEX_ATTRIBUTE, TREELIST_ROW_INDEX_ATTRIBUTE, TREELIST_PREVENT_SELECTION_ELEMENT, getSelectedState, getSelectedStateFromKeyDown, setSelectedState, TreeListSelectableSettings, TreeListSelectableMode };
|
package/dist/es/main.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TreeList } from './TreeList';
|
|
2
|
-
import { TreeListCell } from './cells/TreeListCell';
|
|
3
|
-
import { TreeListHeaderCell } from './header/TreeListHeaderCell';
|
|
4
|
-
import { TreeListSelectionCell } from './cells/TreeListSelectionCell';
|
|
5
|
-
import { TreeListHeaderSelectionCell } from './header/TreeListHeaderSelectionCell';
|
|
6
|
-
import { TreeListRow } from './rows/TreeListRow';
|
|
7
|
-
import { TreeListDraggableRow } from './rows/TreeListDraggableRow';
|
|
8
|
-
import { TreeListToolbar } from './TreeListToolbar';
|
|
9
|
-
import { TreeListNoRecords } from './TreeListNoRecords';
|
|
10
|
-
import { TreeListTextFilter } from './cells/FilterCells/TreeListTextFilter';
|
|
11
|
-
import { TreeListNumericFilter } from './cells/FilterCells/TreeListNumericFilter';
|
|
12
|
-
import { TreeListDateFilter } from './cells/FilterCells/TreeListDateFilter';
|
|
13
|
-
import { TreeListBooleanFilter } from './cells/FilterCells/TreeListBooleanFilter';
|
|
14
|
-
import { TreeListTextEditor } from './cells/EditCells/TreeListTextEditor';
|
|
15
|
-
import { TreeListNumericEditor } from './cells/EditCells/TreeListNumericEditor';
|
|
16
|
-
import { TreeListBooleanEditor } from './cells/EditCells/TreeListBooleanEditor';
|
|
17
|
-
import { TreeListDateEditor } from './cells/EditCells/TreeListDateEditor';
|
|
18
|
-
import { mapTree, mapTreeItem, getNestedValue } from '@progress/kendo-react-common';
|
|
19
|
-
import { orderBy, filterBy, moveTreeItem, getItemPath, createDataTree, extendDataItem, removeItems, modifySubItems, treeToFlat, flatData } from '@progress/kendo-react-data-tools';
|
|
20
|
-
import { setHeaderRowsTop, tableRowsVirtualization } from './utils';
|
|
21
|
-
import { TREELIST_COL_INDEX_ATTRIBUTE, TREELIST_ROW_INDEX_ATTRIBUTE, TREELIST_PREVENT_SELECTION_ELEMENT } from './constants';
|
|
22
|
-
import { getSelectedState, getSelectedStateFromKeyDown, setSelectedState } from '@progress/kendo-react-data-tools';
|
|
23
|
-
export { TreeList, TreeListCell, TreeListRow, TreeListDraggableRow, TreeListHeaderCell, TreeListSelectionCell, TreeListHeaderSelectionCell, TreeListToolbar, TreeListNoRecords, TreeListTextFilter, TreeListNumericFilter, TreeListDateFilter, TreeListBooleanFilter, TreeListTextEditor, TreeListNumericEditor, TreeListBooleanEditor, TreeListDateEditor, orderBy, filterBy, mapTree, createDataTree, extendDataItem, mapTreeItem, moveTreeItem, getItemPath, removeItems, modifySubItems, treeToFlat, flatData, getNestedValue, setHeaderRowsTop, tableRowsVirtualization, TREELIST_COL_INDEX_ATTRIBUTE, TREELIST_ROW_INDEX_ATTRIBUTE, TREELIST_PREVENT_SELECTION_ELEMENT, getSelectedState, getSelectedStateFromKeyDown, setSelectedState };
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @hidden
|
|
3
|
-
*/
|
|
4
|
-
export declare const filterClearButton = "treelist.filterClearButton";
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const filterEqOperator = "treelist.filterEqOperator";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const filterNotEqOperator = "treelist.filterNotEqOperator";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const filterIsNullOperator = "treelist.filterIsNullOperator";
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const filterIsNotNullOperator = "treelist.filterIsNotNullOperator";
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare const filterIsEmptyOperator = "treelist.filterIsEmptyOperator";
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare const filterIsNotEmptyOperator = "treelist.filterIsNotEmptyOperator";
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare const filterStartsWithOperator = "treelist.filterStartsWithOperator";
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare const filterContainsOperator = "treelist.filterContainsOperator";
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
export declare const filterNotContainsOperator = "treelist.filterNotContainsOperator";
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare const filterEndsWithOperator = "treelist.filterEndsWithOperator";
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
export declare const filterGteOperator = "treelist.filterGteOperator";
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
export declare const filterGtOperator = "treelist.filterGtOperator";
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
export declare const filterLteOperator = "treelist.filterLteOperator";
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
export declare const filterLtOperator = "treelist.filterLtOperator";
|
|
61
|
-
/**
|
|
62
|
-
* @hidden
|
|
63
|
-
*/
|
|
64
|
-
export declare const filterIsTrue = "treelist.filterIsTrue";
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
export declare const filterIsFalse = "treelist.filterIsFalse";
|
|
69
|
-
/**
|
|
70
|
-
* @hidden
|
|
71
|
-
*/
|
|
72
|
-
export declare const filterBooleanAll = "treelist.filterBooleanAll";
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
export declare const filterAfterOrEqualOperator = "treelist.filterAfterOrEqualOperator";
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
export declare const filterAfterOperator = "treelist.filterAfterOperator";
|
|
81
|
-
/**
|
|
82
|
-
* @hidden
|
|
83
|
-
*/
|
|
84
|
-
export declare const filterBeforeOperator = "treelist.filterBeforeOperator";
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
export declare const filterBeforeOrEqualOperator = "treelist.filterBeforeOrEqualOperator";
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*/
|
|
92
|
-
export declare const noRecords = "treelist.noRecords";
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
export declare const messages: {
|
|
97
|
-
"treelist.filterClearButton": string;
|
|
98
|
-
"treelist.filterEqOperator": string;
|
|
99
|
-
"treelist.filterNotEqOperator": string;
|
|
100
|
-
"treelist.filterIsNullOperator": string;
|
|
101
|
-
"treelist.filterIsNotNullOperator": string;
|
|
102
|
-
"treelist.filterIsEmptyOperator": string;
|
|
103
|
-
"treelist.filterIsNotEmptyOperator": string;
|
|
104
|
-
"treelist.filterStartsWithOperator": string;
|
|
105
|
-
"treelist.filterContainsOperator": string;
|
|
106
|
-
"treelist.filterNotContainsOperator": string;
|
|
107
|
-
"treelist.filterEndsWithOperator": string;
|
|
108
|
-
"treelist.filterGteOperator": string;
|
|
109
|
-
"treelist.filterGtOperator": string;
|
|
110
|
-
"treelist.filterLteOperator": string;
|
|
111
|
-
"treelist.filterLtOperator": string;
|
|
112
|
-
"treelist.filterIsTrue": string;
|
|
113
|
-
"treelist.filterIsFalse": string;
|
|
114
|
-
"treelist.filterBooleanAll": string;
|
|
115
|
-
"treelist.filterAfterOrEqualOperator": string;
|
|
116
|
-
"treelist.filterAfterOperator": string;
|
|
117
|
-
"treelist.filterBeforeOperator": string;
|
|
118
|
-
"treelist.filterBeforeOrEqualOperator": string;
|
|
119
|
-
"treelist.noRecords": string;
|
|
120
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
/**
|
|
3
|
-
* @hidden
|
|
4
|
-
*/
|
|
5
|
-
export var filterClearButton = 'treelist.filterClearButton';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export var filterEqOperator = 'treelist.filterEqOperator';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export var filterNotEqOperator = 'treelist.filterNotEqOperator';
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export var filterIsNullOperator = 'treelist.filterIsNullOperator';
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export var filterIsNotNullOperator = 'treelist.filterIsNotNullOperator';
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export var filterIsEmptyOperator = 'treelist.filterIsEmptyOperator';
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export var filterIsNotEmptyOperator = 'treelist.filterIsNotEmptyOperator';
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export var filterStartsWithOperator = 'treelist.filterStartsWithOperator';
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export var filterContainsOperator = 'treelist.filterContainsOperator';
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export var filterNotContainsOperator = 'treelist.filterNotContainsOperator';
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
export var filterEndsWithOperator = 'treelist.filterEndsWithOperator';
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
export var filterGteOperator = 'treelist.filterGteOperator';
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
export var filterGtOperator = 'treelist.filterGtOperator';
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export var filterLteOperator = 'treelist.filterLteOperator';
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
export var filterLtOperator = 'treelist.filterLtOperator';
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
export var filterIsTrue = 'treelist.filterIsTrue';
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export var filterIsFalse = 'treelist.filterIsFalse';
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
export var filterBooleanAll = 'treelist.filterBooleanAll';
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
export var filterAfterOrEqualOperator = 'treelist.filterAfterOrEqualOperator';
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
export var filterAfterOperator = 'treelist.filterAfterOperator';
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
export var filterBeforeOperator = 'treelist.filterBeforeOperator';
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
export var filterBeforeOrEqualOperator = 'treelist.filterBeforeOrEqualOperator';
|
|
90
|
-
/**
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
export var noRecords = 'treelist.noRecords';
|
|
94
|
-
/**
|
|
95
|
-
* @hidden
|
|
96
|
-
*/
|
|
97
|
-
export var messages = (_a = {},
|
|
98
|
-
_a[filterClearButton] = 'Clear',
|
|
99
|
-
_a[filterEqOperator] = 'Is equal to',
|
|
100
|
-
_a[filterNotEqOperator] = 'Is not equal to',
|
|
101
|
-
_a[filterIsNullOperator] = 'Is null',
|
|
102
|
-
_a[filterIsNotNullOperator] = 'Is not null',
|
|
103
|
-
_a[filterIsEmptyOperator] = 'Is empty',
|
|
104
|
-
_a[filterIsNotEmptyOperator] = 'Is not empty',
|
|
105
|
-
_a[filterStartsWithOperator] = 'Starts with',
|
|
106
|
-
_a[filterContainsOperator] = 'Contains',
|
|
107
|
-
_a[filterNotContainsOperator] = 'Does not contain',
|
|
108
|
-
_a[filterEndsWithOperator] = 'Ends with',
|
|
109
|
-
_a[filterGteOperator] = 'Is greater than or equal to',
|
|
110
|
-
_a[filterGtOperator] = 'Is greater than',
|
|
111
|
-
_a[filterLteOperator] = 'Is less than or equal to',
|
|
112
|
-
_a[filterLtOperator] = 'Is less than',
|
|
113
|
-
_a[filterIsTrue] = 'Is true',
|
|
114
|
-
_a[filterIsFalse] = 'Is false',
|
|
115
|
-
_a[filterBooleanAll] = '(All)',
|
|
116
|
-
_a[filterAfterOrEqualOperator] = 'Is after or equal to',
|
|
117
|
-
_a[filterAfterOperator] = 'Is after',
|
|
118
|
-
_a[filterBeforeOperator] = 'Is before',
|
|
119
|
-
_a[filterBeforeOrEqualOperator] = 'Is before or equal to',
|
|
120
|
-
_a[noRecords] = 'No records available',
|
|
121
|
-
_a);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @hidden
|
|
3
|
-
*/
|
|
4
|
-
export var packageMetadata = {
|
|
5
|
-
name: '@progress/kendo-react-treelist',
|
|
6
|
-
productName: 'KendoReact',
|
|
7
|
-
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate: 1700064454,
|
|
9
|
-
version: '',
|
|
10
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
|
-
};
|