@progress/kendo-angular-treelist 19.1.2-develop.4 → 19.1.2-develop.6
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/binding-directives/base-binding.directive.d.ts +6 -3
- package/binding-directives/flat-binding.directive.d.ts +7 -8
- package/binding-directives/hierarchy-binding.directive.d.ts +13 -6
- package/column-menu/column-chooser.component.d.ts +5 -8
- package/column-menu/column-locked-change-event.d.ts +4 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -5
- package/column-menu/column-menu-autosize.component.d.ts +5 -7
- package/column-menu/column-menu-chooser.component.d.ts +15 -6
- package/column-menu/column-menu-expandable-item.interface.d.ts +4 -3
- package/column-menu/column-menu-filter.component.d.ts +14 -4
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +3 -5
- package/column-menu/column-menu-item.component.d.ts +7 -10
- package/column-menu/column-menu-item.directive.d.ts +23 -1
- package/column-menu/column-menu-lock.component.d.ts +14 -4
- package/column-menu/column-menu-settings.interface.d.ts +5 -5
- package/column-menu/column-menu-sort.component.d.ts +12 -2
- package/column-menu/column-menu-template.directive.d.ts +3 -5
- package/column-menu/column-menu.component.d.ts +14 -2
- package/column-menu/column-menu.service.d.ts +1 -2
- package/column-menu/column-visibility-change-event.d.ts +2 -2
- package/column-resizing/column-resize.interface.d.ts +3 -2
- package/columns/checkbox-column.component.d.ts +16 -4
- package/columns/column-base.d.ts +15 -28
- package/columns/column-group.component.d.ts +1 -2
- package/columns/column.component.d.ts +22 -18
- package/columns/command-column.component.d.ts +3 -4
- package/columns/rowreorder-column.component.d.ts +9 -1
- package/columns/sort-settings.d.ts +5 -23
- package/columns/span-column.component.d.ts +11 -16
- package/common/cell-click-event-args.interface.d.ts +4 -3
- package/common/create-form-group.d.ts +2 -1
- package/common/pager-settings.d.ts +7 -8
- package/common/remove-confirmation.d.ts +1 -1
- package/common/single-popup.service.d.ts +7 -6
- package/data/change-event-args.interface.d.ts +6 -7
- package/data/data-item.interface.d.ts +5 -5
- package/data/data.collection.d.ts +4 -3
- package/data/treelist-item.interface.d.ts +2 -2
- package/directives.d.ts +10 -9
- package/dragdrop/column-reorder-config.d.ts +3 -2
- package/dragdrop/column-reorder-event.d.ts +4 -6
- package/editing/add-command-tool.directive.d.ts +9 -12
- package/editing/add-command.directive.d.ts +5 -9
- package/editing/add-event-args.interface.d.ts +3 -2
- package/editing/cancel-command.directive.d.ts +5 -8
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/cell-close-event.d.ts +5 -5
- package/editing/edit-command.directive.d.ts +5 -9
- package/editing/edit-event-args.interface.d.ts +4 -3
- package/editing/edit-template.directive.d.ts +2 -4
- package/editing/remove-command.directive.d.ts +5 -8
- package/editing/remove-event-args.interface.d.ts +3 -2
- package/editing/save-command.directive.d.ts +5 -8
- package/editing/save-event-args.interface.d.ts +4 -3
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +13 -5
- package/editing-directives/editing-directive-base.d.ts +3 -3
- package/editing-directives/in-cell-editing.directive.d.ts +12 -2
- package/editing-directives/reactive-editing.directive.d.ts +12 -2
- package/editing-directives/template-editing.directive.d.ts +13 -3
- package/esm2022/binding-directives/base-binding.directive.mjs +6 -3
- package/esm2022/binding-directives/flat-binding.directive.mjs +7 -8
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +13 -6
- package/esm2022/column-menu/column-chooser.component.mjs +5 -8
- package/esm2022/column-menu/column-locked-change-event.mjs +4 -2
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +3 -5
- package/esm2022/column-menu/column-menu-autosize.component.mjs +5 -7
- package/esm2022/column-menu/column-menu-chooser.component.mjs +15 -6
- package/esm2022/column-menu/column-menu-filter.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-item-base.mjs +1 -1
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu-item.component.mjs +7 -10
- package/esm2022/column-menu/column-menu-item.directive.mjs +23 -1
- package/esm2022/column-menu/column-menu-lock.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-sort.component.mjs +12 -2
- package/esm2022/column-menu/column-menu-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu.component.mjs +14 -2
- package/esm2022/column-menu/column-menu.service.mjs +1 -2
- package/esm2022/column-menu/column-visibility-change-event.mjs +2 -2
- package/esm2022/columns/checkbox-column.component.mjs +16 -4
- package/esm2022/columns/column-base.mjs +15 -28
- package/esm2022/columns/column-group.component.mjs +1 -2
- package/esm2022/columns/column.component.mjs +22 -18
- package/esm2022/columns/command-column.component.mjs +3 -4
- package/esm2022/columns/rowreorder-column.component.mjs +9 -1
- package/esm2022/columns/span-column.component.mjs +11 -16
- package/esm2022/common/single-popup.service.mjs +7 -6
- package/esm2022/directives.mjs +10 -9
- package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
- package/esm2022/editing/add-command-tool.directive.mjs +9 -12
- package/esm2022/editing/add-command.directive.mjs +5 -9
- package/esm2022/editing/cancel-command.directive.mjs +5 -8
- package/esm2022/editing/cell-close-event.mjs +5 -5
- package/esm2022/editing/edit-command.directive.mjs +5 -9
- package/esm2022/editing/edit-template.directive.mjs +2 -4
- package/esm2022/editing/remove-command.directive.mjs +5 -8
- package/esm2022/editing/save-command.directive.mjs +5 -8
- package/esm2022/editing-directives/editing-directive-base.mjs +3 -3
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/reactive-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/template-editing.directive.mjs +13 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +9 -11
- package/esm2022/excel/excel-command.directive.mjs +3 -7
- package/esm2022/excel/excel.component.mjs +22 -16
- package/esm2022/excel/excel.module.mjs +2 -2
- package/esm2022/expand-state/expand-event.mjs +3 -3
- package/esm2022/expand-state/expandable.directive.mjs +8 -5
- package/esm2022/filtering/base-filter-cell.component.mjs +3 -1
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -0
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -3
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -1
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +18 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +7 -5
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -7
- package/esm2022/filtering/date-filter.component.mjs +8 -3
- package/esm2022/filtering/filter.service.mjs +2 -4
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -3
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +18 -2
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +9 -5
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +6 -4
- package/esm2022/filtering/numeric-filter.component.mjs +3 -3
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/filter-operator.base.mjs +1 -1
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/string-filter.component.mjs +1 -1
- package/esm2022/localization/custom-messages.component.mjs +11 -2
- package/esm2022/navigation/focusable.directive.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +11 -9
- package/esm2022/pdf/pdf-command.directive.mjs +2 -2
- package/esm2022/pdf/pdf-export-event.mjs +3 -1
- package/esm2022/pdf/pdf-margin.component.mjs +10 -5
- package/esm2022/pdf/pdf-template.directive.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +12 -2
- package/esm2022/pdf/pdf.module.mjs +6 -6
- package/esm2022/rendering/cell-template.directive.mjs +8 -9
- package/esm2022/rendering/common/spacer.component.mjs +16 -5
- package/esm2022/rendering/footer-template.directive.mjs +10 -12
- package/esm2022/rendering/header/header-template.directive.mjs +4 -4
- package/esm2022/rendering/no-records-template.directive.mjs +2 -2
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +13 -2
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +4 -6
- package/esm2022/selection/selectable.directive.mjs +12 -0
- package/esm2022/selection/selection-change-event.mjs +1 -1
- package/esm2022/treelist.component.mjs +145 -109
- package/esm2022/treelist.module.mjs +6 -8
- package/esm2022/utils.mjs +1 -1
- package/excel/excel-command-tool.directive.d.ts +9 -11
- package/excel/excel-command.directive.d.ts +3 -7
- package/excel/excel-export-data.interface.d.ts +4 -4
- package/excel/excel.component.d.ts +22 -16
- package/excel/excel.module.d.ts +2 -2
- package/expand-state/expand-event.d.ts +3 -3
- package/expand-state/expandable-tree-component.d.ts +4 -6
- package/expand-state/expandable.directive.d.ts +8 -5
- package/fesm2022/progress-kendo-angular-treelist.mjs +1470 -574
- package/filtering/base-filter-cell.component.d.ts +3 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -0
- package/filtering/cell/date-filter-cell.component.d.ts +5 -3
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +18 -3
- package/filtering/cell/numeric-filter-cell.component.d.ts +7 -5
- package/filtering/cell/string-filter-cell.component.d.ts +7 -7
- package/filtering/date-filter.component.d.ts +8 -3
- package/filtering/filter.service.d.ts +2 -4
- package/filtering/filterable.d.ts +3 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +6 -3
- package/filtering/menu/filter-menu-template.directive.d.ts +18 -2
- package/filtering/menu/numeric-filter-menu.component.d.ts +9 -5
- package/filtering/menu/string-filter-menu.component.d.ts +6 -4
- package/filtering/numeric-filter.component.d.ts +3 -3
- package/filtering/operators/after-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/after-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-filter-operator.component.d.ts +27 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +28 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +30 -0
- package/filtering/operators/gte-filter-operator.component.d.ts +27 -1
- package/filtering/operators/is-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +76 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +76 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +27 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +30 -0
- package/filtering/operators/neq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +28 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +11 -2
- package/navigation/focusable-element.interface.d.ts +7 -11
- package/navigation/focusable.directive.d.ts +4 -4
- package/navigation/navigation-cell.interface.d.ts +5 -5
- package/navigation/navigation-row.interface.d.ts +4 -5
- package/package.json +18 -18
- package/pdf/pdf-command-tool.directive.d.ts +11 -9
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +3 -1
- package/pdf/pdf-margin.component.d.ts +10 -5
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf-template.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +12 -2
- package/pdf/pdf.module.d.ts +6 -6
- package/rendering/cell-template.directive.d.ts +8 -9
- package/rendering/common/row-class.d.ts +4 -7
- package/rendering/common/spacer.component.d.ts +16 -5
- package/rendering/footer-template.directive.d.ts +10 -12
- package/rendering/header/header-template.directive.d.ts +4 -4
- package/rendering/no-records-template.directive.d.ts +2 -2
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +13 -2
- package/rendering/toolbar/toolbar-template.directive.d.ts +4 -6
- package/row-reordering/types.d.ts +4 -1
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +2 -0
- package/scrolling/scroll-bottom-event.d.ts +2 -0
- package/scrolling/scroll-request.service.d.ts +3 -3
- package/scrolling/scrollmode.d.ts +3 -3
- package/selection/is-selected.d.ts +5 -4
- package/selection/selectable-settings.d.ts +6 -6
- package/selection/selectable.directive.d.ts +12 -0
- package/selection/selection-change-event.d.ts +2 -2
- package/treelist.component.d.ts +143 -107
- package/treelist.module.d.ts +6 -8
@@ -120,22 +120,20 @@ import * as i104 from "@progress/kendo-angular-toolbar";
|
|
120
120
|
import * as i105 from "@progress/kendo-angular-pager";
|
121
121
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
122
122
|
/**
|
123
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
124
|
-
*
|
123
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the TreeList component.
|
124
|
+
* Use this module to enable TreeList features in your application.
|
125
125
|
*
|
126
126
|
* @example
|
127
|
-
*
|
128
127
|
* ```ts
|
129
128
|
* import { NgModule } from '@angular/core';
|
130
129
|
* import { BrowserModule } from "@angular/platform-browser";
|
131
130
|
* import { TreeListModule } from '@progress/kendo-angular-treelist';
|
132
|
-
*
|
133
131
|
* import { AppComponent } from './app.component';
|
134
132
|
*
|
135
|
-
*
|
136
|
-
*
|
137
|
-
*
|
138
|
-
*
|
133
|
+
* @NgModule({
|
134
|
+
* declarations: [AppComponent],
|
135
|
+
* imports: [BrowserModule, TreeListModule],
|
136
|
+
* bootstrap: [AppComponent]
|
139
137
|
* })
|
140
138
|
* export class AppModule {}
|
141
139
|
* ```
|
package/esm2022/utils.mjs
CHANGED
@@ -114,4 +114,4 @@ export const isColumnEditable = (column, formGroup) => column.isEditable !== fal
|
|
114
114
|
/**
|
115
115
|
* @hidden
|
116
116
|
*/
|
117
|
-
export const replaceMessagePlaceholder = (message, name, value) => message.replace(new RegExp(
|
117
|
+
export const replaceMessagePlaceholder = (message, name, value) => message.replace(new RegExp(`{\\s*${name}\\s*}`, 'g'), value);
|
@@ -6,24 +6,22 @@ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
6
|
import { ExcelService } from './excel.service';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents the `export-to-Excel` toolbar tool of the TreeList.
|
10
|
-
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
11
|
-
* ToolbarComponent used in the TreeList.
|
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.
|
12
10
|
*
|
13
|
-
* When the user clicks a button
|
14
|
-
* [excelExport]({% slug api_treelist_treelistcomponent %}#toc-excelexport) event
|
15
|
-
* fires ([see example]({% slug excelexport_treelist %})).
|
11
|
+
* When the user clicks a button with this directive, the [excelExport]({% slug api_treelist_treelistcomponent %}#toc-excelexport) event fires ([see example]({% slug excelexport_treelist %})).
|
16
12
|
*
|
17
13
|
* @example
|
18
|
-
* ```html
|
14
|
+
* ```html
|
19
15
|
* <kendo-treelist>
|
20
|
-
*
|
16
|
+
* <kendo-toolbar>
|
21
17
|
* <kendo-toolbar-button text="Excel Export" kendoTreeListExcelTool></kendo-toolbar-button>
|
22
|
-
*
|
23
|
-
*
|
24
|
-
*
|
18
|
+
* </kendo-toolbar>
|
19
|
+
* <kendo-treelist-excel fileName="TreeList.xlsx">
|
20
|
+
* </kendo-treelist-excel>
|
25
21
|
* </kendo-treelist>
|
26
22
|
* ```
|
23
|
+
* @remarks
|
24
|
+
* Applied to: {@link ToolBarButtonComponent}
|
27
25
|
*/
|
28
26
|
export declare class ExcelCommandToolbarDirective {
|
29
27
|
private excelService;
|
@@ -8,18 +8,14 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ExcelService } from './excel.service';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the `export-to-Excel` command of the TreeList.
|
12
|
-
*
|
13
|
-
* [`ToolbarTemplate`](slug:toolbartemplate_treelist).
|
14
|
-
* When the user clicks a button associated with the directive, the
|
15
|
-
* [`excelExport`]({% slug api_treelist_treelistcomponent %}#toc-excelexport) event
|
16
|
-
* fires ([see example]({% slug excelexport_treelist %})).
|
11
|
+
* Represents the `export-to-Excel` command of the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](slug:toolbartemplate_treelist).
|
12
|
+
* When the user clicks a button with this directive, the [`excelExport`]({% slug api_treelist_treelistcomponent %}#toc-excelexport) event fires ([see example]({% slug excelexport_treelist %})).
|
17
13
|
*
|
18
14
|
* @example
|
19
15
|
* ```html
|
20
16
|
* <kendo-treelist ...>
|
21
17
|
* <ng-template kendoTreeListToolbarTemplate>
|
22
|
-
* <button kendoTreeListExcelCommand>Export to
|
18
|
+
* <button kendoTreeListExcelCommand>Export to Excel</button>
|
23
19
|
* </ng-template>
|
24
20
|
* <kendo-treelist-excel fileName="TreeList.xlsx"> </kendo-treelist-excel>
|
25
21
|
* </kendo-treelist>
|
@@ -4,19 +4,19 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Observable } from "rxjs";
|
6
6
|
/**
|
7
|
-
* The expected type of result for the
|
7
|
+
* The expected type of result for the TreeList Excel export [`fetchData` function](slug:api_treelist_excelcomponent#toc-fetchdata).
|
8
8
|
*/
|
9
9
|
export interface ExcelExportData {
|
10
10
|
/**
|
11
|
-
* The root data
|
11
|
+
* The root data to export.
|
12
12
|
*/
|
13
13
|
data: any[] | Observable<any[]>;
|
14
14
|
/**
|
15
|
-
*
|
15
|
+
* Returns the children for an item.
|
16
16
|
*/
|
17
17
|
fetchChildren: any;
|
18
18
|
/**
|
19
|
-
*
|
19
|
+
* Indicates if a particular item has children.
|
20
20
|
*/
|
21
21
|
hasChildren: any;
|
22
22
|
}
|
@@ -10,7 +10,14 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { ExcelExportData } from './excel-export-data.interface';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
-
* Configures the settings for the
|
13
|
+
* Configures the settings for exporting the TreeList to Excel. [See example]({% slug excelexport_treelist %}).
|
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
|
+
* ```
|
14
21
|
*/
|
15
22
|
export declare class ExcelComponent implements OnDestroy {
|
16
23
|
private excelService;
|
@@ -22,57 +29,56 @@ export declare class ExcelComponent implements OnDestroy {
|
|
22
29
|
*/
|
23
30
|
fileName: string;
|
24
31
|
/**
|
25
|
-
* Enables or disables column filtering in the Excel file. This
|
32
|
+
* Enables or disables column filtering in the Excel file. This is different from the TreeList filtering feature.
|
26
33
|
*/
|
27
34
|
filterable: boolean;
|
28
35
|
/**
|
29
|
-
*
|
36
|
+
* Sets the author of the workbook.
|
30
37
|
*/
|
31
38
|
creator?: string;
|
32
39
|
/**
|
33
|
-
*
|
40
|
+
* Sets the date the workbook was created. Defaults to `new Date()`.
|
34
41
|
*/
|
35
42
|
date?: Date;
|
36
43
|
/**
|
37
|
-
* If set to `true`, the content
|
44
|
+
* If set to `true`, forwards the content to `proxyURL` even if the browser supports saving files locally.
|
38
45
|
*/
|
39
46
|
forceProxy: boolean;
|
40
47
|
/**
|
41
|
-
* The URL of the server-side proxy
|
42
|
-
*
|
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.
|
43
50
|
*
|
44
51
|
* Optionally, set up a proxy to reduce memory usage. This avoids copying the file contents into memory,
|
45
52
|
* but transmits it over the network instead. For this use case, set [forceProxy](#toc-forceproxy) to `true`
|
46
53
|
* to skip client-side saving even in browsers that support it.
|
47
54
|
*
|
48
|
-
*
|
55
|
+
* The proxy receives a POST request with specific parameters in the request body. [See example](slug:server_proxy#toc-implementations).
|
49
56
|
* The proxy returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
|
50
57
|
*
|
51
|
-
* For details on
|
52
|
-
*
|
58
|
+
* For details on server-side proxy usage and implementation, see the [File Saver]({% slug overview_filesaver %}) documentation.
|
53
59
|
*/
|
54
60
|
proxyURL: string;
|
55
61
|
/**
|
56
|
-
* The function
|
57
|
-
* To export data
|
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.
|
58
64
|
*/
|
59
65
|
fetchData: (component: TreeListComponent) => ExcelExportData;
|
60
66
|
/**
|
61
|
-
* Specifies if
|
67
|
+
* Specifies if item levels in the Excel file are collapsible. Applies only if the TreeList has footers.
|
62
68
|
*/
|
63
69
|
collapsible: boolean;
|
64
70
|
/**
|
65
|
-
* Specifies if export should include all pages
|
71
|
+
* Specifies if export should include all pages.
|
66
72
|
* @default true
|
67
73
|
*/
|
68
74
|
allPages: boolean;
|
69
75
|
/**
|
70
|
-
* Specifies if the export should expand all items or
|
76
|
+
* Specifies if the export should expand all items or use the current TreeList state.
|
71
77
|
* @default true
|
72
78
|
*/
|
73
79
|
expandAll: boolean;
|
74
80
|
/**
|
75
|
-
* The options
|
81
|
+
* The options for the cells inserted before the data to indicate the hierarchy.
|
76
82
|
*/
|
77
83
|
paddingCellOptions: CellOptions;
|
78
84
|
/**
|
package/excel/excel.module.d.ts
CHANGED
@@ -8,7 +8,7 @@ import * as i2 from "./excel-command.directive";
|
|
8
8
|
import * as i3 from "./excel-command-tool.directive";
|
9
9
|
import * as i4 from "@progress/kendo-angular-excel-export";
|
10
10
|
/**
|
11
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
11
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
12
12
|
* definition for the Excel component of the TreeList.
|
13
13
|
*
|
14
14
|
* @example
|
@@ -18,7 +18,7 @@ import * as i4 from "@progress/kendo-angular-excel-export";
|
|
18
18
|
* import { TreeListModule, ExcelModule } from '@progress/kendo-angular-treelist';
|
19
19
|
* import { AppComponent } from './app.component';
|
20
20
|
*
|
21
|
-
*
|
21
|
+
* @NgModule({
|
22
22
|
* declarations: [AppComponent],
|
23
23
|
* imports: [BrowserModule, TreeListModule, ExcelModule],
|
24
24
|
* bootstrap: [AppComponent]
|
@@ -5,15 +5,15 @@
|
|
5
5
|
import type { TreeListComponent } from '../treelist.component';
|
6
6
|
import { PreventableEvent } from '../common/preventable-event';
|
7
7
|
/**
|
8
|
-
* Arguments for the TreeList expand and collapse events
|
8
|
+
* Arguments for the TreeList expand and collapse events. [See example]({% slug treelist_expanded_state %}).
|
9
9
|
*/
|
10
10
|
export declare class ExpandEvent extends PreventableEvent {
|
11
11
|
/**
|
12
|
-
* The expanded
|
12
|
+
* The expanded or collapsed data item.
|
13
13
|
*/
|
14
14
|
dataItem: any;
|
15
15
|
/**
|
16
|
-
* The TreeList component that
|
16
|
+
* The TreeList component that triggers the event.
|
17
17
|
*/
|
18
18
|
sender: TreeListComponent;
|
19
19
|
/**
|
@@ -11,11 +11,11 @@ import * as i0 from "@angular/core";
|
|
11
11
|
*/
|
12
12
|
export declare abstract class ExpandableTreeComponent {
|
13
13
|
/**
|
14
|
-
* Extracts the id value
|
14
|
+
* Extracts the id value when `idField` is set.
|
15
15
|
*/
|
16
16
|
abstract idGetter: any;
|
17
17
|
/**
|
18
|
-
* Emits when
|
18
|
+
* Emits when expand or collapse events occur.
|
19
19
|
*/
|
20
20
|
abstract expandStateChange: EventEmitter<any>;
|
21
21
|
/**
|
@@ -23,10 +23,8 @@ export declare abstract class ExpandableTreeComponent {
|
|
23
23
|
*/
|
24
24
|
abstract isExpanded(node: any): boolean;
|
25
25
|
/**
|
26
|
-
* Updates the state of the current TreeList view without reloading
|
27
|
-
*
|
28
|
-
* Checks all currently rendered items for changes and
|
29
|
-
* triggers re-evaluation of the the `isExpanded` and `isSelected` callbacks.
|
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.
|
30
28
|
*/
|
31
29
|
abstract updateView(): void;
|
32
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableTreeComponent, never>;
|
@@ -6,7 +6,7 @@ import { OnDestroy, EventEmitter } from '@angular/core';
|
|
6
6
|
import { ExpandableTreeComponent } from './expandable-tree-component';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* A directive which controls the expanded state of the
|
9
|
+
* A directive which controls the expanded state of items in the TreeList. [See example](slug:treelist_expanded_state#toc-built-in-directive).
|
10
10
|
*
|
11
11
|
* @example
|
12
12
|
* ```html
|
@@ -15,26 +15,29 @@ import * as i0 from "@angular/core";
|
|
15
15
|
* kendoTreeListExpandable> ...
|
16
16
|
* </kendo-treelist>
|
17
17
|
* ```
|
18
|
+
* @remarks
|
19
|
+
* Applied to: {@link TreeListComponent},
|
18
20
|
*/
|
19
21
|
export declare class ExpandableDirective implements OnDestroy {
|
20
22
|
private component;
|
21
23
|
/**
|
22
|
-
*
|
24
|
+
* Emits when the `expandedKeys` change.
|
23
25
|
*/
|
24
26
|
expandedKeysChange: EventEmitter<any>;
|
25
27
|
/**
|
26
28
|
* Sets the expanded item keys.
|
29
|
+
* Use this property to control which items are expanded.
|
27
30
|
*/
|
28
31
|
set expandedKeys(value: any[]);
|
29
32
|
get expandedKeys(): any[];
|
30
33
|
/**
|
31
|
-
* Specifies if
|
34
|
+
* Specifies if items are initially expanded.
|
32
35
|
* @default false
|
33
36
|
*/
|
34
37
|
initiallyExpanded: boolean;
|
35
38
|
/**
|
36
|
-
* Defines the item key
|
37
|
-
*
|
39
|
+
* Defines the item key stored in the `expandedKeys` collection.
|
40
|
+
* Uses the component `idField` by default.
|
38
41
|
*/
|
39
42
|
set expandBy(key: string | ((dataItem: any) => any));
|
40
43
|
protected get keyGetter(): any;
|