@progress/kendo-angular-treeview 25.0.0-develop.7 → 25.0.0
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 +33 -34
- package/codemods/libs/common/src/codemods/utils.js +15 -0
- package/codemods/libs/treeview/codemods/v25/treeview-rendering-changes.js +26 -0
- package/fesm2022/progress-kendo-angular-treeview.mjs +138 -123
- package/index.d.ts +9 -2
- package/package-metadata.mjs +2 -2
- package/package.json +14 -7
- package/schematics/ngAdd/index.js +4 -4
package/NOTICE.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
Progress Kendo UI for Angular 2026
|
|
2
|
+
Progress Kendo UI for Angular 2026 Updated August 2026
|
|
3
3
|
|
|
4
4
|
----------------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
NOTICES REPORT
|
|
6
6
|
----------------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
|
|
9
|
-
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
|
|
10
|
-
|
|
11
|
-
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
|
|
12
|
-
|
|
9
|
+
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include the
|
|
10
|
+
following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
+
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party
|
|
12
|
+
Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
13
13
|
Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
|
|
14
|
-
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
|
|
15
|
-
|
|
14
|
+
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these
|
|
15
|
+
technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
16
16
|
|
|
17
17
|
----------------------------------------------------------------------------------------------------------------------------
|
|
18
18
|
Report Content
|
|
@@ -25,40 +25,38 @@
|
|
|
25
25
|
|
|
26
26
|
----------------------------------------------------------------------------------------------------------------------------
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
-
|
|
33
|
-
a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
-
licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
-
|
|
36
|
-
with the Software.
|
|
28
|
+
GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
|
|
29
|
+
If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the
|
|
30
|
+
Software will include a configuration to connect to AI. You acknowledge that a separate license or subscription access
|
|
31
|
+
to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
+
AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
|
|
33
|
+
for a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
+
and AI licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
+
disclaims any and all liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI
|
|
36
|
+
integrated with the Software.
|
|
37
37
|
|
|
38
38
|
----------------------------------------------------------------------------------------------------------------------------
|
|
39
39
|
|
|
40
|
-
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
|
|
41
|
-
|
|
40
|
+
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other
|
|
41
|
+
documentation that accompanies updates received in connection with support of the Product.
|
|
42
42
|
|
|
43
43
|
----------------------------------------------------------------------------------------------------------------------------
|
|
44
44
|
|
|
45
45
|
TECHNOLOGIES DISTRIBUTED UNDER ORIGINAL LICENSE
|
|
46
|
-
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to
|
|
47
|
-
|
|
48
|
-
below.
|
|
46
|
+
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to distribute the
|
|
47
|
+
technologies to Users only under its original license terms as noted, the text of which is copied herein below.
|
|
49
48
|
|
|
50
49
|
Component License
|
|
51
|
-
|
|
52
|
-
caniuse-lite | 1.0.30001797 Creative Commons Attribution 4.0
|
|
50
|
+
caniuse-lite | 1.0.30001806 Creative Commons Attribution 4.0
|
|
53
51
|
|
|
54
52
|
----------------------------------------------------------------------------------------------------------------------------
|
|
55
53
|
|
|
56
|
-
Components:
|
|
54
|
+
Components:
|
|
57
55
|
|
|
58
56
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
59
57
|
| Component | Origin | License |
|
|
60
58
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
61
|
-
| caniuse-lite 1.0.
|
|
59
|
+
| caniuse-lite 1.0.30001806 | https://github.com/ben-eb/caniuse-lit | Creative Commons Attribution 4.0 |
|
|
62
60
|
| | e | |
|
|
63
61
|
| jszip 3.10.1 | https://github.com/Stuk/jszip | MIT License |
|
|
64
62
|
| Microsofttslib 1.14.1 | http://github.com/Microsoft/tslib/ | BSD Zero Clause License |
|
|
@@ -66,12 +64,14 @@ Components:
|
|
|
66
64
|
| node-semver 7.7.1 | https://github.com/npm/node-semver | ISC License |
|
|
67
65
|
| nodeca/pako 1.0.11 | https://github.com/nodeca/pako | MIT License |
|
|
68
66
|
| orderedmap 2.1.1 | https://github.com/marijnh/orderedmap | MIT License |
|
|
69
|
-
| pdfjs-dist-for-node 5.
|
|
67
|
+
| pdfjs-dist-for-node 5.5.207 | http://mozilla.github.io/pdf.js/ | Apache License 2.0 |
|
|
68
|
+
| @progress/kendo-svg-icons 5.4.0 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
69
|
+
| | s#readme | |
|
|
70
70
|
| prosemirror-commands 1.7.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
71
71
|
| | irror-commands#readme | |
|
|
72
72
|
| prosemirror-dropcursor 1.8.2 | https://github.com/prosemirror/prosem | MIT License |
|
|
73
73
|
| | irror-dropcursor#readme | |
|
|
74
|
-
| prosemirror-gapcursor 1.4.
|
|
74
|
+
| prosemirror-gapcursor 1.4.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
75
75
|
| | irror-gapcursor#readme | |
|
|
76
76
|
| prosemirror-history 1.5.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
77
77
|
| | irror-history#readme | |
|
|
@@ -79,7 +79,7 @@ Components:
|
|
|
79
79
|
| | irror-inputrules#readme | |
|
|
80
80
|
| prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
81
81
|
| | irror-keymap#readme | |
|
|
82
|
-
| prosemirror-model 1.25.
|
|
82
|
+
| prosemirror-model 1.25.9 | https://github.com/prosemirror/prosem | MIT License |
|
|
83
83
|
| | irror-model#readme | |
|
|
84
84
|
| prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
85
85
|
| | irror-schema-list#readme | |
|
|
@@ -87,16 +87,14 @@ Components:
|
|
|
87
87
|
| | irror-state#readme | |
|
|
88
88
|
| prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
89
89
|
| | irror-tables#readme | |
|
|
90
|
-
| prosemirror-transform 1.
|
|
90
|
+
| prosemirror-transform 1.12.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
91
91
|
| | irror-transform#readme | |
|
|
92
|
-
| prosemirror-view 1.
|
|
92
|
+
| prosemirror-view 1.42.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
93
93
|
| | irror-view#readme | |
|
|
94
94
|
| rope-sequence 1.3.4 | https://github.com/marijnh/rope-seque | MIT License |
|
|
95
95
|
| | nce#readme | |
|
|
96
96
|
| w3c-keyname 2.2.8 | https://github.com/marijnh/w3c-keynam | MIT License |
|
|
97
97
|
| | e#readme | |
|
|
98
|
-
| @progress/kendo-svg-icons 4.9.2 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
99
|
-
| | s#readme | |
|
|
100
98
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
101
99
|
|
|
102
100
|
-------------------------------------------------------------------------------------------------------------------------
|
|
@@ -104,7 +102,8 @@ License Data and Text:
|
|
|
104
102
|
-------------------------------------------------------------------------------------------------------------------------
|
|
105
103
|
|
|
106
104
|
Apache License 2.0
|
|
107
|
-
(@progress/kendo-svg-icons 4.
|
|
105
|
+
(@progress/kendo-svg-icons 5.4.0, pdfjs-dist-for-node 5.5.207)
|
|
106
|
+
|
|
108
107
|
Apache License
|
|
109
108
|
Version 2.0, January 2004
|
|
110
109
|
=========================
|
|
@@ -372,7 +371,7 @@ THIS SOFTWARE.
|
|
|
372
371
|
---
|
|
373
372
|
|
|
374
373
|
Creative Commons Attribution 4.0
|
|
375
|
-
(caniuse-lite 1.0.
|
|
374
|
+
(caniuse-lite 1.0.30001806)
|
|
376
375
|
|
|
377
376
|
Creative Commons Attribution 4.0
|
|
378
377
|
================================
|
|
@@ -13,6 +13,7 @@ exports.writeInstructionMarker = writeInstructionMarker;
|
|
|
13
13
|
exports.isApiChangeTarget = isApiChangeTarget;
|
|
14
14
|
exports.isRenderingChangeTarget = isRenderingChangeTarget;
|
|
15
15
|
exports.executeCodemodTest = executeCodemodTest;
|
|
16
|
+
exports.removeAttributeFromDirectiveHost = removeAttributeFromDirectiveHost;
|
|
16
17
|
const tslib_1 = require("tslib");
|
|
17
18
|
/// <reference types="node" />
|
|
18
19
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -1486,3 +1487,17 @@ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', ex
|
|
|
1486
1487
|
catch { }
|
|
1487
1488
|
}
|
|
1488
1489
|
}
|
|
1490
|
+
function removeAttributeFromDirectiveHost(templateContent, directiveAttr, attrToRemove) {
|
|
1491
|
+
const escapedDirective = directiveAttr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1492
|
+
const escapedAttr = attrToRemove.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1493
|
+
const boundPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1494
|
+
const staticPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1495
|
+
// Also match when the attribute appears before the directive
|
|
1496
|
+
const boundPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1497
|
+
const staticPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1498
|
+
let result = templateContent.replace(boundPattern, '$1$3');
|
|
1499
|
+
result = result.replace(staticPattern, '$1$3');
|
|
1500
|
+
result = result.replace(boundPatternBefore, '$1$3');
|
|
1501
|
+
result = result.replace(staticPatternBefore, '$1$3');
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.aiInstructions = void 0;
|
|
8
|
+
exports.default = default_1;
|
|
9
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
10
|
+
exports.aiInstructions = `Review your stylesheets, test files, and any code that references these TreeView classes:
|
|
11
|
+
|
|
12
|
+
k-i-loading — was applied on span.k-treeview-toggle, now it is applied on a nested span within span.k-treeview-toggle.
|
|
13
|
+
Update selectors from .k-treeview-toggle.k-i-loading to .k-treeview-toggle .k-i-loading.
|
|
14
|
+
|
|
15
|
+
k-treeview-load-more-checkboxes-container — removed from the "load more" <li> item.
|
|
16
|
+
Remove any CSS rules or test assertions targeting .k-treeview-load-more-checkboxes-container.`;
|
|
17
|
+
const classes = ['k-i-loading', 'k-treeview-load-more-checkboxes-container'];
|
|
18
|
+
const pattern = (0, codemods_1.makePattern)(classes);
|
|
19
|
+
function default_1(fileInfo) {
|
|
20
|
+
if ((0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
21
|
+
if (pattern.test(fileInfo.source)) {
|
|
22
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return fileInfo.source;
|
|
26
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Injectable, Optional, Directive, Input, HostBinding, Component, forwardRef, isDevMode, ViewContainerRef, ContentChild, Output, ViewChild, ChangeDetectionStrategy, Host, NgModule } from '@angular/core';
|
|
7
|
-
import { isDocumentAvailable, Keys, normalizeKeys, anyChanged, hasObservers, KENDO_WEBMCP_HOST, isChanged, guid, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
7
|
+
import { isDocumentAvailable, Keys, normalizeKeys, anyChanged, provideComponentName, hasObservers, KENDO_WEBMCP_HOST, isChanged, guid, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
8
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { Subject, Subscription, of, merge, EMPTY, BehaviorSubject } from 'rxjs';
|
|
@@ -28,8 +28,8 @@ const packageMetadata = {
|
|
|
28
28
|
productName: 'Kendo UI for Angular',
|
|
29
29
|
productCode: 'KENDOUIANGULAR',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR'],
|
|
31
|
-
publishDate:
|
|
32
|
-
version: '25.0.0
|
|
31
|
+
publishDate: 1786525891,
|
|
32
|
+
version: '25.0.0',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -87,10 +87,10 @@ class ExpandStateService {
|
|
|
87
87
|
collapse(index, dataItem) {
|
|
88
88
|
this.changes.next({ dataItem, index, expand: false });
|
|
89
89
|
}
|
|
90
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
91
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
90
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandStateService });
|
|
92
92
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandStateService, decorators: [{
|
|
94
94
|
type: Injectable
|
|
95
95
|
}] });
|
|
96
96
|
|
|
@@ -115,10 +115,10 @@ class IndexBuilderService {
|
|
|
115
115
|
level(index) {
|
|
116
116
|
return index.split(this.INDEX_SEPARATOR).length;
|
|
117
117
|
}
|
|
118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
119
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: IndexBuilderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: IndexBuilderService });
|
|
120
120
|
}
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: IndexBuilderService, decorators: [{
|
|
122
122
|
type: Injectable
|
|
123
123
|
}] });
|
|
124
124
|
|
|
@@ -130,10 +130,10 @@ class LoadingNotificationService {
|
|
|
130
130
|
notifyLoaded(index) {
|
|
131
131
|
this.changes.next(index);
|
|
132
132
|
}
|
|
133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
134
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
133
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadingNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
134
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadingNotificationService });
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadingNotificationService, decorators: [{
|
|
137
137
|
type: Injectable
|
|
138
138
|
}] });
|
|
139
139
|
|
|
@@ -833,10 +833,10 @@ class NavigationService {
|
|
|
833
833
|
this.checkIndex(this.activeIndex);
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
837
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
836
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
837
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService });
|
|
838
838
|
}
|
|
839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, decorators: [{
|
|
840
840
|
type: Injectable
|
|
841
841
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
842
842
|
|
|
@@ -848,10 +848,10 @@ class NodeChildrenService {
|
|
|
848
848
|
childrenLoaded(item, children) {
|
|
849
849
|
this.changes.next({ item, children });
|
|
850
850
|
}
|
|
851
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
852
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeChildrenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
852
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeChildrenService });
|
|
853
853
|
}
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeChildrenService, decorators: [{
|
|
855
855
|
type: Injectable
|
|
856
856
|
}] });
|
|
857
857
|
|
|
@@ -882,10 +882,10 @@ class NodeTemplateDirective {
|
|
|
882
882
|
constructor(templateRef) {
|
|
883
883
|
this.templateRef = templateRef;
|
|
884
884
|
}
|
|
885
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
886
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
886
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: NodeTemplateDirective, isStandalone: true, selector: "[kendoTreeViewNodeTemplate]", ngImport: i0 });
|
|
887
887
|
}
|
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
889
889
|
type: Directive,
|
|
890
890
|
args: [{
|
|
891
891
|
selector: '[kendoTreeViewNodeTemplate]',
|
|
@@ -918,10 +918,10 @@ class LoadMoreButtonTemplateDirective {
|
|
|
918
918
|
constructor(templateRef) {
|
|
919
919
|
this.templateRef = templateRef;
|
|
920
920
|
}
|
|
921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
922
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadMoreButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
922
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LoadMoreButtonTemplateDirective, isStandalone: true, selector: "[kendoTreeViewLoadMoreButtonTemplate]", ngImport: i0 });
|
|
923
923
|
}
|
|
924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadMoreButtonTemplateDirective, decorators: [{
|
|
925
925
|
type: Directive,
|
|
926
926
|
args: [{
|
|
927
927
|
selector: '[kendoTreeViewLoadMoreButtonTemplate]',
|
|
@@ -938,10 +938,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
938
938
|
* the TreeView or the DropDownTree components.
|
|
939
939
|
*/
|
|
940
940
|
class DataBoundComponent {
|
|
941
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
942
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
941
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataBoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
942
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataBoundComponent });
|
|
943
943
|
}
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataBoundComponent, decorators: [{
|
|
945
945
|
type: Injectable
|
|
946
946
|
}] });
|
|
947
947
|
|
|
@@ -952,10 +952,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
952
952
|
* the TreeView or the DropDownTree components.
|
|
953
953
|
*/
|
|
954
954
|
class ExpandableComponent {
|
|
955
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
956
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
955
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
956
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandableComponent });
|
|
957
957
|
}
|
|
958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandableComponent, decorators: [{
|
|
959
959
|
type: Injectable
|
|
960
960
|
}] });
|
|
961
961
|
|
|
@@ -979,10 +979,10 @@ class SelectionService {
|
|
|
979
979
|
select(index, dataItem) {
|
|
980
980
|
this.changes.next({ dataItem, index });
|
|
981
981
|
}
|
|
982
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
983
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
983
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService });
|
|
984
984
|
}
|
|
985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, decorators: [{
|
|
986
986
|
type: Injectable
|
|
987
987
|
}] });
|
|
988
988
|
|
|
@@ -1062,10 +1062,10 @@ class TreeViewLookupService {
|
|
|
1062
1062
|
};
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
1065
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1066
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1066
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewLookupService });
|
|
1067
1067
|
}
|
|
1068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewLookupService, decorators: [{
|
|
1069
1069
|
type: Injectable
|
|
1070
1070
|
}] });
|
|
1071
1071
|
|
|
@@ -1120,10 +1120,10 @@ class TreeViewItemContentWrapperDirective {
|
|
|
1120
1120
|
const action = addClass ? 'addClass' : 'removeClass';
|
|
1121
1121
|
this.renderer[action](this.element.nativeElement, className);
|
|
1122
1122
|
}
|
|
1123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1124
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewItemContentWrapperDirective, deps: [{ token: i0.ElementRef }, { token: NavigationService }, { token: SelectionService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1124
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TreeViewItemContentWrapperDirective, isStandalone: true, selector: "[kendoTreeViewItemContentWrapper]", inputs: { dataItem: "dataItem", index: "index", initialSelection: "initialSelection", isSelected: "isSelected" }, usesOnChanges: true, ngImport: i0 });
|
|
1125
1125
|
}
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewItemContentWrapperDirective, decorators: [{
|
|
1127
1127
|
type: Directive,
|
|
1128
1128
|
args: [{
|
|
1129
1129
|
selector: '[kendoTreeViewItemContentWrapper]',
|
|
@@ -1194,10 +1194,10 @@ class LoadingIndicatorDirective {
|
|
|
1194
1194
|
this.subscription.unsubscribe();
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1198
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadingIndicatorDirective, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1198
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LoadingIndicatorDirective, isStandalone: true, selector: "[kendoTreeViewLoading]", inputs: { index: ["kendoTreeViewLoading", "index"] }, exportAs: ["kendoTreeViewLoading"], ngImport: i0 });
|
|
1199
1199
|
}
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadingIndicatorDirective, decorators: [{
|
|
1201
1201
|
type: Directive,
|
|
1202
1202
|
args: [{
|
|
1203
1203
|
selector: '[kendoTreeViewLoading]',
|
|
@@ -1402,10 +1402,10 @@ class TreeViewItemDirective {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
this.renderer.setAttribute(this.element.nativeElement, attr, value);
|
|
1404
1404
|
}
|
|
1405
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1406
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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 });
|
|
1406
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TreeViewItemDirective, isStandalone: true, 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 });
|
|
1407
1407
|
}
|
|
1408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewItemDirective, decorators: [{
|
|
1409
1409
|
type: Directive,
|
|
1410
1410
|
args: [{
|
|
1411
1411
|
selector: '[kendoTreeViewItem]',
|
|
@@ -1489,6 +1489,7 @@ class TreeViewGroupComponent {
|
|
|
1489
1489
|
parentIndex;
|
|
1490
1490
|
nodeTemplateRef;
|
|
1491
1491
|
loadMoreButtonTemplateRef;
|
|
1492
|
+
loadMoreButtonRole;
|
|
1492
1493
|
loadMoreService;
|
|
1493
1494
|
size = undefined;
|
|
1494
1495
|
expandDisabledNodes;
|
|
@@ -1751,8 +1752,8 @@ class TreeViewGroupComponent {
|
|
|
1751
1752
|
}
|
|
1752
1753
|
this.emitChildrenLoaded(mappedChildren);
|
|
1753
1754
|
}
|
|
1754
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1755
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1755
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: IndexBuilderService }, { token: TreeViewLookupService }, { token: NavigationService }, { token: NodeChildrenService }, { token: DataChangeNotificationService }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1756
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TreeViewGroupComponent, isStandalone: true, 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", loadMoreButtonRole: "loadMoreButtonRole", loadMoreService: "loadMoreService", size: "size", expandDisabledNodes: "expandDisabledNodes", isChecked: "isChecked", isDisabled: "isDisabled", hasCheckbox: "hasCheckbox", 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: `
|
|
1756
1757
|
@for (node of data; track trackBy ? trackBy(index, node) : index; let index = $index) {
|
|
1757
1758
|
<li
|
|
1758
1759
|
class="k-treeview-item"
|
|
@@ -1858,6 +1859,7 @@ class TreeViewGroupComponent {
|
|
|
1858
1859
|
[isVisible]="isVisible"
|
|
1859
1860
|
[nodeTemplateRef]="nodeTemplateRef"
|
|
1860
1861
|
[loadMoreButtonTemplateRef]="loadMoreButtonTemplateRef"
|
|
1862
|
+
[loadMoreButtonRole]="loadMoreButtonRole"
|
|
1861
1863
|
[parentIndex]="nodeIndex(index)"
|
|
1862
1864
|
[parentDataItem]="node"
|
|
1863
1865
|
[textField]="nextFields"
|
|
@@ -1873,9 +1875,8 @@ class TreeViewGroupComponent {
|
|
|
1873
1875
|
@if (initialNodesLoaded && moreNodesAvailable) {
|
|
1874
1876
|
<li
|
|
1875
1877
|
class="k-treeview-item"
|
|
1876
|
-
[class.k-treeview-load-more-checkboxes-container]="checkboxes"
|
|
1877
1878
|
kendoTreeViewItem
|
|
1878
|
-
role="button"
|
|
1879
|
+
[role]="loadMoreButtonRole || 'button'"
|
|
1879
1880
|
[selectable]="false"
|
|
1880
1881
|
[checkable]="false"
|
|
1881
1882
|
[expandable]="false"
|
|
@@ -1916,7 +1917,7 @@ class TreeViewGroupComponent {
|
|
|
1916
1917
|
</div>
|
|
1917
1918
|
</li>
|
|
1918
1919
|
}
|
|
1919
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }, { kind: "directive", type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { kind: "directive", type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"], exportAs: ["kendoTreeViewLoading"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "directive", type: TreeViewItemContentWrapperDirective, selector: "[kendoTreeViewItemContentWrapper]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
1920
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreButtonRole", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }, { kind: "directive", type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { kind: "directive", type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"], exportAs: ["kendoTreeViewLoading"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "directive", type: TreeViewItemContentWrapperDirective, selector: "[kendoTreeViewItemContentWrapper]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
1920
1921
|
trigger('toggle', [
|
|
1921
1922
|
transition('void => *', [
|
|
1922
1923
|
style({ height: 0 }),
|
|
@@ -1929,7 +1930,7 @@ class TreeViewGroupComponent {
|
|
|
1929
1930
|
])
|
|
1930
1931
|
] });
|
|
1931
1932
|
}
|
|
1932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewGroupComponent, decorators: [{
|
|
1933
1934
|
type: Component,
|
|
1934
1935
|
args: [{
|
|
1935
1936
|
animations: [
|
|
@@ -2051,6 +2052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2051
2052
|
[isVisible]="isVisible"
|
|
2052
2053
|
[nodeTemplateRef]="nodeTemplateRef"
|
|
2053
2054
|
[loadMoreButtonTemplateRef]="loadMoreButtonTemplateRef"
|
|
2055
|
+
[loadMoreButtonRole]="loadMoreButtonRole"
|
|
2054
2056
|
[parentIndex]="nodeIndex(index)"
|
|
2055
2057
|
[parentDataItem]="node"
|
|
2056
2058
|
[textField]="nextFields"
|
|
@@ -2066,9 +2068,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2066
2068
|
@if (initialNodesLoaded && moreNodesAvailable) {
|
|
2067
2069
|
<li
|
|
2068
2070
|
class="k-treeview-item"
|
|
2069
|
-
[class.k-treeview-load-more-checkboxes-container]="checkboxes"
|
|
2070
2071
|
kendoTreeViewItem
|
|
2071
|
-
role="button"
|
|
2072
|
+
[role]="loadMoreButtonRole || 'button'"
|
|
2072
2073
|
[selectable]="false"
|
|
2073
2074
|
[checkable]="false"
|
|
2074
2075
|
[expandable]="false"
|
|
@@ -2147,6 +2148,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2147
2148
|
type: Input
|
|
2148
2149
|
}], loadMoreButtonTemplateRef: [{
|
|
2149
2150
|
type: Input
|
|
2151
|
+
}], loadMoreButtonRole: [{
|
|
2152
|
+
type: Input
|
|
2150
2153
|
}], loadMoreService: [{
|
|
2151
2154
|
type: Input
|
|
2152
2155
|
}], size: [{
|
|
@@ -2179,10 +2182,10 @@ class TreeViewMessages extends ComponentMessages {
|
|
|
2179
2182
|
* Sets the text for the `Load More` button title.
|
|
2180
2183
|
*/
|
|
2181
2184
|
loadMore;
|
|
2182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2183
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2186
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TreeViewMessages, isStandalone: true, selector: "kendo-treeview-messages-base", inputs: { loadMore: "loadMore" }, usesInheritance: true, ngImport: i0 });
|
|
2184
2187
|
}
|
|
2185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewMessages, decorators: [{
|
|
2186
2189
|
type: Directive,
|
|
2187
2190
|
args: [{
|
|
2188
2191
|
selector: 'kendo-treeview-messages-base'
|
|
@@ -2200,15 +2203,15 @@ class LocalizedMessagesDirective extends TreeViewMessages {
|
|
|
2200
2203
|
super();
|
|
2201
2204
|
this.service = service;
|
|
2202
2205
|
}
|
|
2203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2204
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2207
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoTreeViewLocalizedMessages]", providers: [
|
|
2205
2208
|
{
|
|
2206
2209
|
provide: TreeViewMessages,
|
|
2207
2210
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2208
2211
|
}
|
|
2209
2212
|
], usesInheritance: true, ngImport: i0 });
|
|
2210
2213
|
}
|
|
2211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2212
2215
|
type: Directive,
|
|
2213
2216
|
args: [{
|
|
2214
2217
|
providers: [
|
|
@@ -2245,7 +2248,8 @@ const providers = [
|
|
|
2245
2248
|
{
|
|
2246
2249
|
provide: ExpandableComponent,
|
|
2247
2250
|
useExisting: forwardRef(() => TreeViewComponent)
|
|
2248
|
-
}
|
|
2251
|
+
},
|
|
2252
|
+
provideComponentName('treeview')
|
|
2249
2253
|
];
|
|
2250
2254
|
/**
|
|
2251
2255
|
* Represents the [Kendo UI TreeView component for Angular](https://www.telerik.com/kendo-angular-ui/components/treeview).
|
|
@@ -2426,6 +2430,13 @@ class TreeViewComponent {
|
|
|
2426
2430
|
get loadMoreButtonTemplateRef() {
|
|
2427
2431
|
return this._loadMoreButtonTemplateRef || this.loadMoreButtonTemplateQuery;
|
|
2428
2432
|
}
|
|
2433
|
+
/**
|
|
2434
|
+
* @hidden
|
|
2435
|
+
*
|
|
2436
|
+
* Overrides the role attribute on the load-more button element.
|
|
2437
|
+
* Used by DropDownTree to set role="treeitem" for a11y compliance.
|
|
2438
|
+
*/
|
|
2439
|
+
loadMoreButtonRole;
|
|
2429
2440
|
/**
|
|
2430
2441
|
* A function that defines how to track node changes.
|
|
2431
2442
|
* By default, the TreeView tracks the nodes by data item object reference.
|
|
@@ -2840,8 +2851,8 @@ class TreeViewComponent {
|
|
|
2840
2851
|
}
|
|
2841
2852
|
});
|
|
2842
2853
|
}
|
|
2843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2844
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2854
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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 });
|
|
2855
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TreeViewComponent, isStandalone: true, selector: "kendo-treeview", inputs: { filterInputPlaceholder: "filterInputPlaceholder", expandDisabledNodes: "expandDisabledNodes", animate: "animate", nodeTemplateRef: ["nodeTemplate", "nodeTemplateRef"], loadMoreButtonTemplateRef: ["loadMoreButtonTemplate", "loadMoreButtonTemplateRef"], loadMoreButtonRole: "loadMoreButtonRole", trackBy: "trackBy", nodes: "nodes", textField: "textField", hasChildren: "hasChildren", isChecked: "isChecked", isDisabled: "isDisabled", hasCheckbox: "hasCheckbox", 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.dir": "this.direction", "@.disabled": "this.animate" } }, providers: [...providers, { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TreeViewComponent) }], 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 }, { propertyName: "searchbox", first: true, predicate: ["searchbox"], descendants: true }], exportAs: ["kendoTreeView"], usesOnChanges: true, ngImport: i0, template: `
|
|
2845
2856
|
<ng-container kendoTreeViewLocalizedMessages
|
|
2846
2857
|
i18n-loadMore="kendo.treeview.loadMore|The title of the Load More button"
|
|
2847
2858
|
loadMore="Load more..."
|
|
@@ -2891,6 +2902,7 @@ class TreeViewComponent {
|
|
|
2891
2902
|
[isVisible]="isVisible"
|
|
2892
2903
|
[nodeTemplateRef]="nodeTemplateRef?.templateRef"
|
|
2893
2904
|
[loadMoreButtonTemplateRef]="loadMoreButtonTemplateRef?.templateRef"
|
|
2905
|
+
[loadMoreButtonRole]="loadMoreButtonRole"
|
|
2894
2906
|
[textField]="textField"
|
|
2895
2907
|
[nodes]="fetchNodes"
|
|
2896
2908
|
[loadMoreService]="loadMoreService"
|
|
@@ -2899,9 +2911,9 @@ class TreeViewComponent {
|
|
|
2899
2911
|
>
|
|
2900
2912
|
</ul>
|
|
2901
2913
|
<ng-container #assetsContainer></ng-container>
|
|
2902
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoTreeViewLocalizedMessages]" }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
2914
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoTreeViewLocalizedMessages]" }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreButtonRole", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
2903
2915
|
}
|
|
2904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
2905
2917
|
type: Component,
|
|
2906
2918
|
args: [{
|
|
2907
2919
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
@@ -2958,6 +2970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2958
2970
|
[isVisible]="isVisible"
|
|
2959
2971
|
[nodeTemplateRef]="nodeTemplateRef?.templateRef"
|
|
2960
2972
|
[loadMoreButtonTemplateRef]="loadMoreButtonTemplateRef?.templateRef"
|
|
2973
|
+
[loadMoreButtonRole]="loadMoreButtonRole"
|
|
2961
2974
|
[textField]="textField"
|
|
2962
2975
|
[nodes]="fetchNodes"
|
|
2963
2976
|
[loadMoreService]="loadMoreService"
|
|
@@ -3039,6 +3052,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3039
3052
|
}], loadMoreButtonTemplateRef: [{
|
|
3040
3053
|
type: Input,
|
|
3041
3054
|
args: ['loadMoreButtonTemplate']
|
|
3055
|
+
}], loadMoreButtonRole: [{
|
|
3056
|
+
type: Input
|
|
3042
3057
|
}], trackBy: [{
|
|
3043
3058
|
type: Input
|
|
3044
3059
|
}], nodes: [{
|
|
@@ -3375,10 +3390,10 @@ class CheckDirective {
|
|
|
3375
3390
|
this.zone.run(() => this.notify());
|
|
3376
3391
|
}
|
|
3377
3392
|
}
|
|
3378
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3379
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3393
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckDirective, deps: [{ token: TreeViewComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3394
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CheckDirective, isStandalone: true, selector: "[kendoTreeViewCheckable]", inputs: { isChecked: "isChecked", checkKey: ["checkBy", "checkKey"], checkedKeys: "checkedKeys", checkable: ["kendoTreeViewCheckable", "checkable"] }, outputs: { checkedKeysChange: "checkedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
3380
3395
|
}
|
|
3381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckDirective, decorators: [{
|
|
3382
3397
|
type: Directive,
|
|
3383
3398
|
args: [{
|
|
3384
3399
|
selector: '[kendoTreeViewCheckable]',
|
|
@@ -3456,10 +3471,10 @@ class DisableDirective {
|
|
|
3456
3471
|
return this.disableKey(e);
|
|
3457
3472
|
}
|
|
3458
3473
|
}
|
|
3459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3460
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisableDirective, deps: [{ token: TreeViewComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3475
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DisableDirective, isStandalone: true, selector: "[kendoTreeViewDisable]", inputs: { isDisabled: "isDisabled", disableKey: ["kendoTreeViewDisable", "disableKey"], disabledKeys: "disabledKeys" }, usesOnChanges: true, ngImport: i0 });
|
|
3461
3476
|
}
|
|
3462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisableDirective, decorators: [{
|
|
3463
3478
|
type: Directive,
|
|
3464
3479
|
args: [{
|
|
3465
3480
|
selector: '[kendoTreeViewDisable]',
|
|
@@ -3528,10 +3543,10 @@ class DragAndDropEditingDirective {
|
|
|
3528
3543
|
}
|
|
3529
3544
|
this.treeview.editService.remove(args);
|
|
3530
3545
|
}
|
|
3531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3532
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropEditingDirective, deps: [{ token: TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3547
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DragAndDropEditingDirective, isStandalone: true, selector: "[kendoTreeViewDragAndDropEditing]", inputs: { editService: "editService" }, ngImport: i0 });
|
|
3533
3548
|
}
|
|
3534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropEditingDirective, decorators: [{
|
|
3535
3550
|
type: Directive,
|
|
3536
3551
|
args: [{
|
|
3537
3552
|
selector: '[kendoTreeViewDragAndDropEditing]',
|
|
@@ -3766,8 +3781,8 @@ class DragClueComponent {
|
|
|
3766
3781
|
detectChanges() {
|
|
3767
3782
|
this.cdr.detectChanges();
|
|
3768
3783
|
}
|
|
3769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3770
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3784
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3785
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DragClueComponent, isStandalone: true, 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: `
|
|
3771
3786
|
@if (!template) {
|
|
3772
3787
|
<kendo-icon-wrapper
|
|
3773
3788
|
innerCssClass="k-drag-status"
|
|
@@ -3792,7 +3807,7 @@ class DragClueComponent {
|
|
|
3792
3807
|
}
|
|
3793
3808
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3794
3809
|
}
|
|
3795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
3796
3811
|
type: Component,
|
|
3797
3812
|
args: [{
|
|
3798
3813
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -3870,10 +3885,10 @@ class DragAndDropAssetService {
|
|
|
3870
3885
|
this.element.style.left = `${left + offset}px`;
|
|
3871
3886
|
this.element.style.top = `${top + offset}px`;
|
|
3872
3887
|
}
|
|
3873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3874
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3888
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropAssetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3889
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropAssetService });
|
|
3875
3890
|
}
|
|
3876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropAssetService, decorators: [{
|
|
3877
3892
|
type: Injectable
|
|
3878
3893
|
}] });
|
|
3879
3894
|
|
|
@@ -4247,10 +4262,10 @@ class DragClueService extends DragAndDropAssetService {
|
|
|
4247
4262
|
this.scrollInterval = null;
|
|
4248
4263
|
}
|
|
4249
4264
|
}
|
|
4250
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4251
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4266
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueService });
|
|
4252
4267
|
}
|
|
4253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueService, decorators: [{
|
|
4254
4269
|
type: Injectable
|
|
4255
4270
|
}], ctorParameters: () => [] });
|
|
4256
4271
|
|
|
@@ -4285,8 +4300,8 @@ class DropHintComponent {
|
|
|
4285
4300
|
detectChanges() {
|
|
4286
4301
|
this.changeDetectorRef.detectChanges();
|
|
4287
4302
|
}
|
|
4288
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4289
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
4303
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4304
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DropHintComponent, isStandalone: true, 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: `
|
|
4290
4305
|
@if (!template) {
|
|
4291
4306
|
<div
|
|
4292
4307
|
class="k-drop-hint k-drop-hint-h"
|
|
@@ -4309,7 +4324,7 @@ class DropHintComponent {
|
|
|
4309
4324
|
}
|
|
4310
4325
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4311
4326
|
}
|
|
4312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
4313
4328
|
type: Component,
|
|
4314
4329
|
args: [{
|
|
4315
4330
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4376,10 +4391,10 @@ class DropHintService extends DragAndDropAssetService {
|
|
|
4376
4391
|
dropHint.destinationItem = destinationItem;
|
|
4377
4392
|
dropHint.detectChanges();
|
|
4378
4393
|
}
|
|
4379
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4380
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4394
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4395
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintService });
|
|
4381
4396
|
}
|
|
4382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintService, decorators: [{
|
|
4383
4398
|
type: Injectable
|
|
4384
4399
|
}], ctorParameters: () => [] });
|
|
4385
4400
|
|
|
@@ -4409,10 +4424,10 @@ class DragClueTemplateDirective {
|
|
|
4409
4424
|
constructor(templateRef) {
|
|
4410
4425
|
this.templateRef = templateRef;
|
|
4411
4426
|
}
|
|
4412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4413
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4428
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DragClueTemplateDirective, isStandalone: true, selector: "[kendoTreeViewDragClueTemplate]", ngImport: i0 });
|
|
4414
4429
|
}
|
|
4415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragClueTemplateDirective, decorators: [{
|
|
4416
4431
|
type: Directive,
|
|
4417
4432
|
args: [{
|
|
4418
4433
|
selector: '[kendoTreeViewDragClueTemplate]',
|
|
@@ -4447,10 +4462,10 @@ class DropHintTemplateDirective {
|
|
|
4447
4462
|
constructor(templateRef) {
|
|
4448
4463
|
this.templateRef = templateRef;
|
|
4449
4464
|
}
|
|
4450
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4451
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4466
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DropHintTemplateDirective, isStandalone: true, selector: "[kendoTreeViewDropHintTemplate]", ngImport: i0 });
|
|
4452
4467
|
}
|
|
4453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropHintTemplateDirective, decorators: [{
|
|
4454
4469
|
type: Directive,
|
|
4455
4470
|
args: [{
|
|
4456
4471
|
selector: '[kendoTreeViewDropHintTemplate]',
|
|
@@ -4746,13 +4761,13 @@ class DragAndDropDirective {
|
|
|
4746
4761
|
this.containerOffset = getContainerOffset(this.draggedItem);
|
|
4747
4762
|
this.pendingDragStartEvent = null;
|
|
4748
4763
|
}
|
|
4749
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4750
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4764
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: TreeViewComponent }, { token: DragClueService }, { token: DropHintService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4765
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DragAndDropDirective, isStandalone: true, 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: [
|
|
4751
4766
|
DragClueService,
|
|
4752
4767
|
DropHintService
|
|
4753
4768
|
], queries: [{ propertyName: "dragClueTemplate", first: true, predicate: DragClueTemplateDirective, descendants: true }, { propertyName: "dropHintTemplate", first: true, predicate: DropHintTemplateDirective, descendants: true }], ngImport: i0 });
|
|
4754
4769
|
}
|
|
4755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DragAndDropDirective, decorators: [{
|
|
4756
4771
|
type: Directive,
|
|
4757
4772
|
args: [{
|
|
4758
4773
|
selector: '[kendoTreeViewDragAndDrop]',
|
|
@@ -4983,10 +4998,10 @@ class ExpandDirective {
|
|
|
4983
4998
|
this.lastChange = Array.from(this.state);
|
|
4984
4999
|
this.expandedKeysChange.emit(this.lastChange);
|
|
4985
5000
|
}
|
|
4986
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4987
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5001
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandDirective, deps: [{ token: ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5002
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ExpandDirective, isStandalone: true, selector: "[kendoTreeViewExpandable]", inputs: { isExpanded: "isExpanded", expandKey: ["expandBy", "expandKey"], expandOnFilter: "expandOnFilter", expandedKeys: "expandedKeys" }, outputs: { expandedKeysChange: "expandedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
4988
5003
|
}
|
|
4989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExpandDirective, decorators: [{
|
|
4990
5005
|
type: Directive,
|
|
4991
5006
|
args: [{
|
|
4992
5007
|
selector: '[kendoTreeViewExpandable]',
|
|
@@ -5259,10 +5274,10 @@ class FilteringBase {
|
|
|
5259
5274
|
}
|
|
5260
5275
|
});
|
|
5261
5276
|
}
|
|
5262
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5263
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilteringBase, deps: [{ token: DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5278
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FilteringBase, isStandalone: true, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
|
|
5264
5279
|
}
|
|
5265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilteringBase, decorators: [{
|
|
5266
5281
|
type: Directive
|
|
5267
5282
|
}], ctorParameters: () => [{ type: DataBoundComponent }], propDecorators: { filterSettings: [{
|
|
5268
5283
|
type: Input
|
|
@@ -5404,10 +5419,10 @@ class FlatDataBindingDirective extends FilteringBase {
|
|
|
5404
5419
|
this.component.nodes = this.originalData.slice(0);
|
|
5405
5420
|
}
|
|
5406
5421
|
}
|
|
5407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5408
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5422
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FlatDataBindingDirective, deps: [{ token: DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5423
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FlatDataBindingDirective, isStandalone: true, selector: "[kendoTreeViewFlatDataBinding]", inputs: { nodes: "nodes", parentIdField: "parentIdField", idField: "idField", loadOnDemand: "loadOnDemand", isVisible: "isVisible" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5409
5424
|
}
|
|
5410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FlatDataBindingDirective, decorators: [{
|
|
5411
5426
|
type: Directive,
|
|
5412
5427
|
args: [{
|
|
5413
5428
|
selector: "[kendoTreeViewFlatDataBinding]",
|
|
@@ -5642,10 +5657,10 @@ class HierarchyBindingDirective extends FilteringBase {
|
|
|
5642
5657
|
this.updateVisibleNodes(this.filterData);
|
|
5643
5658
|
}
|
|
5644
5659
|
}
|
|
5645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5646
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5660
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: DataBoundComponent }, { token: DragAndDropDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5661
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: HierarchyBindingDirective, isStandalone: true, selector: "[kendoTreeViewHierarchyBinding]", inputs: { childrenField: "childrenField", nodes: "nodes", isVisible: "isVisible", loadOnDemand: "loadOnDemand" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
5647
5662
|
}
|
|
5648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
5649
5664
|
type: Directive,
|
|
5650
5665
|
args: [{
|
|
5651
5666
|
selector: '[kendoTreeViewHierarchyBinding]',
|
|
@@ -5773,10 +5788,10 @@ class LoadMoreDirective {
|
|
|
5773
5788
|
getInitalPageSize() {
|
|
5774
5789
|
return this.pageSize;
|
|
5775
5790
|
}
|
|
5776
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5777
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5791
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadMoreDirective, deps: [{ token: TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5792
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LoadMoreDirective, isStandalone: true, selector: "[kendoTreeViewLoadMore]", inputs: { loadMoreNodes: ["kendoTreeViewLoadMore", "loadMoreNodes"], pageSize: "pageSize", totalRootNodes: "totalRootNodes", totalField: "totalField" }, usesOnChanges: true, ngImport: i0 });
|
|
5778
5793
|
}
|
|
5779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoadMoreDirective, decorators: [{
|
|
5780
5795
|
type: Directive,
|
|
5781
5796
|
args: [{
|
|
5782
5797
|
selector: '[kendoTreeViewLoadMore]',
|
|
@@ -5816,15 +5831,15 @@ class CustomMessagesComponent extends TreeViewMessages {
|
|
|
5816
5831
|
get override() {
|
|
5817
5832
|
return true;
|
|
5818
5833
|
}
|
|
5819
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5820
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5834
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5835
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-treeview-messages", providers: [
|
|
5821
5836
|
{
|
|
5822
5837
|
provide: TreeViewMessages,
|
|
5823
5838
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
5824
5839
|
}
|
|
5825
5840
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5826
5841
|
}
|
|
5827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
5828
5843
|
type: Component,
|
|
5829
5844
|
args: [{
|
|
5830
5845
|
providers: [
|
|
@@ -5885,7 +5900,7 @@ class SelectDirective {
|
|
|
5885
5900
|
*/
|
|
5886
5901
|
selectedKeysChange = new EventEmitter();
|
|
5887
5902
|
get getAriaMultiselectable() {
|
|
5888
|
-
return this.options.mode === 'multiple';
|
|
5903
|
+
return this.options.mode === 'multiple' ? true : null;
|
|
5889
5904
|
}
|
|
5890
5905
|
subscriptions = new Subscription();
|
|
5891
5906
|
get options() {
|
|
@@ -5975,10 +5990,10 @@ class SelectDirective {
|
|
|
5975
5990
|
this.lastChange = Array.from(this.state);
|
|
5976
5991
|
this.selectedKeysChange.emit(this.lastChange);
|
|
5977
5992
|
}
|
|
5978
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5979
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5993
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectDirective, deps: [{ token: TreeViewComponent }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5994
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: SelectDirective, isStandalone: true, 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 });
|
|
5980
5995
|
}
|
|
5981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectDirective, decorators: [{
|
|
5982
5997
|
type: Directive,
|
|
5983
5998
|
args: [{
|
|
5984
5999
|
selector: '[kendoTreeViewSelectable]',
|
|
@@ -6056,9 +6071,9 @@ const KENDO_TREEVIEW = [
|
|
|
6056
6071
|
* ```
|
|
6057
6072
|
*/
|
|
6058
6073
|
class TreeViewModule {
|
|
6059
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6060
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
6061
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
6074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6075
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: TreeViewModule, imports: [TreeViewComponent, NodeTemplateDirective, CheckDirective, DisableDirective, ExpandDirective, SelectDirective, HierarchyBindingDirective, FlatDataBindingDirective, DragAndDropDirective, DragClueTemplateDirective, DropHintTemplateDirective, DragAndDropEditingDirective, LoadMoreDirective, LoadMoreButtonTemplateDirective, CustomMessagesComponent], exports: [TreeViewComponent, NodeTemplateDirective, CheckDirective, DisableDirective, ExpandDirective, SelectDirective, HierarchyBindingDirective, FlatDataBindingDirective, DragAndDropDirective, DragClueTemplateDirective, DropHintTemplateDirective, DragAndDropEditingDirective, LoadMoreDirective, LoadMoreButtonTemplateDirective, CustomMessagesComponent] });
|
|
6076
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewModule, providers: [
|
|
6062
6077
|
IconsService,
|
|
6063
6078
|
PopupService,
|
|
6064
6079
|
ResizeBatchService,
|
|
@@ -6068,7 +6083,7 @@ class TreeViewModule {
|
|
|
6068
6083
|
WindowContainerService
|
|
6069
6084
|
], imports: [TreeViewComponent] });
|
|
6070
6085
|
}
|
|
6071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TreeViewModule, decorators: [{
|
|
6072
6087
|
type: NgModule,
|
|
6073
6088
|
args: [{
|
|
6074
6089
|
imports: [...KENDO_TREEVIEW],
|
package/index.d.ts
CHANGED
|
@@ -923,6 +923,13 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
923
923
|
*/
|
|
924
924
|
set loadMoreButtonTemplateRef(template: LoadMoreButtonTemplateDirective);
|
|
925
925
|
get loadMoreButtonTemplateRef(): LoadMoreButtonTemplateDirective;
|
|
926
|
+
/**
|
|
927
|
+
* @hidden
|
|
928
|
+
*
|
|
929
|
+
* Overrides the role attribute on the load-more button element.
|
|
930
|
+
* Used by DropDownTree to set role="treeitem" for a11y compliance.
|
|
931
|
+
*/
|
|
932
|
+
loadMoreButtonRole: string;
|
|
926
933
|
/**
|
|
927
934
|
* A function that defines how to track node changes.
|
|
928
935
|
* By default, the TreeView tracks the nodes by data item object reference.
|
|
@@ -1106,7 +1113,7 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
1106
1113
|
private verifyLoadMoreService;
|
|
1107
1114
|
private registerLookupItems;
|
|
1108
1115
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
|
|
1109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kendo-treeview", ["kendoTreeView"], { "filterInputPlaceholder": { "alias": "filterInputPlaceholder"; "required": false; }; "expandDisabledNodes": { "alias": "expandDisabledNodes"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "nodeTemplateRef": { "alias": "nodeTemplate"; "required": false; }; "loadMoreButtonTemplateRef": { "alias": "loadMoreButtonTemplate"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "hasCheckbox": { "alias": "hasCheckbox"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "children": { "alias": "children"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disableParentNodesOnly": { "alias": "disableParentNodesOnly"; "required": false; }; }, { "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"; }, ["nodeTemplateQuery", "loadMoreButtonTemplateQuery"], never, true, never>;
|
|
1116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kendo-treeview", ["kendoTreeView"], { "filterInputPlaceholder": { "alias": "filterInputPlaceholder"; "required": false; }; "expandDisabledNodes": { "alias": "expandDisabledNodes"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "nodeTemplateRef": { "alias": "nodeTemplate"; "required": false; }; "loadMoreButtonTemplateRef": { "alias": "loadMoreButtonTemplate"; "required": false; }; "loadMoreButtonRole": { "alias": "loadMoreButtonRole"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "hasCheckbox": { "alias": "hasCheckbox"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "children": { "alias": "children"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disableParentNodesOnly": { "alias": "disableParentNodesOnly"; "required": false; }; }, { "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"; }, ["nodeTemplateQuery", "loadMoreButtonTemplateQuery"], never, true, never>;
|
|
1110
1117
|
}
|
|
1111
1118
|
|
|
1112
1119
|
/**
|
|
@@ -1482,7 +1489,7 @@ declare class SelectDirective implements OnDestroy, OnChanges {
|
|
|
1482
1489
|
* Emits when the `selectedKeys` collection updates.
|
|
1483
1490
|
*/
|
|
1484
1491
|
selectedKeysChange: EventEmitter<any[]>;
|
|
1485
|
-
get getAriaMultiselectable(): boolean;
|
|
1492
|
+
get getAriaMultiselectable(): boolean | null;
|
|
1486
1493
|
protected subscriptions: Subscription;
|
|
1487
1494
|
private get options();
|
|
1488
1495
|
private selectActions;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0
|
|
10
|
+
"publishDate": 1786525891,
|
|
11
|
+
"version": "25.0.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treeview",
|
|
3
|
-
"version": "25.0.0
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"description": "Kendo UI TreeView for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -28,13 +28,20 @@
|
|
|
28
28
|
"file": "codemods/v23/treeview-rendering-changes.js",
|
|
29
29
|
"instructionsOnly": true
|
|
30
30
|
}
|
|
31
|
+
],
|
|
32
|
+
"25": [
|
|
33
|
+
{
|
|
34
|
+
"description": "The TreeView has rendering changes that may affect custom styling.",
|
|
35
|
+
"file": "codemods/v25/treeview-rendering-changes.js",
|
|
36
|
+
"instructionsOnly": true
|
|
37
|
+
}
|
|
31
38
|
]
|
|
32
39
|
}
|
|
33
40
|
},
|
|
34
41
|
"package": {
|
|
35
42
|
"productName": "Kendo UI for Angular",
|
|
36
43
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
44
|
+
"publishDate": 1786525891,
|
|
38
45
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
39
46
|
}
|
|
40
47
|
},
|
|
@@ -44,15 +51,15 @@
|
|
|
44
51
|
"@angular/core": "20 - 22",
|
|
45
52
|
"@angular/platform-browser": "20 - 22",
|
|
46
53
|
"@progress/kendo-licensing": "^1.11.0",
|
|
47
|
-
"@progress/kendo-angular-common": "25.0.0
|
|
48
|
-
"@progress/kendo-angular-inputs": "25.0.0
|
|
49
|
-
"@progress/kendo-angular-icons": "25.0.0
|
|
50
|
-
"@progress/kendo-angular-l10n": "25.0.0
|
|
54
|
+
"@progress/kendo-angular-common": "25.0.0",
|
|
55
|
+
"@progress/kendo-angular-inputs": "25.0.0",
|
|
56
|
+
"@progress/kendo-angular-icons": "25.0.0",
|
|
57
|
+
"@progress/kendo-angular-l10n": "25.0.0",
|
|
51
58
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
52
59
|
},
|
|
53
60
|
"dependencies": {
|
|
54
61
|
"tslib": "^2.3.1",
|
|
55
|
-
"@progress/kendo-angular-schematics": "25.0.0
|
|
62
|
+
"@progress/kendo-angular-schematics": "25.0.0",
|
|
56
63
|
"@progress/kendo-common": "^1.0.1",
|
|
57
64
|
"@progress/kendo-draggable": "^3.0.2"
|
|
58
65
|
},
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
|
|
11
11
|
// Peers of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-buttons': '25.0.0
|
|
13
|
-
'@progress/kendo-angular-dialog': '25.0.0
|
|
14
|
-
'@progress/kendo-angular-intl': '25.0.0
|
|
15
|
-
'@progress/kendo-angular-popup': '25.0.0
|
|
12
|
+
'@progress/kendo-angular-buttons': '25.0.0',
|
|
13
|
+
'@progress/kendo-angular-dialog': '25.0.0',
|
|
14
|
+
'@progress/kendo-angular-intl': '25.0.0',
|
|
15
|
+
'@progress/kendo-angular-popup': '25.0.0',
|
|
16
16
|
'@progress/kendo-drawing': '^1.9.3',
|
|
17
17
|
// Peer dependency of icons
|
|
18
18
|
'@progress/kendo-svg-icons': '^4.0.0'
|