@progress/kendo-angular-treelist 17.0.0-develop.13 → 17.0.0-develop.15
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/directives.d.ts +7 -4
- package/editing/add-command-tool.directive.d.ts +38 -0
- package/esm2020/directives.mjs +8 -2
- package/esm2020/editing/add-command-tool.directive.mjs +61 -0
- package/esm2020/excel/excel-command-tool.directive.mjs +64 -0
- package/esm2020/excel/excel.module.mjs +3 -2
- package/esm2020/index.mjs +3 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command-tool.directive.mjs +64 -0
- package/esm2020/pdf/pdf.module.mjs +3 -2
- package/esm2020/rendering/body.module.mjs +7 -6
- package/esm2020/rendering/cell.component.mjs +4 -1
- package/esm2020/rendering/table-body.component.mjs +3 -1
- package/esm2020/treelist.component.mjs +12 -4
- package/esm2020/treelist.module.mjs +68 -66
- package/excel/excel-command-tool.directive.d.ts +41 -0
- package/excel/excel.module.d.ts +3 -2
- package/fesm2015/progress-kendo-angular-treelist.mjs +197 -21
- package/fesm2020/progress-kendo-angular-treelist.mjs +195 -21
- package/index.d.ts +3 -0
- package/package.json +16 -15
- package/pdf/pdf-command-tool.directive.d.ts +41 -0
- package/pdf/pdf.module.d.ts +3 -2
- package/rendering/body.module.d.ts +6 -5
- package/rendering/cell.component.d.ts +2 -1
- package/schematics/ngAdd/index.js +3 -3
- package/treelist.component.d.ts +1 -1
- package/treelist.module.d.ts +67 -65
@@ -8,7 +8,7 @@ import * as i2$1 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, isPresent as isPresent$1, hasClasses as hasClasses$1, Keys, EventsOutsideAngularDirective, anyChanged, ResizeSensorComponent, isChanged as isChanged$1, KendoInput, guid, DraggableDirective, TemplateContextDirective, hasObservers, ResizeBatchService, DraggableModule } from '@progress/kendo-angular-common';
|
9
9
|
import * as i2 from '@progress/kendo-angular-icons';
|
10
10
|
import { IconWrapperComponent, IconsService, IconsModule, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
11
|
-
import * as
|
11
|
+
import * as i15 from '@progress/kendo-angular-dateinputs';
|
12
12
|
import { DatePickerComponent, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService as NavigationService$1, KENDO_DATEPICKER, DatePickerModule } from '@progress/kendo-angular-dateinputs';
|
13
13
|
import * as i1 from '@progress/kendo-angular-popup';
|
14
14
|
import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
@@ -24,7 +24,7 @@ import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/k
|
|
24
24
|
import { DragTargetContainerDirective, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
25
25
|
import { orderBy, isCompositeFilterDescriptor, process, aggregateBy } from '@progress/kendo-data-query';
|
26
26
|
import * as i1$2 from '@angular/platform-browser';
|
27
|
-
import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon, caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon, caretAltDownIcon, reorderIcon, filterClearIcon, filterIcon, chevronUpIcon, chevronDownIcon, columnsIcon, sortAscSmallIcon, sortDescSmallIcon, moreVerticalIcon } from '@progress/kendo-svg-icons';
|
27
|
+
import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon, caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon, caretAltDownIcon, reorderIcon, filterClearIcon, filterIcon, chevronUpIcon, chevronDownIcon, columnsIcon, sortAscSmallIcon, sortDescSmallIcon, moreVerticalIcon, fileExcelIcon, filePdfIcon } from '@progress/kendo-svg-icons';
|
28
28
|
import { getter, setter } from '@progress/kendo-common';
|
29
29
|
import * as i3$1 from '@progress/kendo-angular-label';
|
30
30
|
import { LabelComponent, KENDO_LABEL } from '@progress/kendo-angular-label';
|
@@ -39,6 +39,8 @@ import { trigger, state, style, transition, animate } from '@angular/animations'
|
|
39
39
|
import { saveAs } from '@progress/kendo-file-saver';
|
40
40
|
import { workbookOptions, toDataURL, ColumnBase as ColumnBase$1, ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
41
41
|
import { PDFExportMarginComponent, PDFExportTemplateDirective, PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
42
|
+
import * as i2$2 from '@progress/kendo-angular-toolbar';
|
43
|
+
import { ToolBarModule } from '@progress/kendo-angular-toolbar';
|
42
44
|
|
43
45
|
/**
|
44
46
|
* @hidden
|
@@ -47,8 +49,8 @@ const packageMetadata = {
|
|
47
49
|
name: '@progress/kendo-angular-treelist',
|
48
50
|
productName: 'Kendo UI for Angular',
|
49
51
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
50
|
-
publishDate:
|
51
|
-
version: '17.0.0-develop.
|
52
|
+
publishDate: 1729273822,
|
53
|
+
version: '17.0.0-develop.15',
|
52
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
53
55
|
};
|
54
56
|
|
@@ -7097,6 +7099,7 @@ class CellComponent {
|
|
7097
7099
|
this._editTemplateContext.dataItem = this.dataItem;
|
7098
7100
|
this._editTemplateContext.formGroup = this.formGroup;
|
7099
7101
|
this._editTemplateContext.isNew = this.isNew;
|
7102
|
+
this._editTemplateContext.rowIndex = this.isNew ? -1 : this.rowIndex;
|
7100
7103
|
return this._editTemplateContext;
|
7101
7104
|
}
|
7102
7105
|
get format() {
|
@@ -7157,7 +7160,7 @@ class CellComponent {
|
|
7157
7160
|
}
|
7158
7161
|
}
|
7159
7162
|
CellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellComponent, deps: [{ token: EditService }, { token: i1$1.LocalizationService }, { token: FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
|
7160
|
-
CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CellComponent, isStandalone: true, selector: "[kendoTreeListCell]", inputs: { column: "column", columnIndex: "columnIndex", isNew: "isNew", level: "level", hasChildren: "hasChildren", isExpanded: "isExpanded", loading: "loading", expandIcons: "expandIcons", selected: "selected", dataItem: "dataItem", viewItem: "viewItem" }, host: { properties: { "class.k-command-cell": "this.commandCellClass", "class.k-checkbox-cell": "this.isCheckboxColumn", "class.k-text-nowrap": "this.textNoWrapClass", "class.k-drag-cell": "this.dragHandleCellClass", "class.k-touch-action-none": "this.dragHandleCellClass", "attr.aria-label": "this.dragRowHandleLabel" } }, ngImport: i0, template: `
|
7163
|
+
CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CellComponent, isStandalone: true, selector: "[kendoTreeListCell]", inputs: { column: "column", columnIndex: "columnIndex", isNew: "isNew", level: "level", hasChildren: "hasChildren", isExpanded: "isExpanded", loading: "loading", expandIcons: "expandIcons", rowIndex: "rowIndex", selected: "selected", dataItem: "dataItem", viewItem: "viewItem" }, host: { properties: { "class.k-command-cell": "this.commandCellClass", "class.k-checkbox-cell": "this.isCheckboxColumn", "class.k-text-nowrap": "this.textNoWrapClass", "class.k-drag-cell": "this.dragHandleCellClass", "class.k-touch-action-none": "this.dragHandleCellClass", "attr.aria-label": "this.dragRowHandleLabel" } }, ngImport: i0, template: `
|
7161
7164
|
<ng-container [ngSwitch]="isEdited">
|
7162
7165
|
<ng-container *ngSwitchCase="false">
|
7163
7166
|
<ng-container *ngIf="column.expandable">
|
@@ -7352,6 +7355,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
7352
7355
|
type: Input
|
7353
7356
|
}], expandIcons: [{
|
7354
7357
|
type: Input
|
7358
|
+
}], rowIndex: [{
|
7359
|
+
type: Input
|
7355
7360
|
}], selected: [{
|
7356
7361
|
type: Input
|
7357
7362
|
}], dataItem: [{
|
@@ -7831,6 +7836,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
7831
7836
|
[level]="item.level"
|
7832
7837
|
[hasChildren]="item.hasChildren"
|
7833
7838
|
[isExpanded]="item.expanded"
|
7839
|
+
[rowIndex]="item.rowIndex"
|
7834
7840
|
[loading]="item.loading"
|
7835
7841
|
[isNew]="item.isNew"
|
7836
7842
|
[selected]="item.selected"
|
@@ -7891,7 +7897,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
7891
7897
|
</td>
|
7892
7898
|
</tr>
|
7893
7899
|
</ng-container>
|
7894
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "selected", "dataItem", "viewItem"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: LevelItemsPipe, name: "levelItems" }] });
|
7900
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "rowIndex", "selected", "dataItem", "viewItem"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: LevelItemsPipe, name: "levelItems" }] });
|
7895
7901
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableBodyComponent, decorators: [{
|
7896
7902
|
type: Component,
|
7897
7903
|
args: [{
|
@@ -7934,6 +7940,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
7934
7940
|
[level]="item.level"
|
7935
7941
|
[hasChildren]="item.hasChildren"
|
7936
7942
|
[isExpanded]="item.expanded"
|
7943
|
+
[rowIndex]="item.rowIndex"
|
7937
7944
|
[loading]="item.loading"
|
7938
7945
|
[isNew]="item.isNew"
|
7939
7946
|
[selected]="item.selected"
|
@@ -15627,6 +15634,10 @@ class TreeListComponent {
|
|
15627
15634
|
this.updateNavigationMetadata();
|
15628
15635
|
this.applyAutoSize();
|
15629
15636
|
this.subscriptions.add(this.pagerTemplateChildren.changes.subscribe(() => this.changeDetectorRef.markForCheck()));
|
15637
|
+
const toolbarComponentWrapper = this.wrapper?.nativeElement?.querySelector('kendo-toolbar');
|
15638
|
+
if (toolbarComponentWrapper) {
|
15639
|
+
this.renderer.addClass(toolbarComponentWrapper, 'k-grid-toolbar');
|
15640
|
+
}
|
15630
15641
|
}
|
15631
15642
|
ngAfterContentChecked() {
|
15632
15643
|
if (this.dataChanged) {
|
@@ -16186,6 +16197,10 @@ class TreeListComponent {
|
|
16186
16197
|
if ((this.rowHeight) && !this.isVirtual) {
|
16187
16198
|
throw new Error('Row height setting requires virtual scrolling mode to be enabled.');
|
16188
16199
|
}
|
16200
|
+
if (this.wrapper?.nativeElement?.querySelector('kendo-toolbar') && this.toolbarTemplate) {
|
16201
|
+
console.warn(`Defining both a toolbar template and a ToolBarComponent within the TreeList is not supported.
|
16202
|
+
Please use either the ToolBarComponent or a custom template.`);
|
16203
|
+
}
|
16189
16204
|
validateColumnsField(this.columnList);
|
16190
16205
|
}
|
16191
16206
|
}
|
@@ -16703,8 +16718,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
16703
16718
|
[navigable]="navigable"
|
16704
16719
|
class="k-toolbar k-grid-toolbar k-toolbar-md"
|
16705
16720
|
[attr.aria-label]="messageFor('topToolbarLabel')"
|
16706
|
-
[attr.aria-controls]="ariaRootId">
|
16707
|
-
|
16721
|
+
[attr.aria-controls]="ariaRootId"></kendo-treelist-toolbar>
|
16722
|
+
<ng-content select="kendo-toolbar"></ng-content>
|
16708
16723
|
<div #ariaRoot
|
16709
16724
|
class="k-grid-aria-root"
|
16710
16725
|
role="treegrid"
|
@@ -17131,8 +17146,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
17131
17146
|
[navigable]="navigable"
|
17132
17147
|
class="k-toolbar k-grid-toolbar k-toolbar-md"
|
17133
17148
|
[attr.aria-label]="messageFor('topToolbarLabel')"
|
17134
|
-
[attr.aria-controls]="ariaRootId">
|
17135
|
-
|
17149
|
+
[attr.aria-controls]="ariaRootId"></kendo-treelist-toolbar>
|
17150
|
+
<ng-content select="kendo-toolbar"></ng-content>
|
17136
17151
|
<div #ariaRoot
|
17137
17152
|
class="k-grid-aria-root"
|
17138
17153
|
role="treegrid"
|
@@ -20977,6 +20992,162 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
20977
20992
|
args: ['class.k-grid-pdf']
|
20978
20993
|
}] } });
|
20979
20994
|
|
20995
|
+
/**
|
20996
|
+
* Represents the command for adding a new item to the TreeList.
|
20997
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
20998
|
+
* ToolbarComponent used in the TreeList.
|
20999
|
+
*
|
21000
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
21001
|
+
* [add]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered.
|
21002
|
+
*
|
21003
|
+
* @example
|
21004
|
+
* ```html-no-run
|
21005
|
+
* <kendo-grid>
|
21006
|
+
* <kendo-toolbar>
|
21007
|
+
* <kendo-toolbar-button text="Add new" kendoTreeListAddTool></kendo-toolbar-button>
|
21008
|
+
* </kendo-toolbar>
|
21009
|
+
* </kendo-grid>
|
21010
|
+
* ```
|
21011
|
+
*/
|
21012
|
+
class AddCommandToolbarDirective {
|
21013
|
+
constructor(editService, host) {
|
21014
|
+
this.editService = editService;
|
21015
|
+
this.host = host;
|
21016
|
+
this.clickSub = new Subscription();
|
21017
|
+
}
|
21018
|
+
ngOnInit() {
|
21019
|
+
this.clickSub = this.host.click.subscribe(e => this.onClick(e));
|
21020
|
+
this.host.className = 'k-grid-add-command';
|
21021
|
+
this.host.svgIcon = plusIcon;
|
21022
|
+
this.host.icon = 'plus';
|
21023
|
+
}
|
21024
|
+
ngOnDestroy() {
|
21025
|
+
this.clickSub.unsubscribe();
|
21026
|
+
}
|
21027
|
+
/**
|
21028
|
+
* @hidden
|
21029
|
+
*/
|
21030
|
+
onClick(e) {
|
21031
|
+
e.preventDefault();
|
21032
|
+
this.editService.beginAdd();
|
21033
|
+
}
|
21034
|
+
}
|
21035
|
+
AddCommandToolbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandToolbarDirective, deps: [{ token: EditService }, { token: i2$2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
21036
|
+
AddCommandToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListAddTool]", ngImport: i0 });
|
21037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandToolbarDirective, decorators: [{
|
21038
|
+
type: Directive,
|
21039
|
+
args: [{
|
21040
|
+
selector: '[kendoTreeListAddTool]',
|
21041
|
+
standalone: true
|
21042
|
+
}]
|
21043
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i2$2.ToolBarButtonComponent }]; } });
|
21044
|
+
|
21045
|
+
/**
|
21046
|
+
* Represents the `export-to-Excel` toolbar tool of the TreeList.
|
21047
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
21048
|
+
* ToolbarComponent used in the TreeList.
|
21049
|
+
*
|
21050
|
+
* When the user clicks a button associated with the directive, the
|
21051
|
+
* [excelExport]({% slug api_treelist_treelistcomponent %}#toc-excelexport) event
|
21052
|
+
* fires ([see example]({% slug excelexport_treelist %})).
|
21053
|
+
*
|
21054
|
+
* @example
|
21055
|
+
* ```html-no-run
|
21056
|
+
* <kendo-treelist>
|
21057
|
+
* <kendo-toolbar>
|
21058
|
+
* <kendo-toolbar-button text="Excel Export" kendoTreeListExcelTool></kendo-toolbar-button>
|
21059
|
+
* </kendo-toolbar>
|
21060
|
+
* <kendo-treelist-excel fileName="TreeList.xlsx">
|
21061
|
+
* </kendo-treelist-excel>
|
21062
|
+
* </kendo-treelist>
|
21063
|
+
* ```
|
21064
|
+
*/
|
21065
|
+
class ExcelCommandToolbarDirective {
|
21066
|
+
constructor(excelService, host) {
|
21067
|
+
this.excelService = excelService;
|
21068
|
+
this.host = host;
|
21069
|
+
this.clickSub = new Subscription();
|
21070
|
+
}
|
21071
|
+
ngOnInit() {
|
21072
|
+
this.clickSub = this.host.click.subscribe(e => this.onClick(e));
|
21073
|
+
this.host.className = 'k-grid-excel';
|
21074
|
+
this.host.svgIcon = fileExcelIcon;
|
21075
|
+
this.host.icon = 'file-excel';
|
21076
|
+
}
|
21077
|
+
ngOnDestroy() {
|
21078
|
+
this.clickSub.unsubscribe();
|
21079
|
+
}
|
21080
|
+
/**
|
21081
|
+
* @hidden
|
21082
|
+
*/
|
21083
|
+
onClick(e) {
|
21084
|
+
e.preventDefault();
|
21085
|
+
this.excelService.exportClick.emit();
|
21086
|
+
}
|
21087
|
+
}
|
21088
|
+
ExcelCommandToolbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelCommandToolbarDirective, deps: [{ token: ExcelService }, { token: i2$2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
21089
|
+
ExcelCommandToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ExcelCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListExcelTool]", ngImport: i0 });
|
21090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelCommandToolbarDirective, decorators: [{
|
21091
|
+
type: Directive,
|
21092
|
+
args: [{
|
21093
|
+
selector: '[kendoTreeListExcelTool]',
|
21094
|
+
standalone: true
|
21095
|
+
}]
|
21096
|
+
}], ctorParameters: function () { return [{ type: ExcelService }, { type: i2$2.ToolBarButtonComponent }]; } });
|
21097
|
+
|
21098
|
+
/**
|
21099
|
+
* Represents the `export-to-PDF` toolbar tool of the TreeList.
|
21100
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
21101
|
+
* ToolbarComponent used in the TreeList.
|
21102
|
+
*
|
21103
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
21104
|
+
* [pdfExport]({% slug api_treelist_treelistcomponent %}#toc-pdfexport) event
|
21105
|
+
* fires ([see example]({% slug pdfexport_treelist %})).
|
21106
|
+
*
|
21107
|
+
* @example
|
21108
|
+
* ```html-no-run
|
21109
|
+
* <kendo-treelist>
|
21110
|
+
* <kendo-toolbar>
|
21111
|
+
* <kendo-toolbar-button text="PDF Export" kendoTreeListPDFTool></kendo-toolbar-button>
|
21112
|
+
* </kendo-toolbar>
|
21113
|
+
* <kendo-treelist-pdf fileName="TreeList.pdf">
|
21114
|
+
* </kendo-treelist-pdf>
|
21115
|
+
* </kendo-treelist>
|
21116
|
+
* ```
|
21117
|
+
*/
|
21118
|
+
class PDFCommandToolbarDirective {
|
21119
|
+
constructor(pdfService, host) {
|
21120
|
+
this.pdfService = pdfService;
|
21121
|
+
this.host = host;
|
21122
|
+
this.clickSub = new Subscription();
|
21123
|
+
}
|
21124
|
+
ngOnInit() {
|
21125
|
+
this.clickSub = this.host.click.subscribe(e => this.onClick(e));
|
21126
|
+
this.host.className = 'k-grid-pdf';
|
21127
|
+
this.host.svgIcon = filePdfIcon;
|
21128
|
+
this.host.icon = 'file-pdf';
|
21129
|
+
}
|
21130
|
+
ngOnDestroy() {
|
21131
|
+
this.clickSub.unsubscribe();
|
21132
|
+
}
|
21133
|
+
/**
|
21134
|
+
* @hidden
|
21135
|
+
*/
|
21136
|
+
onClick(e) {
|
21137
|
+
e.preventDefault();
|
21138
|
+
this.pdfService.exportClick.emit();
|
21139
|
+
}
|
21140
|
+
}
|
21141
|
+
PDFCommandToolbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFCommandToolbarDirective, deps: [{ token: PDFService }, { token: i2$2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
21142
|
+
PDFCommandToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListPDFTool]", ngImport: i0 });
|
21143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFCommandToolbarDirective, decorators: [{
|
21144
|
+
type: Directive,
|
21145
|
+
args: [{
|
21146
|
+
selector: '[kendoTreeListPDFTool]',
|
21147
|
+
standalone: true
|
21148
|
+
}]
|
21149
|
+
}], ctorParameters: function () { return [{ type: PDFService }, { type: i2$2.ToolBarButtonComponent }]; } });
|
21150
|
+
|
20980
21151
|
/**
|
20981
21152
|
* @hidden
|
20982
21153
|
* Utility array that contains the former Shared module exports
|
@@ -21012,6 +21183,7 @@ const BODY_EXPORTS = [
|
|
21012
21183
|
SaveCommandDirective,
|
21013
21184
|
RemoveCommandDirective,
|
21014
21185
|
AddCommandDirective,
|
21186
|
+
AddCommandToolbarDirective,
|
21015
21187
|
FooterTemplateDirective
|
21016
21188
|
];
|
21017
21189
|
/**
|
@@ -21121,7 +21293,8 @@ const COLUMN_MENU_EXPORTS = [
|
|
21121
21293
|
*/
|
21122
21294
|
const EXCEL_EXPORTS = [
|
21123
21295
|
ExcelComponent,
|
21124
|
-
ExcelCommandDirective
|
21296
|
+
ExcelCommandDirective,
|
21297
|
+
ExcelCommandToolbarDirective
|
21125
21298
|
];
|
21126
21299
|
/**
|
21127
21300
|
* @hidden
|
@@ -21131,7 +21304,8 @@ const PDF_EXPORTS = [
|
|
21131
21304
|
PDFComponent,
|
21132
21305
|
PDFMarginComponent,
|
21133
21306
|
PDFCommandDirective,
|
21134
|
-
PDFTemplateDirective
|
21307
|
+
PDFTemplateDirective,
|
21308
|
+
PDFCommandToolbarDirective
|
21135
21309
|
];
|
21136
21310
|
/**
|
21137
21311
|
* Utility array that contains all `@progress/kendo-angular-treelist` related components and directives
|
@@ -21184,7 +21358,7 @@ const KENDO_TREELIST = [
|
|
21184
21358
|
class TreeListModule {
|
21185
21359
|
}
|
21186
21360
|
TreeListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21187
|
-
TreeListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TreeListModule, imports: [TreeListComponent, ToolbarTemplateDirective, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, HierarchyBindingDirective, FlatBindingDirective, ExpandableDirective, SelectableDirective, TreeListToolbarFocusableDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, PagerTemplateDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective, TableDirective], exports: [TreeListComponent, ToolbarTemplateDirective, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, HierarchyBindingDirective, FlatBindingDirective, ExpandableDirective, SelectableDirective, TreeListToolbarFocusableDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, PagerTemplateDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective] });
|
21361
|
+
TreeListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TreeListModule, imports: [TreeListComponent, ToolbarTemplateDirective, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, HierarchyBindingDirective, FlatBindingDirective, ExpandableDirective, SelectableDirective, TreeListToolbarFocusableDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, PagerTemplateDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective, TableDirective], exports: [TreeListComponent, ToolbarTemplateDirective, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, HierarchyBindingDirective, FlatBindingDirective, ExpandableDirective, SelectableDirective, TreeListToolbarFocusableDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, PagerTemplateDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, ColGroupComponent, ResizableContainerDirective, i2$1.TemplateContextDirective, FieldAccessorPipe, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective, ToolBarModule] });
|
21188
21362
|
TreeListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListModule, providers: [
|
21189
21363
|
IconsService,
|
21190
21364
|
ResizeBatchService,
|
@@ -21199,11 +21373,11 @@ TreeListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
21199
21373
|
DialogService,
|
21200
21374
|
WindowService,
|
21201
21375
|
WindowContainerService
|
21202
|
-
], imports: [TreeListComponent, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, ColumnComponent, ColumnGroupComponent, ColGroupComponent, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, FilterRowComponent, FilterCellComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, ColumnComponent, ColumnGroupComponent, ColGroupComponent, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent] });
|
21376
|
+
], imports: [TreeListComponent, ToolbarComponent, TreeListSpacerComponent, CustomMessagesComponent, ColumnComponent, ColumnGroupComponent, ColGroupComponent, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, CommandColumnComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent, PagerComponent, PagerPrevButtonsComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerInfoComponent, PagerPageSizesComponent, FilterRowComponent, FilterCellComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, ColumnComponent, ColumnGroupComponent, ColGroupComponent, SpanColumnComponent, LoadingComponent, FilterCellOperatorsComponent, CheckboxColumnComponent, RowReorderColumnComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ToolBarModule] });
|
21203
21377
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListModule, decorators: [{
|
21204
21378
|
type: NgModule,
|
21205
21379
|
args: [{
|
21206
|
-
exports: [...KENDO_TREELIST],
|
21380
|
+
exports: [...KENDO_TREELIST, ToolBarModule],
|
21207
21381
|
imports: [...KENDO_TREELIST, TableDirective],
|
21208
21382
|
providers: [
|
21209
21383
|
IconsService,
|
@@ -21298,8 +21472,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
21298
21472
|
class BodyModule {
|
21299
21473
|
}
|
21300
21474
|
BodyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21301
|
-
BodyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, FooterTemplateDirective, i1$4.NumericTextBoxComponent, i1$4.NumericTextBoxCustomMessagesComponent, i2$1.PrefixTemplateDirective, i2$1.SuffixTemplateDirective, i2$1.SeparatorComponent,
|
21302
|
-
BodyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [CommandColumnComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, i1$4.NumericTextBoxComponent, i1$4.NumericTextBoxCustomMessagesComponent, i2$1.SeparatorComponent,
|
21475
|
+
BodyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, FooterTemplateDirective, i1$4.NumericTextBoxComponent, i1$4.NumericTextBoxCustomMessagesComponent, i2$1.PrefixTemplateDirective, i2$1.SuffixTemplateDirective, i2$1.SeparatorComponent, i15.DatePickerCustomMessagesComponent, i15.DatePickerComponent, i15.CellTemplateDirective, i15.CenturyCellTemplateDirective, i15.DecadeCellTemplateDirective, i15.FooterTemplateDirective, i15.HeaderTemplateDirective, i15.HeaderTitleTemplateDirective, i15.MonthCellTemplateDirective, i15.NavigationItemTemplateDirective, i15.WeekNumberCellTemplateDirective, i15.YearCellTemplateDirective, i15.NavigationItemTemplateDirective], exports: [CommandColumnComponent, CellTemplateDirective, CellComponent, NoRecordsTemplateDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, FooterTemplateDirective] });
|
21476
|
+
BodyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [CommandColumnComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, i1$4.NumericTextBoxComponent, i1$4.NumericTextBoxCustomMessagesComponent, i2$1.SeparatorComponent, i15.DatePickerCustomMessagesComponent, i15.DatePickerComponent] });
|
21303
21477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, decorators: [{
|
21304
21478
|
type: NgModule,
|
21305
21479
|
args: [{
|
@@ -21369,7 +21543,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
21369
21543
|
class PDFModule {
|
21370
21544
|
}
|
21371
21545
|
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21372
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, imports: [PDFComponent, PDFMarginComponent, PDFCommandDirective, PDFTemplateDirective, i2.IconComponent, i2.SVGIconComponent], exports: [PDFComponent, PDFMarginComponent, PDFCommandDirective, PDFTemplateDirective] });
|
21546
|
+
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, imports: [PDFComponent, PDFMarginComponent, PDFCommandDirective, PDFTemplateDirective, PDFCommandToolbarDirective, i2.IconComponent, i2.SVGIconComponent], exports: [PDFComponent, PDFMarginComponent, PDFCommandDirective, PDFTemplateDirective, PDFCommandToolbarDirective] });
|
21373
21547
|
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [PDFComponent, PDFMarginComponent, PDFCommandDirective, KENDO_ICONS] });
|
21374
21548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, decorators: [{
|
21375
21549
|
type: NgModule,
|
@@ -21403,8 +21577,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
21403
21577
|
class ExcelModule {
|
21404
21578
|
}
|
21405
21579
|
ExcelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21406
|
-
ExcelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, imports: [ExcelComponent, ExcelCommandDirective], exports: [ExcelComponent, ExcelCommandDirective, ExcelExportModule] });
|
21407
|
-
ExcelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, providers: [IconsService], imports: [
|
21580
|
+
ExcelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, imports: [ExcelComponent, ExcelCommandDirective, ExcelCommandToolbarDirective], exports: [ExcelComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelExportModule] });
|
21581
|
+
ExcelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, providers: [IconsService], imports: [ExcelComponent, ExcelCommandDirective, ExcelExportModule] });
|
21408
21582
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelModule, decorators: [{
|
21409
21583
|
type: NgModule,
|
21410
21584
|
args: [{
|
@@ -21465,5 +21639,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
21465
21639
|
* Generated bundle index. Do not edit.
|
21466
21640
|
*/
|
21467
21641
|
|
21468
|
-
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BODY_EXPORTS, BaseCommandDirective, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, COLUMN_MENU_EXPORTS, CancelCommandDirective, CellCloseEvent, CellComponent, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuLockComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnResizingService, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBoundTreeComponent, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DoesNotContainFilterOperatorComponent, EXCEL_EXPORTS, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandEvent, ExpandableDirective, ExpandableTreeComponent, FILTER_MENU_EXPORTS, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FlatBindingDirective, FocusableDirective, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, HEADER_EXPORTS, HeaderComponent, HeaderModule, HeaderTemplateDirective, HierarchyBindingDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_TREELIST, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, LevelItemsPipe, ListComponent, LoadingComponent, LogicalCellDirective, LogicalRowDirective, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PAGER_EXPORTS, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PDF_EXPORTS, PagerComponent, PagerInfoComponent, PagerInputComponent, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ROW_FILTER_EXPORTS, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, RowReorderColumnComponent, RowReorderService, SHARED_EXPORTS, SHARED_FILTER_EXPORTS, SaveCommandDirective, SelectableDirective, SelectionChangeEvent, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, TreeListComponent, TreeListModule, TreeListSpacerComponent, TreeListToolbarFocusableDirective };
|
21642
|
+
export { AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BODY_EXPORTS, BaseCommandDirective, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, COLUMN_MENU_EXPORTS, CancelCommandDirective, CellCloseEvent, CellComponent, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuLockComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnResizingService, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBoundTreeComponent, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DoesNotContainFilterOperatorComponent, EXCEL_EXPORTS, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandEvent, ExpandableDirective, ExpandableTreeComponent, FILTER_MENU_EXPORTS, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FlatBindingDirective, FocusableDirective, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, HEADER_EXPORTS, HeaderComponent, HeaderModule, HeaderTemplateDirective, HierarchyBindingDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_TREELIST, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, LevelItemsPipe, ListComponent, LoadingComponent, LogicalCellDirective, LogicalRowDirective, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PAGER_EXPORTS, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PDF_EXPORTS, PagerComponent, PagerInfoComponent, PagerInputComponent, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ROW_FILTER_EXPORTS, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, RowReorderColumnComponent, RowReorderService, SHARED_EXPORTS, SHARED_FILTER_EXPORTS, SaveCommandDirective, SelectableDirective, SelectionChangeEvent, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, TreeListComponent, TreeListModule, TreeListSpacerComponent, TreeListToolbarFocusableDirective };
|
21469
21643
|
|
package/index.d.ts
CHANGED
@@ -96,6 +96,7 @@ export { PDFMargin } from './pdf/pdf-margin.interface';
|
|
96
96
|
export { PDFMarginComponent } from './pdf/pdf-margin.component';
|
97
97
|
export { PDFService } from './pdf/pdf.service';
|
98
98
|
export { PDFCommandDirective } from './pdf/pdf-command.directive';
|
99
|
+
export { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
|
99
100
|
export { PDFTemplateDirective } from './pdf/pdf-template.directive';
|
100
101
|
export { ExcelModule } from './excel/excel.module';
|
101
102
|
export { ExcelComponent } from './excel/excel.component';
|
@@ -103,6 +104,7 @@ export { ExcelExportData } from './excel/excel-export-data.interface';
|
|
103
104
|
export { ExcelService } from './excel/excel.service';
|
104
105
|
export { ExcelExportEvent } from './excel/excel-export-event';
|
105
106
|
export { ExcelCommandDirective } from './excel/excel-command.directive';
|
107
|
+
export { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
|
106
108
|
export { RowClassFn, RowClassArgs, RowArgs } from './rendering/common/row-class';
|
107
109
|
export { IsSelectedFn } from './selection/is-selected';
|
108
110
|
export { SelectableSettings } from './selection/selectable-settings';
|
@@ -117,6 +119,7 @@ export { CellClickEvent } from './common/cell-click-event-args.interface';
|
|
117
119
|
export { CellCloseEvent } from './editing/cell-close-event';
|
118
120
|
export { CreateFormGroup } from './common/create-form-group';
|
119
121
|
export { RemoveConfirmationCallback } from './common/remove-confirmation';
|
122
|
+
export { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
|
120
123
|
export { ScrollBottomEvent } from './scrolling/scroll-bottom-event';
|
121
124
|
export { ContentScrollEvent } from './scrolling/content-scroll-event';
|
122
125
|
export { SuspendService } from './scrolling/suspend.service';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
3
|
-
"version": "17.0.0-develop.
|
3
|
+
"version": "17.0.0-develop.15",
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -31,24 +31,25 @@
|
|
31
31
|
"@progress/kendo-data-query": "^1.0.0",
|
32
32
|
"@progress/kendo-drawing": "^1.20.4",
|
33
33
|
"@progress/kendo-licensing": "^1.0.2",
|
34
|
-
"@progress/kendo-angular-buttons": "17.0.0-develop.
|
35
|
-
"@progress/kendo-angular-common": "17.0.0-develop.
|
36
|
-
"@progress/kendo-angular-dateinputs": "17.0.0-develop.
|
37
|
-
"@progress/kendo-angular-dropdowns": "17.0.0-develop.
|
38
|
-
"@progress/kendo-angular-excel-export": "17.0.0-develop.
|
39
|
-
"@progress/kendo-angular-icons": "17.0.0-develop.
|
40
|
-
"@progress/kendo-angular-inputs": "17.0.0-develop.
|
41
|
-
"@progress/kendo-angular-intl": "17.0.0-develop.
|
42
|
-
"@progress/kendo-angular-l10n": "17.0.0-develop.
|
43
|
-
"@progress/kendo-angular-label": "17.0.0-develop.
|
44
|
-
"@progress/kendo-angular-pdf-export": "17.0.0-develop.
|
45
|
-
"@progress/kendo-angular-popup": "17.0.0-develop.
|
46
|
-
"@progress/kendo-angular-
|
34
|
+
"@progress/kendo-angular-buttons": "17.0.0-develop.15",
|
35
|
+
"@progress/kendo-angular-common": "17.0.0-develop.15",
|
36
|
+
"@progress/kendo-angular-dateinputs": "17.0.0-develop.15",
|
37
|
+
"@progress/kendo-angular-dropdowns": "17.0.0-develop.15",
|
38
|
+
"@progress/kendo-angular-excel-export": "17.0.0-develop.15",
|
39
|
+
"@progress/kendo-angular-icons": "17.0.0-develop.15",
|
40
|
+
"@progress/kendo-angular-inputs": "17.0.0-develop.15",
|
41
|
+
"@progress/kendo-angular-intl": "17.0.0-develop.15",
|
42
|
+
"@progress/kendo-angular-l10n": "17.0.0-develop.15",
|
43
|
+
"@progress/kendo-angular-label": "17.0.0-develop.15",
|
44
|
+
"@progress/kendo-angular-pdf-export": "17.0.0-develop.15",
|
45
|
+
"@progress/kendo-angular-popup": "17.0.0-develop.15",
|
46
|
+
"@progress/kendo-angular-toolbar": "17.0.0-develop.15",
|
47
|
+
"@progress/kendo-angular-utils": "17.0.0-develop.15",
|
47
48
|
"rxjs": "^6.5.3 || ^7.0.0"
|
48
49
|
},
|
49
50
|
"dependencies": {
|
50
51
|
"tslib": "^2.3.1",
|
51
|
-
"@progress/kendo-angular-schematics": "17.0.0-develop.
|
52
|
+
"@progress/kendo-angular-schematics": "17.0.0-develop.15",
|
52
53
|
"@progress/kendo-common": "^0.2.0",
|
53
54
|
"@progress/kendo-file-saver": "^1.0.0"
|
54
55
|
},
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2024 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
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
11
|
+
* ToolbarComponent used in the TreeList.
|
12
|
+
*
|
13
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
14
|
+
* [pdfExport]({% slug api_treelist_treelistcomponent %}#toc-pdfexport) event
|
15
|
+
* fires ([see example]({% slug pdfexport_treelist %})).
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* ```html-no-run
|
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
|
+
*/
|
28
|
+
export declare class PDFCommandToolbarDirective {
|
29
|
+
private pdfService;
|
30
|
+
private host;
|
31
|
+
private clickSub;
|
32
|
+
constructor(pdfService: PDFService, host: ToolBarButtonComponent);
|
33
|
+
ngOnInit(): void;
|
34
|
+
ngOnDestroy(): void;
|
35
|
+
/**
|
36
|
+
* @hidden
|
37
|
+
*/
|
38
|
+
onClick(e: any): void;
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDFCommandToolbarDirective, never>;
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PDFCommandToolbarDirective, "[kendoTreeListPDFTool]", never, {}, {}, never, never, true, never>;
|
41
|
+
}
|
package/pdf/pdf.module.d.ts
CHANGED
@@ -7,7 +7,8 @@ import * as i1 from "./pdf.component";
|
|
7
7
|
import * as i2 from "./pdf-margin.component";
|
8
8
|
import * as i3 from "./pdf-command.directive";
|
9
9
|
import * as i4 from "./pdf-template.directive";
|
10
|
-
import * as i5 from "
|
10
|
+
import * as i5 from "./pdf-command-tool.directive";
|
11
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
11
12
|
/**
|
12
13
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
13
14
|
* definition for the TreeList PDF component.
|
@@ -30,6 +31,6 @@ import * as i5 from "@progress/kendo-angular-icons";
|
|
30
31
|
*/
|
31
32
|
export declare class PDFModule {
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PDFModule, never>;
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PDFModule, never, [typeof i1.PDFComponent, typeof i2.PDFMarginComponent, typeof i3.PDFCommandDirective, typeof i4.PDFTemplateDirective, typeof i5.IconComponent, typeof
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PDFModule, never, [typeof i1.PDFComponent, typeof i2.PDFMarginComponent, typeof i3.PDFCommandDirective, typeof i4.PDFTemplateDirective, typeof i5.PDFCommandToolbarDirective, typeof i6.IconComponent, typeof i6.SVGIconComponent], [typeof i1.PDFComponent, typeof i2.PDFMarginComponent, typeof i3.PDFCommandDirective, typeof i4.PDFTemplateDirective, typeof i5.PDFCommandToolbarDirective]>;
|
34
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<PDFModule>;
|
35
36
|
}
|
@@ -13,16 +13,17 @@ import * as i7 from "../editing/cancel-command.directive";
|
|
13
13
|
import * as i8 from "../editing/save-command.directive";
|
14
14
|
import * as i9 from "../editing/remove-command.directive";
|
15
15
|
import * as i10 from "../editing/add-command.directive";
|
16
|
-
import * as i11 from "
|
17
|
-
import * as i12 from "
|
18
|
-
import * as i13 from "@progress/kendo-angular-
|
19
|
-
import * as i14 from "@progress/kendo-angular-
|
16
|
+
import * as i11 from "../editing/add-command-tool.directive";
|
17
|
+
import * as i12 from "./footer-template.directive";
|
18
|
+
import * as i13 from "@progress/kendo-angular-inputs";
|
19
|
+
import * as i14 from "@progress/kendo-angular-common";
|
20
|
+
import * as i15 from "@progress/kendo-angular-dateinputs";
|
20
21
|
/**
|
21
22
|
* @hidden
|
22
23
|
* @deprecated
|
23
24
|
*/
|
24
25
|
export declare class BodyModule {
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BodyModule, never>;
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BodyModule, never, [typeof i1.CommandColumnComponent, typeof i2.CellTemplateDirective, typeof i3.CellComponent, typeof i4.NoRecordsTemplateDirective, typeof i5.EditTemplateDirective, typeof i6.EditCommandDirective, typeof i7.CancelCommandDirective, typeof i8.SaveCommandDirective, typeof i9.RemoveCommandDirective, typeof i10.AddCommandDirective, typeof i11.
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BodyModule, never, [typeof i1.CommandColumnComponent, typeof i2.CellTemplateDirective, typeof i3.CellComponent, typeof i4.NoRecordsTemplateDirective, typeof i5.EditTemplateDirective, typeof i6.EditCommandDirective, typeof i7.CancelCommandDirective, typeof i8.SaveCommandDirective, typeof i9.RemoveCommandDirective, typeof i10.AddCommandDirective, typeof i11.AddCommandToolbarDirective, typeof i12.FooterTemplateDirective, typeof i13.NumericTextBoxComponent, typeof i13.NumericTextBoxCustomMessagesComponent, typeof i14.PrefixTemplateDirective, typeof i14.SuffixTemplateDirective, typeof i14.SeparatorComponent, typeof i15.DatePickerCustomMessagesComponent, typeof i15.DatePickerComponent, typeof i15.CellTemplateDirective, typeof i15.CenturyCellTemplateDirective, typeof i15.DecadeCellTemplateDirective, typeof i15.FooterTemplateDirective, typeof i15.HeaderTemplateDirective, typeof i15.HeaderTitleTemplateDirective, typeof i15.MonthCellTemplateDirective, typeof i15.NavigationItemTemplateDirective, typeof i15.WeekNumberCellTemplateDirective, typeof i15.YearCellTemplateDirective, typeof i15.NavigationItemTemplateDirective], [typeof i1.CommandColumnComponent, typeof i2.CellTemplateDirective, typeof i3.CellComponent, typeof i4.NoRecordsTemplateDirective, typeof i5.EditTemplateDirective, typeof i6.EditCommandDirective, typeof i7.CancelCommandDirective, typeof i8.SaveCommandDirective, typeof i9.RemoveCommandDirective, typeof i10.AddCommandDirective, typeof i11.AddCommandToolbarDirective, typeof i12.FooterTemplateDirective]>;
|
27
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<BodyModule>;
|
28
29
|
}
|
@@ -30,6 +30,7 @@ export declare class CellComponent implements AfterContentChecked, DoCheck {
|
|
30
30
|
isExpanded: boolean;
|
31
31
|
loading: boolean;
|
32
32
|
expandIcons: boolean;
|
33
|
+
rowIndex: number;
|
33
34
|
selected: boolean;
|
34
35
|
dataItem: any;
|
35
36
|
set viewItem(value: any);
|
@@ -59,5 +60,5 @@ export declare class CellComponent implements AfterContentChecked, DoCheck {
|
|
59
60
|
get arrowSVGIcon(): SVGIcon;
|
60
61
|
messageFor(token: string): string;
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, never>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "[kendoTreeListCell]", never, { "column": "column"; "columnIndex": "columnIndex"; "isNew": "isNew"; "level": "level"; "hasChildren": "hasChildren"; "isExpanded": "isExpanded"; "loading": "loading"; "expandIcons": "expandIcons"; "selected": "selected"; "dataItem": "dataItem"; "viewItem": "viewItem"; }, {}, never, never, true, never>;
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "[kendoTreeListCell]", never, { "column": "column"; "columnIndex": "columnIndex"; "isNew": "isNew"; "level": "level"; "hasChildren": "hasChildren"; "isExpanded": "isExpanded"; "loading": "loading"; "expandIcons": "expandIcons"; "rowIndex": "rowIndex"; "selected": "selected"; "dataItem": "dataItem"; "viewItem": "viewItem"; }, {}, never, never, true, never>;
|
63
64
|
}
|