@progress/kendo-angular-treeview 11.0.0-develop.98 → 11.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Progress Kendo UI for Angular 2023
2
2
 
3
- Copyright (c) 2016-2022 Progress Software Corporation and/or one of its
3
+ Copyright © 2016-2023 Progress Software Corporation and/or one of its
4
4
  subsidiaries or affiliates. All rights reserved.
5
5
 
6
6
  Portions of the Product include certain open source and commercial third-party
@@ -65,7 +65,7 @@ the Product:
65
65
 
66
66
  (1) The Apache Software License, Version 2.0:
67
67
 
68
- Progress Kendo UI for Angular 2022 incorporates TsLib v1.9.3. Such technology
68
+ Progress Kendo UI for Angular 2023 incorporates TsLib v1.9.3. Such technology
69
69
  is subject to the following terms and conditions: Apache Software License Version 2.0.
70
70
 
71
71
  Apache License
@@ -290,7 +290,7 @@ is subject to the following terms and conditions: Apache Software License Versio
290
290
 
291
291
  (2) BSD-Style Licenses:
292
292
 
293
- (a) Progress Kendo UI for Angular 2022 incorporates xlf-translate v2.0.4. Such
293
+ (a) Progress Kendo UI for Angular 2023 incorporates xlf-translate v2.0.4. Such
294
294
  technology is subject to the following terms and conditions:
295
295
 
296
296
  BSD 3-Clause License
@@ -325,7 +325,7 @@ technology is subject to the following terms and conditions:
325
325
 
326
326
  (3) The ISC License:
327
327
 
328
- (a) Progress Kendo UI for Angular 2022 incorporates glob v7.1.3. Such technology
328
+ (a) Progress Kendo UI for Angular 2023 incorporates glob v7.1.3. Such technology
329
329
  is subject to the following terms and conditions:
330
330
 
331
331
  The ISC License
@@ -352,7 +352,7 @@ is subject to the following terms and conditions:
352
352
 
353
353
  (4) MIT-Style Licenses:
354
354
 
355
- (a) Progress Kendo UI for Angular 2022 incorporates HammerJS v2.0.8. Such
355
+ (a) Progress Kendo UI for Angular 2023 incorporates HammerJS v2.0.8. Such
356
356
  technology is subject to the following terms and conditions:
357
357
 
358
358
  The MIT License (MIT)
@@ -377,7 +377,7 @@ technology is subject to the following terms and conditions:
377
377
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
378
378
  SOFTWARE.
379
379
 
380
- (b) Progress Kendo UI for Angular 2022 incorporates prosemirror-commands v1*,
380
+ (b) Progress Kendo UI for Angular 2023 incorporates prosemirror-commands v1*,
381
381
  prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*,
382
382
  prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*,
383
383
  prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*,
@@ -404,7 +404,7 @@ subject to the following terms and conditions:
404
404
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
405
405
  THE SOFTWARE.
406
406
 
407
- (c) Progress Kendo UI for Angular 2022 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
407
+ (c) Progress Kendo UI for Angular 2023 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
408
408
 
409
409
  MIT License
410
410
 
@@ -428,7 +428,7 @@ subject to the following terms and conditions:
428
428
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
429
429
  SOFTWARE.
430
430
 
431
- (d) Progress Kendo UI for Angular 2022 incorporates @types/prosemirror-commands v1*,
431
+ (d) Progress Kendo UI for Angular 2023 incorporates @types/prosemirror-commands v1*,
432
432
  @types/prosemirror-dropcursor v1*, @types/prosemirror-gapcursor v1*, @types/prosemirror-history v1*,
433
433
  @types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
434
434
  @types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
@@ -457,7 +457,7 @@ subject to the following terms and conditions:
457
457
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
458
458
  SOFTWARE.
459
459
 
460
- (e) Progress Kendo UI for Angular 2022 incorporates pako-esm v1.0.0. Such
460
+ (e) Progress Kendo UI for Angular 2023 incorporates pako-esm v1.0.0. Such
461
461
  technology is subject to the following terms and conditions:
462
462
 
463
463
  Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
@@ -483,7 +483,7 @@ technology is subject to the following terms and conditions:
483
483
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
484
484
  THE SOFTWARE.
485
485
 
486
- (f) Progress Kendo UI for Angular 2022 incorporates jszip-esm v1.0.0. Such
486
+ (f) Progress Kendo UI for Angular 2023 incorporates jszip-esm v1.0.0. Such
487
487
  technology is subject to the following terms and conditions:
488
488
 
489
489
  Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
@@ -510,7 +510,7 @@ technology is subject to the following terms and conditions:
510
510
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
511
511
  THE SOFTWARE.
512
512
 
513
- (g) Progress Kendo UI for Angular 2022 incorporates data.task v3.1.2. Such
513
+ (g) Progress Kendo UI for Angular 2023 incorporates data.task v3.1.2. Such
514
514
  technology is subject to the following terms and conditions:
515
515
 
516
516
  The MIT License
@@ -535,7 +535,7 @@ technology is subject to the following terms and conditions:
535
535
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
536
536
  THE SOFTWARE.
537
537
 
538
- (h) Progress Kendo UI for Angular 2022 incorporates ramda v0.23. Such technology
538
+ (h) Progress Kendo UI for Angular 2023 incorporates ramda v0.23. Such technology
539
539
  is subject to the following terms and conditions:
540
540
 
541
541
  The MIT License (MIT)
@@ -560,7 +560,7 @@ is subject to the following terms and conditions:
560
560
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
561
561
  THE SOFTWARE.
562
562
 
563
- (i) Progress Kendo UI for Angular 2022 incorporates js-yaml v3.14.0. Such
563
+ (i) Progress Kendo UI for Angular 2023 incorporates js-yaml v3.14.0. Such
564
564
  technology is subject to the following terms and conditions:
565
565
 
566
566
  (The MIT License)
@@ -587,7 +587,7 @@ technology is subject to the following terms and conditions:
587
587
 
588
588
  (5) UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE:
589
589
 
590
- Progress Kendo UI for Angular 2022 incorporates Unicode CLDR Database v33.
590
+ Progress Kendo UI for Angular 2023 incorporates Unicode CLDR Database v33.
591
591
  Such technology is subject to the following terms and conditions:
592
592
 
593
593
  UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
@@ -605,7 +605,7 @@ Such technology is subject to the following terms and conditions:
605
605
 
606
606
  COPYRIGHT AND PERMISSION NOTICE
607
607
 
608
- Copyright © 1991-2021 Unicode, Inc. All rights reserved.
608
+ Copyright © 1991-2019 Unicode, Inc. All rights reserved.
609
609
  Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
610
610
 
611
611
  Permission is hereby granted, free of charge, to any person obtaining
@@ -642,7 +642,7 @@ incorporated into the Product: NONE
642
642
 
643
643
  3. Special Notices Regarding Progress Products incorporated into the Product:
644
644
 
645
- (a) Progress Kendo UI for Angular 2022 incorporates Kendo UI Licensing CLI v1.1
645
+ (a) Progress Kendo UI for Angular 2023 incorporates Kendo UI Licensing CLI v1.1
646
646
  from Progress Software Corporation. See NOTICE.txt text file within product for
647
647
  third-party license information.
648
648
 
@@ -651,4 +651,4 @@ the release notes or other documentation that accompanies updates received in
651
651
  connection with support of the Product.
652
652
 
653
653
 
654
- Updated 1/6/2022
654
+ Updated 13.Jan.2023
@@ -5,6 +5,7 @@
5
5
  import { TemplateRef, ChangeDetectorRef } from "@angular/core";
6
6
  import { DropAction } from '../models';
7
7
  import { TreeItemLookup } from '../../treeitem-lookup.interface';
8
+ import { SVGIcon } from "@progress/kendo-svg-icons";
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * @hidden
@@ -34,6 +35,7 @@ export declare class DragClueComponent {
34
35
  template: TemplateRef<any>;
35
36
  posistionStyle: string;
36
37
  get statusIconClass(): string;
38
+ get statusSVGIcon(): SVGIcon;
37
39
  constructor(cdr: ChangeDetectorRef);
38
40
  detectChanges(): void;
39
41
  static ɵfac: i0.ɵɵFactoryDeclaration<DragClueComponent, never>;
@@ -4,8 +4,10 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, HostBinding, ChangeDetectorRef, ChangeDetectionStrategy } from "@angular/core";
6
6
  import { DropAction } from '../models';
7
+ import { cancelIcon, insertBottomIcon, insertMiddleIcon, insertTopIcon, plusIcon } from "@progress/kendo-svg-icons";
7
8
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
+ import * as i1 from "@progress/kendo-angular-icons";
10
+ import * as i2 from "@angular/common";
9
11
  /**
10
12
  * @hidden
11
13
  */
@@ -17,12 +19,22 @@ export class DragClueComponent {
17
19
  }
18
20
  get statusIconClass() {
19
21
  switch (this.action) {
20
- case DropAction.Add: return 'k-i-plus';
21
- case DropAction.InsertTop: return 'k-i-insert-top';
22
- case DropAction.InsertBottom: return 'k-i-insert-bottom';
23
- case DropAction.InsertMiddle: return 'k-i-insert-middle';
22
+ case DropAction.Add: return 'plus';
23
+ case DropAction.InsertTop: return 'insert-top';
24
+ case DropAction.InsertBottom: return 'insert-bottom';
25
+ case DropAction.InsertMiddle: return 'insert-middle';
24
26
  case DropAction.Invalid:
25
- default: return 'k-i-cancel';
27
+ default: return 'cancel';
28
+ }
29
+ }
30
+ get statusSVGIcon() {
31
+ switch (this.action) {
32
+ case DropAction.Add: return plusIcon;
33
+ case DropAction.InsertTop: return insertTopIcon;
34
+ case DropAction.InsertBottom: return insertBottomIcon;
35
+ case DropAction.InsertMiddle: return insertMiddleIcon;
36
+ case DropAction.Invalid:
37
+ default: return cancelIcon;
26
38
  }
27
39
  }
28
40
  // exposed as a public method that can be called from outside as the component uses `OnPush` strategy
@@ -33,7 +45,12 @@ export class DragClueComponent {
33
45
  DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
34
46
  DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DragClueComponent, selector: "kendo-treeview-drag-clue", host: { properties: { "class.k-header": "this.hostClasses", "class.k-drag-clue": "this.hostClasses", "style.position": "this.posistionStyle" } }, ngImport: i0, template: `
35
47
  <ng-container *ngIf="!template">
36
- <span class="k-icon {{statusIconClass}} k-drag-status"></span>
48
+ <kendo-icon-wrapper
49
+ innerCssClass="k-drag-status"
50
+ [name]="statusIconClass"
51
+ [svgIcon]="statusSVGIcon"
52
+ >
53
+ </kendo-icon-wrapper>
37
54
  <span>{{text}}</span>
38
55
  </ng-container>
39
56
 
@@ -48,7 +65,7 @@ DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
48
65
  }"
49
66
  >
50
67
  </ng-template>
51
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
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 });
52
69
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragClueComponent, decorators: [{
53
70
  type: Component,
54
71
  args: [{
@@ -56,7 +73,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
56
73
  selector: 'kendo-treeview-drag-clue',
57
74
  template: `
58
75
  <ng-container *ngIf="!template">
59
- <span class="k-icon {{statusIconClass}} k-drag-status"></span>
76
+ <kendo-icon-wrapper
77
+ innerCssClass="k-drag-status"
78
+ [name]="statusIconClass"
79
+ [svgIcon]="statusSVGIcon"
80
+ >
81
+ </kendo-icon-wrapper>
60
82
  <span>{{text}}</span>
61
83
  </ng-container>
62
84
 
@@ -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: 1673460802,
13
- version: '',
12
+ publishDate: 1674032380,
13
+ version: '11.0.0',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -26,6 +26,7 @@ import { DragAndDropEditingDirective } from './drag-and-drop/drag-and-drop-editi
26
26
  import { LoadMoreDirective } from './load-more/load-more.directive';
27
27
  import { LoadMoreButtonTemplateDirective } from './load-more/load-more-button-template.directive';
28
28
  import { InputsModule } from '@progress/kendo-angular-inputs';
29
+ import { IconsModule } from '@progress/kendo-angular-icons';
29
30
  import * as i0 from "@angular/core";
30
31
  const COMPONENT_DIRECTIVES = [
31
32
  TreeViewComponent,
@@ -76,7 +77,8 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
76
77
  LoadMoreDirective,
77
78
  LoadMoreButtonTemplateDirective], imports: [CommonModule,
78
79
  CheckBoxModule,
79
- InputsModule], exports: [TreeViewComponent,
80
+ InputsModule,
81
+ IconsModule], exports: [TreeViewComponent,
80
82
  TreeViewGroupComponent,
81
83
  TreeViewItemDirective,
82
84
  TreeViewItemContentDirective,
@@ -99,7 +101,8 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
99
101
  SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[
100
102
  CommonModule,
101
103
  CheckBoxModule,
102
- InputsModule
104
+ InputsModule,
105
+ IconsModule
103
106
  ]] });
104
107
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
105
108
  type: NgModule,
@@ -109,7 +112,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
109
112
  imports: [
110
113
  CommonModule,
111
114
  CheckBoxModule,
112
- InputsModule
115
+ InputsModule,
116
+ IconsModule
113
117
  ],
114
118
  entryComponents: [
115
119
  DragClueComponent,
@@ -15,6 +15,7 @@ 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
19
  import * as i0 from "@angular/core";
19
20
  import * as i1 from "./expand-state.service";
20
21
  import * as i2 from "./loading-notification.service";
@@ -23,11 +24,12 @@ import * as i4 from "./treeview-lookup.service";
23
24
  import * as i5 from "./navigation/navigation.service";
24
25
  import * as i6 from "./node-children.service";
25
26
  import * as i7 from "./data-change-notification.service";
26
- import * as i8 from "./checkbox/checkbox.component";
27
- import * as i9 from "@angular/common";
28
- import * as i10 from "./treeview-item.directive";
29
- import * as i11 from "./loading-indicator.directive";
30
- import * as i12 from "./treeview-item-content.directive";
27
+ import * as i8 from "@progress/kendo-angular-icons";
28
+ import * as i9 from "./checkbox/checkbox.component";
29
+ import * as i10 from "@angular/common";
30
+ import * as i11 from "./treeview-item.directive";
31
+ import * as i12 from "./loading-indicator.directive";
32
+ import * as i13 from "./treeview-item-content.directive";
31
33
  const TOP_ITEM = 'k-treeview-top';
32
34
  const MID_ITEM = 'k-treeview-mid';
33
35
  const BOT_ITEM = 'k-treeview-bot';
@@ -44,6 +46,14 @@ export class TreeViewGroupComponent {
44
46
  this.nodeChildrenService = nodeChildrenService;
45
47
  this.dataChangeNotification = dataChangeNotification;
46
48
  this.changeDetectorRef = changeDetectorRef;
49
+ /**
50
+ * @hidden
51
+ */
52
+ this.caretAltDownIcon = caretAltDownIcon;
53
+ /**
54
+ * @hidden
55
+ */
56
+ this.caretAltRightIcon = caretAltRightIcon;
47
57
  this.kGroupClass = true;
48
58
  this.role = 'group';
49
59
  this.loadOnDemand = true;
@@ -62,6 +72,12 @@ export class TreeViewGroupComponent {
62
72
  this.children = () => of([]);
63
73
  this.hasChildren = () => false;
64
74
  }
75
+ getFontIcon(node, index) {
76
+ return this.isExpanded(node, index) ? 'caret-alt-down' : 'caret-alt-right';
77
+ }
78
+ getSvgIcon(node, index) {
79
+ return this.isExpanded(node, index) ? caretAltDownIcon : caretAltRightIcon;
80
+ }
65
81
  get moreNodesAvailable() {
66
82
  if (!isPresent(this.loadMoreService) || this.data.length === 0) {
67
83
  return false;
@@ -212,7 +228,7 @@ export class TreeViewGroupComponent {
212
228
  skip: this.data.length,
213
229
  take: this.loadMoreService.getInitialPageSize(this.parentDataItem)
214
230
  })
215
- .pipe(finalize(() => this.loadingMoreNodes = false))
231
+ .pipe(finalize(() => this.loadingMoreNodes = true))
216
232
  .subscribe(items => {
217
233
  if (!(Array.isArray(items) && items.length > 0)) {
218
234
  return;
@@ -275,7 +291,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
275
291
  <li
276
292
  *ngFor="let node of data; let index = index; trackBy: trackBy"
277
293
  class="k-treeview-item"
278
- [class.k-display-none]="!isVisible(node, nodeIndex(index))"
294
+ [class.k-hidden]="!isVisible(node, nodeIndex(index))"
279
295
  kendoTreeViewItem
280
296
  [attr.aria-setsize]="totalNodesCount"
281
297
  [dataItem]="node"
@@ -301,12 +317,11 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
301
317
  (click)="expandNode(nodeIndex(index), node, !isExpanded(node, nodeIndex(index)))"
302
318
  *ngIf="expandIcons && hasChildren(node)"
303
319
  >
304
- <span
305
- class="k-icon"
306
- [class.k-i-caret-alt-down]="isExpanded(node, nodeIndex(index))"
307
- [class.k-i-caret-alt-right]="!isExpanded(node, nodeIndex(index))"
308
- >
309
- </span>
320
+ <kendo-icon-wrapper
321
+ [name]="getFontIcon(node, nodeIndex(index))"
322
+ [svgIcon]="getSvgIcon(node, nodeIndex(index))"
323
+ >
324
+ </kendo-icon-wrapper>
310
325
  </span>
311
326
  <kendo-checkbox
312
327
  *ngIf="checkboxes"
@@ -395,7 +410,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
395
410
  <div class="k-treeview-bot">
396
411
  <span
397
412
  *ngIf="loadingMoreNodes"
398
- class="k-icon k-i-loading k-i-caret-alt-right"
413
+ class="k-icon k-i-loading"
399
414
  >
400
415
  </span>
401
416
  <span
@@ -420,7 +435,7 @@ TreeViewGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
420
435
  </span>
421
436
  </div>
422
437
  </li>
423
- `, isInline: true, components: [{ type: i8.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: i9.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: i12.TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i9.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i9.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i9.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i9.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
438
+ `, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i9.CheckBoxComponent, selector: "kendo-checkbox", inputs: ["id", "isChecked", "node", "index", "labelText", "tabindex", "size"], outputs: ["checkStateChange"] }, { type: TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.TreeViewItemDirective, selector: "[kendoTreeViewItem]", inputs: ["dataItem", "index", "parentDataItem", "parentIndex", "role", "loadOnDemand", "checkable", "selectable", "expandable", "isChecked", "isDisabled", "isVisible", "isExpanded", "isSelected"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: ["kendoTreeViewLoading"] }, { type: i13.TreeViewItemContentDirective, selector: "[kendoTreeViewItemContent]", inputs: ["dataItem", "index", "initialSelection", "isSelected"] }, { type: i10.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i10.NgSwitchDefault, selector: "[ngSwitchDefault]" }], animations: [
424
439
  trigger('toggle', [
425
440
  transition('void => *', [
426
441
  style({ height: 0 }),
@@ -453,7 +468,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
453
468
  <li
454
469
  *ngFor="let node of data; let index = index; trackBy: trackBy"
455
470
  class="k-treeview-item"
456
- [class.k-display-none]="!isVisible(node, nodeIndex(index))"
471
+ [class.k-hidden]="!isVisible(node, nodeIndex(index))"
457
472
  kendoTreeViewItem
458
473
  [attr.aria-setsize]="totalNodesCount"
459
474
  [dataItem]="node"
@@ -479,12 +494,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
479
494
  (click)="expandNode(nodeIndex(index), node, !isExpanded(node, nodeIndex(index)))"
480
495
  *ngIf="expandIcons && hasChildren(node)"
481
496
  >
482
- <span
483
- class="k-icon"
484
- [class.k-i-caret-alt-down]="isExpanded(node, nodeIndex(index))"
485
- [class.k-i-caret-alt-right]="!isExpanded(node, nodeIndex(index))"
486
- >
487
- </span>
497
+ <kendo-icon-wrapper
498
+ [name]="getFontIcon(node, nodeIndex(index))"
499
+ [svgIcon]="getSvgIcon(node, nodeIndex(index))"
500
+ >
501
+ </kendo-icon-wrapper>
488
502
  </span>
489
503
  <kendo-checkbox
490
504
  *ngIf="checkboxes"
@@ -573,7 +587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
573
587
  <div class="k-treeview-bot">
574
588
  <span
575
589
  *ngIf="loadingMoreNodes"
576
- class="k-icon k-i-loading k-i-caret-alt-right"
590
+ class="k-icon k-i-loading"
577
591
  >
578
592
  </span>
579
593
  <span
@@ -22,6 +22,7 @@ import { ExpandableComponent } from './expandable-component';
22
22
  import { SelectionService } from './selection/selection.service';
23
23
  import { TreeViewLookupService } from './treeview-lookup.service';
24
24
  import { closestNode, focusableNode, hasParent, isContent, isFocusable, match, nodeId, isLoadMoreButton, isPresent, nodeIndex, buildTreeItem, getSizeClass } from './utils';
25
+ import { searchIcon } from '@progress/kendo-svg-icons';
25
26
  import * as i0 from "@angular/core";
26
27
  import * as i1 from "./expand-state.service";
27
28
  import * as i2 from "./navigation/navigation.service";
@@ -31,8 +32,9 @@ import * as i5 from "./treeview-lookup.service";
31
32
  import * as i6 from "./data-change-notification.service";
32
33
  import * as i7 from "@progress/kendo-angular-l10n";
33
34
  import * as i8 from "@progress/kendo-angular-inputs";
34
- import * as i9 from "./treeview-group.component";
35
- import * as i10 from "@angular/common";
35
+ import * as i9 from "@progress/kendo-angular-icons";
36
+ import * as i10 from "./treeview-group.component";
37
+ import * as i11 from "@angular/common";
36
38
  const LOAD_MORE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/treeview/load-more-button/';
37
39
  const providers = [
38
40
  ExpandStateService,
@@ -80,6 +82,10 @@ export class TreeViewComponent {
80
82
  this.renderer = renderer;
81
83
  this.dataChangeNotification = dataChangeNotification;
82
84
  this.localization = localization;
85
+ /**
86
+ * @hidden
87
+ */
88
+ this.searchIcon = searchIcon;
83
89
  this.classNames = true;
84
90
  this.role = 'tree';
85
91
  /**
@@ -203,7 +209,7 @@ export class TreeViewComponent {
203
209
  */
204
210
  this.isDisabled = isDisabled;
205
211
  /**
206
- * A callback which determines whether a TreeView node should be rendered as hidden. The utility .k-display-none class is used to hide the nodes.
212
+ * A callback which determines whether a TreeView node should be rendered as hidden. The utility .k-hidden class is used to hide the nodes.
207
213
  * Useful for custom filtering implementations.
208
214
  */
209
215
  this.isVisible = isVisible;
@@ -625,7 +631,12 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
625
631
  [placeholder]="filterInputPlaceholder"
626
632
  >
627
633
  <ng-template kendoTextBoxPrefixTemplate>
628
- <span class="k-input-icon k-icon k-i-search"></span>
634
+ <kendo-icon-wrapper
635
+ innerCssClass="k-input-icon"
636
+ name="search"
637
+ [svgIcon]="searchIcon"
638
+ >
639
+ </kendo-icon-wrapper>
629
640
  </ng-template>
630
641
  </kendo-textbox>
631
642
  </span>
@@ -656,7 +667,7 @@ TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
656
667
  >
657
668
  </ul>
658
669
  <ng-container #assetsContainer></ng-container>
659
- `, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "disableParentNodesOnly", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "expandDisabledNodes", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
670
+ `, 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 });
660
671
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeViewComponent, decorators: [{
661
672
  type: Component,
662
673
  args: [{
@@ -677,7 +688,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
677
688
  [placeholder]="filterInputPlaceholder"
678
689
  >
679
690
  <ng-template kendoTextBoxPrefixTemplate>
680
- <span class="k-input-icon k-icon k-i-search"></span>
691
+ <kendo-icon-wrapper
692
+ innerCssClass="k-input-icon"
693
+ name="search"
694
+ [svgIcon]="searchIcon"
695
+ >
696
+ </kendo-icon-wrapper>
681
697
  </ng-template>
682
698
  </kendo-textbox>
683
699
  </span>