@progress/kendo-angular-treeview 7.1.5 → 11.0.0-develop.100
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- 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 +3 -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} +36 -14
- 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} +12 -8
- 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} +47 -26
- 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} +26 -10
- 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 +5517 -0
- package/{fesm2015/kendo-angular-treeview.js → fesm2020/progress-kendo-angular-treeview.mjs} +309 -251
- 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 +31 -57
- package/{kendo-angular-treeview.d.ts → progress-kendo-angular-treeview.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- 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 +3 -2
- 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 +12 -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 +6 -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,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 * as i0 from '@angular/core';
|
|
@@ -10,11 +10,14 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import { Subject, of, Subscription, EMPTY, BehaviorSubject, merge } from 'rxjs';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter, setter } from '@progress/kendo-common';
|
|
13
|
-
import
|
|
13
|
+
import { caretAltDownIcon, caretAltRightIcon, searchIcon, cancelIcon, insertMiddleIcon, insertBottomIcon, insertTopIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
14
|
+
import * as i8$1 from '@progress/kendo-angular-inputs';
|
|
14
15
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
16
|
+
import * as i8 from '@progress/kendo-angular-icons';
|
|
17
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
15
18
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
16
19
|
import { filter, tap, switchMap, delay, takeUntil, catchError, finalize, take, map } from 'rxjs/operators';
|
|
17
|
-
import * as
|
|
20
|
+
import * as i10 from '@angular/common';
|
|
18
21
|
import { CommonModule } from '@angular/common';
|
|
19
22
|
import { Draggable } from '@progress/kendo-draggable';
|
|
20
23
|
|
|
@@ -25,9 +28,9 @@ const packageMetadata = {
|
|
|
25
28
|
name: '@progress/kendo-angular-treeview',
|
|
26
29
|
productName: 'Kendo UI for Angular',
|
|
27
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
28
|
-
publishDate:
|
|
31
|
+
publishDate: 1673469287,
|
|
29
32
|
version: '',
|
|
30
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
33
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
34
|
};
|
|
32
35
|
|
|
33
36
|
/**
|
|
@@ -85,9 +88,9 @@ class ExpandStateService {
|
|
|
85
88
|
this.changes.next({ dataItem, index, expand: false });
|
|
86
89
|
}
|
|
87
90
|
}
|
|
88
|
-
ExpandStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
89
|
-
ExpandStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
91
|
+
ExpandStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
92
|
+
ExpandStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService });
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService, decorators: [{
|
|
91
94
|
type: Injectable
|
|
92
95
|
}] });
|
|
93
96
|
|
|
@@ -115,9 +118,9 @@ class IndexBuilderService {
|
|
|
115
118
|
return index.split(this.INDEX_SEPARATOR).length;
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
|
-
IndexBuilderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
119
|
-
IndexBuilderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
121
|
+
IndexBuilderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
122
|
+
IndexBuilderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService });
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService, decorators: [{
|
|
121
124
|
type: Injectable
|
|
122
125
|
}] });
|
|
123
126
|
|
|
@@ -132,9 +135,9 @@ class LoadingNotificationService {
|
|
|
132
135
|
this.changes.next(index);
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
|
-
LoadingNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
136
|
-
LoadingNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
LoadingNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
139
|
+
LoadingNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingNotificationService, decorators: [{
|
|
138
141
|
type: Injectable
|
|
139
142
|
}] });
|
|
140
143
|
|
|
@@ -808,9 +811,9 @@ class NavigationService {
|
|
|
808
811
|
}
|
|
809
812
|
}
|
|
810
813
|
}
|
|
811
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
812
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
814
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
815
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
814
817
|
type: Injectable
|
|
815
818
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
816
819
|
|
|
@@ -825,9 +828,9 @@ class NodeChildrenService {
|
|
|
825
828
|
this.changes.next({ item, children });
|
|
826
829
|
}
|
|
827
830
|
}
|
|
828
|
-
NodeChildrenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
829
|
-
NodeChildrenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
831
|
+
NodeChildrenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
832
|
+
NodeChildrenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService });
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeChildrenService, decorators: [{
|
|
831
834
|
type: Injectable
|
|
832
835
|
}] });
|
|
833
836
|
|
|
@@ -890,9 +893,9 @@ class NodeTemplateDirective {
|
|
|
890
893
|
this.templateRef = templateRef;
|
|
891
894
|
}
|
|
892
895
|
}
|
|
893
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
894
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
896
|
+
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 });
|
|
897
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoTreeViewNodeTemplate]", ngImport: i0 });
|
|
898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
896
899
|
type: Directive,
|
|
897
900
|
args: [{
|
|
898
901
|
selector: '[kendoTreeViewNodeTemplate]'
|
|
@@ -916,9 +919,9 @@ class LoadMoreButtonTemplateDirective {
|
|
|
916
919
|
this.templateRef = templateRef;
|
|
917
920
|
}
|
|
918
921
|
}
|
|
919
|
-
LoadMoreButtonTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
920
|
-
LoadMoreButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
922
|
+
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 });
|
|
923
|
+
LoadMoreButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LoadMoreButtonTemplateDirective, selector: "[kendoTreeViewLoadMoreButtonTemplate]", ngImport: i0 });
|
|
924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreButtonTemplateDirective, decorators: [{
|
|
922
925
|
type: Directive,
|
|
923
926
|
args: [{
|
|
924
927
|
selector: '[kendoTreeViewLoadMoreButtonTemplate]'
|
|
@@ -935,9 +938,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
935
938
|
*/
|
|
936
939
|
class DataBoundComponent {
|
|
937
940
|
}
|
|
938
|
-
DataBoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
939
|
-
DataBoundComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
941
|
+
DataBoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataBoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
942
|
+
DataBoundComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataBoundComponent });
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataBoundComponent, decorators: [{
|
|
941
944
|
type: Injectable
|
|
942
945
|
}] });
|
|
943
946
|
|
|
@@ -949,9 +952,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
949
952
|
*/
|
|
950
953
|
class ExpandableComponent {
|
|
951
954
|
}
|
|
952
|
-
ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
953
|
-
ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
955
|
+
ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
956
|
+
ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent });
|
|
957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent, decorators: [{
|
|
955
958
|
type: Injectable
|
|
956
959
|
}] });
|
|
957
960
|
|
|
@@ -977,9 +980,9 @@ class SelectionService {
|
|
|
977
980
|
this.changes.next({ dataItem, index });
|
|
978
981
|
}
|
|
979
982
|
}
|
|
980
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
981
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
983
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
984
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
983
986
|
type: Injectable
|
|
984
987
|
}] });
|
|
985
988
|
|
|
@@ -1062,9 +1065,9 @@ class TreeViewLookupService {
|
|
|
1062
1065
|
});
|
|
1063
1066
|
}
|
|
1064
1067
|
}
|
|
1065
|
-
TreeViewLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1066
|
-
TreeViewLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1068
|
+
TreeViewLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1069
|
+
TreeViewLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService });
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewLookupService, decorators: [{
|
|
1068
1071
|
type: Injectable
|
|
1069
1072
|
}] });
|
|
1070
1073
|
|
|
@@ -1123,8 +1126,8 @@ class CheckBoxComponent {
|
|
|
1123
1126
|
this.checkStateChange.emit(state);
|
|
1124
1127
|
}
|
|
1125
1128
|
}
|
|
1126
|
-
CheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1127
|
-
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1129
|
+
CheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1130
|
+
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: { id: "id", isChecked: "isChecked", node: "node", index: "index", labelText: "labelText", tabindex: "tabindex", size: "size" }, outputs: { checkStateChange: "checkStateChange" }, host: { properties: { "class.k-checkbox-wrapper": "this.classWrapper" } }, ngImport: i0, template: `
|
|
1128
1131
|
<input
|
|
1129
1132
|
type="checkbox"
|
|
1130
1133
|
[class]="checkBoxClasses"
|
|
@@ -1142,7 +1145,7 @@ CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1142
1145
|
[for]="id"
|
|
1143
1146
|
>{{labelText}}</label>
|
|
1144
1147
|
`, isInline: true });
|
|
1145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxComponent, decorators: [{
|
|
1146
1149
|
type: Component,
|
|
1147
1150
|
args: [{
|
|
1148
1151
|
selector: 'kendo-checkbox',
|
|
@@ -1359,9 +1362,9 @@ class TreeViewItemDirective {
|
|
|
1359
1362
|
this.renderer.setAttribute(this.element.nativeElement, attr, value);
|
|
1360
1363
|
}
|
|
1361
1364
|
}
|
|
1362
|
-
TreeViewItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1363
|
-
TreeViewItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1365
|
+
TreeViewItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemDirective, deps: [{ token: i0.ElementRef }, { token: ExpandStateService }, { token: NavigationService }, { token: SelectionService }, { token: TreeViewLookupService }, { token: i0.Renderer2 }, { token: IndexBuilderService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1366
|
+
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 });
|
|
1367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemDirective, decorators: [{
|
|
1365
1368
|
type: Directive,
|
|
1366
1369
|
args: [{ selector: '[kendoTreeViewItem]' }]
|
|
1367
1370
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ExpandStateService }, { type: NavigationService }, { type: SelectionService }, { type: TreeViewLookupService }, { type: i0.Renderer2 }, { type: IndexBuilderService }]; }, propDecorators: { dataItem: [{
|
|
@@ -1431,9 +1434,9 @@ class LoadingIndicatorDirective {
|
|
|
1431
1434
|
}
|
|
1432
1435
|
}
|
|
1433
1436
|
}
|
|
1434
|
-
LoadingIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1435
|
-
LoadingIndicatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1437
|
+
LoadingIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingIndicatorDirective, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1438
|
+
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 });
|
|
1439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingIndicatorDirective, decorators: [{
|
|
1437
1440
|
type: Directive,
|
|
1438
1441
|
args: [{ selector: '[kendoTreeViewLoading]' }]
|
|
1439
1442
|
}], ctorParameters: function () { return [{ type: ExpandStateService }, { type: LoadingNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { loading: [{
|
|
@@ -1469,10 +1472,10 @@ class TreeViewItemContentDirective {
|
|
|
1469
1472
|
}));
|
|
1470
1473
|
}
|
|
1471
1474
|
ngOnChanges(changes) {
|
|
1472
|
-
if (changes
|
|
1475
|
+
if (changes['initialSelection']) {
|
|
1473
1476
|
this.updateSelectionClass(this.initialSelection);
|
|
1474
1477
|
}
|
|
1475
|
-
if (changes
|
|
1478
|
+
if (changes['index']) {
|
|
1476
1479
|
this.updateFocusClass();
|
|
1477
1480
|
}
|
|
1478
1481
|
}
|
|
@@ -1490,9 +1493,9 @@ class TreeViewItemContentDirective {
|
|
|
1490
1493
|
this.renderer[action](this.element.nativeElement, className);
|
|
1491
1494
|
}
|
|
1492
1495
|
}
|
|
1493
|
-
TreeViewItemContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1494
|
-
TreeViewItemContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1496
|
+
TreeViewItemContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemContentDirective, deps: [{ token: i0.ElementRef }, { token: NavigationService }, { token: SelectionService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1497
|
+
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 });
|
|
1498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewItemContentDirective, decorators: [{
|
|
1496
1499
|
type: Directive,
|
|
1497
1500
|
args: [{ selector: '[kendoTreeViewItemContent]' }]
|
|
1498
1501
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: NavigationService }, { type: SelectionService }, { type: i0.Renderer2 }]; }, propDecorators: { dataItem: [{
|
|
@@ -1521,6 +1524,14 @@ class TreeViewGroupComponent {
|
|
|
1521
1524
|
this.nodeChildrenService = nodeChildrenService;
|
|
1522
1525
|
this.dataChangeNotification = dataChangeNotification;
|
|
1523
1526
|
this.changeDetectorRef = changeDetectorRef;
|
|
1527
|
+
/**
|
|
1528
|
+
* @hidden
|
|
1529
|
+
*/
|
|
1530
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
1531
|
+
/**
|
|
1532
|
+
* @hidden
|
|
1533
|
+
*/
|
|
1534
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
1524
1535
|
this.kGroupClass = true;
|
|
1525
1536
|
this.role = 'group';
|
|
1526
1537
|
this.loadOnDemand = true;
|
|
@@ -1539,6 +1550,12 @@ class TreeViewGroupComponent {
|
|
|
1539
1550
|
this.children = () => of([]);
|
|
1540
1551
|
this.hasChildren = () => false;
|
|
1541
1552
|
}
|
|
1553
|
+
getFontIcon(node, index) {
|
|
1554
|
+
return this.isExpanded(node, index) ? 'caret-alt-down' : 'caret-alt-right';
|
|
1555
|
+
}
|
|
1556
|
+
getSvgIcon(node, index) {
|
|
1557
|
+
return this.isExpanded(node, index) ? caretAltDownIcon : caretAltRightIcon;
|
|
1558
|
+
}
|
|
1542
1559
|
get moreNodesAvailable() {
|
|
1543
1560
|
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
1544
1561
|
return false;
|
|
@@ -1689,7 +1706,7 @@ class TreeViewGroupComponent {
|
|
|
1689
1706
|
skip: this.data.length,
|
|
1690
1707
|
take: this.loadMoreService.getInitialPageSize(this.parentDataItem)
|
|
1691
1708
|
})
|
|
1692
|
-
.pipe(finalize(() => this.loadingMoreNodes =
|
|
1709
|
+
.pipe(finalize(() => this.loadingMoreNodes = true))
|
|
1693
1710
|
.subscribe(items => {
|
|
1694
1711
|
if (!(Array.isArray(items) && items.length > 0)) {
|
|
1695
1712
|
return;
|
|
@@ -1747,8 +1764,8 @@ class TreeViewGroupComponent {
|
|
|
1747
1764
|
this.emitChildrenLoaded(mappedChildren);
|
|
1748
1765
|
}
|
|
1749
1766
|
}
|
|
1750
|
-
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1751
|
-
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1767
|
+
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: IndexBuilderService }, { token: TreeViewLookupService }, { token: NavigationService }, { token: NodeChildrenService }, { token: DataChangeNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1768
|
+
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: `
|
|
1752
1769
|
<li
|
|
1753
1770
|
*ngFor="let node of data; let index = index; trackBy: trackBy"
|
|
1754
1771
|
class="k-treeview-item"
|
|
@@ -1778,12 +1795,11 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1778
1795
|
(click)="expandNode(nodeIndex(index), node, !isExpanded(node, nodeIndex(index)))"
|
|
1779
1796
|
*ngIf="expandIcons && hasChildren(node)"
|
|
1780
1797
|
>
|
|
1781
|
-
<
|
|
1782
|
-
|
|
1783
|
-
[
|
|
1784
|
-
|
|
1785
|
-
>
|
|
1786
|
-
</span>
|
|
1798
|
+
<kendo-icon-wrapper
|
|
1799
|
+
[name]="getFontIcon(node, nodeIndex(index))"
|
|
1800
|
+
[svgIcon]="getSvgIcon(node, nodeIndex(index))"
|
|
1801
|
+
>
|
|
1802
|
+
</kendo-icon-wrapper>
|
|
1787
1803
|
</span>
|
|
1788
1804
|
<kendo-checkbox
|
|
1789
1805
|
*ngIf="checkboxes"
|
|
@@ -1872,7 +1888,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1872
1888
|
<div class="k-treeview-bot">
|
|
1873
1889
|
<span
|
|
1874
1890
|
*ngIf="loadingMoreNodes"
|
|
1875
|
-
class="k-icon k-i-loading
|
|
1891
|
+
class="k-icon k-i-loading"
|
|
1876
1892
|
>
|
|
1877
1893
|
</span>
|
|
1878
1894
|
<span
|
|
@@ -1897,7 +1913,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1897
1913
|
</span>
|
|
1898
1914
|
</div>
|
|
1899
1915
|
</li>
|
|
1900
|
-
`, isInline: true, components: [{ type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: 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:
|
|
1916
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: 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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i10.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i10.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
|
|
1901
1917
|
trigger('toggle', [
|
|
1902
1918
|
transition('void => *', [
|
|
1903
1919
|
style({ height: 0 }),
|
|
@@ -1909,7 +1925,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1909
1925
|
])
|
|
1910
1926
|
])
|
|
1911
1927
|
] });
|
|
1912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewGroupComponent, decorators: [{
|
|
1913
1929
|
type: Component,
|
|
1914
1930
|
args: [{
|
|
1915
1931
|
animations: [
|
|
@@ -1956,12 +1972,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1956
1972
|
(click)="expandNode(nodeIndex(index), node, !isExpanded(node, nodeIndex(index)))"
|
|
1957
1973
|
*ngIf="expandIcons && hasChildren(node)"
|
|
1958
1974
|
>
|
|
1959
|
-
<
|
|
1960
|
-
|
|
1961
|
-
[
|
|
1962
|
-
|
|
1963
|
-
>
|
|
1964
|
-
</span>
|
|
1975
|
+
<kendo-icon-wrapper
|
|
1976
|
+
[name]="getFontIcon(node, nodeIndex(index))"
|
|
1977
|
+
[svgIcon]="getSvgIcon(node, nodeIndex(index))"
|
|
1978
|
+
>
|
|
1979
|
+
</kendo-icon-wrapper>
|
|
1965
1980
|
</span>
|
|
1966
1981
|
<kendo-checkbox
|
|
1967
1982
|
*ngIf="checkboxes"
|
|
@@ -2050,7 +2065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2050
2065
|
<div class="k-treeview-bot">
|
|
2051
2066
|
<span
|
|
2052
2067
|
*ngIf="loadingMoreNodes"
|
|
2053
|
-
class="k-icon k-i-loading
|
|
2068
|
+
class="k-icon k-i-loading"
|
|
2054
2069
|
>
|
|
2055
2070
|
</span>
|
|
2056
2071
|
<span
|
|
@@ -2180,6 +2195,10 @@ class TreeViewComponent {
|
|
|
2180
2195
|
this.renderer = renderer;
|
|
2181
2196
|
this.dataChangeNotification = dataChangeNotification;
|
|
2182
2197
|
this.localization = localization;
|
|
2198
|
+
/**
|
|
2199
|
+
* @hidden
|
|
2200
|
+
*/
|
|
2201
|
+
this.searchIcon = searchIcon;
|
|
2183
2202
|
this.classNames = true;
|
|
2184
2203
|
this.role = 'tree';
|
|
2185
2204
|
/**
|
|
@@ -2711,8 +2730,8 @@ class TreeViewComponent {
|
|
|
2711
2730
|
});
|
|
2712
2731
|
}
|
|
2713
2732
|
}
|
|
2714
|
-
TreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2715
|
-
TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2733
|
+
TreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: ExpandStateService }, { token: NavigationService }, { token: NodeChildrenService }, { token: SelectionService }, { token: TreeViewLookupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: DataChangeNotificationService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2734
|
+
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: `
|
|
2716
2735
|
<span
|
|
2717
2736
|
class="k-treeview-filter"
|
|
2718
2737
|
*ngIf="filterable"
|
|
@@ -2725,7 +2744,12 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2725
2744
|
[placeholder]="filterInputPlaceholder"
|
|
2726
2745
|
>
|
|
2727
2746
|
<ng-template kendoTextBoxPrefixTemplate>
|
|
2728
|
-
<
|
|
2747
|
+
<kendo-icon-wrapper
|
|
2748
|
+
innerCssClass="k-input-icon"
|
|
2749
|
+
name="search"
|
|
2750
|
+
[svgIcon]="searchIcon"
|
|
2751
|
+
>
|
|
2752
|
+
</kendo-icon-wrapper>
|
|
2729
2753
|
</ng-template>
|
|
2730
2754
|
</kendo-textbox>
|
|
2731
2755
|
</span>
|
|
@@ -2756,8 +2780,8 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2756
2780
|
>
|
|
2757
2781
|
</ul>
|
|
2758
2782
|
<ng-container #assetsContainer></ng-container>
|
|
2759
|
-
`, 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: 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:
|
|
2760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2783
|
+
`, isInline: true, components: [{ type: i8$1.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: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: 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$1.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
2761
2785
|
type: Component,
|
|
2762
2786
|
args: [{
|
|
2763
2787
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
@@ -2777,7 +2801,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2777
2801
|
[placeholder]="filterInputPlaceholder"
|
|
2778
2802
|
>
|
|
2779
2803
|
<ng-template kendoTextBoxPrefixTemplate>
|
|
2780
|
-
<
|
|
2804
|
+
<kendo-icon-wrapper
|
|
2805
|
+
innerCssClass="k-input-icon"
|
|
2806
|
+
name="search"
|
|
2807
|
+
[svgIcon]="searchIcon"
|
|
2808
|
+
>
|
|
2809
|
+
</kendo-icon-wrapper>
|
|
2781
2810
|
</ng-template>
|
|
2782
2811
|
</kendo-textbox>
|
|
2783
2812
|
</span>
|
|
@@ -2953,7 +2982,7 @@ class CheckDirective {
|
|
|
2953
2982
|
this.state = new Set();
|
|
2954
2983
|
this.subscriptions.add(this.treeView.checkedChange
|
|
2955
2984
|
.subscribe((e) => this.check(e)));
|
|
2956
|
-
|
|
2985
|
+
const expandedItems = [];
|
|
2957
2986
|
this.subscriptions.add(this.treeView.childrenLoaded
|
|
2958
2987
|
.pipe(filter(() => this.options.checkChildren && this.treeView.loadOnDemand), tap(item => expandedItems.push(item)), switchMap(() => this.zone.onStable.pipe(take(1))))
|
|
2959
2988
|
.subscribe(() => this.addCheckedItemsChildren(expandedItems)));
|
|
@@ -3150,9 +3179,9 @@ class CheckDirective {
|
|
|
3150
3179
|
}
|
|
3151
3180
|
}
|
|
3152
3181
|
}
|
|
3153
|
-
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3154
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3182
|
+
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: TreeViewComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3183
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoTreeViewCheckable]", inputs: { isChecked: "isChecked", checkKey: ["checkBy", "checkKey"], checkedKeys: "checkedKeys", checkable: ["kendoTreeViewCheckable", "checkable"] }, outputs: { checkedKeysChange: "checkedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
3184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
|
|
3156
3185
|
type: Directive,
|
|
3157
3186
|
args: [{ selector: '[kendoTreeViewCheckable]' }]
|
|
3158
3187
|
}], ctorParameters: function () { return [{ type: TreeViewComponent }, { type: i0.NgZone }]; }, propDecorators: { isChecked: [{
|
|
@@ -3207,9 +3236,9 @@ class DisableDirective {
|
|
|
3207
3236
|
}
|
|
3208
3237
|
}
|
|
3209
3238
|
}
|
|
3210
|
-
DisableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3211
|
-
DisableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3239
|
+
DisableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableDirective, deps: [{ token: TreeViewComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3240
|
+
DisableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DisableDirective, selector: "[kendoTreeViewDisable]", inputs: { isDisabled: "isDisabled", disableKey: ["kendoTreeViewDisable", "disableKey"], disabledKeys: "disabledKeys" }, usesOnChanges: true, ngImport: i0 });
|
|
3241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableDirective, decorators: [{
|
|
3213
3242
|
type: Directive,
|
|
3214
3243
|
args: [{ selector: '[kendoTreeViewDisable]' }]
|
|
3215
3244
|
}], ctorParameters: function () { return [{ type: TreeViewComponent }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isDisabled: [{
|
|
@@ -3276,7 +3305,7 @@ class ExpandDirective {
|
|
|
3276
3305
|
});
|
|
3277
3306
|
}
|
|
3278
3307
|
};
|
|
3279
|
-
this.subscriptions.add(merge(this.component.expand.pipe(map(e => (
|
|
3308
|
+
this.subscriptions.add(merge(this.component.expand.pipe(map(e => ({ expand: true, ...e }))), this.component.collapse.pipe(map(e => ({ expand: false, ...e })))).subscribe(this.toggleExpand.bind(this)));
|
|
3280
3309
|
if (this.component.filterStateChange) {
|
|
3281
3310
|
this.subscriptions.add(this.component.filterStateChange.subscribe(this.handleAutoExpand.bind(this)));
|
|
3282
3311
|
}
|
|
@@ -3289,12 +3318,12 @@ class ExpandDirective {
|
|
|
3289
3318
|
this.component.isExpanded = value;
|
|
3290
3319
|
}
|
|
3291
3320
|
get filterExpandSettings() {
|
|
3292
|
-
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } :
|
|
3321
|
+
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : { ...this.expandOnFilter, enabled: true };
|
|
3293
3322
|
return Object.assign({}, DEFAULT_FILTER_EXPAND_SETTINGS, settings);
|
|
3294
3323
|
}
|
|
3295
3324
|
ngOnChanges(changes) {
|
|
3296
|
-
if (isChanged('expandedKeys', changes, false) && changes
|
|
3297
|
-
this.state = new Set(changes
|
|
3325
|
+
if (isChanged('expandedKeys', changes, false) && changes['expandedKeys'].currentValue !== this.lastChange) {
|
|
3326
|
+
this.state = new Set(changes['expandedKeys'].currentValue);
|
|
3298
3327
|
}
|
|
3299
3328
|
}
|
|
3300
3329
|
ngOnDestroy() {
|
|
@@ -3388,9 +3417,9 @@ class ExpandDirective {
|
|
|
3388
3417
|
this.expandedKeysChange.emit(this.lastChange);
|
|
3389
3418
|
}
|
|
3390
3419
|
}
|
|
3391
|
-
ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3392
|
-
ExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3420
|
+
ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandDirective, deps: [{ token: ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3421
|
+
ExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: { isExpanded: "isExpanded", expandKey: ["expandBy", "expandKey"], expandOnFilter: "expandOnFilter", expandedKeys: "expandedKeys" }, outputs: { expandedKeysChange: "expandedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
3422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandDirective, decorators: [{
|
|
3394
3423
|
type: Directive,
|
|
3395
3424
|
args: [{ selector: '[kendoTreeViewExpandable]' }]
|
|
3396
3425
|
}], ctorParameters: function () { return [{ type: ExpandableComponent }]; }, propDecorators: { isExpanded: [{
|
|
@@ -3454,12 +3483,11 @@ class SelectDirective {
|
|
|
3454
3483
|
return Object.assign(defaultOptions, selectionSettings);
|
|
3455
3484
|
}
|
|
3456
3485
|
ngOnChanges(changes) {
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
this.state = new Set(changes.selectedKeys.currentValue);
|
|
3486
|
+
if (isChanged('selectedKeys', changes, false) && changes['selectedKeys'].currentValue !== this.lastChange) {
|
|
3487
|
+
this.state = new Set(changes['selectedKeys'].currentValue);
|
|
3460
3488
|
}
|
|
3461
3489
|
const isSelectionBooleanTrue = typeof this.selection === 'boolean' && this.selection;
|
|
3462
|
-
this.navigationService.selection = isSelectionBooleanTrue ? 'single' :
|
|
3490
|
+
this.navigationService.selection = isSelectionBooleanTrue ? 'single' : this.selection?.mode;
|
|
3463
3491
|
}
|
|
3464
3492
|
ngOnDestroy() {
|
|
3465
3493
|
this.subscriptions.unsubscribe();
|
|
@@ -3510,9 +3538,9 @@ class SelectDirective {
|
|
|
3510
3538
|
this.selectedKeysChange.emit(this.lastChange);
|
|
3511
3539
|
}
|
|
3512
3540
|
}
|
|
3513
|
-
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3514
|
-
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3541
|
+
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectDirective, deps: [{ token: TreeViewComponent }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3542
|
+
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 });
|
|
3543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectDirective, decorators: [{
|
|
3516
3544
|
type: Directive,
|
|
3517
3545
|
args: [{ selector: '[kendoTreeViewSelectable]' }]
|
|
3518
3546
|
}], ctorParameters: function () { return [{ type: TreeViewComponent }, { type: NavigationService }]; }, propDecorators: { isSelected: [{
|
|
@@ -3649,7 +3677,11 @@ const hasRelativeStackingContext = memoize(() => {
|
|
|
3649
3677
|
const top = 10;
|
|
3650
3678
|
const parent = document.createElement("div");
|
|
3651
3679
|
parent.style.transform = "matrix(10, 0, 0, 10, 0, 0)";
|
|
3652
|
-
|
|
3680
|
+
const innerDiv = document.createElement('div');
|
|
3681
|
+
innerDiv.innerText = 'child';
|
|
3682
|
+
innerDiv.style.position = 'fixed';
|
|
3683
|
+
innerDiv.style.top = `${top}px`;
|
|
3684
|
+
parent.appendChild(innerDiv);
|
|
3653
3685
|
document.body.appendChild(parent);
|
|
3654
3686
|
const isDifferent = parent.children[0].getBoundingClientRect().top !== top;
|
|
3655
3687
|
document.body.removeChild(parent);
|
|
@@ -4007,90 +4039,6 @@ class HierarchyEditingService {
|
|
|
4007
4039
|
}
|
|
4008
4040
|
}
|
|
4009
4041
|
|
|
4010
|
-
/**
|
|
4011
|
-
* @hidden
|
|
4012
|
-
*/
|
|
4013
|
-
const DEFAULT_FILTER_SETTINGS = {
|
|
4014
|
-
operator: 'contains',
|
|
4015
|
-
ignoreCase: true,
|
|
4016
|
-
mode: "lenient"
|
|
4017
|
-
};
|
|
4018
|
-
|
|
4019
|
-
/**
|
|
4020
|
-
* @hidden
|
|
4021
|
-
*/
|
|
4022
|
-
class FilteringBase {
|
|
4023
|
-
constructor(component) {
|
|
4024
|
-
this.component = component;
|
|
4025
|
-
this.visibleNodes = new Set();
|
|
4026
|
-
this._filterSettings = DEFAULT_FILTER_SETTINGS;
|
|
4027
|
-
}
|
|
4028
|
-
/**
|
|
4029
|
-
* The settings which are applied when performing a filter on the component's data.
|
|
4030
|
-
*/
|
|
4031
|
-
set filterSettings(settings) {
|
|
4032
|
-
this._filterSettings = Object.assign(Object.assign({}, DEFAULT_FILTER_SETTINGS), settings);
|
|
4033
|
-
}
|
|
4034
|
-
get filterSettings() {
|
|
4035
|
-
return this._filterSettings;
|
|
4036
|
-
}
|
|
4037
|
-
/**
|
|
4038
|
-
* Applies a filter and changes the visibility of the component's nodes accordingly.
|
|
4039
|
-
*/
|
|
4040
|
-
set filter(term) {
|
|
4041
|
-
this.handleFilterChange(term);
|
|
4042
|
-
}
|
|
4043
|
-
/**
|
|
4044
|
-
* @hidden
|
|
4045
|
-
*/
|
|
4046
|
-
handleFilterChange(term) {
|
|
4047
|
-
if (!this.filterData) {
|
|
4048
|
-
return;
|
|
4049
|
-
}
|
|
4050
|
-
this.resetNodesVisibility(this.filterData);
|
|
4051
|
-
if (term) {
|
|
4052
|
-
filterTree(this.filterData, term, this.filterSettings, this.component.textField);
|
|
4053
|
-
}
|
|
4054
|
-
this.updateVisibleNodes(this.filterData);
|
|
4055
|
-
if (isPresent(this.component.filterStateChange)) {
|
|
4056
|
-
this.component.filterStateChange.emit({
|
|
4057
|
-
nodes: this.filterData,
|
|
4058
|
-
matchCount: this.visibleNodes.size,
|
|
4059
|
-
term,
|
|
4060
|
-
filterSettings: this.filterSettings
|
|
4061
|
-
});
|
|
4062
|
-
}
|
|
4063
|
-
}
|
|
4064
|
-
updateVisibleNodes(items) {
|
|
4065
|
-
items.forEach((wrapper) => {
|
|
4066
|
-
if (wrapper.visible) {
|
|
4067
|
-
this.visibleNodes.add(wrapper.dataItem);
|
|
4068
|
-
}
|
|
4069
|
-
if (wrapper.children) {
|
|
4070
|
-
this.updateVisibleNodes(wrapper.children);
|
|
4071
|
-
}
|
|
4072
|
-
});
|
|
4073
|
-
}
|
|
4074
|
-
resetNodesVisibility(items) {
|
|
4075
|
-
this.visibleNodes.clear();
|
|
4076
|
-
items.forEach((wrapper) => {
|
|
4077
|
-
wrapper.visible = true;
|
|
4078
|
-
if (wrapper.children) {
|
|
4079
|
-
this.resetNodesVisibility(wrapper.children);
|
|
4080
|
-
}
|
|
4081
|
-
});
|
|
4082
|
-
}
|
|
4083
|
-
}
|
|
4084
|
-
FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, deps: [{ token: DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4085
|
-
FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilteringBase, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
|
|
4086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, decorators: [{
|
|
4087
|
-
type: Directive
|
|
4088
|
-
}], ctorParameters: function () { return [{ type: DataBoundComponent }]; }, propDecorators: { filterSettings: [{
|
|
4089
|
-
type: Input
|
|
4090
|
-
}], filter: [{
|
|
4091
|
-
type: Input
|
|
4092
|
-
}] } });
|
|
4093
|
-
|
|
4094
4042
|
/**
|
|
4095
4043
|
* @hidden
|
|
4096
4044
|
*/
|
|
@@ -4102,12 +4050,22 @@ class DragClueComponent {
|
|
|
4102
4050
|
}
|
|
4103
4051
|
get statusIconClass() {
|
|
4104
4052
|
switch (this.action) {
|
|
4105
|
-
case DropAction.Add: return '
|
|
4106
|
-
case DropAction.InsertTop: return '
|
|
4107
|
-
case DropAction.InsertBottom: return '
|
|
4108
|
-
case DropAction.InsertMiddle: return '
|
|
4053
|
+
case DropAction.Add: return 'plus';
|
|
4054
|
+
case DropAction.InsertTop: return 'insert-top';
|
|
4055
|
+
case DropAction.InsertBottom: return 'insert-bottom';
|
|
4056
|
+
case DropAction.InsertMiddle: return 'insert-middle';
|
|
4057
|
+
case DropAction.Invalid:
|
|
4058
|
+
default: return 'cancel';
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
get statusSVGIcon() {
|
|
4062
|
+
switch (this.action) {
|
|
4063
|
+
case DropAction.Add: return plusIcon;
|
|
4064
|
+
case DropAction.InsertTop: return insertTopIcon;
|
|
4065
|
+
case DropAction.InsertBottom: return insertBottomIcon;
|
|
4066
|
+
case DropAction.InsertMiddle: return insertMiddleIcon;
|
|
4109
4067
|
case DropAction.Invalid:
|
|
4110
|
-
default: return
|
|
4068
|
+
default: return cancelIcon;
|
|
4111
4069
|
}
|
|
4112
4070
|
}
|
|
4113
4071
|
// exposed as a public method that can be called from outside as the component uses `OnPush` strategy
|
|
@@ -4115,10 +4073,15 @@ class DragClueComponent {
|
|
|
4115
4073
|
this.cdr.detectChanges();
|
|
4116
4074
|
}
|
|
4117
4075
|
}
|
|
4118
|
-
DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4119
|
-
DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4076
|
+
DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4077
|
+
DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DragClueComponent, selector: "kendo-treeview-drag-clue", host: { properties: { "class.k-header": "this.hostClasses", "class.k-drag-clue": "this.hostClasses", "style.position": "this.posistionStyle" } }, ngImport: i0, template: `
|
|
4120
4078
|
<ng-container *ngIf="!template">
|
|
4121
|
-
<
|
|
4079
|
+
<kendo-icon-wrapper
|
|
4080
|
+
innerCssClass="k-drag-status"
|
|
4081
|
+
[name]="statusIconClass"
|
|
4082
|
+
[svgIcon]="statusSVGIcon"
|
|
4083
|
+
>
|
|
4084
|
+
</kendo-icon-wrapper>
|
|
4122
4085
|
<span>{{text}}</span>
|
|
4123
4086
|
</ng-container>
|
|
4124
4087
|
|
|
@@ -4133,15 +4096,20 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4133
4096
|
}"
|
|
4134
4097
|
>
|
|
4135
4098
|
</ng-template>
|
|
4136
|
-
`, isInline: true, directives: [{ type:
|
|
4137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4099
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
4138
4101
|
type: Component,
|
|
4139
4102
|
args: [{
|
|
4140
4103
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4141
4104
|
selector: 'kendo-treeview-drag-clue',
|
|
4142
4105
|
template: `
|
|
4143
4106
|
<ng-container *ngIf="!template">
|
|
4144
|
-
<
|
|
4107
|
+
<kendo-icon-wrapper
|
|
4108
|
+
innerCssClass="k-drag-status"
|
|
4109
|
+
[name]="statusIconClass"
|
|
4110
|
+
[svgIcon]="statusSVGIcon"
|
|
4111
|
+
>
|
|
4112
|
+
</kendo-icon-wrapper>
|
|
4145
4113
|
<span>{{text}}</span>
|
|
4146
4114
|
</ng-container>
|
|
4147
4115
|
|
|
@@ -4204,9 +4172,9 @@ class DragAndDropAssetService {
|
|
|
4204
4172
|
this.element.style.top = `${top + offset}px`;
|
|
4205
4173
|
}
|
|
4206
4174
|
}
|
|
4207
|
-
DragAndDropAssetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4208
|
-
DragAndDropAssetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4175
|
+
DragAndDropAssetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4176
|
+
DragAndDropAssetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService });
|
|
4177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService, decorators: [{
|
|
4210
4178
|
type: Injectable
|
|
4211
4179
|
}] });
|
|
4212
4180
|
|
|
@@ -4317,9 +4285,9 @@ class DragClueService extends DragAndDropAssetService {
|
|
|
4317
4285
|
}
|
|
4318
4286
|
}
|
|
4319
4287
|
}
|
|
4320
|
-
DragClueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4321
|
-
DragClueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4288
|
+
DragClueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4289
|
+
DragClueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService });
|
|
4290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService, decorators: [{
|
|
4323
4291
|
type: Injectable
|
|
4324
4292
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
|
4325
4293
|
|
|
@@ -4338,8 +4306,8 @@ class DropHintComponent {
|
|
|
4338
4306
|
this.changeDetectorRef.detectChanges();
|
|
4339
4307
|
}
|
|
4340
4308
|
}
|
|
4341
|
-
DropHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4342
|
-
DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4309
|
+
DropHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4310
|
+
DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropHintComponent, selector: "kendo-treeview-drop-hint", host: { properties: { "class.k-drop-hint-container": "this.hostClass", "style.position": "this.position", "style.pointer-events": "this.pointerEvents" } }, ngImport: i0, template: `
|
|
4343
4311
|
<div
|
|
4344
4312
|
*ngIf="!template"
|
|
4345
4313
|
class="k-drop-hint k-drop-hint-h"
|
|
@@ -4358,8 +4326,8 @@ DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4358
4326
|
}"
|
|
4359
4327
|
>
|
|
4360
4328
|
<ng-template>
|
|
4361
|
-
`, isInline: true, directives: [{ type:
|
|
4362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4329
|
+
`, isInline: true, directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
4363
4331
|
type: Component,
|
|
4364
4332
|
args: [{
|
|
4365
4333
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4425,9 +4393,9 @@ class DropHintService extends DragAndDropAssetService {
|
|
|
4425
4393
|
dropHint.detectChanges();
|
|
4426
4394
|
}
|
|
4427
4395
|
}
|
|
4428
|
-
DropHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4429
|
-
DropHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4396
|
+
DropHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4397
|
+
DropHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService });
|
|
4398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService, decorators: [{
|
|
4431
4399
|
type: Injectable
|
|
4432
4400
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
|
4433
4401
|
|
|
@@ -4450,9 +4418,9 @@ class DragClueTemplateDirective {
|
|
|
4450
4418
|
this.templateRef = templateRef;
|
|
4451
4419
|
}
|
|
4452
4420
|
}
|
|
4453
|
-
DragClueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4454
|
-
DragClueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4421
|
+
DragClueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4422
|
+
DragClueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragClueTemplateDirective, selector: "[kendoTreeViewDragClueTemplate]", ngImport: i0 });
|
|
4423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueTemplateDirective, decorators: [{
|
|
4456
4424
|
type: Directive,
|
|
4457
4425
|
args: [{
|
|
4458
4426
|
selector: '[kendoTreeViewDragClueTemplate]'
|
|
@@ -4477,9 +4445,9 @@ class DropHintTemplateDirective {
|
|
|
4477
4445
|
this.templateRef = templateRef;
|
|
4478
4446
|
}
|
|
4479
4447
|
}
|
|
4480
|
-
DropHintTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4481
|
-
DropHintTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4448
|
+
DropHintTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4449
|
+
DropHintTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropHintTemplateDirective, selector: "[kendoTreeViewDropHintTemplate]", ngImport: i0 });
|
|
4450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintTemplateDirective, decorators: [{
|
|
4483
4451
|
type: Directive,
|
|
4484
4452
|
args: [{
|
|
4485
4453
|
selector: '[kendoTreeViewDropHintTemplate]'
|
|
@@ -4742,12 +4710,12 @@ class DragAndDropDirective {
|
|
|
4742
4710
|
this.pendingDragStartEvent = null;
|
|
4743
4711
|
}
|
|
4744
4712
|
}
|
|
4745
|
-
DragAndDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4746
|
-
DragAndDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4713
|
+
DragAndDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: TreeViewComponent }, { token: DragClueService }, { token: DropHintService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4714
|
+
DragAndDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragAndDropDirective, selector: "[kendoTreeViewDragAndDrop]", inputs: { allowCopy: "allowCopy", dropZoneTreeViews: "dropZoneTreeViews", startDragAfter: "startDragAfter", autoScroll: "autoScroll" }, host: { properties: { "style.user-select": "this.userSelectStyle", "style.-ms-user-select": "this.userSelectStyle", "style.-moz-user-select": "this.userSelectStyle", "style.-webkit-user-select": "this.userSelectStyle" } }, providers: [
|
|
4747
4715
|
DragClueService,
|
|
4748
4716
|
DropHintService
|
|
4749
4717
|
], queries: [{ propertyName: "dragClueTemplate", first: true, predicate: DragClueTemplateDirective, descendants: true }, { propertyName: "dropHintTemplate", first: true, predicate: DropHintTemplateDirective, descendants: true }], ngImport: i0 });
|
|
4750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropDirective, decorators: [{
|
|
4751
4719
|
type: Directive,
|
|
4752
4720
|
args: [{
|
|
4753
4721
|
selector: '[kendoTreeViewDragAndDrop]',
|
|
@@ -4784,6 +4752,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4784
4752
|
args: ['style.-webkit-user-select']
|
|
4785
4753
|
}] } });
|
|
4786
4754
|
|
|
4755
|
+
/**
|
|
4756
|
+
* @hidden
|
|
4757
|
+
*/
|
|
4758
|
+
const DEFAULT_FILTER_SETTINGS = {
|
|
4759
|
+
operator: 'contains',
|
|
4760
|
+
ignoreCase: true,
|
|
4761
|
+
mode: "lenient"
|
|
4762
|
+
};
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* @hidden
|
|
4766
|
+
*/
|
|
4767
|
+
class FilteringBase {
|
|
4768
|
+
constructor(component) {
|
|
4769
|
+
this.component = component;
|
|
4770
|
+
this.visibleNodes = new Set();
|
|
4771
|
+
this._filterSettings = DEFAULT_FILTER_SETTINGS;
|
|
4772
|
+
}
|
|
4773
|
+
/**
|
|
4774
|
+
* The settings which are applied when performing a filter on the component's data.
|
|
4775
|
+
*/
|
|
4776
|
+
set filterSettings(settings) {
|
|
4777
|
+
this._filterSettings = {
|
|
4778
|
+
...DEFAULT_FILTER_SETTINGS,
|
|
4779
|
+
...settings
|
|
4780
|
+
};
|
|
4781
|
+
}
|
|
4782
|
+
get filterSettings() {
|
|
4783
|
+
return this._filterSettings;
|
|
4784
|
+
}
|
|
4785
|
+
/**
|
|
4786
|
+
* Applies a filter and changes the visibility of the component's nodes accordingly.
|
|
4787
|
+
*/
|
|
4788
|
+
set filter(term) {
|
|
4789
|
+
this.handleFilterChange(term);
|
|
4790
|
+
}
|
|
4791
|
+
/**
|
|
4792
|
+
* @hidden
|
|
4793
|
+
*/
|
|
4794
|
+
handleFilterChange(term) {
|
|
4795
|
+
if (!this.filterData) {
|
|
4796
|
+
return;
|
|
4797
|
+
}
|
|
4798
|
+
this.resetNodesVisibility(this.filterData);
|
|
4799
|
+
if (term) {
|
|
4800
|
+
filterTree(this.filterData, term, this.filterSettings, this.component.textField);
|
|
4801
|
+
}
|
|
4802
|
+
this.updateVisibleNodes(this.filterData);
|
|
4803
|
+
if (isPresent(this.component.filterStateChange)) {
|
|
4804
|
+
this.component.filterStateChange.emit({
|
|
4805
|
+
nodes: this.filterData,
|
|
4806
|
+
matchCount: this.visibleNodes.size,
|
|
4807
|
+
term,
|
|
4808
|
+
filterSettings: this.filterSettings
|
|
4809
|
+
});
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
updateVisibleNodes(items) {
|
|
4813
|
+
items.forEach((wrapper) => {
|
|
4814
|
+
if (wrapper.visible) {
|
|
4815
|
+
this.visibleNodes.add(wrapper.dataItem);
|
|
4816
|
+
}
|
|
4817
|
+
if (wrapper.children) {
|
|
4818
|
+
this.updateVisibleNodes(wrapper.children);
|
|
4819
|
+
}
|
|
4820
|
+
});
|
|
4821
|
+
}
|
|
4822
|
+
resetNodesVisibility(items) {
|
|
4823
|
+
this.visibleNodes.clear();
|
|
4824
|
+
items.forEach((wrapper) => {
|
|
4825
|
+
wrapper.visible = true;
|
|
4826
|
+
if (wrapper.children) {
|
|
4827
|
+
this.resetNodesVisibility(wrapper.children);
|
|
4828
|
+
}
|
|
4829
|
+
});
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilteringBase, deps: [{ token: DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4833
|
+
FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilteringBase, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
|
|
4834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilteringBase, decorators: [{
|
|
4835
|
+
type: Directive
|
|
4836
|
+
}], ctorParameters: function () { return [{ type: DataBoundComponent }]; }, propDecorators: { filterSettings: [{
|
|
4837
|
+
type: Input
|
|
4838
|
+
}], filter: [{
|
|
4839
|
+
type: Input
|
|
4840
|
+
}] } });
|
|
4841
|
+
|
|
4787
4842
|
const indexBuilder$1 = new IndexBuilderService();
|
|
4788
4843
|
const mapToWrappers = (currentLevelNodes, childrenField, parent = null, parentIndex = '') => {
|
|
4789
4844
|
if (!isArrayWithAtLeastOneItem(currentLevelNodes)) {
|
|
@@ -4826,6 +4881,12 @@ class HierarchyBindingDirective extends FilteringBase {
|
|
|
4826
4881
|
}
|
|
4827
4882
|
this._childrenField = value;
|
|
4828
4883
|
}
|
|
4884
|
+
/**
|
|
4885
|
+
* The field name which holds the data items of the child component.
|
|
4886
|
+
*/
|
|
4887
|
+
get childrenField() {
|
|
4888
|
+
return this._childrenField;
|
|
4889
|
+
}
|
|
4829
4890
|
/**
|
|
4830
4891
|
* @hidden
|
|
4831
4892
|
* A callback which determines whether a TreeView node should be rendered as hidden.
|
|
@@ -4833,12 +4894,6 @@ class HierarchyBindingDirective extends FilteringBase {
|
|
|
4833
4894
|
set isVisible(fn) {
|
|
4834
4895
|
this.component.isVisible = fn;
|
|
4835
4896
|
}
|
|
4836
|
-
/**
|
|
4837
|
-
* The field name which holds the data items of the child component.
|
|
4838
|
-
*/
|
|
4839
|
-
get childrenField() {
|
|
4840
|
-
return this._childrenField;
|
|
4841
|
-
}
|
|
4842
4897
|
ngOnInit() {
|
|
4843
4898
|
if (isPresent(this.childrenField)) {
|
|
4844
4899
|
this.component.children = item => of(getter(this.childrenField)(item));
|
|
@@ -4862,7 +4917,7 @@ class HierarchyBindingDirective extends FilteringBase {
|
|
|
4862
4917
|
this.updateNodes(this.originalData);
|
|
4863
4918
|
}
|
|
4864
4919
|
if (isChanged('nodes', changes, false)) {
|
|
4865
|
-
this.updateNodes(changes
|
|
4920
|
+
this.updateNodes(changes['nodes'].currentValue);
|
|
4866
4921
|
}
|
|
4867
4922
|
// should react to changes.loadOnDemand as well - should preload the data or clear the already cached items
|
|
4868
4923
|
if (anyChanged(['nodes', 'loadOnDemand'], changes) && !this.loadOnDemand && isPresent(this.component.preloadChildNodes)) {
|
|
@@ -4878,9 +4933,9 @@ class HierarchyBindingDirective extends FilteringBase {
|
|
|
4878
4933
|
this.updateVisibleNodes(this.filterData);
|
|
4879
4934
|
}
|
|
4880
4935
|
}
|
|
4881
|
-
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4882
|
-
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4936
|
+
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: DataBoundComponent }, { token: DragAndDropDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4937
|
+
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HierarchyBindingDirective, selector: "[kendoTreeViewHierarchyBinding]", inputs: { childrenField: "childrenField", nodes: "nodes", isVisible: "isVisible", loadOnDemand: "loadOnDemand" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
4938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
4884
4939
|
type: Directive,
|
|
4885
4940
|
args: [{ selector: '[kendoTreeViewHierarchyBinding]' }]
|
|
4886
4941
|
}], ctorParameters: function () { return [{ type: DataBoundComponent }, { type: DragAndDropDirective, decorators: [{
|
|
@@ -5102,7 +5157,7 @@ class FlatDataBindingDirective extends FilteringBase {
|
|
|
5102
5157
|
this.updateNodes(this.originalData);
|
|
5103
5158
|
}
|
|
5104
5159
|
if (isChanged('nodes', changes, false)) {
|
|
5105
|
-
this.updateNodes(changes
|
|
5160
|
+
this.updateNodes(changes['nodes'].currentValue);
|
|
5106
5161
|
}
|
|
5107
5162
|
// should react to changes.loadOnDemand as well - should preload the data or clear the already cached items
|
|
5108
5163
|
if (anyChanged(['nodes', 'loadOnDemand'], changes) && !this.loadOnDemand && isPresent(this.component.preloadChildNodes)) {
|
|
@@ -5125,9 +5180,9 @@ class FlatDataBindingDirective extends FilteringBase {
|
|
|
5125
5180
|
}
|
|
5126
5181
|
}
|
|
5127
5182
|
}
|
|
5128
|
-
FlatDataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5129
|
-
FlatDataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5183
|
+
FlatDataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatDataBindingDirective, deps: [{ token: DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5184
|
+
FlatDataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FlatDataBindingDirective, selector: "[kendoTreeViewFlatDataBinding]", inputs: { nodes: "nodes", parentIdField: "parentIdField", idField: "idField", loadOnDemand: "loadOnDemand", isVisible: "isVisible" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatDataBindingDirective, decorators: [{
|
|
5131
5186
|
type: Directive,
|
|
5132
5187
|
args: [{ selector: "[kendoTreeViewFlatDataBinding]" }]
|
|
5133
5188
|
}], ctorParameters: function () { return [{ type: DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
@@ -5152,10 +5207,10 @@ const COMPONENT_DIRECTIVES$1 = [
|
|
|
5152
5207
|
*/
|
|
5153
5208
|
class CheckBoxModule {
|
|
5154
5209
|
}
|
|
5155
|
-
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5156
|
-
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5157
|
-
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5210
|
+
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5211
|
+
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxComponent], exports: [CheckBoxComponent] });
|
|
5212
|
+
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule });
|
|
5213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, decorators: [{
|
|
5159
5214
|
type: NgModule,
|
|
5160
5215
|
args: [{
|
|
5161
5216
|
declarations: [COMPONENT_DIRECTIVES$1],
|
|
@@ -5202,9 +5257,9 @@ class DragAndDropEditingDirective {
|
|
|
5202
5257
|
this.treeview.editService.remove(args);
|
|
5203
5258
|
}
|
|
5204
5259
|
}
|
|
5205
|
-
DragAndDropEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5206
|
-
DragAndDropEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5260
|
+
DragAndDropEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropEditingDirective, deps: [{ token: TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5261
|
+
DragAndDropEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragAndDropEditingDirective, selector: "[kendoTreeViewDragAndDropEditing]", inputs: { editService: "editService" }, ngImport: i0 });
|
|
5262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropEditingDirective, decorators: [{
|
|
5208
5263
|
type: Directive,
|
|
5209
5264
|
args: [{
|
|
5210
5265
|
selector: '[kendoTreeViewDragAndDropEditing]'
|
|
@@ -5289,9 +5344,9 @@ class LoadMoreDirective {
|
|
|
5289
5344
|
return this.pageSize;
|
|
5290
5345
|
}
|
|
5291
5346
|
}
|
|
5292
|
-
LoadMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5293
|
-
LoadMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5347
|
+
LoadMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreDirective, deps: [{ token: TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5348
|
+
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 });
|
|
5349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadMoreDirective, decorators: [{
|
|
5295
5350
|
type: Directive,
|
|
5296
5351
|
args: [{
|
|
5297
5352
|
selector: '[kendoTreeViewLoadMore]'
|
|
@@ -5334,8 +5389,8 @@ const COMPONENT_DIRECTIVES = [
|
|
|
5334
5389
|
*/
|
|
5335
5390
|
class SharedModule {
|
|
5336
5391
|
}
|
|
5337
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5338
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5392
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5393
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [TreeViewComponent,
|
|
5339
5394
|
TreeViewGroupComponent,
|
|
5340
5395
|
TreeViewItemDirective,
|
|
5341
5396
|
TreeViewItemContentDirective,
|
|
@@ -5356,7 +5411,8 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
5356
5411
|
LoadMoreDirective,
|
|
5357
5412
|
LoadMoreButtonTemplateDirective], imports: [CommonModule,
|
|
5358
5413
|
CheckBoxModule,
|
|
5359
|
-
InputsModule
|
|
5414
|
+
InputsModule,
|
|
5415
|
+
IconsModule], exports: [TreeViewComponent,
|
|
5360
5416
|
TreeViewGroupComponent,
|
|
5361
5417
|
TreeViewItemDirective,
|
|
5362
5418
|
TreeViewItemContentDirective,
|
|
@@ -5376,12 +5432,13 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
5376
5432
|
DragAndDropEditingDirective,
|
|
5377
5433
|
LoadMoreDirective,
|
|
5378
5434
|
LoadMoreButtonTemplateDirective] });
|
|
5379
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5435
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[
|
|
5380
5436
|
CommonModule,
|
|
5381
5437
|
CheckBoxModule,
|
|
5382
|
-
InputsModule
|
|
5438
|
+
InputsModule,
|
|
5439
|
+
IconsModule
|
|
5383
5440
|
]] });
|
|
5384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
5385
5442
|
type: NgModule,
|
|
5386
5443
|
args: [{
|
|
5387
5444
|
declarations: [COMPONENT_DIRECTIVES],
|
|
@@ -5389,7 +5446,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5389
5446
|
imports: [
|
|
5390
5447
|
CommonModule,
|
|
5391
5448
|
CheckBoxModule,
|
|
5392
|
-
InputsModule
|
|
5449
|
+
InputsModule,
|
|
5450
|
+
IconsModule
|
|
5393
5451
|
],
|
|
5394
5452
|
entryComponents: [
|
|
5395
5453
|
DragClueComponent,
|
|
@@ -5419,8 +5477,8 @@ const EXPORTS = [
|
|
|
5419
5477
|
*/
|
|
5420
5478
|
class TreeViewModule {
|
|
5421
5479
|
}
|
|
5422
|
-
TreeViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5423
|
-
TreeViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5480
|
+
TreeViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5481
|
+
TreeViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewModule, imports: [SharedModule], exports: [TreeViewComponent,
|
|
5424
5482
|
NodeTemplateDirective,
|
|
5425
5483
|
CheckDirective,
|
|
5426
5484
|
DisableDirective,
|
|
@@ -5434,8 +5492,8 @@ TreeViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
5434
5492
|
DragAndDropEditingDirective,
|
|
5435
5493
|
LoadMoreDirective,
|
|
5436
5494
|
LoadMoreButtonTemplateDirective] });
|
|
5437
|
-
TreeViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5495
|
+
TreeViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewModule, imports: [[SharedModule]] });
|
|
5496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewModule, decorators: [{
|
|
5439
5497
|
type: NgModule,
|
|
5440
5498
|
args: [{
|
|
5441
5499
|
exports: [EXPORTS],
|