@progress/kendo-angular-treeview 13.0.0-develop.5 → 13.0.0-develop.7
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/esm2020/drag-and-drop/drag-clue/drag-clue.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/treeview-group.component.mjs +20 -13
- package/esm2020/treeview.component.mjs +1 -1
- package/fesm2015/progress-kendo-angular-treeview.mjs +20 -15
- package/fesm2020/progress-kendo-angular-treeview.mjs +20 -15
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +4 -4
- package/treeview-group.component.d.ts +7 -1
|
@@ -65,7 +65,7 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
65
65
|
}"
|
|
66
66
|
>
|
|
67
67
|
</ng-template>
|
|
68
|
-
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
68
|
+
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
69
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treeview',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '13.0.0-develop.
|
|
12
|
+
publishDate: 1685096924,
|
|
13
|
+
version: '13.0.0-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -15,7 +15,8 @@ import { LoadingNotificationService } from './loading-notification.service';
|
|
|
15
15
|
import { Subscription, EMPTY, of } from 'rxjs';
|
|
16
16
|
import { catchError, tap, finalize, filter } from 'rxjs/operators';
|
|
17
17
|
import { DataChangeNotificationService } from './data-change-notification.service';
|
|
18
|
-
import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
18
|
+
import { caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
19
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
import * as i1 from "./expand-state.service";
|
|
21
22
|
import * as i2 from "./loading-notification.service";
|
|
@@ -24,12 +25,13 @@ import * as i4 from "./treeview-lookup.service";
|
|
|
24
25
|
import * as i5 from "./navigation/navigation.service";
|
|
25
26
|
import * as i6 from "./node-children.service";
|
|
26
27
|
import * as i7 from "./data-change-notification.service";
|
|
27
|
-
import * as i8 from "@progress/kendo-angular-
|
|
28
|
-
import * as i9 from "
|
|
29
|
-
import * as i10 from "
|
|
30
|
-
import * as i11 from "
|
|
31
|
-
import * as i12 from "./
|
|
32
|
-
import * as i13 from "./
|
|
28
|
+
import * as i8 from "@progress/kendo-angular-l10n";
|
|
29
|
+
import * as i9 from "@progress/kendo-angular-icons";
|
|
30
|
+
import * as i10 from "./checkbox/checkbox.component";
|
|
31
|
+
import * as i11 from "@angular/common";
|
|
32
|
+
import * as i12 from "./treeview-item.directive";
|
|
33
|
+
import * as i13 from "./loading-indicator.directive";
|
|
34
|
+
import * as i14 from "./treeview-item-content.directive";
|
|
33
35
|
const TOP_ITEM = 'k-treeview-top';
|
|
34
36
|
const MID_ITEM = 'k-treeview-mid';
|
|
35
37
|
const BOT_ITEM = 'k-treeview-bot';
|
|
@@ -37,7 +39,7 @@ const BOT_ITEM = 'k-treeview-bot';
|
|
|
37
39
|
* @hidden
|
|
38
40
|
*/
|
|
39
41
|
export class TreeViewGroupComponent {
|
|
40
|
-
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef) {
|
|
42
|
+
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef, localization) {
|
|
41
43
|
this.expandService = expandService;
|
|
42
44
|
this.loadingService = loadingService;
|
|
43
45
|
this.indexBuilder = indexBuilder;
|
|
@@ -46,6 +48,7 @@ export class TreeViewGroupComponent {
|
|
|
46
48
|
this.nodeChildrenService = nodeChildrenService;
|
|
47
49
|
this.dataChangeNotification = dataChangeNotification;
|
|
48
50
|
this.changeDetectorRef = changeDetectorRef;
|
|
51
|
+
this.localization = localization;
|
|
49
52
|
/**
|
|
50
53
|
* @hidden
|
|
51
54
|
*/
|
|
@@ -54,6 +57,10 @@ export class TreeViewGroupComponent {
|
|
|
54
57
|
* @hidden
|
|
55
58
|
*/
|
|
56
59
|
this.caretAltRightIcon = caretAltRightIcon;
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
*/
|
|
63
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
57
64
|
this.kGroupClass = true;
|
|
58
65
|
this.loadOnDemand = true;
|
|
59
66
|
this.textField = "";
|
|
@@ -75,10 +82,10 @@ export class TreeViewGroupComponent {
|
|
|
75
82
|
return this.parentIndex ? 'group' : 'tree';
|
|
76
83
|
}
|
|
77
84
|
getFontIcon(node, index) {
|
|
78
|
-
return this.isExpanded(node, index) ? 'caret-alt-down' : 'caret-alt-right';
|
|
85
|
+
return this.isExpanded(node, index) ? 'caret-alt-down' : !this.localization.rtl ? 'caret-alt-right' : 'caret-alt-left';
|
|
79
86
|
}
|
|
80
87
|
getSvgIcon(node, index) {
|
|
81
|
-
return this.isExpanded(node, index) ? caretAltDownIcon : caretAltRightIcon;
|
|
88
|
+
return this.isExpanded(node, index) ? caretAltDownIcon : !this.localization.rtl ? caretAltRightIcon : caretAltLeftIcon;
|
|
82
89
|
}
|
|
83
90
|
get moreNodesAvailable() {
|
|
84
91
|
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
@@ -288,7 +295,7 @@ export class TreeViewGroupComponent {
|
|
|
288
295
|
this.emitChildrenLoaded(mappedChildren);
|
|
289
296
|
}
|
|
290
297
|
}
|
|
291
|
-
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: i1.ExpandStateService }, { token: i2.LoadingNotificationService }, { token: i3.IndexBuilderService }, { token: i4.TreeViewLookupService }, { token: i5.NavigationService }, { token: i6.NodeChildrenService }, { token: i7.DataChangeNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
298
|
+
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: i1.ExpandStateService }, { token: i2.LoadingNotificationService }, { token: i3.IndexBuilderService }, { token: i4.TreeViewLookupService }, { token: i5.NavigationService }, { token: i6.NodeChildrenService }, { token: i7.DataChangeNotificationService }, { token: i0.ChangeDetectorRef }, { token: i8.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
292
299
|
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: { checkboxes: "checkboxes", expandIcons: "expandIcons", disabled: "disabled", selectable: "selectable", touchActions: "touchActions", disableParentNodesOnly: "disableParentNodesOnly", loadOnDemand: "loadOnDemand", trackBy: "trackBy", nodes: "nodes", textField: "textField", parentDataItem: "parentDataItem", parentIndex: "parentIndex", nodeTemplateRef: "nodeTemplateRef", loadMoreButtonTemplateRef: "loadMoreButtonTemplateRef", loadMoreService: "loadMoreService", size: "size", expandDisabledNodes: "expandDisabledNodes", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isVisible: "isVisible", isSelected: "isSelected", children: "children", hasChildren: "hasChildren" }, host: { properties: { "class.k-treeview-group": "this.kGroupClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
293
300
|
<li
|
|
294
301
|
*ngFor="let node of data; let index = index; trackBy: trackBy"
|
|
@@ -437,7 +444,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
437
444
|
</span>
|
|
438
445
|
</div>
|
|
439
446
|
</li>
|
|
440
|
-
`, isInline: true, components: [{ type:
|
|
447
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i10.CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: i14.TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i11.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i11.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
|
|
441
448
|
trigger('toggle', [
|
|
442
449
|
transition('void => *', [
|
|
443
450
|
style({ height: 0 }),
|
|
@@ -616,7 +623,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
616
623
|
</li>
|
|
617
624
|
`
|
|
618
625
|
}]
|
|
619
|
-
}], ctorParameters: function () { return [{ type: i1.ExpandStateService }, { type: i2.LoadingNotificationService }, { type: i3.IndexBuilderService }, { type: i4.TreeViewLookupService }, { type: i5.NavigationService }, { type: i6.NodeChildrenService }, { type: i7.DataChangeNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { kGroupClass: [{
|
|
626
|
+
}], ctorParameters: function () { return [{ type: i1.ExpandStateService }, { type: i2.LoadingNotificationService }, { type: i3.IndexBuilderService }, { type: i4.TreeViewLookupService }, { type: i5.NavigationService }, { type: i6.NodeChildrenService }, { type: i7.DataChangeNotificationService }, { type: i0.ChangeDetectorRef }, { type: i8.LocalizationService }]; }, propDecorators: { kGroupClass: [{
|
|
620
627
|
type: HostBinding,
|
|
621
628
|
args: ["class.k-treeview-group"]
|
|
622
629
|
}], role: [{
|
|
@@ -685,7 +685,7 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
685
685
|
>
|
|
686
686
|
</ul>
|
|
687
687
|
<ng-container #assetsContainer></ng-container>
|
|
688
|
-
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i10.TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
688
|
+
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i10.TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
689
689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
690
690
|
type: Component,
|
|
691
691
|
args: [{
|
|
@@ -10,14 +10,14 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import { Subject, of, Subscription, EMPTY, BehaviorSubject, merge } from 'rxjs';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter, setter } from '@progress/kendo-common';
|
|
13
|
-
import { caretAltDownIcon, caretAltRightIcon, searchIcon, cancelIcon, insertMiddleIcon, insertBottomIcon, insertTopIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
14
|
-
import * as i8
|
|
13
|
+
import { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, searchIcon, cancelIcon, insertMiddleIcon, insertBottomIcon, insertTopIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
14
|
+
import * as i8 from '@progress/kendo-angular-inputs';
|
|
15
15
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i9 from '@progress/kendo-angular-icons';
|
|
17
17
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
18
18
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
19
19
|
import { filter, tap, switchMap, delay, takeUntil, catchError, finalize, take, map } from 'rxjs/operators';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i11 from '@angular/common';
|
|
21
21
|
import { CommonModule } from '@angular/common';
|
|
22
22
|
import { Draggable } from '@progress/kendo-draggable';
|
|
23
23
|
|
|
@@ -28,8 +28,8 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-treeview',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
32
|
-
version: '13.0.0-develop.
|
|
31
|
+
publishDate: 1685096924,
|
|
32
|
+
version: '13.0.0-develop.7',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -1519,7 +1519,7 @@ const BOT_ITEM = 'k-treeview-bot';
|
|
|
1519
1519
|
* @hidden
|
|
1520
1520
|
*/
|
|
1521
1521
|
class TreeViewGroupComponent {
|
|
1522
|
-
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef) {
|
|
1522
|
+
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef, localization) {
|
|
1523
1523
|
this.expandService = expandService;
|
|
1524
1524
|
this.loadingService = loadingService;
|
|
1525
1525
|
this.indexBuilder = indexBuilder;
|
|
@@ -1528,6 +1528,7 @@ class TreeViewGroupComponent {
|
|
|
1528
1528
|
this.nodeChildrenService = nodeChildrenService;
|
|
1529
1529
|
this.dataChangeNotification = dataChangeNotification;
|
|
1530
1530
|
this.changeDetectorRef = changeDetectorRef;
|
|
1531
|
+
this.localization = localization;
|
|
1531
1532
|
/**
|
|
1532
1533
|
* @hidden
|
|
1533
1534
|
*/
|
|
@@ -1536,6 +1537,10 @@ class TreeViewGroupComponent {
|
|
|
1536
1537
|
* @hidden
|
|
1537
1538
|
*/
|
|
1538
1539
|
this.caretAltRightIcon = caretAltRightIcon;
|
|
1540
|
+
/**
|
|
1541
|
+
* @hidden
|
|
1542
|
+
*/
|
|
1543
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
1539
1544
|
this.kGroupClass = true;
|
|
1540
1545
|
this.loadOnDemand = true;
|
|
1541
1546
|
this.textField = "";
|
|
@@ -1557,10 +1562,10 @@ class TreeViewGroupComponent {
|
|
|
1557
1562
|
return this.parentIndex ? 'group' : 'tree';
|
|
1558
1563
|
}
|
|
1559
1564
|
getFontIcon(node, index) {
|
|
1560
|
-
return this.isExpanded(node, index) ? 'caret-alt-down' : 'caret-alt-right';
|
|
1565
|
+
return this.isExpanded(node, index) ? 'caret-alt-down' : !this.localization.rtl ? 'caret-alt-right' : 'caret-alt-left';
|
|
1561
1566
|
}
|
|
1562
1567
|
getSvgIcon(node, index) {
|
|
1563
|
-
return this.isExpanded(node, index) ? caretAltDownIcon : caretAltRightIcon;
|
|
1568
|
+
return this.isExpanded(node, index) ? caretAltDownIcon : !this.localization.rtl ? caretAltRightIcon : caretAltLeftIcon;
|
|
1564
1569
|
}
|
|
1565
1570
|
get moreNodesAvailable() {
|
|
1566
1571
|
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
@@ -1770,7 +1775,7 @@ class TreeViewGroupComponent {
|
|
|
1770
1775
|
this.emitChildrenLoaded(mappedChildren);
|
|
1771
1776
|
}
|
|
1772
1777
|
}
|
|
1773
|
-
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: IndexBuilderService }, { token: TreeViewLookupService }, { token: NavigationService }, { token: NodeChildrenService }, { token: DataChangeNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1778
|
+
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1774
1779
|
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: { checkboxes: "checkboxes", expandIcons: "expandIcons", disabled: "disabled", selectable: "selectable", touchActions: "touchActions", disableParentNodesOnly: "disableParentNodesOnly", loadOnDemand: "loadOnDemand", trackBy: "trackBy", nodes: "nodes", textField: "textField", parentDataItem: "parentDataItem", parentIndex: "parentIndex", nodeTemplateRef: "nodeTemplateRef", loadMoreButtonTemplateRef: "loadMoreButtonTemplateRef", loadMoreService: "loadMoreService", size: "size", expandDisabledNodes: "expandDisabledNodes", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isVisible: "isVisible", isSelected: "isSelected", children: "children", hasChildren: "hasChildren" }, host: { properties: { "class.k-treeview-group": "this.kGroupClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
1775
1780
|
<li
|
|
1776
1781
|
*ngFor="let node of data; let index = index; trackBy: trackBy"
|
|
@@ -1919,7 +1924,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1919
1924
|
</span>
|
|
1920
1925
|
</div>
|
|
1921
1926
|
</li>
|
|
1922
|
-
`, isInline: true, components: [{ type:
|
|
1927
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i11.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i11.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
|
|
1923
1928
|
trigger('toggle', [
|
|
1924
1929
|
transition('void => *', [
|
|
1925
1930
|
style({ height: 0 }),
|
|
@@ -2098,7 +2103,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2098
2103
|
</li>
|
|
2099
2104
|
`
|
|
2100
2105
|
}]
|
|
2101
|
-
}], ctorParameters: function () { return [{ type: ExpandStateService }, { type: LoadingNotificationService }, { type: IndexBuilderService }, { type: TreeViewLookupService }, { type: NavigationService }, { type: NodeChildrenService }, { type: DataChangeNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { kGroupClass: [{
|
|
2106
|
+
}], ctorParameters: function () { return [{ type: ExpandStateService }, { type: LoadingNotificationService }, { type: IndexBuilderService }, { type: TreeViewLookupService }, { type: NavigationService }, { type: NodeChildrenService }, { type: DataChangeNotificationService }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; }, propDecorators: { kGroupClass: [{
|
|
2102
2107
|
type: HostBinding,
|
|
2103
2108
|
args: ["class.k-treeview-group"]
|
|
2104
2109
|
}], role: [{
|
|
@@ -2803,7 +2808,7 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2803
2808
|
>
|
|
2804
2809
|
</ul>
|
|
2805
2810
|
<ng-container #assetsContainer></ng-container>
|
|
2806
|
-
`, isInline: true, components: [{ type: i8
|
|
2811
|
+
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
2807
2812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
2808
2813
|
type: Component,
|
|
2809
2814
|
args: [{
|
|
@@ -4206,7 +4211,7 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4206
4211
|
}"
|
|
4207
4212
|
>
|
|
4208
4213
|
</ng-template>
|
|
4209
|
-
`, isInline: true, components: [{ type:
|
|
4214
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4210
4215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
4211
4216
|
type: Component,
|
|
4212
4217
|
args: [{
|
|
@@ -4436,7 +4441,7 @@ DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4436
4441
|
}"
|
|
4437
4442
|
>
|
|
4438
4443
|
<ng-template>
|
|
4439
|
-
`, isInline: true, directives: [{ type:
|
|
4444
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4440
4445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
4441
4446
|
type: Component,
|
|
4442
4447
|
args: [{
|
|
@@ -10,14 +10,14 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import { Subject, of, Subscription, EMPTY, BehaviorSubject, merge } from 'rxjs';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter, setter } from '@progress/kendo-common';
|
|
13
|
-
import { caretAltDownIcon, caretAltRightIcon, searchIcon, cancelIcon, insertMiddleIcon, insertBottomIcon, insertTopIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
14
|
-
import * as i8
|
|
13
|
+
import { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, searchIcon, cancelIcon, insertMiddleIcon, insertBottomIcon, insertTopIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
14
|
+
import * as i8 from '@progress/kendo-angular-inputs';
|
|
15
15
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i9 from '@progress/kendo-angular-icons';
|
|
17
17
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
18
18
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
19
19
|
import { filter, tap, switchMap, delay, takeUntil, catchError, finalize, take, map } from 'rxjs/operators';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i11 from '@angular/common';
|
|
21
21
|
import { CommonModule } from '@angular/common';
|
|
22
22
|
import { Draggable } from '@progress/kendo-draggable';
|
|
23
23
|
|
|
@@ -28,8 +28,8 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-treeview',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
32
|
-
version: '13.0.0-develop.
|
|
31
|
+
publishDate: 1685096924,
|
|
32
|
+
version: '13.0.0-develop.7',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -1515,7 +1515,7 @@ const BOT_ITEM = 'k-treeview-bot';
|
|
|
1515
1515
|
* @hidden
|
|
1516
1516
|
*/
|
|
1517
1517
|
class TreeViewGroupComponent {
|
|
1518
|
-
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef) {
|
|
1518
|
+
constructor(expandService, loadingService, indexBuilder, treeViewLookupService, navigationService, nodeChildrenService, dataChangeNotification, changeDetectorRef, localization) {
|
|
1519
1519
|
this.expandService = expandService;
|
|
1520
1520
|
this.loadingService = loadingService;
|
|
1521
1521
|
this.indexBuilder = indexBuilder;
|
|
@@ -1524,6 +1524,7 @@ class TreeViewGroupComponent {
|
|
|
1524
1524
|
this.nodeChildrenService = nodeChildrenService;
|
|
1525
1525
|
this.dataChangeNotification = dataChangeNotification;
|
|
1526
1526
|
this.changeDetectorRef = changeDetectorRef;
|
|
1527
|
+
this.localization = localization;
|
|
1527
1528
|
/**
|
|
1528
1529
|
* @hidden
|
|
1529
1530
|
*/
|
|
@@ -1532,6 +1533,10 @@ class TreeViewGroupComponent {
|
|
|
1532
1533
|
* @hidden
|
|
1533
1534
|
*/
|
|
1534
1535
|
this.caretAltRightIcon = caretAltRightIcon;
|
|
1536
|
+
/**
|
|
1537
|
+
* @hidden
|
|
1538
|
+
*/
|
|
1539
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
1535
1540
|
this.kGroupClass = true;
|
|
1536
1541
|
this.loadOnDemand = true;
|
|
1537
1542
|
this.textField = "";
|
|
@@ -1553,10 +1558,10 @@ class TreeViewGroupComponent {
|
|
|
1553
1558
|
return this.parentIndex ? 'group' : 'tree';
|
|
1554
1559
|
}
|
|
1555
1560
|
getFontIcon(node, index) {
|
|
1556
|
-
return this.isExpanded(node, index) ? 'caret-alt-down' : 'caret-alt-right';
|
|
1561
|
+
return this.isExpanded(node, index) ? 'caret-alt-down' : !this.localization.rtl ? 'caret-alt-right' : 'caret-alt-left';
|
|
1557
1562
|
}
|
|
1558
1563
|
getSvgIcon(node, index) {
|
|
1559
|
-
return this.isExpanded(node, index) ? caretAltDownIcon : caretAltRightIcon;
|
|
1564
|
+
return this.isExpanded(node, index) ? caretAltDownIcon : !this.localization.rtl ? caretAltRightIcon : caretAltLeftIcon;
|
|
1560
1565
|
}
|
|
1561
1566
|
get moreNodesAvailable() {
|
|
1562
1567
|
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
@@ -1766,7 +1771,7 @@ class TreeViewGroupComponent {
|
|
|
1766
1771
|
this.emitChildrenLoaded(mappedChildren);
|
|
1767
1772
|
}
|
|
1768
1773
|
}
|
|
1769
|
-
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewGroupComponent, deps: [{ token: ExpandStateService }, { token: LoadingNotificationService }, { token: IndexBuilderService }, { token: TreeViewLookupService }, { token: NavigationService }, { token: NodeChildrenService }, { token: DataChangeNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1774
|
+
TreeViewGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1770
1775
|
TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: { checkboxes: "checkboxes", expandIcons: "expandIcons", disabled: "disabled", selectable: "selectable", touchActions: "touchActions", disableParentNodesOnly: "disableParentNodesOnly", loadOnDemand: "loadOnDemand", trackBy: "trackBy", nodes: "nodes", textField: "textField", parentDataItem: "parentDataItem", parentIndex: "parentIndex", nodeTemplateRef: "nodeTemplateRef", loadMoreButtonTemplateRef: "loadMoreButtonTemplateRef", loadMoreService: "loadMoreService", size: "size", expandDisabledNodes: "expandDisabledNodes", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isVisible: "isVisible", isSelected: "isSelected", children: "children", hasChildren: "hasChildren" }, host: { properties: { "class.k-treeview-group": "this.kGroupClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
1771
1776
|
<li
|
|
1772
1777
|
*ngFor="let node of data; let index = index; trackBy: trackBy"
|
|
@@ -1915,7 +1920,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1915
1920
|
</span>
|
|
1916
1921
|
</div>
|
|
1917
1922
|
</li>
|
|
1918
|
-
`, isInline: true, components: [{ type:
|
|
1923
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i11.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i11.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
|
|
1919
1924
|
trigger('toggle', [
|
|
1920
1925
|
transition('void => *', [
|
|
1921
1926
|
style({ height: 0 }),
|
|
@@ -2094,7 +2099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2094
2099
|
</li>
|
|
2095
2100
|
`
|
|
2096
2101
|
}]
|
|
2097
|
-
}], ctorParameters: function () { return [{ type: ExpandStateService }, { type: LoadingNotificationService }, { type: IndexBuilderService }, { type: TreeViewLookupService }, { type: NavigationService }, { type: NodeChildrenService }, { type: DataChangeNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { kGroupClass: [{
|
|
2102
|
+
}], ctorParameters: function () { return [{ type: ExpandStateService }, { type: LoadingNotificationService }, { type: IndexBuilderService }, { type: TreeViewLookupService }, { type: NavigationService }, { type: NodeChildrenService }, { type: DataChangeNotificationService }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; }, propDecorators: { kGroupClass: [{
|
|
2098
2103
|
type: HostBinding,
|
|
2099
2104
|
args: ["class.k-treeview-group"]
|
|
2100
2105
|
}], role: [{
|
|
@@ -2799,7 +2804,7 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2799
2804
|
>
|
|
2800
2805
|
</ul>
|
|
2801
2806
|
<ng-container #assetsContainer></ng-container>
|
|
2802
|
-
`, isInline: true, components: [{ type: i8
|
|
2807
|
+
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
2803
2808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
2804
2809
|
type: Component,
|
|
2805
2810
|
args: [{
|
|
@@ -4117,7 +4122,7 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4117
4122
|
}"
|
|
4118
4123
|
>
|
|
4119
4124
|
</ng-template>
|
|
4120
|
-
`, isInline: true, components: [{ type:
|
|
4125
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4121
4126
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
4122
4127
|
type: Component,
|
|
4123
4128
|
args: [{
|
|
@@ -4347,7 +4352,7 @@ DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4347
4352
|
}"
|
|
4348
4353
|
>
|
|
4349
4354
|
<ng-template>
|
|
4350
|
-
`, isInline: true, directives: [{ type:
|
|
4355
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4351
4356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
4352
4357
|
type: Component,
|
|
4353
4358
|
args: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treeview",
|
|
3
|
-
"version": "13.0.0-develop.
|
|
3
|
+
"version": "13.0.0-develop.7",
|
|
4
4
|
"description": "Kendo UI TreeView for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"@angular/core": "13 - 16",
|
|
24
24
|
"@angular/platform-browser": "13 - 16",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "13.0.0-develop.
|
|
27
|
-
"@progress/kendo-angular-inputs": "13.0.0-develop.
|
|
28
|
-
"@progress/kendo-angular-icons": "13.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-l10n": "13.0.0-develop.
|
|
26
|
+
"@progress/kendo-angular-common": "13.0.0-develop.7",
|
|
27
|
+
"@progress/kendo-angular-inputs": "13.0.0-develop.7",
|
|
28
|
+
"@progress/kendo-angular-icons": "13.0.0-develop.7",
|
|
29
|
+
"@progress/kendo-angular-l10n": "13.0.0-develop.7",
|
|
30
30
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"tslib": "^2.3.1",
|
|
34
|
-
"@progress/kendo-angular-schematics": "13.0.0-develop.
|
|
34
|
+
"@progress/kendo-angular-schematics": "13.0.0-develop.7",
|
|
35
35
|
"@progress/kendo-common": "^0.2.0",
|
|
36
36
|
"@progress/kendo-draggable": "^3.0.2"
|
|
37
37
|
},
|
|
@@ -4,10 +4,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
|
|
6
6
|
// Peers of kendo-angular-inputs
|
|
7
|
-
'@progress/kendo-angular-buttons': '13.0.0-develop.
|
|
8
|
-
'@progress/kendo-angular-dialog': '13.0.0-develop.
|
|
9
|
-
'@progress/kendo-angular-intl': '13.0.0-develop.
|
|
10
|
-
'@progress/kendo-angular-popup': '13.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-buttons': '13.0.0-develop.7',
|
|
8
|
+
'@progress/kendo-angular-dialog': '13.0.0-develop.7',
|
|
9
|
+
'@progress/kendo-angular-intl': '13.0.0-develop.7',
|
|
10
|
+
'@progress/kendo-angular-popup': '13.0.0-develop.7',
|
|
11
11
|
'@progress/kendo-drawing': '^1.9.3',
|
|
12
12
|
// Peer dependency of icons
|
|
13
13
|
'@progress/kendo-svg-icons': '^1.0.0'
|
|
@@ -15,6 +15,7 @@ import { Observable } from 'rxjs';
|
|
|
15
15
|
import { DataChangeNotificationService } from './data-change-notification.service';
|
|
16
16
|
import { TreeViewSize } from './size';
|
|
17
17
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
18
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
/**
|
|
20
21
|
* @hidden
|
|
@@ -28,6 +29,7 @@ export declare class TreeViewGroupComponent implements OnChanges, OnInit, OnDest
|
|
|
28
29
|
protected nodeChildrenService: NodeChildrenService;
|
|
29
30
|
protected dataChangeNotification: DataChangeNotificationService;
|
|
30
31
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
32
|
+
private localization;
|
|
31
33
|
/**
|
|
32
34
|
* @hidden
|
|
33
35
|
*/
|
|
@@ -36,6 +38,10 @@ export declare class TreeViewGroupComponent implements OnChanges, OnInit, OnDest
|
|
|
36
38
|
* @hidden
|
|
37
39
|
*/
|
|
38
40
|
caretAltRightIcon: SVGIcon;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
caretAltLeftIcon: SVGIcon;
|
|
39
45
|
kGroupClass: boolean;
|
|
40
46
|
get role(): string;
|
|
41
47
|
checkboxes: boolean;
|
|
@@ -74,7 +80,7 @@ export declare class TreeViewGroupComponent implements OnChanges, OnInit, OnDest
|
|
|
74
80
|
private nodesSubscription;
|
|
75
81
|
private loadMoreNodesSubscription;
|
|
76
82
|
private singleRecordSubscriptions;
|
|
77
|
-
constructor(expandService: ExpandStateService, loadingService: LoadingNotificationService, indexBuilder: IndexBuilderService, treeViewLookupService: TreeViewLookupService, navigationService: NavigationService, nodeChildrenService: NodeChildrenService, dataChangeNotification: DataChangeNotificationService, changeDetectorRef: ChangeDetectorRef);
|
|
83
|
+
constructor(expandService: ExpandStateService, loadingService: LoadingNotificationService, indexBuilder: IndexBuilderService, treeViewLookupService: TreeViewLookupService, navigationService: NavigationService, nodeChildrenService: NodeChildrenService, dataChangeNotification: DataChangeNotificationService, changeDetectorRef: ChangeDetectorRef, localization: LocalizationService);
|
|
78
84
|
isChecked: (item: object, index: string) => CheckedState;
|
|
79
85
|
isDisabled: (item: object, index: string) => boolean;
|
|
80
86
|
isExpanded: (item: object, index: string) => boolean;
|