@progress/kendo-angular-treelist 24.2.2 → 25.0.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/fesm2022/progress-kendo-angular-treelist.mjs +513 -513
- 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,41 +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 { EditingDirectiveBase } from './editing-directive-base';
|
|
6
|
-
import { TreeListComponent } from '../treelist.component';
|
|
7
|
-
import { CreateFormGroup } from '../common/create-form-group';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* A directive that encapsulates the editing operations of the TreeList when using the in-cell
|
|
11
|
-
* editing with Reactive Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-in-cell).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-treelist [kendoTreeListInCellEditing]="createFormGroup">
|
|
16
|
-
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
|
17
|
-
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
|
18
|
-
* </kendo-treelist>
|
|
19
|
-
* ```
|
|
20
|
-
* @remarks
|
|
21
|
-
* Applied to: {@link TreeListComponent}.
|
|
22
|
-
*/
|
|
23
|
-
export declare class InCellEditingDirective extends EditingDirectiveBase {
|
|
24
|
-
protected treelist: TreeListComponent;
|
|
25
|
-
/**
|
|
26
|
-
* The function that creates the `FormGroup` for the edited model.
|
|
27
|
-
*/
|
|
28
|
-
createFormGroup: CreateFormGroup;
|
|
29
|
-
constructor(treelist: TreeListComponent);
|
|
30
|
-
protected createModel(args: any): any;
|
|
31
|
-
protected saveModel({ dataItem, formGroup, isNew }: any): any;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
protected removeHandler(args: any): void;
|
|
37
|
-
protected cellClickHandler(args: any): void;
|
|
38
|
-
protected cellCloseHandler(args: any): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InCellEditingDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InCellEditingDirective, "[kendoTreeListInCellEditing]", ["kendoTreeListInCellEditing"], { "createFormGroup": { "alias": "kendoTreeListInCellEditing"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -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
|
-
import { EditService } from './edit-service.interface';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class LocalEditService implements EditService {
|
|
10
|
-
create(_item: any, _parent?: any, _id?: any): void;
|
|
11
|
-
update(_item: any): void;
|
|
12
|
-
remove(_item: any): void;
|
|
13
|
-
assignValues(target: any, source: any): void;
|
|
14
|
-
protected throwUnsupportedError(): void;
|
|
15
|
-
}
|
|
@@ -1,34 +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 { RowEditingDirectiveBase } from './row-editing-directive-base';
|
|
6
|
-
import { TreeListComponent } from '../treelist.component';
|
|
7
|
-
import { CreateFormGroup } from '../common/create-form-group';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* A directive that encapsulates the editing operations of the TreeList when using the
|
|
11
|
-
* Reactive Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/inline-editing).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-treelist [kendoTreeListReactiveEditing]="createFormGroup">
|
|
16
|
-
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
|
17
|
-
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
|
18
|
-
* </kendo-treelist>
|
|
19
|
-
* ```
|
|
20
|
-
* @remarks
|
|
21
|
-
* Applied to: {@link TreeListComponent}.
|
|
22
|
-
*/
|
|
23
|
-
export declare class ReactiveEditingDirective extends RowEditingDirectiveBase {
|
|
24
|
-
protected treelist: TreeListComponent;
|
|
25
|
-
/**
|
|
26
|
-
* The function that creates the `FormGroup` for the edited model.
|
|
27
|
-
*/
|
|
28
|
-
createFormGroup: CreateFormGroup;
|
|
29
|
-
constructor(treelist: TreeListComponent);
|
|
30
|
-
protected createModel(args: any): any;
|
|
31
|
-
protected saveModel({ dataItem, formGroup, isNew }: any): any;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveEditingDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveEditingDirective, "[kendoTreeListReactiveEditing]", ["kendoTreeListReactiveEditing"], { "createFormGroup": { "alias": "kendoTreeListReactiveEditing"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,20 +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 { EditingDirectiveBase } from './editing-directive-base';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare abstract class RowEditingDirectiveBase extends EditingDirectiveBase {
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
protected addHandler(args: any): void;
|
|
16
|
-
protected editHandler(args: any): void;
|
|
17
|
-
protected saveHandler(args: any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowEditingDirectiveBase, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowEditingDirectiveBase, never, never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -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 { RowEditingDirectiveBase } from './row-editing-directive-base';
|
|
6
|
-
import { TreeListComponent } from '../treelist.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* A directive that encapsulates the editing operations of the TreeList when using
|
|
10
|
-
* Template-Driven Angular Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/inline-editing).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <kendo-treelist [kendoTreeListTemplateEditing]="createNewItem">
|
|
15
|
-
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
|
16
|
-
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
|
17
|
-
* </kendo-treelist>
|
|
18
|
-
* ```
|
|
19
|
-
* @remarks
|
|
20
|
-
* Applied to: {@link TreeListComponent}.
|
|
21
|
-
*/
|
|
22
|
-
export declare class TemplateEditingDirective extends RowEditingDirectiveBase {
|
|
23
|
-
protected treelist: TreeListComponent;
|
|
24
|
-
/**
|
|
25
|
-
* The function that creates the `dataItem` for new rows.
|
|
26
|
-
*/
|
|
27
|
-
createNewItem: Function;
|
|
28
|
-
protected originalValues: any;
|
|
29
|
-
constructor(treelist: TreeListComponent);
|
|
30
|
-
protected editHandler(args: any): void;
|
|
31
|
-
protected closeEditor(args?: any): void;
|
|
32
|
-
protected createModel(args: any): any;
|
|
33
|
-
protected saveModel(args: any): any;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateEditingDirective, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateEditingDirective, "[kendoTreeListTemplateEditing]", ["kendoTreeListTemplateEditing"], { "createNewItem": { "alias": "kendoTreeListTemplateEditing"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -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 { AbstractControl } from '@angular/forms';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const markAllAsTouched: (control: AbstractControl) => void;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const insertNewItem: (newItem: any, originalData: any[], treelist: any, parent?: any) => void;
|
|
@@ -1,39 +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 { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { ExcelService } from './excel.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the `export-to-Excel` toolbar tool of the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the TreeList.
|
|
10
|
-
*
|
|
11
|
-
* When the user clicks a button with this directive, the [excelExport](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-treelist>
|
|
16
|
-
* <kendo-toolbar>
|
|
17
|
-
* <kendo-toolbar-button text="Excel Export" kendoTreeListExcelTool></kendo-toolbar-button>
|
|
18
|
-
* </kendo-toolbar>
|
|
19
|
-
* <kendo-treelist-excel fileName="TreeList.xlsx">
|
|
20
|
-
* </kendo-treelist-excel>
|
|
21
|
-
* </kendo-treelist>
|
|
22
|
-
* ```
|
|
23
|
-
* @remarks
|
|
24
|
-
* Applied to: {@link ToolBarButtonComponent}
|
|
25
|
-
*/
|
|
26
|
-
export declare class ExcelCommandToolbarDirective {
|
|
27
|
-
private excelService;
|
|
28
|
-
private host;
|
|
29
|
-
private clickSub;
|
|
30
|
-
constructor(excelService: ExcelService, host: ToolBarButtonComponent);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
onClick(e: any): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelCommandToolbarDirective, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExcelCommandToolbarDirective, "[kendoTreeListExcelTool]", never, {}, {}, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,37 +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 { ElementRef, Renderer2 as Renderer, NgZone } from '@angular/core';
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { ExcelService } from './excel.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the `export-to-Excel` command of the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template).
|
|
12
|
-
* When the user clicks a button with this directive, the [`excelExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export)).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-treelist ...>
|
|
17
|
-
* <ng-template kendoTreeListToolbarTemplate>
|
|
18
|
-
* <button kendoTreeListExcelCommand>Export to Excel</button>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* <kendo-treelist-excel fileName="TreeList.xlsx"> </kendo-treelist-excel>
|
|
21
|
-
* </kendo-treelist>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class ExcelCommandDirective extends Button {
|
|
25
|
-
private excelService;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
onClick(e: any): void;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
get excelClass(): boolean;
|
|
34
|
-
constructor(excelService: ExcelService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelCommandDirective, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExcelCommandDirective, "[kendoTreeListExcelCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,22 +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 } from "rxjs";
|
|
6
|
-
/**
|
|
7
|
-
* The expected type of result for the TreeList Excel export [`fetchData` function](https://www.telerik.com/kendo-angular-ui/components/treelist/api/excelcomponent#fetchdata).
|
|
8
|
-
*/
|
|
9
|
-
export interface ExcelExportData {
|
|
10
|
-
/**
|
|
11
|
-
* The root data to export.
|
|
12
|
-
*/
|
|
13
|
-
data: any[] | Observable<any[]>;
|
|
14
|
-
/**
|
|
15
|
-
* Returns the children for an item.
|
|
16
|
-
*/
|
|
17
|
-
fetchChildren: any;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates if a particular item has children.
|
|
20
|
-
*/
|
|
21
|
-
hasChildren: any;
|
|
22
|
-
}
|
|
@@ -1,12 +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 { PreventableEvent } from '../common/preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `excelExport` event. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export#customizing-generated-workbooks).
|
|
8
|
-
*/
|
|
9
|
-
export declare class ExcelExportEvent extends PreventableEvent {
|
|
10
|
-
workbook: any;
|
|
11
|
-
constructor(workbook: any);
|
|
12
|
-
}
|
|
@@ -1,98 +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, QueryList, NgZone } from '@angular/core';
|
|
6
|
-
import { ColumnBase, CellOptions } from '@progress/kendo-angular-excel-export';
|
|
7
|
-
import { TreeListComponent } from '../treelist.component';
|
|
8
|
-
import { ExcelService } from './excel.service';
|
|
9
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import { ExcelExportData } from './excel-export-data.interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Configures the settings for exporting the TreeList to Excel. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export).
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-treelist [data]="data" [height]="500">
|
|
18
|
-
* <kendo-treelist-excel fileName="Employees.xlsx"></kendo-treelist-excel>
|
|
19
|
-
* </kendo-treelist>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class ExcelComponent implements OnDestroy {
|
|
23
|
-
private excelService;
|
|
24
|
-
private localization;
|
|
25
|
-
private zone;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the file name of the exported Excel file.
|
|
28
|
-
* @default "Export.xlsx"
|
|
29
|
-
*/
|
|
30
|
-
fileName: string;
|
|
31
|
-
/**
|
|
32
|
-
* Enables or disables column filtering in the Excel file. This is different from the TreeList filtering feature.
|
|
33
|
-
*/
|
|
34
|
-
filterable: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the author of the workbook.
|
|
37
|
-
*/
|
|
38
|
-
creator?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Sets the date the workbook was created. Defaults to `new Date()`.
|
|
41
|
-
*/
|
|
42
|
-
date?: Date;
|
|
43
|
-
/**
|
|
44
|
-
* If set to `true`, forwards the content to `proxyURL` even if the browser supports saving files locally.
|
|
45
|
-
*/
|
|
46
|
-
forceProxy: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* The URL of the server-side proxy that streams the file to the user.
|
|
49
|
-
* Use a proxy if the browser cannot save files locally.
|
|
50
|
-
*
|
|
51
|
-
* Optionally, set up a proxy to reduce memory usage. This avoids copying the file contents into memory,
|
|
52
|
-
* but transmits it over the network instead. For this use case, set [forceProxy](#forceproxy) to `true`
|
|
53
|
-
* to skip client-side saving even in browsers that support it.
|
|
54
|
-
*
|
|
55
|
-
* The proxy receives a POST request with specific parameters in the request body. [See example](https://www.telerik.com/kendo-angular-ui/components/file-saver/server-proxy#implementations).
|
|
56
|
-
* The proxy returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
|
|
57
|
-
*
|
|
58
|
-
* For details on server-side proxy usage and implementation, see the [File Saver](https://www.telerik.com/kendo-angular-ui/components/file-saver) documentation.
|
|
59
|
-
*/
|
|
60
|
-
proxyURL: string;
|
|
61
|
-
/**
|
|
62
|
-
* The function used to get the exported data options. By default, uses the current TreeList data.
|
|
63
|
-
* To export data different from the current TreeList data, provide a custom function.
|
|
64
|
-
*/
|
|
65
|
-
fetchData: (component: TreeListComponent) => ExcelExportData;
|
|
66
|
-
/**
|
|
67
|
-
* Specifies if item levels in the Excel file are collapsible. Applies only if the TreeList has footers.
|
|
68
|
-
*/
|
|
69
|
-
collapsible: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Specifies if export should include all pages.
|
|
72
|
-
* @default true
|
|
73
|
-
*/
|
|
74
|
-
allPages: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Specifies if the export should expand all items or use the current TreeList state.
|
|
77
|
-
* @default true
|
|
78
|
-
*/
|
|
79
|
-
expandAll: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* The options for the cells inserted before the data to indicate the hierarchy.
|
|
82
|
-
*/
|
|
83
|
-
paddingCellOptions: CellOptions;
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
columns: QueryList<ColumnBase>;
|
|
88
|
-
private saveSubscription;
|
|
89
|
-
private dataSubscription;
|
|
90
|
-
constructor(excelService: ExcelService, localization: LocalizationService, zone: NgZone);
|
|
91
|
-
ngOnDestroy(): void;
|
|
92
|
-
protected save(component: TreeListComponent): void;
|
|
93
|
-
protected exportData(component: any, result?: ExcelExportData): void;
|
|
94
|
-
protected saveFile(options: any): void;
|
|
95
|
-
protected componentViewOptions(component: any): any;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelComponent, never>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExcelComponent, "kendo-treelist-excel", never, { "fileName": { "alias": "fileName"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "creator": { "alias": "creator"; "required": false; }; "date": { "alias": "date"; "required": false; }; "forceProxy": { "alias": "forceProxy"; "required": false; }; "proxyURL": { "alias": "proxyURL"; "required": false; }; "fetchData": { "alias": "fetchData"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "allPages": { "alias": "allPages"; "required": false; }; "expandAll": { "alias": "expandAll"; "required": false; }; "paddingCellOptions": { "alias": "paddingCellOptions"; "required": false; }; }, {}, ["columns"], never, true, never>;
|
|
98
|
-
}
|
package/excel/excel.module.d.ts
DELETED
|
@@ -1,33 +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
|
-
import * as i1 from "./excel.component";
|
|
7
|
-
import * as i2 from "./excel-command.directive";
|
|
8
|
-
import * as i3 from "./excel-command-tool.directive";
|
|
9
|
-
import * as i4 from "@progress/kendo-angular-excel-export";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
12
|
-
* definition for the Excel component of the TreeList.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* import { NgModule } from '@angular/core';
|
|
17
|
-
* import { BrowserModule } from "@angular/platform-browser";
|
|
18
|
-
* import { TreeListModule, ExcelModule } from '@progress/kendo-angular-treelist';
|
|
19
|
-
* import { AppComponent } from './app.component';
|
|
20
|
-
*
|
|
21
|
-
* @NgModule({
|
|
22
|
-
* declarations: [AppComponent],
|
|
23
|
-
* imports: [BrowserModule, TreeListModule, ExcelModule],
|
|
24
|
-
* bootstrap: [AppComponent]
|
|
25
|
-
* })
|
|
26
|
-
* export class AppModule {}
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class ExcelModule {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelModule, never, [typeof i1.ExcelComponent, typeof i2.ExcelCommandDirective, typeof i3.ExcelCommandToolbarDirective, typeof i4.ColumnComponent, typeof i4.ColumnGroupComponent, typeof i4.FooterTemplateDirective, typeof i4.GroupFooterTemplateDirective, typeof i4.GroupHeaderColumnTemplateDirective, typeof i4.GroupHeaderTemplateDirective], [typeof i1.ExcelComponent, typeof i2.ExcelCommandDirective, typeof i3.ExcelCommandToolbarDirective, typeof i4.ColumnComponent, typeof i4.ColumnGroupComponent, typeof i4.FooterTemplateDirective, typeof i4.GroupFooterTemplateDirective, typeof i4.GroupHeaderColumnTemplateDirective, typeof i4.GroupHeaderTemplateDirective]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ExcelModule>;
|
|
33
|
-
}
|
package/excel/excel.service.d.ts
DELETED
|
@@ -1,19 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ExcelService {
|
|
11
|
-
saveToExcel: EventEmitter<any>;
|
|
12
|
-
exportClick: EventEmitter<any>;
|
|
13
|
-
loadingChange: EventEmitter<any>;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
save(component: any): void;
|
|
16
|
-
toggleLoading(value: boolean): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExcelService>;
|
|
19
|
-
}
|
|
@@ -1,27 +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 { PreventableEvent } from '../common/preventable-event';
|
|
7
|
-
/**
|
|
8
|
-
* Arguments for the TreeList expand and collapse events. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/expanded-state).
|
|
9
|
-
*/
|
|
10
|
-
export declare class ExpandEvent extends PreventableEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The expanded or collapsed data item.
|
|
13
|
-
*/
|
|
14
|
-
dataItem: any;
|
|
15
|
-
/**
|
|
16
|
-
* The TreeList component that triggers the event.
|
|
17
|
-
*/
|
|
18
|
-
sender: TreeListComponent;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
expand: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
constructor(args: any);
|
|
27
|
-
}
|
|
@@ -1,22 +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
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const defaultExpanded: (_item: any) => boolean;
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class ExpandStateService {
|
|
15
|
-
changes: Subject<any>;
|
|
16
|
-
isExpanded: any;
|
|
17
|
-
toggleState(dataItem: any): void;
|
|
18
|
-
expand(dataItem: any): void;
|
|
19
|
-
collapse(dataItem: any): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandStateService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandStateService>;
|
|
22
|
-
}
|
|
@@ -1,32 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*
|
|
10
|
-
* An injection token used by the expand-directive to interface with the TreeList or the Gantt.
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class ExpandableTreeComponent {
|
|
13
|
-
/**
|
|
14
|
-
* Extracts the id value when `idField` is set.
|
|
15
|
-
*/
|
|
16
|
-
abstract idGetter: any;
|
|
17
|
-
/**
|
|
18
|
-
* Emits when expand or collapse events occur.
|
|
19
|
-
*/
|
|
20
|
-
abstract expandStateChange: EventEmitter<any>;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the callback function that indicates if a particular TreeList item is expanded.
|
|
23
|
-
*/
|
|
24
|
-
abstract isExpanded(node: any): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Updates the state of the current TreeList view without reloading data.
|
|
27
|
-
* Checks all rendered items for changes and triggers re-evaluation of the `isExpanded` and `isSelected` callbacks.
|
|
28
|
-
*/
|
|
29
|
-
abstract updateView(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableTreeComponent, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandableTreeComponent>;
|
|
32
|
-
}
|
|
@@ -1,58 +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 { ExpandableTreeComponent } from './expandable-tree-component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* A directive which controls the expanded state of items in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/expanded-state#built-in-directive).
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-treelist ...
|
|
14
|
-
* [kendoTreeListFlatBinding]="data"
|
|
15
|
-
* kendoTreeListExpandable> ...
|
|
16
|
-
* </kendo-treelist>
|
|
17
|
-
* ```
|
|
18
|
-
* @remarks
|
|
19
|
-
* Applied to: {@link TreeListComponent},
|
|
20
|
-
*/
|
|
21
|
-
export declare class ExpandableDirective implements OnDestroy {
|
|
22
|
-
private component;
|
|
23
|
-
/**
|
|
24
|
-
* Emits when the `expandedKeys` change.
|
|
25
|
-
*/
|
|
26
|
-
expandedKeysChange: EventEmitter<any>;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the expanded item keys.
|
|
29
|
-
* Use this property to control which items are expanded.
|
|
30
|
-
*/
|
|
31
|
-
set expandedKeys(value: any[]);
|
|
32
|
-
get expandedKeys(): any[];
|
|
33
|
-
/**
|
|
34
|
-
* Specifies if items are initially expanded.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
initiallyExpanded: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Defines the item key stored in the `expandedKeys` collection.
|
|
40
|
-
* Uses the component `idField` by default.
|
|
41
|
-
*/
|
|
42
|
-
set expandBy(key: string | ((dataItem: any) => any));
|
|
43
|
-
protected get keyGetter(): any;
|
|
44
|
-
protected subscriptions: any;
|
|
45
|
-
protected state: any;
|
|
46
|
-
protected _expandBy: any;
|
|
47
|
-
protected _expandedKeys: any[];
|
|
48
|
-
constructor(component: ExpandableTreeComponent);
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
isExpanded(item: any): boolean;
|
|
53
|
-
ngOnChanges(changes: any): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
|
-
private toggleState;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableDirective, never>;
|
|
57
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableDirective, "[kendoTreeListExpandable]", ["kendoTreeListExpandable"], { "expandedKeys": { "alias": "expandedKeys"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; "expandBy": { "alias": "expandBy"; "required": false; }; }, { "expandedKeysChange": "expandedKeysChange"; }, never, never, true, never>;
|
|
58
|
-
}
|