@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,53 +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 { DoCheck, ElementRef, NgZone, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
|
-
import { OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
7
|
-
import { FocusGroup } from './focus-group';
|
|
8
|
-
import { LogicalCell } from './logical-cell.interface';
|
|
9
|
-
import { NavigationService } from './navigation.service';
|
|
10
|
-
import { ColumnInfoService } from '../common/column-info.service';
|
|
11
|
-
import { IdService } from '../common/id.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class LogicalCellDirective implements LogicalCell, OnInit, OnChanges, OnDestroy, DoCheck {
|
|
17
|
-
focusGroup: FocusGroup;
|
|
18
|
-
private element;
|
|
19
|
-
private columnInfoService;
|
|
20
|
-
private idService;
|
|
21
|
-
private navigationService;
|
|
22
|
-
private renderer;
|
|
23
|
-
private zone;
|
|
24
|
-
logicalColIndex: number;
|
|
25
|
-
logicalRowIndex: number;
|
|
26
|
-
logicalSlaveCell: boolean;
|
|
27
|
-
column: any;
|
|
28
|
-
colIndex: number;
|
|
29
|
-
colSpan: number;
|
|
30
|
-
rowSpan: number;
|
|
31
|
-
dataRowIndex: number;
|
|
32
|
-
dataItem: any;
|
|
33
|
-
expandable: boolean;
|
|
34
|
-
headerLabelText: string;
|
|
35
|
-
readonly uid: number;
|
|
36
|
-
get id(): string;
|
|
37
|
-
get ariaColIndex(): number;
|
|
38
|
-
private navigationChange;
|
|
39
|
-
constructor(focusGroup: FocusGroup, element: ElementRef, columnInfoService: ColumnInfoService, idService: IdService, navigationService: NavigationService, renderer: Renderer2, zone: NgZone);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngDoCheck(): void;
|
|
42
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
private onNavigationChange;
|
|
45
|
-
private updateElement;
|
|
46
|
-
private microtask;
|
|
47
|
-
private registerChanges;
|
|
48
|
-
private registerNoChanges;
|
|
49
|
-
private isFocusable;
|
|
50
|
-
private isFocused;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogicalCellDirective, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LogicalCellDirective, "[kendoTreeListLogicalCell]", never, { "logicalColIndex": { "alias": "logicalColIndex"; "required": false; }; "logicalRowIndex": { "alias": "logicalRowIndex"; "required": false; }; "logicalSlaveCell": { "alias": "logicalSlaveCell"; "required": false; }; "column": { "alias": "column"; "required": false; }; "colIndex": { "alias": "colIndex"; "required": false; }; "colSpan": { "alias": "colSpan"; "required": false; }; "rowSpan": { "alias": "rowSpan"; "required": false; }; "dataRowIndex": { "alias": "dataRowIndex"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "headerLabelText": { "alias": "headerLabelText"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
|
-
}
|
|
@@ -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 { FocusGroup } from './focus-group';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface LogicalCell {
|
|
10
|
-
uid: number;
|
|
11
|
-
logicalColIndex: number;
|
|
12
|
-
logicalRowIndex: number;
|
|
13
|
-
rowSpan?: number;
|
|
14
|
-
colSpan?: number;
|
|
15
|
-
column?: any;
|
|
16
|
-
colIndex?: number;
|
|
17
|
-
focusGroup: FocusGroup;
|
|
18
|
-
expandable?: boolean;
|
|
19
|
-
}
|
|
@@ -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 { OnDestroy, OnChanges } from '@angular/core';
|
|
6
|
-
import { IdService } from '../common/id.service';
|
|
7
|
-
import { NavigationService } from './navigation.service';
|
|
8
|
-
import { LogicalRow } from './logical-row.interface';
|
|
9
|
-
import { ColumnsContainer } from '../columns/columns-container';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class LogicalRowDirective implements LogicalRow, OnDestroy, OnChanges {
|
|
15
|
-
private idService;
|
|
16
|
-
private navigation;
|
|
17
|
-
logicalRowIndex: number;
|
|
18
|
-
logicalSlaveRow: boolean;
|
|
19
|
-
logicalCellsCount: number;
|
|
20
|
-
logicalSlaveCellsCount: number;
|
|
21
|
-
dataRowIndex: number;
|
|
22
|
-
dataItem: any;
|
|
23
|
-
isNew: boolean;
|
|
24
|
-
totalColumns: ColumnsContainer;
|
|
25
|
-
uid: number;
|
|
26
|
-
get hostRole(): string;
|
|
27
|
-
get ariaRowIndex(): number;
|
|
28
|
-
get rowIndex(): number;
|
|
29
|
-
get ariaOwns(): string;
|
|
30
|
-
tableRowClass: boolean;
|
|
31
|
-
constructor(idService: IdService, navigation: NavigationService);
|
|
32
|
-
ngOnChanges(changes: any): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
private get columnsArray();
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogicalRowDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LogicalRowDirective, "[kendoTreeListLogicalRow]", never, { "logicalRowIndex": { "alias": "logicalRowIndex"; "required": false; }; "logicalSlaveRow": { "alias": "logicalSlaveRow"; "required": false; }; "logicalCellsCount": { "alias": "logicalCellsCount"; "required": false; }; "logicalSlaveCellsCount": { "alias": "logicalSlaveCellsCount"; "required": false; }; "dataRowIndex": { "alias": "dataRowIndex"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,14 +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 interface LogicalRow {
|
|
9
|
-
logicalRowIndex: number;
|
|
10
|
-
dataRowIndex: number;
|
|
11
|
-
dataItem: any;
|
|
12
|
-
uid: number;
|
|
13
|
-
isNew: boolean;
|
|
14
|
-
}
|
|
@@ -1,25 +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 { FocusGroup } from './focus-group';
|
|
6
|
-
import { LogicalCell } from './logical-cell.interface';
|
|
7
|
-
import { NavigationCell } from './navigation-cell.interface';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class ModelCell implements NavigationCell {
|
|
12
|
-
uid: number;
|
|
13
|
-
column: any;
|
|
14
|
-
colIndex: number;
|
|
15
|
-
rowIndex: number;
|
|
16
|
-
colSpan?: number;
|
|
17
|
-
rowSpan?: number;
|
|
18
|
-
dataRowIndex: number;
|
|
19
|
-
dataItem: any;
|
|
20
|
-
parent?: NavigationCell;
|
|
21
|
-
focusGroup?: FocusGroup;
|
|
22
|
-
expandable?: boolean;
|
|
23
|
-
constructor(modelRow: any, cell: LogicalCell);
|
|
24
|
-
focusContent(): void;
|
|
25
|
-
}
|
|
@@ -1,59 +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 { FocusGroup } from './focus-group';
|
|
6
|
-
/**
|
|
7
|
-
* Contains the metadata for a focusable TreeList cell.
|
|
8
|
-
* Focusable TreeList cells include headers, group headers and footers, and data cells.
|
|
9
|
-
*/
|
|
10
|
-
export interface NavigationCell {
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
uid: number;
|
|
15
|
-
/**
|
|
16
|
-
* The column that the cell belongs to.
|
|
17
|
-
*/
|
|
18
|
-
column: any;
|
|
19
|
-
/**
|
|
20
|
-
* The column index of the cell.
|
|
21
|
-
*/
|
|
22
|
-
colIndex: number;
|
|
23
|
-
/**
|
|
24
|
-
* The logical index of the row that contains this cell. The row index is absolute and does not change with paging. Header rows are included, starting at index 0.
|
|
25
|
-
*/
|
|
26
|
-
rowIndex: number;
|
|
27
|
-
/**
|
|
28
|
-
* The column span for this cell, if set.
|
|
29
|
-
*/
|
|
30
|
-
colSpan?: number;
|
|
31
|
-
/**
|
|
32
|
-
* The row span for this cell, if set.
|
|
33
|
-
*/
|
|
34
|
-
rowSpan?: number;
|
|
35
|
-
/**
|
|
36
|
-
* The data item index for the parent row of this cell.
|
|
37
|
-
*/
|
|
38
|
-
dataRowIndex: number;
|
|
39
|
-
/**
|
|
40
|
-
* The data item for the parent row of this cell.
|
|
41
|
-
*/
|
|
42
|
-
dataItem: any;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
parent?: NavigationCell;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
focusGroup?: FocusGroup;
|
|
51
|
-
/**
|
|
52
|
-
* A flag that indicates if the cell is expandable.
|
|
53
|
-
*/
|
|
54
|
-
expandable?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Focuses the first focusable element in the cell, if any.
|
|
57
|
-
*/
|
|
58
|
-
focusContent(): void;
|
|
59
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface NavigationChange {
|
|
9
|
-
colIndex: number;
|
|
10
|
-
rowIndex: number;
|
|
11
|
-
prevColIndex: number;
|
|
12
|
-
prevRowIndex: number;
|
|
13
|
-
}
|
|
@@ -1,48 +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 { NavigationChange } from './navigation-change.interface';
|
|
7
|
-
import { NavigationCell } from './navigation-cell.interface';
|
|
8
|
-
import { NavigationModel } from './navigation-model';
|
|
9
|
-
import { NavigationMetadata } from './navigation-metadata';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class NavigationCursor {
|
|
14
|
-
private model;
|
|
15
|
-
readonly changes: Subject<NavigationChange>;
|
|
16
|
-
metadata: NavigationMetadata;
|
|
17
|
-
private activeRow;
|
|
18
|
-
private activeCol;
|
|
19
|
-
private virtualCol;
|
|
20
|
-
private virtualRow;
|
|
21
|
-
get row(): any;
|
|
22
|
-
get cell(): NavigationCell;
|
|
23
|
-
get dataRowIndex(): number;
|
|
24
|
-
constructor(model: NavigationModel);
|
|
25
|
-
/**
|
|
26
|
-
* Assumes and announces a new cursor position.
|
|
27
|
-
*/
|
|
28
|
-
reset(rowIndex?: number, colIndex?: number, force?: boolean): void;
|
|
29
|
-
activate(rowIndex: number, colIndex: number, force?: boolean): boolean;
|
|
30
|
-
isActiveRange(rowIndex: number, colIndex: number): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Assumes a new cursor position without announcing it.
|
|
33
|
-
*/
|
|
34
|
-
assume(rowIndex?: number, colIndex?: number): void;
|
|
35
|
-
/**
|
|
36
|
-
* Announces a current cursor position to subscribers.
|
|
37
|
-
*/
|
|
38
|
-
announce(): void;
|
|
39
|
-
activateVirtualCell(cell: any): boolean;
|
|
40
|
-
isActive(rowIndex: number, colIndex: number): boolean;
|
|
41
|
-
moveUp(offset?: number): boolean;
|
|
42
|
-
moveDown(offset?: number): boolean;
|
|
43
|
-
moveLeft(offset?: number): boolean;
|
|
44
|
-
moveRight(offset?: number): boolean;
|
|
45
|
-
lastCellIndex(): number;
|
|
46
|
-
private offsetCol;
|
|
47
|
-
private offsetRow;
|
|
48
|
-
}
|
|
@@ -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 { ElementRef } from '@angular/core';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class NavigationMetadata {
|
|
10
|
-
view: any;
|
|
11
|
-
headerRows: number;
|
|
12
|
-
isVirtual: boolean;
|
|
13
|
-
hasPager: boolean;
|
|
14
|
-
treelistElement: ElementRef;
|
|
15
|
-
virtualColumns: boolean;
|
|
16
|
-
columns: any;
|
|
17
|
-
get maxLogicalRowIndex(): number;
|
|
18
|
-
get dataRows(): number;
|
|
19
|
-
constructor(view: any, headerRows: number, isVirtual: boolean, hasPager: boolean, treelistElement: ElementRef, virtualColumns: boolean, columns: any);
|
|
20
|
-
}
|
|
@@ -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
|
-
* The operating mode of the navigation service.
|
|
7
|
-
*
|
|
8
|
-
* The following list includes some of the available state transitions:
|
|
9
|
-
* Standby (focusIn) -> Cursor
|
|
10
|
-
* Standby (click) On focusable child -> Content
|
|
11
|
-
* Standby (click) On cell -> Cursor
|
|
12
|
-
* Cursor (focusOut) -> Standby
|
|
13
|
-
* Cursor (keydown = arrows, paging) -> Cursor
|
|
14
|
-
* Cursor (keydown = Enter|F2) With focusable children -> Content
|
|
15
|
-
* Cursor (keydown = Enter|F2) Without focusable children -> Cursor
|
|
16
|
-
* Cursor (keydown = other) With focusable children -> Content
|
|
17
|
-
* Content (focusOut) -> Standby
|
|
18
|
-
*
|
|
19
|
-
* @hidden
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
export declare const enum NavigationMode {
|
|
23
|
-
/**
|
|
24
|
-
* The TreeList is ready to receive focus.
|
|
25
|
-
* - The last focused cell has `tabindex = 0`.
|
|
26
|
-
* - Other focusable elements have `tabindex = -1`.
|
|
27
|
-
*/
|
|
28
|
-
Standby = 0,
|
|
29
|
-
/**
|
|
30
|
-
* The TreeList has focus.
|
|
31
|
-
* - The user can navigate to adjacent cells with the arrow keys.
|
|
32
|
-
* - The user can skip cells when they navigate up and down by holding `Ctrl`.
|
|
33
|
-
* - The user can change pages by using `Page Up` or `Page Down`.
|
|
34
|
-
* - The user can focus content elements by pressing `Enter` or `F2`.
|
|
35
|
-
*/
|
|
36
|
-
Cursor = 1,
|
|
37
|
-
/**
|
|
38
|
-
* The focus is on the content elements and the keyboard navigation of the TreeList is disabled.
|
|
39
|
-
* - The user can switch between focusable elements inside the TreeList by using `Tab`.
|
|
40
|
-
* - The user can return to the keyboard navigation mode by pressing `Enter`, `F2`, or `Esc`.
|
|
41
|
-
*/
|
|
42
|
-
Content = 2
|
|
43
|
-
}
|
|
@@ -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 { LogicalCell } from './logical-cell.interface';
|
|
6
|
-
import { LogicalRow } from './logical-row.interface';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*
|
|
10
|
-
* Contains information for the currently rendered rows and cells.
|
|
11
|
-
*/
|
|
12
|
-
export declare class NavigationModel {
|
|
13
|
-
private rows;
|
|
14
|
-
get firstRow(): any;
|
|
15
|
-
get lastRow(): any;
|
|
16
|
-
registerCell(cell: LogicalCell): any;
|
|
17
|
-
unregisterCell(index: number, rowIndex: number, cell: LogicalCell): void;
|
|
18
|
-
registerRow(row: LogicalRow): void;
|
|
19
|
-
updateRow(row: LogicalRow): void;
|
|
20
|
-
unregisterRow(index: number, row: LogicalRow): void;
|
|
21
|
-
cellRange(cell: any): any;
|
|
22
|
-
rowRange(cell: any): any;
|
|
23
|
-
nextRow(rowIndex: any, offset: number): any;
|
|
24
|
-
findRow(index: number): any;
|
|
25
|
-
findCell(index: number, row: any): any;
|
|
26
|
-
private rowCell;
|
|
27
|
-
}
|
|
@@ -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 { NavigationCell } from './navigation-cell.interface';
|
|
6
|
-
/**
|
|
7
|
-
* Contains the metadata for a focusable TreeList row. Focusable rows include headers, group headers and footers, and data rows.
|
|
8
|
-
*/
|
|
9
|
-
export interface NavigationRow {
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
uid: number;
|
|
14
|
-
/**
|
|
15
|
-
* The logical index of the focusable row. The row index is absolute and does not change with paging. Header rows are included, starting at index 0.
|
|
16
|
-
*/
|
|
17
|
-
index: number;
|
|
18
|
-
/**
|
|
19
|
-
* The data item index for this row.
|
|
20
|
-
*/
|
|
21
|
-
dataRowIndex: number;
|
|
22
|
-
/**
|
|
23
|
-
* A flag that indicates if this is a new row.
|
|
24
|
-
*/
|
|
25
|
-
isNew: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* The data item for this row.
|
|
28
|
-
*/
|
|
29
|
-
dataItem: any;
|
|
30
|
-
/**
|
|
31
|
-
* An array of focusable cells associated with this row.
|
|
32
|
-
*/
|
|
33
|
-
cells: NavigationCell[];
|
|
34
|
-
}
|
|
@@ -1,116 +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, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { Subject } from 'rxjs';
|
|
8
|
-
import { FocusRoot } from './focus-root';
|
|
9
|
-
import { FocusableDirective } from './focusable.directive';
|
|
10
|
-
import { LogicalCell } from './logical-cell.interface';
|
|
11
|
-
import { LogicalRow } from './logical-row.interface';
|
|
12
|
-
import { NavigationCell } from './navigation-cell.interface';
|
|
13
|
-
import { NavigationChange } from './navigation-change.interface';
|
|
14
|
-
import { NavigationMetadata } from './navigation-metadata';
|
|
15
|
-
import { NavigationRow } from './navigation-row.interface';
|
|
16
|
-
import { DomEventsService } from '../common/dom-events.service';
|
|
17
|
-
import { EditService } from '../editing/edit.service';
|
|
18
|
-
import { ExpandStateService } from '../expand-state/expand-state.service';
|
|
19
|
-
import { ScrollRequestService } from '../scrolling/scroll-request.service';
|
|
20
|
-
import { SelectionService } from '../selection/selection.service';
|
|
21
|
-
import { PagerContextService } from '@progress/kendo-angular-pager';
|
|
22
|
-
import { ContextService } from '../common/provider.service';
|
|
23
|
-
import { ColumnResizingService } from '../column-resizing/column-resizing.service';
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare class NavigationViewport {
|
|
29
|
-
firstItemIndex: number;
|
|
30
|
-
lastItemIndex: number;
|
|
31
|
-
constructor(firstItemIndex: number, lastItemIndex: number);
|
|
32
|
-
containsRow(dataRowIndex: number): boolean;
|
|
33
|
-
intersects(start: number, end: number): boolean;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
export declare class NavigationService implements OnDestroy {
|
|
39
|
-
private zone;
|
|
40
|
-
private domEvents;
|
|
41
|
-
private pagerContextService;
|
|
42
|
-
private scrollRequestService;
|
|
43
|
-
private focusRoot;
|
|
44
|
-
private editService;
|
|
45
|
-
private localization;
|
|
46
|
-
private expandState;
|
|
47
|
-
private selectionService;
|
|
48
|
-
private changeDetector;
|
|
49
|
-
private ctx;
|
|
50
|
-
private resizeService;
|
|
51
|
-
private focusableParent;
|
|
52
|
-
readonly changes: Subject<NavigationChange>;
|
|
53
|
-
readonly cellKeydown: EventEmitter<any>;
|
|
54
|
-
set metadata(value: NavigationMetadata);
|
|
55
|
-
get metadata(): NavigationMetadata;
|
|
56
|
-
get enabled(): boolean;
|
|
57
|
-
get activeCell(): NavigationCell;
|
|
58
|
-
get activeRow(): NavigationRow;
|
|
59
|
-
get isColumnResizable(): boolean;
|
|
60
|
-
viewport: NavigationViewport;
|
|
61
|
-
columnViewport: NavigationViewport;
|
|
62
|
-
private activeRowIndex;
|
|
63
|
-
private alive;
|
|
64
|
-
private active;
|
|
65
|
-
private mode;
|
|
66
|
-
private model;
|
|
67
|
-
private cursor;
|
|
68
|
-
private meta;
|
|
69
|
-
private subs;
|
|
70
|
-
private pendingRowIndex;
|
|
71
|
-
private virtualCell;
|
|
72
|
-
private get activeDataRow();
|
|
73
|
-
constructor(zone: NgZone, domEvents: DomEventsService, pagerContextService: PagerContextService, scrollRequestService: ScrollRequestService, focusRoot: FocusRoot, editService: EditService, localization: LocalizationService, expandState: ExpandStateService, selectionService: SelectionService, changeDetector: ChangeDetectorRef, ctx: ContextService, resizeService: ColumnResizingService, focusableParent: FocusableDirective);
|
|
74
|
-
init(meta: NavigationMetadata): void;
|
|
75
|
-
ngOnDestroy(): void;
|
|
76
|
-
registerCell(cell: LogicalCell): void;
|
|
77
|
-
registerCellOnCurrentRow(cell: LogicalCell): void;
|
|
78
|
-
unregisterCell(index: number, rowIndex: number, cell: LogicalCell): void;
|
|
79
|
-
registerRow(row: LogicalRow): void;
|
|
80
|
-
updateRow(row: LogicalRow): void;
|
|
81
|
-
unregisterRow(index: number, row: LogicalRow): void;
|
|
82
|
-
isCellFocusable(cell: LogicalCell): boolean;
|
|
83
|
-
isCellFocused(cell: LogicalCell): boolean;
|
|
84
|
-
navigateTo(el: Element): void;
|
|
85
|
-
tryFocus(el: Element): boolean;
|
|
86
|
-
needsViewport(): boolean;
|
|
87
|
-
setViewport(firstItemIndex: number, lastItemIndex: number): void;
|
|
88
|
-
setColumnViewport(firstItemIndex: number, lastItemIndex: number): void;
|
|
89
|
-
focusCell(rowIndex?: number, colIndex?: number): NavigationCell;
|
|
90
|
-
focusNextCell(wrap?: boolean): NavigationCell;
|
|
91
|
-
focusPrevCell(wrap?: boolean): NavigationCell;
|
|
92
|
-
toggle(active: boolean): void;
|
|
93
|
-
hasFocus(): boolean;
|
|
94
|
-
autoFocusCell(start: number, end: number): boolean;
|
|
95
|
-
private focusAdjacentCell;
|
|
96
|
-
private enterCell;
|
|
97
|
-
private leaveCell;
|
|
98
|
-
private activateElements;
|
|
99
|
-
private deactivateElements;
|
|
100
|
-
private activateRow;
|
|
101
|
-
private moveCursorFwd;
|
|
102
|
-
private moveCursorBwd;
|
|
103
|
-
private updateSelection;
|
|
104
|
-
private columnResize;
|
|
105
|
-
private onCursorKeydown;
|
|
106
|
-
private onContentKeydown;
|
|
107
|
-
private onCellKeydown;
|
|
108
|
-
private onCursorChanges;
|
|
109
|
-
private onFocusOut;
|
|
110
|
-
private onWindowBlur;
|
|
111
|
-
private handleRowReorderKeyboard;
|
|
112
|
-
private onKeydown;
|
|
113
|
-
private onTabout;
|
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
115
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
116
|
-
}
|
|
@@ -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
|
-
import { FocusableElement } from './focusable-element.interface';
|
|
6
|
-
import { NavigationService } from './navigation.service';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class TreeListFocusableElement implements FocusableElement {
|
|
11
|
-
private navigationService;
|
|
12
|
-
constructor(navigationService: NavigationService);
|
|
13
|
-
focus(): void;
|
|
14
|
-
toggle(active: boolean): void;
|
|
15
|
-
canFocus(): boolean;
|
|
16
|
-
hasFocus(): boolean;
|
|
17
|
-
isNavigable(): boolean;
|
|
18
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
package/pdf/export-element.d.ts
DELETED
|
@@ -1,10 +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
|
-
/** @hidden */
|
|
6
|
-
export declare const cloneNode: (node: any) => any;
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const exportElement: (wrapper: HTMLElement) => HTMLElement;
|
|
@@ -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
|
-
import { PDFService } from './pdf.service';
|
|
6
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the `export-to-PDF` toolbar tool of the TreeList.
|
|
10
|
-
* Apply this directive to any `kendo-toolbar-button` element inside a
|
|
11
|
-
* ToolbarComponent.
|
|
12
|
-
*
|
|
13
|
-
* When you click the toolbar button that contains the directive, the
|
|
14
|
-
* [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#pdfexport) event
|
|
15
|
-
* fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <kendo-treelist>
|
|
20
|
-
* <kendo-toolbar>
|
|
21
|
-
* <kendo-toolbar-button text="PDF Export" kendoTreeListPDFTool></kendo-toolbar-button>
|
|
22
|
-
* </kendo-toolbar>
|
|
23
|
-
* <kendo-treelist-pdf fileName="TreeList.pdf">
|
|
24
|
-
* </kendo-treelist-pdf>
|
|
25
|
-
* </kendo-treelist>
|
|
26
|
-
* ```
|
|
27
|
-
* @remarks
|
|
28
|
-
* Applied to: {@link ToolBarButtonComponent}
|
|
29
|
-
*/
|
|
30
|
-
export declare class PDFCommandToolbarDirective {
|
|
31
|
-
private pdfService;
|
|
32
|
-
private host;
|
|
33
|
-
private clickSub;
|
|
34
|
-
constructor(pdfService: PDFService, host: ToolBarButtonComponent);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
onClick(e: any): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PDFCommandToolbarDirective, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PDFCommandToolbarDirective, "[kendoTreeListPDFTool]", never, {}, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -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 { 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 { PDFService } from './pdf.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the `export-to-PDF` command of the TreeList.
|
|
12
|
-
* Apply this directive to any `button` element inside a
|
|
13
|
-
* [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template).
|
|
14
|
-
* When you click a button that contains the directive, the
|
|
15
|
-
* [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#pdfexport) event
|
|
16
|
-
* fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <kendo-treelist ...>
|
|
21
|
-
* <ng-template kendoTreeListToolbarTemplate>
|
|
22
|
-
* <button kendoTreeListPDFCommand>Export to PDF</button>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* <kendo-treelist-pdf fileName="TreeList.pdf"></kendo-treelist-pdf>
|
|
25
|
-
* </kendo-treelist>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class PDFCommandDirective extends Button {
|
|
29
|
-
private pdfService;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onClick(e: any): void;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
get pdfClass(): boolean;
|
|
38
|
-
constructor(pdfService: PDFService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PDFCommandDirective, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PDFCommandDirective, "[kendoTreeListPDFCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
41
|
-
}
|