@progress/kendo-angular-treelist 24.2.2 → 25.0.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/fesm2022/progress-kendo-angular-treelist.mjs +540 -536
- package/index.d.ts +8735 -170
- package/package-metadata.mjs +2 -2
- package/package.json +23 -23
- package/schematics/ngAdd/index.js +3 -3
- package/binding-directives/base-binding.directive.d.ts +0 -72
- package/binding-directives/data-bound-tree-component.d.ts +0 -59
- package/binding-directives/flat-binding.directive.d.ts +0 -49
- package/binding-directives/hierarchy-binding.directive.d.ts +0 -48
- package/column-menu/column-chooser-item-checked.directive.d.ts +0 -21
- package/column-menu/column-chooser.component.d.ts +0 -68
- package/column-menu/column-list-kb-nav.service.d.ts +0 -22
- package/column-menu/column-list.component.d.ts +0 -61
- package/column-menu/column-locked-change-event.d.ts +0 -20
- package/column-menu/column-menu-autosize-all.component.d.ts +0 -37
- package/column-menu/column-menu-autosize.component.d.ts +0 -41
- package/column-menu/column-menu-chooser.component.d.ts +0 -71
- package/column-menu/column-menu-container.component.d.ts +0 -21
- package/column-menu/column-menu-expandable-item.interface.d.ts +0 -15
- package/column-menu/column-menu-filter.component.d.ts +0 -65
- package/column-menu/column-menu-item-base.d.ts +0 -25
- package/column-menu/column-menu-item-content-template.directive.d.ts +0 -32
- package/column-menu/column-menu-item.component.d.ts +0 -80
- package/column-menu/column-menu-item.directive.d.ts +0 -67
- package/column-menu/column-menu-lock.component.d.ts +0 -49
- package/column-menu/column-menu-settings.interface.d.ts +0 -45
- package/column-menu/column-menu-sort.component.d.ts +0 -44
- package/column-menu/column-menu-template.directive.d.ts +0 -36
- package/column-menu/column-menu.component.d.ts +0 -139
- package/column-menu/column-menu.service.d.ts +0 -63
- package/column-menu/column-visibility-change-event.d.ts +0 -18
- package/column-menu/utils.d.ts +0 -37
- package/column-resizing/column-handle.directive.d.ts +0 -41
- package/column-resizing/column-resize.interface.d.ts +0 -59
- package/column-resizing/column-resizing.service.d.ts +0 -34
- package/column-resizing/table.directive.d.ts +0 -33
- package/columns/checkbox-column.component.d.ts +0 -45
- package/columns/column-base.d.ts +0 -238
- package/columns/column-common.d.ts +0 -53
- package/columns/column-group.component.d.ts +0 -61
- package/columns/column-list.d.ts +0 -21
- package/columns/column.component.d.ts +0 -94
- package/columns/columns-container.d.ts +0 -27
- package/columns/command-column.component.d.ts +0 -42
- package/columns/rowreorder-column.component.d.ts +0 -27
- package/columns/sort-settings.d.ts +0 -49
- package/columns/span-column.component.d.ts +0 -119
- package/common/cell-click-event-args.interface.d.ts +0 -50
- package/common/column-info.service.d.ts +0 -30
- package/common/create-form-group.d.ts +0 -11
- package/common/default-track-by.d.ts +0 -9
- package/common/dom-events.service.d.ts +0 -21
- package/common/error-messages.d.ts +0 -8
- package/common/filter-descriptor-differ.d.ts +0 -13
- package/common/filter-operator.interface.d.ts +0 -11
- package/common/id.service.d.ts +0 -18
- package/common/option-changes.service.d.ts +0 -17
- package/common/pager-settings.d.ts +0 -65
- package/common/preventable-event.d.ts +0 -24
- package/common/provider.service.d.ts +0 -27
- package/common/remove-confirmation.d.ts +0 -9
- package/common/single-popup.service.d.ts +0 -60
- package/common/sort.service.d.ts +0 -13
- package/data/change-event-args.interface.d.ts +0 -31
- package/data/change-notification.service.d.ts +0 -18
- package/data/data-item.interface.d.ts +0 -25
- package/data/data.collection.d.ts +0 -133
- package/data/treelist-item.interface.d.ts +0 -10
- package/directives.d.ts +0 -159
- package/dragdrop/column-reorder-config.d.ts +0 -14
- package/dragdrop/column-reorder-event.d.ts +0 -27
- package/dragdrop/column-reorder.service.d.ts +0 -15
- package/dragdrop/common.d.ts +0 -38
- package/dragdrop/context-types.d.ts +0 -16
- package/dragdrop/drag-and-drop.service.d.ts +0 -23
- package/dragdrop/drag-hint.service.d.ts +0 -34
- package/dragdrop/draggable-column.directive.d.ts +0 -40
- package/dragdrop/drop-cue.service.d.ts +0 -18
- package/dragdrop/drop-target.directive.d.ts +0 -26
- package/editing/add-command-tool.directive.d.ts +0 -35
- package/editing/add-command.directive.d.ts +0 -41
- package/editing/add-event-args.interface.d.ts +0 -15
- package/editing/base-command.directive.d.ts +0 -31
- package/editing/cancel-command.directive.d.ts +0 -39
- package/editing/cancel-event-args.interface.d.ts +0 -9
- package/editing/cell-close-event.d.ts +0 -33
- package/editing/edit-command.directive.d.ts +0 -39
- package/editing/edit-event-args.interface.d.ts +0 -23
- package/editing/edit-template.directive.d.ts +0 -34
- package/editing/edit.service.d.ts +0 -78
- package/editing/remove-command.directive.d.ts +0 -39
- package/editing/remove-event-args.interface.d.ts +0 -15
- package/editing/save-command.directive.d.ts +0 -39
- package/editing/save-event-args.interface.d.ts +0 -20
- package/editing-directives/create-form-group-args.interface.d.ts +0 -9
- package/editing-directives/edit-service.interface.d.ts +0 -34
- package/editing-directives/editing-directive-base.d.ts +0 -59
- package/editing-directives/flat-edit.service.d.ts +0 -15
- package/editing-directives/hierarchy-edit.service.d.ts +0 -15
- package/editing-directives/in-cell-editing.directive.d.ts +0 -41
- package/editing-directives/local-edit.service.d.ts +0 -15
- package/editing-directives/reactive-editing.directive.d.ts +0 -34
- package/editing-directives/row-editing-directive-base.d.ts +0 -20
- package/editing-directives/template-editing.directive.d.ts +0 -36
- package/editing-directives/utils.d.ts +0 -13
- package/excel/excel-command-tool.directive.d.ts +0 -39
- package/excel/excel-command.directive.d.ts +0 -37
- package/excel/excel-export-data.interface.d.ts +0 -22
- package/excel/excel-export-event.d.ts +0 -12
- package/excel/excel.component.d.ts +0 -98
- package/excel/excel.module.d.ts +0 -33
- package/excel/excel.service.d.ts +0 -19
- package/expand-state/expand-event.d.ts +0 -27
- package/expand-state/expand-state.service.d.ts +0 -22
- package/expand-state/expandable-tree-component.d.ts +0 -32
- package/expand-state/expandable.directive.d.ts +0 -58
- package/filtering/base-filter-cell.component.d.ts +0 -78
- package/filtering/boolean-filter.component.d.ts +0 -57
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +0 -32
- package/filtering/cell/boolean-filter-cell.component.d.ts +0 -41
- package/filtering/cell/date-filter-cell.component.d.ts +0 -46
- package/filtering/cell/filter-cell-component.factory.d.ts +0 -12
- package/filtering/cell/filter-cell-host.directive.d.ts +0 -17
- package/filtering/cell/filter-cell-operators.component.d.ts +0 -112
- package/filtering/cell/filter-cell-template.directive.d.ts +0 -35
- package/filtering/cell/filter-cell-wrapper.component.d.ts +0 -21
- package/filtering/cell/filter-cell.component.d.ts +0 -25
- package/filtering/cell/numeric-filter-cell.component.d.ts +0 -57
- package/filtering/cell/string-filter-cell.component.d.ts +0 -52
- package/filtering/date-filter.component.d.ts +0 -111
- package/filtering/filter-component.interface.d.ts +0 -13
- package/filtering/filter-host.directive.d.ts +0 -35
- package/filtering/filter-input-wrapper.component.d.ts +0 -39
- package/filtering/filter-input.directive.d.ts +0 -35
- package/filtering/filter-row.component.d.ts +0 -24
- package/filtering/filter.service.d.ts +0 -32
- package/filtering/filterable.d.ts +0 -30
- package/filtering/menu/boolean-filter-menu.component.d.ts +0 -77
- package/filtering/menu/date-filter-menu-input.component.d.ts +0 -49
- package/filtering/menu/date-filter-menu.component.d.ts +0 -65
- package/filtering/menu/filter-menu-component.factory.d.ts +0 -12
- package/filtering/menu/filter-menu-container.component.d.ts +0 -73
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +0 -19
- package/filtering/menu/filter-menu-host.directive.d.ts +0 -22
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +0 -48
- package/filtering/menu/filter-menu-template.directive.d.ts +0 -32
- package/filtering/menu/filter-menu.component.d.ts +0 -61
- package/filtering/menu/filter-radio-button.directive.d.ts +0 -19
- package/filtering/menu/menu-tabbing.service.d.ts +0 -18
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +0 -43
- package/filtering/menu/numeric-filter-menu.component.d.ts +0 -82
- package/filtering/menu/string-filter-menu-input.component.d.ts +0 -32
- package/filtering/menu/string-filter-menu.component.d.ts +0 -76
- package/filtering/numeric-filter.component.d.ts +0 -85
- package/filtering/operators/after-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/after-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-filter-operator.component.d.ts +0 -49
- package/filtering/operators/contains-filter-operator.component.d.ts +0 -43
- package/filtering/operators/ends-with-filter-operator.component.d.ts +0 -43
- package/filtering/operators/eq-filter-operator.component.d.ts +0 -91
- package/filtering/operators/filter-operator.base.d.ts +0 -44
- package/filtering/operators/gt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/gte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-empty-filter-operator.component.d.ts +0 -43
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +0 -43
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +0 -91
- package/filtering/operators/isnull-filter-operator.component.d.ts +0 -91
- package/filtering/operators/lt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/lte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/neq-filter-operator.component.d.ts +0 -91
- package/filtering/operators/not-contains-filter-operator.component.d.ts +0 -43
- package/filtering/operators/starts-with-filter-operator.component.d.ts +0 -43
- package/filtering/string-filter.component.d.ts +0 -47
- package/layout/resizable.directive.d.ts +0 -28
- package/layout/resize.service.d.ts +0 -18
- package/layout/responsive.service.d.ts +0 -20
- package/layout/row-sync.d.ts +0 -8
- package/localization/custom-messages.component.d.ts +0 -27
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -377
- package/navigation/default-focusable-element.d.ts +0 -22
- package/navigation/focus-group.d.ts +0 -67
- package/navigation/focus-root.d.ts +0 -25
- package/navigation/focusable-element.interface.d.ts +0 -34
- package/navigation/focusable.directive.d.ts +0 -89
- package/navigation/item-map.d.ts +0 -19
- package/navigation/logical-cell.directive.d.ts +0 -53
- package/navigation/logical-cell.interface.d.ts +0 -19
- package/navigation/logical-row.directive.d.ts +0 -37
- package/navigation/logical-row.interface.d.ts +0 -14
- package/navigation/model-cell.d.ts +0 -25
- package/navigation/navigation-cell.interface.d.ts +0 -59
- package/navigation/navigation-change.interface.d.ts +0 -13
- package/navigation/navigation-cursor.d.ts +0 -48
- package/navigation/navigation-metadata.d.ts +0 -20
- package/navigation/navigation-mode.d.ts +0 -43
- package/navigation/navigation-model.d.ts +0 -27
- package/navigation/navigation-row.interface.d.ts +0 -34
- package/navigation/navigation.service.d.ts +0 -116
- package/navigation/treelist-focusable-element.d.ts +0 -18
- package/package-metadata.d.ts +0 -9
- package/pdf/export-element.d.ts +0 -10
- package/pdf/pdf-command-tool.directive.d.ts +0 -43
- package/pdf/pdf-command.directive.d.ts +0 -41
- package/pdf/pdf-export-event.d.ts +0 -16
- package/pdf/pdf-margin.component.d.ts +0 -24
- package/pdf/pdf-margin.interface.d.ts +0 -9
- package/pdf/pdf-template.directive.d.ts +0 -34
- package/pdf/pdf.component.d.ts +0 -76
- package/pdf/pdf.module.d.ts +0 -36
- package/pdf/pdf.service.d.ts +0 -24
- package/pdf/treelist-query.d.ts +0 -26
- package/rendering/cell-template.directive.d.ts +0 -38
- package/rendering/cell.component.d.ts +0 -64
- package/rendering/common/col-group.component.d.ts +0 -17
- package/rendering/common/dom-queries.d.ts +0 -64
- package/rendering/common/field-accessor.pipe.d.ts +0 -18
- package/rendering/common/level-items.pipe.d.ts +0 -14
- package/rendering/common/loading.component.d.ts +0 -17
- package/rendering/common/row-class.d.ts +0 -37
- package/rendering/common/spacer.component.d.ts +0 -36
- package/rendering/constants.d.ts +0 -28
- package/rendering/footer-template.directive.d.ts +0 -34
- package/rendering/header/header-template.directive.d.ts +0 -34
- package/rendering/header/header.component.d.ts +0 -138
- package/rendering/header/select-all-checkbox.directive.d.ts +0 -23
- package/rendering/list.component.d.ts +0 -138
- package/rendering/no-records-template.directive.d.ts +0 -29
- package/rendering/table-body.component.d.ts +0 -101
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +0 -42
- package/rendering/toolbar/toolbar-navigation.service.d.ts +0 -21
- package/rendering/toolbar/toolbar-template.directive.d.ts +0 -37
- package/rendering/toolbar/toolbar.component.d.ts +0 -30
- package/row-reordering/flat-reorder.service.d.ts +0 -16
- package/row-reordering/hierarchical-reorder.service.d.ts +0 -16
- package/row-reordering/row-reorder.service.d.ts +0 -72
- package/row-reordering/types.d.ts +0 -42
- package/row-reordering/utils.d.ts +0 -85
- package/scrolling/content-scroll-event.d.ts +0 -43
- package/scrolling/row-height.service.d.ts +0 -15
- package/scrolling/scroll-bottom-event.d.ts +0 -16
- package/scrolling/scroll-request.service.d.ts +0 -28
- package/scrolling/scroll-sync.service.d.ts +0 -36
- package/scrolling/scroller.service.d.ts +0 -49
- package/scrolling/scrollmode.d.ts +0 -18
- package/scrolling/suspend.service.d.ts +0 -13
- package/selection/is-selected.d.ts +0 -17
- package/selection/marquee.directive.d.ts +0 -38
- package/selection/selectable-settings.d.ts +0 -44
- package/selection/selectable.directive.d.ts +0 -87
- package/selection/selection-change-event.d.ts +0 -44
- package/selection/selection-state.d.ts +0 -34
- package/selection/selection.service.d.ts +0 -53
- package/treelist.component.d.ts +0 -808
- package/treelist.module.d.ts +0 -137
- package/utils.d.ts +0 -80
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DragTargetPressEvent, DragTargetDragEvent, DropTargetEvent } from '@progress/kendo-angular-utils';
|
|
6
|
-
import { EventEmitter, Renderer2 } from '@angular/core';
|
|
7
|
-
import { DropPosition, RowReorderEvent } from './types';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { ColumnList } from '../columns/column-list';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class RowReorderService {
|
|
15
|
-
private renderer;
|
|
16
|
-
defaultSelectors: {
|
|
17
|
-
handle: string;
|
|
18
|
-
dragTarget: string;
|
|
19
|
-
dropTarget: string;
|
|
20
|
-
};
|
|
21
|
-
dragTarget: HTMLElement;
|
|
22
|
-
dropTarget: HTMLElement;
|
|
23
|
-
view: any;
|
|
24
|
-
bindingDirective: any;
|
|
25
|
-
private offsetY;
|
|
26
|
-
private dropIndicator;
|
|
27
|
-
private lastDropPosition;
|
|
28
|
-
private hintElement;
|
|
29
|
-
rowReorder: EventEmitter<RowReorderEvent>;
|
|
30
|
-
constructor(renderer: Renderer2);
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
press(ev: DragTargetPressEvent): void;
|
|
33
|
-
dragStart(): void;
|
|
34
|
-
drag(ev: DragTargetDragEvent): void;
|
|
35
|
-
dragEnter(ev: DropTargetEvent): void;
|
|
36
|
-
dragLeave(): void;
|
|
37
|
-
dragEnd(): void;
|
|
38
|
-
drop(): void;
|
|
39
|
-
get hintIcon(): string;
|
|
40
|
-
get hintSVGIcon(): SVGIcon;
|
|
41
|
-
getDefaultHintText(columns: ColumnList, data: any): string;
|
|
42
|
-
rowReorderArgs(dragRow: HTMLElement, dropRow: HTMLElement, data: Array<any>): RowReorderEvent;
|
|
43
|
-
isOverChild(_item: any): boolean;
|
|
44
|
-
reorderRows(_ev: RowReorderEvent, _collection: Array<any>, _field?: string): void;
|
|
45
|
-
/**
|
|
46
|
-
* Triggers row reordering programmatically via keyboard shortcut.
|
|
47
|
-
* @param dragRowIndex - The index of the row to move
|
|
48
|
-
* @param dropRowIndex - The index of the target row
|
|
49
|
-
* @param dropPosition - The position relative to the target row ('before' or 'after')
|
|
50
|
-
* @param data - The data array (view)
|
|
51
|
-
*/
|
|
52
|
-
reorderViaKeyboard(dragRowIndex: number, dropRowIndex: number, dropPosition: DropPosition, data: Array<any>): void;
|
|
53
|
-
private createVirtualRowElement;
|
|
54
|
-
get parentIdField(): string;
|
|
55
|
-
get idField(): string;
|
|
56
|
-
get childrenField(): string;
|
|
57
|
-
get data(): any[];
|
|
58
|
-
private getDragRowPerElement;
|
|
59
|
-
private createDropIndicator;
|
|
60
|
-
private destroyDropIndicator;
|
|
61
|
-
private destroyHintElement;
|
|
62
|
-
private decorateHint;
|
|
63
|
-
private positionDropIndicator;
|
|
64
|
-
private decorateDropIndicator;
|
|
65
|
-
private getDropPosition;
|
|
66
|
-
private updateDropIndicatorPosition;
|
|
67
|
-
private shouldHideDropIndicator;
|
|
68
|
-
private hide;
|
|
69
|
-
private show;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowReorderService, never>;
|
|
71
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RowReorderService>;
|
|
72
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* The arguments for the `rowReorder` event.
|
|
7
|
-
*/
|
|
8
|
-
export interface RowReorderEvent {
|
|
9
|
-
/**
|
|
10
|
-
* The rows that are currently dragged and the data associated with them.
|
|
11
|
-
*/
|
|
12
|
-
draggedRows: DragRow[];
|
|
13
|
-
/**
|
|
14
|
-
* The row over which the dragged rows are dropped.
|
|
15
|
-
*/
|
|
16
|
-
dropTargetRow?: DragRow;
|
|
17
|
-
/**
|
|
18
|
-
* The drop position of the dragged row.
|
|
19
|
-
*/
|
|
20
|
-
dropPosition: DropPosition;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Represents a reorderable data row with an associated data item.
|
|
24
|
-
*/
|
|
25
|
-
export interface DragRow {
|
|
26
|
-
/**
|
|
27
|
-
* The row data item.
|
|
28
|
-
*/
|
|
29
|
-
dataItem: any;
|
|
30
|
-
/**
|
|
31
|
-
* The data row index.
|
|
32
|
-
*/
|
|
33
|
-
rowIndex: number;
|
|
34
|
-
/**
|
|
35
|
-
* The row HTML element.
|
|
36
|
-
*/
|
|
37
|
-
element: HTMLElement;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the drop position for row reordering.
|
|
41
|
-
*/
|
|
42
|
-
export type DropPosition = 'before' | 'after' | 'over' | 'forbidden';
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const isNextSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const isPreviousSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare function getOffset(element: any): {
|
|
17
|
-
top: number;
|
|
18
|
-
left: number;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export declare const hintIcons: {
|
|
24
|
-
forbidden: string;
|
|
25
|
-
before: string;
|
|
26
|
-
after: string;
|
|
27
|
-
over: string;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare const hintSVGIcons: {
|
|
33
|
-
forbidden: import("@progress/kendo-svg-icons").SVGIcon;
|
|
34
|
-
before: import("@progress/kendo-svg-icons").SVGIcon;
|
|
35
|
-
after: import("@progress/kendo-svg-icons").SVGIcon;
|
|
36
|
-
over: import("@progress/kendo-svg-icons").SVGIcon;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export declare const dropPosition: {
|
|
42
|
-
forbidden: string;
|
|
43
|
-
before: string;
|
|
44
|
-
after: string;
|
|
45
|
-
over: string;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
export declare const hintStyles: {
|
|
51
|
-
zIndex: string;
|
|
52
|
-
display: string;
|
|
53
|
-
position: string;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
export declare const hintClasses: string[];
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
export declare const dropIndicatorStyles: {
|
|
63
|
-
zIndex: string;
|
|
64
|
-
position: string;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export declare const dropIndicatorClasses: string[];
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
export declare const defaultSelectors: {
|
|
74
|
-
handle: string;
|
|
75
|
-
dragTarget: string;
|
|
76
|
-
dropTarget: string;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
export declare const rowIndexAttr = "data-treelist-view-index";
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
export declare const findParent: (collection: Array<any>, searchItem: any, field: string) => any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Arguments for the [`contentScroll`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#contentscroll) event.
|
|
7
|
-
*
|
|
8
|
-
* Use this event to get information about the scroll position and visible rows or columns in the TreeList.
|
|
9
|
-
*/
|
|
10
|
-
export interface ContentScrollEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The scroll left position.
|
|
13
|
-
*/
|
|
14
|
-
scrollLeft: number;
|
|
15
|
-
/**
|
|
16
|
-
* The scroll top position.
|
|
17
|
-
*/
|
|
18
|
-
scrollTop: number;
|
|
19
|
-
/**
|
|
20
|
-
* The index of the first row visible in the viewport.
|
|
21
|
-
* Available only if the treelist is configured for virtual scrolling.
|
|
22
|
-
*
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
startRow: number;
|
|
26
|
-
/**
|
|
27
|
-
* The index of the last row visible in the viewport.
|
|
28
|
-
* Available only if the treelist is configured for virtual scrolling.
|
|
29
|
-
*
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
endRow: number;
|
|
33
|
-
/**
|
|
34
|
-
* The index of the first column visible in the viewport.
|
|
35
|
-
* Available only if the `virtualColumns` option is set to true.
|
|
36
|
-
*/
|
|
37
|
-
startColumn: number;
|
|
38
|
-
/**
|
|
39
|
-
* The index of the last column visible in the viewport.
|
|
40
|
-
* Available only if the `virtualColumns` option is set to true.
|
|
41
|
-
*/
|
|
42
|
-
endColumn: number;
|
|
43
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class RowHeightService {
|
|
9
|
-
private total;
|
|
10
|
-
private rowHeight;
|
|
11
|
-
constructor(total: number, rowHeight: number);
|
|
12
|
-
index(position: number): number;
|
|
13
|
-
offset(rowIndex: number): number;
|
|
14
|
-
totalHeight(): number;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TreeListComponent } from "../treelist.component";
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the [`scrollBottom`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#scrollbottom) event. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#endless-scrolling).
|
|
8
|
-
*
|
|
9
|
-
* Use this event to get the TreeListComponent instance when the user scrolls to the bottom.
|
|
10
|
-
*/
|
|
11
|
-
export interface ScrollBottomEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The instance of the TreeListComponent.
|
|
14
|
-
*/
|
|
15
|
-
sender: TreeListComponent;
|
|
16
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Arguments for the scrollTo method. Specifies the row or column to which the TreeList should scroll.
|
|
9
|
-
*/
|
|
10
|
-
export interface ScrollRequest {
|
|
11
|
-
/**
|
|
12
|
-
* The row index to which the TreeList should scroll, considering 0 as the first row.
|
|
13
|
-
*/
|
|
14
|
-
row?: number;
|
|
15
|
-
/**
|
|
16
|
-
* The column index to which the TreeList should scroll, considering 0 as the first column.
|
|
17
|
-
*/
|
|
18
|
-
column?: number;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export declare class ScrollRequestService {
|
|
24
|
-
requests: Subject<ScrollRequest>;
|
|
25
|
-
scrollTo(request: ScrollRequest): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollRequestService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollRequestService>;
|
|
28
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone } from '@angular/core';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export type ScrollSyncEvent = {
|
|
12
|
-
scrollLeft: number;
|
|
13
|
-
sourceType: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class ScrollSyncService {
|
|
19
|
-
private ngZone;
|
|
20
|
-
changes: Subject<ScrollSyncEvent>;
|
|
21
|
-
private elements;
|
|
22
|
-
private source;
|
|
23
|
-
private subscriptions;
|
|
24
|
-
private headerSubscription;
|
|
25
|
-
private bodySubscription;
|
|
26
|
-
constructor(ngZone: NgZone);
|
|
27
|
-
registerEmitter(el: any, sourceType: "body" | "header" | "footer"): void;
|
|
28
|
-
/**
|
|
29
|
-
* destroy
|
|
30
|
-
*/
|
|
31
|
-
destroy(): void;
|
|
32
|
-
private scrollLeft;
|
|
33
|
-
private unregister;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSyncService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollSyncService>;
|
|
36
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Observable, Observer } from 'rxjs';
|
|
6
|
-
import { RowHeightService } from './row-height.service';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ScrollAction {
|
|
11
|
-
offset: number;
|
|
12
|
-
constructor(offset: number);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class PageAction {
|
|
18
|
-
skip: number;
|
|
19
|
-
take: number;
|
|
20
|
-
constructor(skip: number, take: number);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export declare class ScrollBottomAction {
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export type Action = ScrollAction | ScrollBottomAction | PageAction;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
export declare class ScrollerService {
|
|
35
|
-
private scrollObservable;
|
|
36
|
-
private firstLoaded;
|
|
37
|
-
private lastLoaded;
|
|
38
|
-
private lastScrollTop;
|
|
39
|
-
private take;
|
|
40
|
-
private total;
|
|
41
|
-
private rowHeightService;
|
|
42
|
-
private scrollSubscription;
|
|
43
|
-
private subscription;
|
|
44
|
-
constructor(scrollObservable: Observable<any>);
|
|
45
|
-
create(rowHeightService: RowHeightService, skip: number, take: number, total: number, scrollTop?: number): Observable<Action>;
|
|
46
|
-
destroy(): void;
|
|
47
|
-
protected onScroll({ scrollTop, offsetHeight, scrollHeight, clientHeight }: any, observer: Observer<Action>): void;
|
|
48
|
-
private unsubscribe;
|
|
49
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* The scroll mode of the TreeList.
|
|
7
|
-
*
|
|
8
|
-
* The available values are:
|
|
9
|
-
* - `none`—Scrollbars are hidden. The TreeList cannot be scrolled.
|
|
10
|
-
* - `scrollable`—Displays scrollbars in TreeList.
|
|
11
|
-
* - `virtual`—Enables the [virtual scroll mode](https://www.telerik.com/kendo-angular-ui/components/treelist/scroll-modes/virtual) of the TreeList.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-treelist scrollable="scrollable"></kendo-treelist>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export type ScrollMode = 'none' | 'scrollable' | 'virtual';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class SuspendService {
|
|
10
|
-
scroll: boolean;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuspendService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SuspendService>;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ColumnBase } from '../columns/column-base';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the callback used by the [`isSelected`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isSelected) property.
|
|
8
|
-
* Use this function to determine if a data item is selected.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* public isSelected(dataItem: any, column?: ColumnBase, columnIndex?: number): boolean {
|
|
13
|
-
* return dataItem.selected;
|
|
14
|
-
* }
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export type IsSelectedFn = (dataItem: any, column?: ColumnBase, columnIndex?: number) => boolean;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
-
import { SelectionService } from './selection.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class MarqueeDirective {
|
|
13
|
-
private draggable;
|
|
14
|
-
private selection;
|
|
15
|
-
private changeDetector;
|
|
16
|
-
get userSelection(): string;
|
|
17
|
-
private pressArgs;
|
|
18
|
-
private marqueeElement;
|
|
19
|
-
private pressTarget;
|
|
20
|
-
private currentTarget;
|
|
21
|
-
private selectionSelected;
|
|
22
|
-
private state;
|
|
23
|
-
private subscriptions;
|
|
24
|
-
private selectionStarted;
|
|
25
|
-
constructor(draggable: DraggableDirective, selection: SelectionService, changeDetector: ChangeDetectorRef);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
private cellSelected;
|
|
29
|
-
private rowSelected;
|
|
30
|
-
private start;
|
|
31
|
-
private moveMarquee;
|
|
32
|
-
private endSelection;
|
|
33
|
-
private clean;
|
|
34
|
-
private targetArgs;
|
|
35
|
-
private initMarquee;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MarqueeDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MarqueeDirective, "[kendoTreeListSelectionMarquee]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* The settings for the selection functionality of the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection#setup).
|
|
7
|
-
*/
|
|
8
|
-
export interface SelectableSettings {
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the selection mode.
|
|
11
|
-
*/
|
|
12
|
-
mode?: 'cell' | 'row';
|
|
13
|
-
/**
|
|
14
|
-
* Specifies if multiple selection is enabled.
|
|
15
|
-
*/
|
|
16
|
-
multiple?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the drag selection options.
|
|
19
|
-
*/
|
|
20
|
-
drag?: boolean | {
|
|
21
|
-
snap: boolean;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Specifies if the selection functionality is enabled.
|
|
25
|
-
* Setting this option to `false` stops all selection-related functionality.
|
|
26
|
-
* The end user cannot select or deselect rows or cells.
|
|
27
|
-
* Items in the [selectedItems](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective#selecteditems) collection are not rendered as selected.
|
|
28
|
-
* The [isSelected](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isselected) callback is ignored.
|
|
29
|
-
*/
|
|
30
|
-
enabled?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Determines if the selection is performed only through clicking a checkbox.
|
|
33
|
-
* If enabled, clicking the row itself does not select the row.
|
|
34
|
-
* Applicable if at least one checkbox column is present.
|
|
35
|
-
*/
|
|
36
|
-
checkboxOnly?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Setting this option to `true` prevents the end user from selecting and deselecting items.
|
|
39
|
-
* When the selection functionality is enabled and `readonly` is set to `true`,
|
|
40
|
-
* programmatic selection is still possible by using the [selectedItems](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective#selecteditems) collection
|
|
41
|
-
* or the [isSelected](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isselected) callback.
|
|
42
|
-
*/
|
|
43
|
-
readonly?: boolean;
|
|
44
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnDestroy, EventEmitter } from '@angular/core';
|
|
6
|
-
import { TreeListComponent } from '../treelist.component';
|
|
7
|
-
import { SelectionService } from './selection.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* The [`kendoTreeListSelectable`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective) state items.
|
|
11
|
-
*/
|
|
12
|
-
export interface SelectionItem {
|
|
13
|
-
/**
|
|
14
|
-
* The key that identifies the selected item.
|
|
15
|
-
*/
|
|
16
|
-
itemKey: any;
|
|
17
|
-
/**
|
|
18
|
-
* The key that identifies the selected item column. Available in `cell` selection mode.
|
|
19
|
-
*/
|
|
20
|
-
columnKey?: any;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* A directive which controls the selection state. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection).
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```html
|
|
27
|
-
* <kendo-treelist
|
|
28
|
-
* [kendoTreeListSelectable]="{ mode: 'row' }"
|
|
29
|
-
* [selectedItems]="selectedItems">
|
|
30
|
-
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
|
31
|
-
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
|
32
|
-
* </kendo-treelist>
|
|
33
|
-
* ```
|
|
34
|
-
* @remarks
|
|
35
|
-
* Applied to: {@link TreeListComponent}.
|
|
36
|
-
*/
|
|
37
|
-
export declare class SelectableDirective implements OnDestroy {
|
|
38
|
-
private treelist;
|
|
39
|
-
private selectionService;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
set selectable(value: any);
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the selected items.
|
|
46
|
-
*/
|
|
47
|
-
set selectedItems(value: SelectionItem[]);
|
|
48
|
-
/**
|
|
49
|
-
* Fires when the selected items are changed.
|
|
50
|
-
*/
|
|
51
|
-
selectedItemsChange: EventEmitter<SelectionItem[]>;
|
|
52
|
-
/**
|
|
53
|
-
* The field name or a function that specify the dataItems key.
|
|
54
|
-
*/
|
|
55
|
-
set itemKey(value: string | ((dataItem: any) => any));
|
|
56
|
-
/**
|
|
57
|
-
* The field name or a function that specify the columns key.
|
|
58
|
-
*/
|
|
59
|
-
set columnKey(value: string | ((column: any, columnIndex: number) => any));
|
|
60
|
-
protected get keyGetter(): any;
|
|
61
|
-
protected get columnKeyGetter(): any;
|
|
62
|
-
protected subscriptions: any;
|
|
63
|
-
protected state: any;
|
|
64
|
-
protected _settings: any;
|
|
65
|
-
protected lastChange: any[];
|
|
66
|
-
protected _columnKeyGetter: any;
|
|
67
|
-
protected _keyGetter: any;
|
|
68
|
-
private _selectedItems;
|
|
69
|
-
constructor(treelist: TreeListComponent, selectionService: SelectionService);
|
|
70
|
-
ngOnDestroy(): void;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
protected cellSelected(dataItem: any, column: any, columnIndex: number): boolean;
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
protected rowSelected(dataItem: any): boolean;
|
|
79
|
-
protected selectionChange({ action, items }: any): void;
|
|
80
|
-
protected emitSelectedItemsChange(): void;
|
|
81
|
-
private subscribeSelection;
|
|
82
|
-
private unsubscribeSelection;
|
|
83
|
-
private updateColumnIndices;
|
|
84
|
-
private get leafColumns();
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectableDirective, never>;
|
|
86
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableDirective, "[kendoTreeListSelectable]", ["kendoTreeListSelectable"], { "selectable": { "alias": "selectable"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "columnKey": { "alias": "columnKey"; "required": false; }; }, { "selectedItemsChange": "selectedItemsChange"; }, never, never, true, never>;
|
|
87
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import type { TreeListComponent } from '../treelist.component';
|
|
6
|
-
import { ColumnBase } from '../columns/column-base';
|
|
7
|
-
/**
|
|
8
|
-
* The items specified with the [`SelectionChangeEvent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#selectionchange).
|
|
9
|
-
*/
|
|
10
|
-
export interface SelectionChangeItem {
|
|
11
|
-
/**
|
|
12
|
-
* The changed selection dataItem.
|
|
13
|
-
*/
|
|
14
|
-
dataItem: any;
|
|
15
|
-
/**
|
|
16
|
-
* The changed selection column. Available only in `cell` selection mode.
|
|
17
|
-
*/
|
|
18
|
-
column?: ColumnBase;
|
|
19
|
-
/**
|
|
20
|
-
* The changed selection column index. Available only in `cell` selection mode.
|
|
21
|
-
*/
|
|
22
|
-
columnIndex?: number;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Arguments for the TreeList `selectionChange` event.
|
|
26
|
-
*/
|
|
27
|
-
export declare class SelectionChangeEvent {
|
|
28
|
-
/**
|
|
29
|
-
* Specifies how the selection was changed.
|
|
30
|
-
*/
|
|
31
|
-
action: 'select' | 'add' | 'remove';
|
|
32
|
-
/**
|
|
33
|
-
* Specifies which items were changed.
|
|
34
|
-
*/
|
|
35
|
-
items: SelectionChangeItem[];
|
|
36
|
-
/**
|
|
37
|
-
* The TreeList component that triggered the event.
|
|
38
|
-
*/
|
|
39
|
-
sender: TreeListComponent;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
constructor(action: any, items: SelectionChangeItem[]);
|
|
44
|
-
}
|