@progress/kendo-angular-treeview 7.1.5 → 11.0.0-develop.80
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/NOTICE.txt +3 -3
- package/check-mode.d.ts +1 -1
- package/check.directive.d.ts +1 -1
- package/checkable-settings.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/checkbox.module.d.ts +1 -1
- package/checkbox/checked-state.d.ts +1 -1
- package/data-bound-component.d.ts +1 -1
- package/data-change-notification.service.d.ts +1 -1
- package/default-callbacks.d.ts +1 -1
- package/disable.directive.d.ts +1 -1
- package/drag-and-drop/drag-and-drop-editing.directive.d.ts +1 -1
- package/drag-and-drop/drag-and-drop-utils.d.ts +1 -1
- package/drag-and-drop/drag-and-drop.directive.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue-template.directive.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue.component.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue.service.d.ts +3 -3
- package/drag-and-drop/drop-hint/drop-hint-template.directive.d.ts +1 -1
- package/drag-and-drop/drop-hint/drop-hint.component.d.ts +1 -1
- package/drag-and-drop/drop-hint/drop-hint.service.d.ts +1 -1
- package/drag-and-drop/editing-services/drag-and-drop-asset.service.d.ts +1 -1
- package/drag-and-drop/editing-services/flat-editing.service.d.ts +1 -1
- package/drag-and-drop/editing-services/hierarchy-editing.service.d.ts +1 -1
- package/drag-and-drop/models/drop-action.d.ts +1 -1
- package/drag-and-drop/models/drop-position.d.ts +1 -1
- package/drag-and-drop/models/editing-service.d.ts +1 -1
- package/drag-and-drop/models/preventable-event.d.ts +1 -1
- package/drag-and-drop/models/scroll-direction.d.ts +1 -1
- package/drag-and-drop/models/scroll-settings.d.ts +1 -1
- package/drag-and-drop/models/tree-item-filter-state.d.ts +1 -1
- package/drag-and-drop/models/treeitem-add-remove-args.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drag-event.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drag-start-event.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drop-event.d.ts +1 -1
- package/drag-and-drop/models.d.ts +1 -1
- package/{esm2015/checkbox/checked-state.js → esm2020/check-mode.mjs} +1 -1
- package/{esm2015/check.directive.js → esm2020/check.directive.mjs} +7 -6
- package/{esm2015/check-mode.js → esm2020/checkable-settings.mjs} +1 -1
- package/{esm2015/checkbox/checkbox.component.js → esm2020/checkbox/checkbox.component.mjs} +5 -5
- package/{esm2015/checkbox/checkbox.module.js → esm2020/checkbox/checkbox.module.mjs} +5 -5
- package/{esm2015/drag-and-drop/models/editing-service.js → esm2020/checkbox/checked-state.mjs} +1 -1
- package/{esm2015/data-bound-component.js → esm2020/data-bound-component.mjs} +4 -4
- package/{esm2015/data-change-notification.service.js → esm2020/data-change-notification.service.mjs} +1 -1
- package/{esm2015/default-callbacks.js → esm2020/default-callbacks.mjs} +1 -1
- package/{esm2015/disable.directive.js → esm2020/disable.directive.mjs} +6 -5
- package/{esm2015/drag-and-drop/drag-and-drop-editing.directive.js → esm2020/drag-and-drop/drag-and-drop-editing.directive.mjs} +5 -4
- package/{esm2015/drag-and-drop/drag-and-drop-utils.js → esm2020/drag-and-drop/drag-and-drop-utils.mjs} +6 -2
- package/{esm2015/drag-and-drop/drag-and-drop.directive.js → esm2020/drag-and-drop/drag-and-drop.directive.mjs} +6 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue-template.directive.js → esm2020/drag-and-drop/drag-clue/drag-clue-template.directive.mjs} +5 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue.component.js → esm2020/drag-and-drop/drag-clue/drag-clue.component.mjs} +5 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue.service.js → esm2020/drag-and-drop/drag-clue/drag-clue.service.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint-template.directive.js → esm2020/drag-and-drop/drop-hint/drop-hint-template.directive.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint.component.js → esm2020/drag-and-drop/drop-hint/drop-hint.component.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint.service.js → esm2020/drag-and-drop/drop-hint/drop-hint.service.mjs} +5 -5
- package/{esm2015/drag-and-drop/editing-services/drag-and-drop-asset.service.js → esm2020/drag-and-drop/editing-services/drag-and-drop-asset.service.mjs} +4 -4
- package/{esm2015/drag-and-drop/editing-services/flat-editing.service.js → esm2020/drag-and-drop/editing-services/flat-editing.service.mjs} +1 -1
- package/{esm2015/drag-and-drop/editing-services/hierarchy-editing.service.js → esm2020/drag-and-drop/editing-services/hierarchy-editing.service.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/drop-action.js → esm2020/drag-and-drop/models/drop-action.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/drop-position.js → esm2020/drag-and-drop/models/drop-position.mjs} +1 -1
- package/{esm2015/checkable-settings.js → esm2020/drag-and-drop/models/editing-service.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/preventable-event.js → esm2020/drag-and-drop/models/preventable-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/scroll-direction.js → esm2020/drag-and-drop/models/scroll-direction.mjs} +1 -1
- package/esm2020/drag-and-drop/models/scroll-settings.mjs +5 -0
- package/esm2020/drag-and-drop/models/tree-item-filter-state.mjs +5 -0
- package/esm2020/drag-and-drop/models/treeitem-add-remove-args.mjs +5 -0
- package/{esm2015/drag-and-drop/models/treeitem-drag-event.js → esm2020/drag-and-drop/models/treeitem-drag-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/treeitem-drag-start-event.js → esm2020/drag-and-drop/models/treeitem-drag-start-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/treeitem-drop-event.js → esm2020/drag-and-drop/models/treeitem-drop-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models.js → esm2020/drag-and-drop/models.mjs} +1 -1
- package/{esm2015/expand-state.service.js → esm2020/expand-state.service.mjs} +4 -4
- package/{esm2015/expand.directive.js → esm2020/expand.directive.mjs} +9 -8
- package/{esm2015/expandable-component.js → esm2020/expandable-component.mjs} +4 -4
- package/esm2020/filter-expand-settings.interface.mjs +5 -0
- package/esm2020/filter-state.interface.mjs +5 -0
- package/{esm2015/filtering-base.js → esm2020/filtering-base.mjs} +9 -5
- package/{esm2015/flat-binding.directive.js → esm2020/flat-binding.directive.mjs} +6 -5
- package/{esm2015/funcs.js → esm2020/funcs.mjs} +1 -1
- package/{esm2015/hierarchy-binding.directive.js → esm2020/hierarchy-binding.directive.mjs} +13 -11
- package/{esm2015/index-builder.service.js → esm2020/index-builder.service.mjs} +4 -4
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/load-more/load-more-button-template.directive.js → esm2020/load-more/load-more-button-template.directive.mjs} +5 -5
- package/esm2020/load-more/load-more-request-args.mjs +5 -0
- package/{esm2015/load-more/load-more-utils.js → esm2020/load-more/load-more-utils.mjs} +1 -1
- package/{esm2015/load-more/load-more.directive.js → esm2020/load-more/load-more.directive.mjs} +5 -4
- package/esm2020/load-more/load-more.service.mjs +5 -0
- package/{esm2015/loading-indicator.directive.js → esm2020/loading-indicator.directive.mjs} +7 -5
- package/{esm2015/loading-notification.service.js → esm2020/loading-notification.service.mjs} +4 -4
- package/esm2020/navigation/navigation-item.interface.mjs +5 -0
- package/{esm2015/navigation/navigation-model.js → esm2020/navigation/navigation-model.mjs} +1 -1
- package/esm2020/navigation/navigation-state.interface.mjs +5 -0
- package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +5 -4
- package/{esm2015/node-children.service.js → esm2020/node-children.service.mjs} +4 -4
- package/esm2020/node-click-event.interface.mjs +5 -0
- package/{esm2015/node-template.directive.js → esm2020/node-template.directive.mjs} +5 -5
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-treeview.js → esm2020/progress-kendo-angular-treeview.mjs} +2 -2
- package/{esm2015/selection/select.directive.js → esm2020/selection/select.directive.mjs} +9 -8
- package/esm2020/selection/selectable-settings.mjs +5 -0
- package/esm2020/selection/selection-mode.mjs +5 -0
- package/{esm2015/selection/selection.service.js → esm2020/selection/selection.service.mjs} +4 -4
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/esm2020/size.mjs +5 -0
- package/esm2020/treeitem-lookup.interface.mjs +5 -0
- package/esm2020/treeitem.interface.mjs +5 -0
- package/{esm2015/treeview-filter-settings.js → esm2020/treeview-filter-settings.mjs} +1 -1
- package/{esm2015/treeview-group.component.js → esm2020/treeview-group.component.mjs} +12 -5
- package/{esm2015/treeview-item-content.directive.js → esm2020/treeview-item-content.directive.mjs} +9 -7
- package/{esm2015/treeview-item.directive.js → esm2020/treeview-item.directive.mjs} +10 -5
- package/{esm2015/treeview-lookup.service.js → esm2020/treeview-lookup.service.mjs} +4 -4
- package/{esm2015/treeview.component.js → esm2020/treeview.component.mjs} +5 -5
- package/{esm2015/treeview.module.js → esm2020/treeview.module.mjs} +5 -5
- package/{esm2015/utils.js → esm2020/utils.mjs} +1 -1
- package/expand-state.service.d.ts +1 -1
- package/expand.directive.d.ts +1 -1
- package/expandable-component.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-treeview.mjs +5465 -0
- package/{fesm2015/kendo-angular-treeview.js → fesm2020/progress-kendo-angular-treeview.mjs} +224 -218
- package/filter-expand-settings.interface.d.ts +1 -1
- package/filter-state.interface.d.ts +1 -1
- package/filtering-base.d.ts +1 -1
- package/flat-binding.directive.d.ts +1 -1
- package/funcs.d.ts +1 -1
- package/hierarchy-binding.directive.d.ts +5 -5
- package/index-builder.service.d.ts +1 -1
- package/{main.d.ts → index.d.ts} +1 -1
- package/load-more/load-more-button-template.directive.d.ts +1 -1
- package/load-more/load-more-request-args.d.ts +1 -1
- package/load-more/load-more-utils.d.ts +1 -1
- package/load-more/load-more.directive.d.ts +1 -1
- package/load-more/load-more.service.d.ts +1 -1
- package/loading-indicator.directive.d.ts +1 -1
- package/loading-notification.service.d.ts +1 -1
- package/navigation/navigation-item.interface.d.ts +1 -1
- package/navigation/navigation-model.d.ts +1 -1
- package/navigation/navigation-state.interface.d.ts +1 -1
- package/navigation/navigation.service.d.ts +1 -1
- package/node-children.service.d.ts +1 -1
- package/node-click-event.interface.d.ts +1 -1
- package/node-template.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -57
- package/{kendo-angular-treeview.d.ts → progress-kendo-angular-treeview.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/selection/select.directive.d.ts +1 -1
- package/selection/selectable-settings.d.ts +1 -1
- package/selection/selection-mode.d.ts +1 -1
- package/selection/selection.service.d.ts +1 -1
- package/shared.module.d.ts +1 -1
- package/size.d.ts +1 -1
- package/treeitem-lookup.interface.d.ts +1 -1
- package/treeitem.interface.d.ts +1 -1
- package/treeview-filter-settings.d.ts +1 -1
- package/treeview-group.component.d.ts +1 -1
- package/treeview-item-content.directive.d.ts +1 -1
- package/treeview-item.directive.d.ts +1 -1
- package/treeview-lookup.service.d.ts +1 -1
- package/treeview.component.d.ts +1 -1
- package/treeview.module.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/bundles/kendo-angular-treeview.umd.js +0 -5
- package/esm2015/drag-and-drop/models/scroll-settings.js +0 -5
- package/esm2015/drag-and-drop/models/tree-item-filter-state.js +0 -5
- package/esm2015/drag-and-drop/models/treeitem-add-remove-args.js +0 -5
- package/esm2015/filter-expand-settings.interface.js +0 -5
- package/esm2015/filter-state.interface.js +0 -5
- package/esm2015/load-more/load-more-request-args.js +0 -5
- package/esm2015/load-more/load-more.service.js +0 -5
- package/esm2015/navigation/navigation-item.interface.js +0 -5
- package/esm2015/navigation/navigation-state.interface.js +0 -5
- package/esm2015/node-click-event.interface.js +0 -5
- package/esm2015/selection/selectable-settings.js +0 -5
- package/esm2015/selection/selection-mode.js +0 -5
- package/esm2015/size.js +0 -5
- package/esm2015/treeitem-lookup.interface.js +0 -5
- package/esm2015/treeitem.interface.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Optional, Directive } from "@angular/core";
|
|
5
|
+
import { Optional, Directive, TemplateRef } from "@angular/core";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView load more buttons.
|
|
@@ -19,9 +19,9 @@ export class LoadMoreButtonTemplateDirective {
|
|
|
19
19
|
this.templateRef = templateRef;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
LoadMoreButtonTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
LoadMoreButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
LoadMoreButtonTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
LoadMoreButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LoadMoreButtonTemplateDirective, selector: "[kendoTreeViewLoadMoreButtonTemplate]", ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreButtonTemplateDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
26
|
args: [{
|
|
27
27
|
selector: '[kendoTreeViewLoadMoreButtonTemplate]'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { isPresent } from '../utils';
|
package/{esm2015/load-more/load-more.directive.js → esm2020/load-more/load-more.directive.mjs}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input, isDevMode } from '@angular/core';
|
|
6
6
|
import { guid } from '@progress/kendo-angular-common';
|
|
7
|
+
import { TreeViewComponent } from '../treeview.component';
|
|
7
8
|
import { isPresent } from '../utils';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "../treeview.component";
|
|
@@ -83,9 +84,9 @@ export class LoadMoreDirective {
|
|
|
83
84
|
return this.pageSize;
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
LoadMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
87
|
-
LoadMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
LoadMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreDirective, deps: [{ token: i1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
88
|
+
LoadMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LoadMoreDirective, selector: "[kendoTreeViewLoadMore]", inputs: { loadMoreNodes: ["kendoTreeViewLoadMore", "loadMoreNodes"], pageSize: "pageSize", totalRootNodes: "totalRootNodes", totalField: "totalField" }, usesOnChanges: true, ngImport: i0 });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreDirective, decorators: [{
|
|
89
90
|
type: Directive,
|
|
90
91
|
args: [{
|
|
91
92
|
selector: '[kendoTreeViewLoadMore]'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ChangeDetectorRef, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import { ExpandStateService } from './expand-state.service';
|
|
7
|
+
import { LoadingNotificationService } from './loading-notification.service';
|
|
6
8
|
import { of } from 'rxjs';
|
|
7
9
|
import { delay, filter, switchMap, takeUntil, tap } from 'rxjs/operators';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
@@ -45,9 +47,9 @@ export class LoadingIndicatorDirective {
|
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
|
-
LoadingIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
49
|
-
LoadingIndicatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
LoadingIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingIndicatorDirective, deps: [{ token: i1.ExpandStateService }, { token: i2.LoadingNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
LoadingIndicatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: { index: ["kendoTreeViewLoading", "index"] }, host: { properties: { "class.k-i-loading": "this.loading" } }, ngImport: i0 });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingIndicatorDirective, decorators: [{
|
|
51
53
|
type: Directive,
|
|
52
54
|
args: [{ selector: '[kendoTreeViewLoading]' }]
|
|
53
55
|
}], ctorParameters: function () { return [{ type: i1.ExpandStateService }, { type: i2.LoadingNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { loading: [{
|
package/{esm2015/loading-notification.service.js → esm2020/loading-notification.service.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from "@angular/core";
|
|
@@ -16,8 +16,8 @@ export class LoadingNotificationService {
|
|
|
16
16
|
this.changes.next(index);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
LoadingNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
LoadingNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
LoadingNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
LoadingNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService, decorators: [{
|
|
22
22
|
type: Injectable
|
|
23
23
|
}] });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { IndexBuilderService } from '../index-builder.service';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
6
6
|
import { Keys } from '@progress/kendo-angular-common';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
8
|
import { Subject } from 'rxjs';
|
|
8
9
|
import { NavigationModel } from './navigation-model';
|
|
9
10
|
import { nodeIndex, isPresent } from '../utils';
|
|
@@ -234,8 +235,8 @@ export class NavigationService {
|
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
}
|
|
237
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
238
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
238
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
239
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
240
241
|
type: Injectable
|
|
241
242
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from "@angular/core";
|
|
@@ -16,8 +16,8 @@ export class NodeChildrenService {
|
|
|
16
16
|
this.changes.next({ item, children });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
NodeChildrenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
NodeChildrenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
NodeChildrenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
NodeChildrenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService, decorators: [{
|
|
22
22
|
type: Injectable
|
|
23
23
|
}] });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Optional, Directive } from "@angular/core";
|
|
5
|
+
import { Optional, Directive, TemplateRef } from "@angular/core";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView nodes ([more information and example]({% slug nodetemplate_treeview %})).
|
|
@@ -63,9 +63,9 @@ export class NodeTemplateDirective {
|
|
|
63
63
|
this.templateRef = templateRef;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
66
|
+
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoTreeViewNodeTemplate]", ngImport: i0 });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: '[kendoTreeViewNodeTemplate]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treeview',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1672394617,
|
|
13
13
|
version: '',
|
|
14
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
14
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
6
|
+
import { TreeViewComponent } from '../treeview.component';
|
|
6
7
|
import { isBoolean, isPresent, noop } from '../utils';
|
|
7
8
|
import { Subscription } from 'rxjs';
|
|
8
9
|
import { isChanged } from '@progress/kendo-angular-common';
|
|
10
|
+
import { NavigationService } from '../navigation/navigation.service';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "../treeview.component";
|
|
11
13
|
import * as i2 from "../navigation/navigation.service";
|
|
@@ -57,12 +59,11 @@ export class SelectDirective {
|
|
|
57
59
|
return Object.assign(defaultOptions, selectionSettings);
|
|
58
60
|
}
|
|
59
61
|
ngOnChanges(changes) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
this.state = new Set(changes.selectedKeys.currentValue);
|
|
62
|
+
if (isChanged('selectedKeys', changes, false) && changes['selectedKeys'].currentValue !== this.lastChange) {
|
|
63
|
+
this.state = new Set(changes['selectedKeys'].currentValue);
|
|
63
64
|
}
|
|
64
65
|
const isSelectionBooleanTrue = typeof this.selection === 'boolean' && this.selection;
|
|
65
|
-
this.navigationService.selection = isSelectionBooleanTrue ? 'single' :
|
|
66
|
+
this.navigationService.selection = isSelectionBooleanTrue ? 'single' : this.selection?.mode;
|
|
66
67
|
}
|
|
67
68
|
ngOnDestroy() {
|
|
68
69
|
this.subscriptions.unsubscribe();
|
|
@@ -113,9 +114,9 @@ export class SelectDirective {
|
|
|
113
114
|
this.selectedKeysChange.emit(this.lastChange);
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
|
-
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
117
|
-
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectDirective, deps: [{ token: i1.TreeViewComponent }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
118
|
+
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: { isSelected: "isSelected", selectKey: ["selectBy", "selectKey"], selection: ["kendoTreeViewSelectable", "selection"], selectedKeys: "selectedKeys" }, outputs: { selectedKeysChange: "selectedKeysChange" }, host: { properties: { "attr.aria-multiselectable": "this.getAriaMultiselectable" } }, usesOnChanges: true, ngImport: i0 });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectDirective, decorators: [{
|
|
119
120
|
type: Directive,
|
|
120
121
|
args: [{ selector: '[kendoTreeViewSelectable]' }]
|
|
121
122
|
}], ctorParameters: function () { return [{ type: i1.TreeViewComponent }, { type: i2.NavigationService }]; }, propDecorators: { isSelected: [{
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -27,8 +27,8 @@ export class SelectionService {
|
|
|
27
27
|
this.changes.next({ dataItem, index });
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
31
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
33
33
|
type: Injectable
|
|
34
34
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -54,8 +54,8 @@ const COMPONENT_DIRECTIVES = [
|
|
|
54
54
|
*/
|
|
55
55
|
export class SharedModule {
|
|
56
56
|
}
|
|
57
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
57
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
58
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [TreeViewComponent,
|
|
59
59
|
TreeViewGroupComponent,
|
|
60
60
|
TreeViewItemDirective,
|
|
61
61
|
TreeViewItemContentDirective,
|
|
@@ -96,12 +96,12 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
96
96
|
DragAndDropEditingDirective,
|
|
97
97
|
LoadMoreDirective,
|
|
98
98
|
LoadMoreButtonTemplateDirective] });
|
|
99
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
99
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[
|
|
100
100
|
CommonModule,
|
|
101
101
|
CheckBoxModule,
|
|
102
102
|
InputsModule
|
|
103
103
|
]] });
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
105
105
|
type: NgModule,
|
|
106
106
|
args: [{
|
|
107
107
|
declarations: [COMPONENT_DIRECTIVES],
|
package/esm2020/size.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { trigger, style, animate, transition } from '@angular/animations';
|
|
7
7
|
import { getter } from '@progress/kendo-common';
|
|
8
|
+
import { ExpandStateService } from './expand-state.service';
|
|
9
|
+
import { IndexBuilderService } from './index-builder.service';
|
|
10
|
+
import { TreeViewLookupService } from './treeview-lookup.service';
|
|
11
|
+
import { NavigationService } from './navigation/navigation.service';
|
|
12
|
+
import { NodeChildrenService } from './node-children.service';
|
|
8
13
|
import { isPresent, isArray } from './utils';
|
|
14
|
+
import { LoadingNotificationService } from './loading-notification.service';
|
|
9
15
|
import { Subscription, EMPTY, of } from 'rxjs';
|
|
10
16
|
import { catchError, tap, finalize, filter } from 'rxjs/operators';
|
|
17
|
+
import { DataChangeNotificationService } from './data-change-notification.service';
|
|
11
18
|
import * as i0 from "@angular/core";
|
|
12
19
|
import * as i1 from "./expand-state.service";
|
|
13
20
|
import * as i2 from "./loading-notification.service";
|
|
@@ -263,8 +270,8 @@ export class TreeViewGroupComponent {
|
|
|
263
270
|
this.emitChildrenLoaded(mappedChildren);
|
|
264
271
|
}
|
|
265
272
|
}
|
|
266
|
-
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
267
|
-
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
273
|
+
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: i1.ExpandStateService }, { token: i2.LoadingNotificationService }, { token: i3.IndexBuilderService }, { token: i4.TreeViewLookupService }, { token: i5.NavigationService }, { token: i6.NodeChildrenService }, { token: i7.DataChangeNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
274
|
+
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: { checkboxes: "checkboxes", expandIcons: "expandIcons", disabled: "disabled", selectable: "selectable", touchActions: "touchActions", disableParentNodesOnly: "disableParentNodesOnly", loadOnDemand: "loadOnDemand", trackBy: "trackBy", nodes: "nodes", textField: "textField", parentDataItem: "parentDataItem", parentIndex: "parentIndex", nodeTemplateRef: "nodeTemplateRef", loadMoreButtonTemplateRef: "loadMoreButtonTemplateRef", loadMoreService: "loadMoreService", size: "size", expandDisabledNodes: "expandDisabledNodes", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isVisible: "isVisible", isSelected: "isSelected", children: "children", hasChildren: "hasChildren" }, host: { properties: { "class.k-treeview-group": "this.kGroupClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
268
275
|
<li
|
|
269
276
|
*ngFor="let node of data; let index = index; trackBy: trackBy"
|
|
270
277
|
class="k-treeview-item"
|
|
@@ -425,7 +432,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
425
432
|
])
|
|
426
433
|
])
|
|
427
434
|
] });
|
|
428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewGroupComponent, decorators: [{
|
|
429
436
|
type: Component,
|
|
430
437
|
args: [{
|
|
431
438
|
animations: [
|
package/{esm2015/treeview-item-content.directive.js → esm2020/treeview-item-content.directive.mjs}
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
6
|
+
import { NavigationService } from './navigation/navigation.service';
|
|
7
|
+
import { SelectionService } from './selection/selection.service';
|
|
6
8
|
import { isSelected } from './default-callbacks';
|
|
7
9
|
import { Subscription } from 'rxjs';
|
|
8
10
|
import { filter } from 'rxjs/operators';
|
|
@@ -34,10 +36,10 @@ export class TreeViewItemContentDirective {
|
|
|
34
36
|
}));
|
|
35
37
|
}
|
|
36
38
|
ngOnChanges(changes) {
|
|
37
|
-
if (changes
|
|
39
|
+
if (changes['initialSelection']) {
|
|
38
40
|
this.updateSelectionClass(this.initialSelection);
|
|
39
41
|
}
|
|
40
|
-
if (changes
|
|
42
|
+
if (changes['index']) {
|
|
41
43
|
this.updateFocusClass();
|
|
42
44
|
}
|
|
43
45
|
}
|
|
@@ -55,9 +57,9 @@ export class TreeViewItemContentDirective {
|
|
|
55
57
|
this.renderer[action](this.element.nativeElement, className);
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
|
-
TreeViewItemContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
TreeViewItemContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
TreeViewItemContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemContentDirective, deps: [{ token: i0.ElementRef }, { token: i1.NavigationService }, { token: i2.SelectionService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
TreeViewItemContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: { dataItem: "dataItem", index: "index", initialSelection: "initialSelection", isSelected: "isSelected" }, usesOnChanges: true, ngImport: i0 });
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemContentDirective, decorators: [{
|
|
61
63
|
type: Directive,
|
|
62
64
|
args: [{ selector: '[kendoTreeViewItemContent]' }]
|
|
63
65
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.NavigationService }, { type: i2.SelectionService }, { type: i0.Renderer2 }]; }, propDecorators: { dataItem: [{
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
6
6
|
import { anyChanged } from '@progress/kendo-angular-common';
|
|
7
|
+
import { NavigationService } from './navigation/navigation.service';
|
|
8
|
+
import { SelectionService } from './selection/selection.service';
|
|
9
|
+
import { ExpandStateService } from './expand-state.service';
|
|
10
|
+
import { IndexBuilderService } from './index-builder.service';
|
|
11
|
+
import { TreeViewLookupService } from './treeview-lookup.service';
|
|
7
12
|
import { isPresent } from './utils';
|
|
8
13
|
import { filter } from 'rxjs/operators';
|
|
9
14
|
import * as i0 from "@angular/core";
|
|
@@ -185,9 +190,9 @@ export class TreeViewItemDirective {
|
|
|
185
190
|
this.renderer.setAttribute(this.element.nativeElement, attr, value);
|
|
186
191
|
}
|
|
187
192
|
}
|
|
188
|
-
TreeViewItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
TreeViewItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
193
|
+
TreeViewItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.ExpandStateService }, { token: i2.NavigationService }, { token: i3.SelectionService }, { token: i4.TreeViewLookupService }, { token: i0.Renderer2 }, { token: i5.IndexBuilderService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
194
|
+
TreeViewItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: { dataItem: "dataItem", index: "index", parentDataItem: "parentDataItem", parentIndex: "parentIndex", role: "role", loadOnDemand: "loadOnDemand", checkable: "checkable", selectable: "selectable", expandable: "expandable", isChecked: "isChecked", isDisabled: "isDisabled", isVisible: "isVisible", isExpanded: "isExpanded", isSelected: "isSelected" }, usesOnChanges: true, ngImport: i0 });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemDirective, decorators: [{
|
|
191
196
|
type: Directive,
|
|
192
197
|
args: [{ selector: '[kendoTreeViewItem]' }]
|
|
193
198
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ExpandStateService }, { type: i2.NavigationService }, { type: i3.SelectionService }, { type: i4.TreeViewLookupService }, { type: i0.Renderer2 }, { type: i5.IndexBuilderService }]; }, propDecorators: { dataItem: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -84,8 +84,8 @@ export class TreeViewLookupService {
|
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
TreeViewLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
TreeViewLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
TreeViewLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
88
|
+
TreeViewLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService, decorators: [{
|
|
90
90
|
type: Injectable
|
|
91
91
|
}] });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, Input, Output, ViewChild, ViewContainerRef, isDevMode, forwardRef } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, Renderer2, ViewChild, ViewContainerRef, isDevMode, forwardRef, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { anyChanged, hasObservers, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { BehaviorSubject, of, Subscription } from 'rxjs';
|
|
@@ -611,8 +611,8 @@ export class TreeViewComponent {
|
|
|
611
611
|
});
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
TreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
615
|
-
TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
614
|
+
TreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ExpandStateService }, { token: i2.NavigationService }, { token: i3.NodeChildrenService }, { token: i4.SelectionService }, { token: i5.TreeViewLookupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i6.DataChangeNotificationService }, { token: i7.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
615
|
+
TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TreeViewComponent, selector: "kendo-treeview", inputs: { filterInputPlaceholder: "filterInputPlaceholder", expandDisabledNodes: "expandDisabledNodes", animate: "animate", nodeTemplateRef: ["nodeTemplate", "nodeTemplateRef"], loadMoreButtonTemplateRef: ["loadMoreButtonTemplate", "loadMoreButtonTemplateRef"], trackBy: "trackBy", nodes: "nodes", textField: "textField", hasChildren: "hasChildren", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isSelected: "isSelected", isVisible: "isVisible", navigable: "navigable", children: "children", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", size: "size", disableParentNodesOnly: "disableParentNodesOnly" }, outputs: { childrenLoaded: "childrenLoaded", onBlur: "blur", onFocus: "focus", expand: "expand", collapse: "collapse", nodeDragStart: "nodeDragStart", nodeDrag: "nodeDrag", filterStateChange: "filterStateChange", nodeDrop: "nodeDrop", nodeDragEnd: "nodeDragEnd", addItem: "addItem", removeItem: "removeItem", checkedChange: "checkedChange", selectionChange: "selectionChange", filterChange: "filterChange", nodeClick: "nodeClick", nodeDblClick: "nodeDblClick" }, host: { properties: { "class.k-treeview": "this.classNames", "attr.role": "this.role", "attr.dir": "this.direction", "@.disabled": "this.animate" } }, providers: providers, queries: [{ propertyName: "nodeTemplateQuery", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "loadMoreButtonTemplateQuery", first: true, predicate: LoadMoreButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "assetsContainer", first: true, predicate: ["assetsContainer"], descendants: true, read: ViewContainerRef, static: true }], exportAs: ["kendoTreeView"], usesOnChanges: true, ngImport: i0, template: `
|
|
616
616
|
<span
|
|
617
617
|
class="k-treeview-filter"
|
|
618
618
|
*ngIf="filterable"
|
|
@@ -657,7 +657,7 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
657
657
|
</ul>
|
|
658
658
|
<ng-container #assetsContainer></ng-container>
|
|
659
659
|
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
661
661
|
type: Component,
|
|
662
662
|
args: [{
|
|
663
663
|
changeDetection: ChangeDetectionStrategy.Default,
|