@progress/kendo-angular-treeview 7.1.5 → 11.0.0-develop.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +3 -3
- package/check-mode.d.ts +1 -1
- package/check.directive.d.ts +1 -1
- package/checkable-settings.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/checkbox.module.d.ts +1 -1
- package/checkbox/checked-state.d.ts +1 -1
- package/data-bound-component.d.ts +1 -1
- package/data-change-notification.service.d.ts +1 -1
- package/default-callbacks.d.ts +1 -1
- package/disable.directive.d.ts +1 -1
- package/drag-and-drop/drag-and-drop-editing.directive.d.ts +1 -1
- package/drag-and-drop/drag-and-drop-utils.d.ts +1 -1
- package/drag-and-drop/drag-and-drop.directive.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue-template.directive.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue.component.d.ts +1 -1
- package/drag-and-drop/drag-clue/drag-clue.service.d.ts +3 -3
- package/drag-and-drop/drop-hint/drop-hint-template.directive.d.ts +1 -1
- package/drag-and-drop/drop-hint/drop-hint.component.d.ts +1 -1
- package/drag-and-drop/drop-hint/drop-hint.service.d.ts +1 -1
- package/drag-and-drop/editing-services/drag-and-drop-asset.service.d.ts +1 -1
- package/drag-and-drop/editing-services/flat-editing.service.d.ts +1 -1
- package/drag-and-drop/editing-services/hierarchy-editing.service.d.ts +1 -1
- package/drag-and-drop/models/drop-action.d.ts +1 -1
- package/drag-and-drop/models/drop-position.d.ts +1 -1
- package/drag-and-drop/models/editing-service.d.ts +1 -1
- package/drag-and-drop/models/preventable-event.d.ts +1 -1
- package/drag-and-drop/models/scroll-direction.d.ts +1 -1
- package/drag-and-drop/models/scroll-settings.d.ts +1 -1
- package/drag-and-drop/models/tree-item-filter-state.d.ts +1 -1
- package/drag-and-drop/models/treeitem-add-remove-args.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drag-event.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drag-start-event.d.ts +1 -1
- package/drag-and-drop/models/treeitem-drop-event.d.ts +1 -1
- package/drag-and-drop/models.d.ts +1 -1
- package/{esm2015/checkbox/checked-state.js → esm2020/check-mode.mjs} +1 -1
- package/{esm2015/check.directive.js → esm2020/check.directive.mjs} +7 -6
- package/{esm2015/check-mode.js → esm2020/checkable-settings.mjs} +1 -1
- package/{esm2015/checkbox/checkbox.component.js → esm2020/checkbox/checkbox.component.mjs} +5 -5
- package/{esm2015/checkbox/checkbox.module.js → esm2020/checkbox/checkbox.module.mjs} +5 -5
- package/{esm2015/drag-and-drop/models/editing-service.js → esm2020/checkbox/checked-state.mjs} +1 -1
- package/{esm2015/data-bound-component.js → esm2020/data-bound-component.mjs} +4 -4
- package/{esm2015/data-change-notification.service.js → esm2020/data-change-notification.service.mjs} +1 -1
- package/{esm2015/default-callbacks.js → esm2020/default-callbacks.mjs} +1 -1
- package/{esm2015/disable.directive.js → esm2020/disable.directive.mjs} +6 -5
- package/{esm2015/drag-and-drop/drag-and-drop-editing.directive.js → esm2020/drag-and-drop/drag-and-drop-editing.directive.mjs} +5 -4
- package/{esm2015/drag-and-drop/drag-and-drop-utils.js → esm2020/drag-and-drop/drag-and-drop-utils.mjs} +6 -2
- package/{esm2015/drag-and-drop/drag-and-drop.directive.js → esm2020/drag-and-drop/drag-and-drop.directive.mjs} +6 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue-template.directive.js → esm2020/drag-and-drop/drag-clue/drag-clue-template.directive.mjs} +5 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue.component.js → esm2020/drag-and-drop/drag-clue/drag-clue.component.mjs} +5 -5
- package/{esm2015/drag-and-drop/drag-clue/drag-clue.service.js → esm2020/drag-and-drop/drag-clue/drag-clue.service.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint-template.directive.js → esm2020/drag-and-drop/drop-hint/drop-hint-template.directive.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint.component.js → esm2020/drag-and-drop/drop-hint/drop-hint.component.mjs} +5 -5
- package/{esm2015/drag-and-drop/drop-hint/drop-hint.service.js → esm2020/drag-and-drop/drop-hint/drop-hint.service.mjs} +5 -5
- package/{esm2015/drag-and-drop/editing-services/drag-and-drop-asset.service.js → esm2020/drag-and-drop/editing-services/drag-and-drop-asset.service.mjs} +4 -4
- package/{esm2015/drag-and-drop/editing-services/flat-editing.service.js → esm2020/drag-and-drop/editing-services/flat-editing.service.mjs} +1 -1
- package/{esm2015/drag-and-drop/editing-services/hierarchy-editing.service.js → esm2020/drag-and-drop/editing-services/hierarchy-editing.service.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/drop-action.js → esm2020/drag-and-drop/models/drop-action.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/drop-position.js → esm2020/drag-and-drop/models/drop-position.mjs} +1 -1
- package/{esm2015/checkable-settings.js → esm2020/drag-and-drop/models/editing-service.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/preventable-event.js → esm2020/drag-and-drop/models/preventable-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/scroll-direction.js → esm2020/drag-and-drop/models/scroll-direction.mjs} +1 -1
- package/esm2020/drag-and-drop/models/scroll-settings.mjs +5 -0
- package/esm2020/drag-and-drop/models/tree-item-filter-state.mjs +5 -0
- package/esm2020/drag-and-drop/models/treeitem-add-remove-args.mjs +5 -0
- package/{esm2015/drag-and-drop/models/treeitem-drag-event.js → esm2020/drag-and-drop/models/treeitem-drag-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/treeitem-drag-start-event.js → esm2020/drag-and-drop/models/treeitem-drag-start-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/treeitem-drop-event.js → esm2020/drag-and-drop/models/treeitem-drop-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/models.js → esm2020/drag-and-drop/models.mjs} +1 -1
- package/{esm2015/expand-state.service.js → esm2020/expand-state.service.mjs} +4 -4
- package/{esm2015/expand.directive.js → esm2020/expand.directive.mjs} +9 -8
- package/{esm2015/expandable-component.js → esm2020/expandable-component.mjs} +4 -4
- package/esm2020/filter-expand-settings.interface.mjs +5 -0
- package/esm2020/filter-state.interface.mjs +5 -0
- package/{esm2015/filtering-base.js → esm2020/filtering-base.mjs} +9 -5
- package/{esm2015/flat-binding.directive.js → esm2020/flat-binding.directive.mjs} +6 -5
- package/{esm2015/funcs.js → esm2020/funcs.mjs} +1 -1
- package/{esm2015/hierarchy-binding.directive.js → esm2020/hierarchy-binding.directive.mjs} +13 -11
- package/{esm2015/index-builder.service.js → esm2020/index-builder.service.mjs} +4 -4
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/load-more/load-more-button-template.directive.js → esm2020/load-more/load-more-button-template.directive.mjs} +5 -5
- package/esm2020/load-more/load-more-request-args.mjs +5 -0
- package/{esm2015/load-more/load-more-utils.js → esm2020/load-more/load-more-utils.mjs} +1 -1
- package/{esm2015/load-more/load-more.directive.js → esm2020/load-more/load-more.directive.mjs} +5 -4
- package/esm2020/load-more/load-more.service.mjs +5 -0
- package/{esm2015/loading-indicator.directive.js → esm2020/loading-indicator.directive.mjs} +7 -5
- package/{esm2015/loading-notification.service.js → esm2020/loading-notification.service.mjs} +4 -4
- package/esm2020/navigation/navigation-item.interface.mjs +5 -0
- package/{esm2015/navigation/navigation-model.js → esm2020/navigation/navigation-model.mjs} +1 -1
- package/esm2020/navigation/navigation-state.interface.mjs +5 -0
- package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +5 -4
- package/{esm2015/node-children.service.js → esm2020/node-children.service.mjs} +4 -4
- package/esm2020/node-click-event.interface.mjs +5 -0
- package/{esm2015/node-template.directive.js → esm2020/node-template.directive.mjs} +5 -5
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-treeview.js → esm2020/progress-kendo-angular-treeview.mjs} +2 -2
- package/{esm2015/selection/select.directive.js → esm2020/selection/select.directive.mjs} +9 -8
- package/esm2020/selection/selectable-settings.mjs +5 -0
- package/esm2020/selection/selection-mode.mjs +5 -0
- package/{esm2015/selection/selection.service.js → esm2020/selection/selection.service.mjs} +4 -4
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/esm2020/size.mjs +5 -0
- package/esm2020/treeitem-lookup.interface.mjs +5 -0
- package/esm2020/treeitem.interface.mjs +5 -0
- package/{esm2015/treeview-filter-settings.js → esm2020/treeview-filter-settings.mjs} +1 -1
- package/{esm2015/treeview-group.component.js → esm2020/treeview-group.component.mjs} +12 -5
- package/{esm2015/treeview-item-content.directive.js → esm2020/treeview-item-content.directive.mjs} +9 -7
- package/{esm2015/treeview-item.directive.js → esm2020/treeview-item.directive.mjs} +10 -5
- package/{esm2015/treeview-lookup.service.js → esm2020/treeview-lookup.service.mjs} +4 -4
- package/{esm2015/treeview.component.js → esm2020/treeview.component.mjs} +5 -5
- package/{esm2015/treeview.module.js → esm2020/treeview.module.mjs} +5 -5
- package/{esm2015/utils.js → esm2020/utils.mjs} +1 -1
- package/expand-state.service.d.ts +1 -1
- package/expand.directive.d.ts +1 -1
- package/expandable-component.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-treeview.mjs +5465 -0
- package/{fesm2015/kendo-angular-treeview.js → fesm2020/progress-kendo-angular-treeview.mjs} +224 -218
- package/filter-expand-settings.interface.d.ts +1 -1
- package/filter-state.interface.d.ts +1 -1
- package/filtering-base.d.ts +1 -1
- package/flat-binding.directive.d.ts +1 -1
- package/funcs.d.ts +1 -1
- package/hierarchy-binding.directive.d.ts +5 -5
- package/index-builder.service.d.ts +1 -1
- package/{main.d.ts → index.d.ts} +1 -1
- package/load-more/load-more-button-template.directive.d.ts +1 -1
- package/load-more/load-more-request-args.d.ts +1 -1
- package/load-more/load-more-utils.d.ts +1 -1
- package/load-more/load-more.directive.d.ts +1 -1
- package/load-more/load-more.service.d.ts +1 -1
- package/loading-indicator.directive.d.ts +1 -1
- package/loading-notification.service.d.ts +1 -1
- package/navigation/navigation-item.interface.d.ts +1 -1
- package/navigation/navigation-model.d.ts +1 -1
- package/navigation/navigation-state.interface.d.ts +1 -1
- package/navigation/navigation.service.d.ts +1 -1
- package/node-children.service.d.ts +1 -1
- package/node-click-event.interface.d.ts +1 -1
- package/node-template.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -57
- package/{kendo-angular-treeview.d.ts → progress-kendo-angular-treeview.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/selection/select.directive.d.ts +1 -1
- package/selection/selectable-settings.d.ts +1 -1
- package/selection/selection-mode.d.ts +1 -1
- package/selection/selection.service.d.ts +1 -1
- package/shared.module.d.ts +1 -1
- package/size.d.ts +1 -1
- package/treeitem-lookup.interface.d.ts +1 -1
- package/treeitem.interface.d.ts +1 -1
- package/treeview-filter-settings.d.ts +1 -1
- package/treeview-group.component.d.ts +1 -1
- package/treeview-item-content.directive.d.ts +1 -1
- package/treeview-item.directive.d.ts +1 -1
- package/treeview-lookup.service.d.ts +1 -1
- package/treeview.component.d.ts +1 -1
- package/treeview.module.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/bundles/kendo-angular-treeview.umd.js +0 -5
- package/esm2015/drag-and-drop/models/scroll-settings.js +0 -5
- package/esm2015/drag-and-drop/models/tree-item-filter-state.js +0 -5
- package/esm2015/drag-and-drop/models/treeitem-add-remove-args.js +0 -5
- package/esm2015/filter-expand-settings.interface.js +0 -5
- package/esm2015/filter-state.interface.js +0 -5
- package/esm2015/load-more/load-more-request-args.js +0 -5
- package/esm2015/load-more/load-more.service.js +0 -5
- package/esm2015/navigation/navigation-item.interface.js +0 -5
- package/esm2015/navigation/navigation-state.interface.js +0 -5
- package/esm2015/node-click-event.interface.js +0 -5
- package/esm2015/selection/selectable-settings.js +0 -5
- package/esm2015/selection/selection-mode.js +0 -5
- package/esm2015/size.js +0 -5
- package/esm2015/treeitem-lookup.interface.js +0 -5
- package/esm2015/treeitem.interface.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional } from '@angular/core';
|
|
5
|
+
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView drag clue when an item is dragged. To define the clue template,
|
|
@@ -23,9 +23,9 @@ export class DragClueTemplateDirective {
|
|
|
23
23
|
this.templateRef = templateRef;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
DragClueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
DragClueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
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 });
|
|
27
|
+
DragClueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragClueTemplateDirective, selector: "[kendoTreeViewDragClueTemplate]", ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueTemplateDirective, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[kendoTreeViewDragClueTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, ChangeDetectionStrategy } from "@angular/core";
|
|
5
|
+
import { Component, HostBinding, ChangeDetectorRef, ChangeDetectionStrategy } from "@angular/core";
|
|
6
6
|
import { DropAction } from '../models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@angular/common";
|
|
@@ -30,8 +30,8 @@ export class DragClueComponent {
|
|
|
30
30
|
this.cdr.detectChanges();
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
33
|
+
DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
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: `
|
|
35
35
|
<ng-container *ngIf="!template">
|
|
36
36
|
<span class="k-icon {{statusIconClass}} k-drag-status"></span>
|
|
37
37
|
<span>{{text}}</span>
|
|
@@ -49,7 +49,7 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
49
49
|
>
|
|
50
50
|
</ng-template>
|
|
51
51
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
5
|
+
import { Injectable, ComponentFactoryResolver } from '@angular/core';
|
|
6
6
|
import { DragClueComponent } from './drag-clue.component';
|
|
7
7
|
import { ScrollDirection } from '../models';
|
|
8
8
|
import { isPresent, dataItemsEqual } from '../../utils';
|
|
@@ -116,8 +116,8 @@ export class DragClueService extends DragAndDropAssetService {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
DragClueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
120
|
-
DragClueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
DragClueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
DragClueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueService, decorators: [{
|
|
122
122
|
type: Injectable
|
|
123
123
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional } from '@angular/core';
|
|
5
|
+
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView drop hint when an item is dragged. To define the hint template,
|
|
@@ -20,9 +20,9 @@ export class DropHintTemplateDirective {
|
|
|
20
20
|
this.templateRef = templateRef;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
DropHintTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
DropHintTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
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 });
|
|
24
|
+
DropHintTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropHintTemplateDirective, selector: "[kendoTreeViewDropHintTemplate]", ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintTemplateDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: '[kendoTreeViewDropHintTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/common";
|
|
8
8
|
/**
|
|
@@ -20,8 +20,8 @@ export class DropHintComponent {
|
|
|
20
20
|
this.changeDetectorRef.detectChanges();
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
DropHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
23
|
+
DropHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
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: `
|
|
25
25
|
<div
|
|
26
26
|
*ngIf="!template"
|
|
27
27
|
class="k-drop-hint k-drop-hint-h"
|
|
@@ -41,7 +41,7 @@ DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
41
41
|
>
|
|
42
42
|
<ng-template>
|
|
43
43
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{
|
|
47
47
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
5
|
+
import { Injectable, ComponentFactoryResolver } from '@angular/core';
|
|
6
6
|
import { dataItemsEqual, isPresent } from '../../utils';
|
|
7
7
|
import { DropHintComponent } from './drop-hint.component';
|
|
8
8
|
import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
|
|
@@ -36,8 +36,8 @@ export class DropHintService extends DragAndDropAssetService {
|
|
|
36
36
|
dropHint.detectChanges();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
DropHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
DropHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
DropHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
DropHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropHintService, decorators: [{
|
|
42
42
|
type: Injectable
|
|
43
43
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -40,8 +40,8 @@ export class DragAndDropAssetService {
|
|
|
40
40
|
this.element.style.top = `${top + offset}px`;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
DragAndDropAssetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
DragAndDropAssetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
DragAndDropAssetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
DragAndDropAssetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropAssetService, decorators: [{
|
|
46
46
|
type: Injectable
|
|
47
47
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { getter, setter } from '@progress/kendo-common';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { getter, setter } from '@progress/kendo-common';
|
package/{esm2015/drag-and-drop/models/drop-action.js → esm2020/drag-and-drop/models/drop-action.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './models/drop-action';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from "@angular/core";
|
|
@@ -19,8 +19,8 @@ export class ExpandStateService {
|
|
|
19
19
|
this.changes.next({ dataItem, index, expand: false });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
ExpandStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
ExpandStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
ExpandStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
+
ExpandStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandStateService, decorators: [{
|
|
25
25
|
type: Injectable
|
|
26
26
|
}] });
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
+
import { ExpandableComponent } from './expandable-component';
|
|
6
7
|
import { Subscription, merge } from 'rxjs';
|
|
7
8
|
import { map } from 'rxjs/operators';
|
|
8
9
|
import { isArrayWithAtLeastOneItem, isBoolean, sameValues } from './utils';
|
|
@@ -64,7 +65,7 @@ export class ExpandDirective {
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
};
|
|
67
|
-
this.subscriptions.add(merge(this.component.expand.pipe(map(e => (
|
|
68
|
+
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)));
|
|
68
69
|
if (this.component.filterStateChange) {
|
|
69
70
|
this.subscriptions.add(this.component.filterStateChange.subscribe(this.handleAutoExpand.bind(this)));
|
|
70
71
|
}
|
|
@@ -77,12 +78,12 @@ export class ExpandDirective {
|
|
|
77
78
|
this.component.isExpanded = value;
|
|
78
79
|
}
|
|
79
80
|
get filterExpandSettings() {
|
|
80
|
-
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } :
|
|
81
|
+
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : { ...this.expandOnFilter, enabled: true };
|
|
81
82
|
return Object.assign({}, DEFAULT_FILTER_EXPAND_SETTINGS, settings);
|
|
82
83
|
}
|
|
83
84
|
ngOnChanges(changes) {
|
|
84
|
-
if (isChanged('expandedKeys', changes, false) && changes
|
|
85
|
-
this.state = new Set(changes
|
|
85
|
+
if (isChanged('expandedKeys', changes, false) && changes['expandedKeys'].currentValue !== this.lastChange) {
|
|
86
|
+
this.state = new Set(changes['expandedKeys'].currentValue);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
ngOnDestroy() {
|
|
@@ -176,9 +177,9 @@ export class ExpandDirective {
|
|
|
176
177
|
this.expandedKeysChange.emit(this.lastChange);
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
|
-
ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
180
|
-
ExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
180
|
+
ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandDirective, deps: [{ token: i1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
181
|
+
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 });
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandDirective, decorators: [{
|
|
182
183
|
type: Directive,
|
|
183
184
|
args: [{ selector: '[kendoTreeViewExpandable]' }]
|
|
184
185
|
}], ctorParameters: function () { return [{ type: i1.ExpandableComponent }]; }, propDecorators: { isExpanded: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -12,8 +12,8 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export class ExpandableComponent {
|
|
14
14
|
}
|
|
15
|
-
ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandableComponent, decorators: [{
|
|
18
18
|
type: Injectable
|
|
19
19
|
}] });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from "@angular/core";
|
|
6
|
+
import { DataBoundComponent } from "./data-bound-component";
|
|
6
7
|
import { DEFAULT_FILTER_SETTINGS } from "./treeview-filter-settings";
|
|
7
8
|
import { filterTree, isPresent } from "./utils";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
@@ -20,7 +21,10 @@ export class FilteringBase {
|
|
|
20
21
|
* The settings which are applied when performing a filter on the component's data.
|
|
21
22
|
*/
|
|
22
23
|
set filterSettings(settings) {
|
|
23
|
-
this._filterSettings =
|
|
24
|
+
this._filterSettings = {
|
|
25
|
+
...DEFAULT_FILTER_SETTINGS,
|
|
26
|
+
...settings
|
|
27
|
+
};
|
|
24
28
|
}
|
|
25
29
|
get filterSettings() {
|
|
26
30
|
return this._filterSettings;
|
|
@@ -72,9 +76,9 @@ export class FilteringBase {
|
|
|
72
76
|
});
|
|
73
77
|
}
|
|
74
78
|
}
|
|
75
|
-
FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
76
|
-
FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilteringBase, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
80
|
+
FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilteringBase, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilteringBase, decorators: [{
|
|
78
82
|
type: Directive
|
|
79
83
|
}], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { filterSettings: [{
|
|
80
84
|
type: Input
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { anyChanged, isChanged } from '@progress/kendo-angular-common';
|
|
@@ -7,6 +7,7 @@ import { Directive, Input } from '@angular/core';
|
|
|
7
7
|
import { getter } from '@progress/kendo-common';
|
|
8
8
|
import { of } from 'rxjs';
|
|
9
9
|
import { compose } from './funcs';
|
|
10
|
+
import { DataBoundComponent } from './data-bound-component';
|
|
10
11
|
import { isBlank, isNullOrEmptyString, isPresent, isArrayWithAtLeastOneItem } from './utils';
|
|
11
12
|
import { FlatEditingService } from "./drag-and-drop/editing-services/flat-editing.service";
|
|
12
13
|
import { IndexBuilderService } from './index-builder.service';
|
|
@@ -82,7 +83,7 @@ export class FlatDataBindingDirective extends FilteringBase {
|
|
|
82
83
|
this.updateNodes(this.originalData);
|
|
83
84
|
}
|
|
84
85
|
if (isChanged('nodes', changes, false)) {
|
|
85
|
-
this.updateNodes(changes
|
|
86
|
+
this.updateNodes(changes['nodes'].currentValue);
|
|
86
87
|
}
|
|
87
88
|
// should react to changes.loadOnDemand as well - should preload the data or clear the already cached items
|
|
88
89
|
if (anyChanged(['nodes', 'loadOnDemand'], changes) && !this.loadOnDemand && isPresent(this.component.preloadChildNodes)) {
|
|
@@ -105,9 +106,9 @@ export class FlatDataBindingDirective extends FilteringBase {
|
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
|
-
FlatDataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
109
|
-
FlatDataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
109
|
+
FlatDataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatDataBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
110
|
+
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 });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatDataBindingDirective, decorators: [{
|
|
111
112
|
type: Directive,
|
|
112
113
|
args: [{ selector: "[kendoTreeViewFlatDataBinding]" }]
|
|
113
114
|
}], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input, Optional, Host } from '@angular/core';
|
|
6
6
|
import { getter } from '@progress/kendo-common';
|
|
7
7
|
import { anyChanged, isChanged } from '@progress/kendo-angular-common';
|
|
8
|
+
import { DataBoundComponent } from './data-bound-component';
|
|
8
9
|
import { isArrayWithAtLeastOneItem, isPresent } from './utils';
|
|
9
10
|
import { of } from 'rxjs';
|
|
10
11
|
import { HierarchyEditingService } from './drag-and-drop/editing-services/hierarchy-editing.service';
|
|
12
|
+
import { DragAndDropDirective } from './drag-and-drop/drag-and-drop.directive';
|
|
11
13
|
import { isVisible } from './default-callbacks';
|
|
12
14
|
import { IndexBuilderService } from './index-builder.service';
|
|
13
15
|
import { FilteringBase } from './filtering-base';
|
|
@@ -56,6 +58,12 @@ export class HierarchyBindingDirective extends FilteringBase {
|
|
|
56
58
|
}
|
|
57
59
|
this._childrenField = value;
|
|
58
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* The field name which holds the data items of the child component.
|
|
63
|
+
*/
|
|
64
|
+
get childrenField() {
|
|
65
|
+
return this._childrenField;
|
|
66
|
+
}
|
|
59
67
|
/**
|
|
60
68
|
* @hidden
|
|
61
69
|
* A callback which determines whether a TreeView node should be rendered as hidden.
|
|
@@ -63,12 +71,6 @@ export class HierarchyBindingDirective extends FilteringBase {
|
|
|
63
71
|
set isVisible(fn) {
|
|
64
72
|
this.component.isVisible = fn;
|
|
65
73
|
}
|
|
66
|
-
/**
|
|
67
|
-
* The field name which holds the data items of the child component.
|
|
68
|
-
*/
|
|
69
|
-
get childrenField() {
|
|
70
|
-
return this._childrenField;
|
|
71
|
-
}
|
|
72
74
|
ngOnInit() {
|
|
73
75
|
if (isPresent(this.childrenField)) {
|
|
74
76
|
this.component.children = item => of(getter(this.childrenField)(item));
|
|
@@ -92,7 +94,7 @@ export class HierarchyBindingDirective extends FilteringBase {
|
|
|
92
94
|
this.updateNodes(this.originalData);
|
|
93
95
|
}
|
|
94
96
|
if (isChanged('nodes', changes, false)) {
|
|
95
|
-
this.updateNodes(changes
|
|
97
|
+
this.updateNodes(changes['nodes'].currentValue);
|
|
96
98
|
}
|
|
97
99
|
// should react to changes.loadOnDemand as well - should preload the data or clear the already cached items
|
|
98
100
|
if (anyChanged(['nodes', 'loadOnDemand'], changes) && !this.loadOnDemand && isPresent(this.component.preloadChildNodes)) {
|
|
@@ -108,9 +110,9 @@ export class HierarchyBindingDirective extends FilteringBase {
|
|
|
108
110
|
this.updateVisibleNodes(this.filterData);
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
|
-
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
112
|
-
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
113
|
+
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }, { token: i2.DragAndDropDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
114
|
+
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 });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
114
116
|
type: Directive,
|
|
115
117
|
args: [{ selector: '[kendoTreeViewHierarchyBinding]' }]
|
|
116
118
|
}], ctorParameters: function () { return [{ type: i1.DataBoundComponent }, { type: i2.DragAndDropDirective, decorators: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -28,8 +28,8 @@ export class IndexBuilderService {
|
|
|
28
28
|
return index.split(this.INDEX_SEPARATOR).length;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
IndexBuilderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
IndexBuilderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
IndexBuilderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
+
IndexBuilderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IndexBuilderService, decorators: [{
|
|
34
34
|
type: Injectable
|
|
35
35
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { TreeViewComponent } from './treeview.component';
|