@progress/kendo-angular-navigation 11.0.0-develop.110 → 11.0.0-develop.112

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.
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { SVGIcon } from '@progress/kendo-svg-icons';
5
6
  import { ActionSheetItemGroup } from "./group";
6
7
  /**
7
8
  * An interface for the ActionSheet items.
@@ -16,6 +17,10 @@ export interface ActionSheetItem {
16
17
  * The icon is rendered inside the ActionSheet item by a `span.k-icon` element.
17
18
  */
18
19
  icon?: string;
20
+ /**
21
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the ActionSheet item.
22
+ */
23
+ svgIcon?: SVGIcon;
19
24
  /**
20
25
  * Defines a CSS class — or multiple classes separated by spaces —
21
26
  * which are applied to a span element inside the ActionSheet item.
@@ -11,6 +11,7 @@ import * as i5 from "./actionsheet/templates/item-template.directive";
11
11
  import * as i6 from "./actionsheet/templates/content-template.directive";
12
12
  import * as i7 from "./actionsheet/templates/footer-template.directive";
13
13
  import * as i8 from "@angular/common";
14
+ import * as i9 from "@progress/kendo-angular-icons";
14
15
  /**
15
16
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
16
17
  * definition for the ActionSheet component.
@@ -45,6 +46,6 @@ import * as i8 from "@angular/common";
45
46
  */
46
47
  export declare class ActionSheetModule {
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionSheetModule, never>;
48
- static ɵmod: i0.ɵɵNgModuleDeclaration<ActionSheetModule, [typeof i1.ActionSheetItemComponent, typeof i2.ActionSheetListComponent, typeof i3.ActionSheetComponent, typeof i4.ActionSheetHeaderTemplateDirective, typeof i5.ActionSheetItemTemplateDirective, typeof i6.ActionSheetContentTemplateDirective, typeof i7.ActionSheetFooterTemplateDirective], [typeof i8.CommonModule], [typeof i3.ActionSheetComponent, typeof i4.ActionSheetHeaderTemplateDirective, typeof i5.ActionSheetItemTemplateDirective, typeof i6.ActionSheetContentTemplateDirective, typeof i7.ActionSheetFooterTemplateDirective]>;
49
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ActionSheetModule, [typeof i1.ActionSheetItemComponent, typeof i2.ActionSheetListComponent, typeof i3.ActionSheetComponent, typeof i4.ActionSheetHeaderTemplateDirective, typeof i5.ActionSheetItemTemplateDirective, typeof i6.ActionSheetContentTemplateDirective, typeof i7.ActionSheetFooterTemplateDirective], [typeof i8.CommonModule, typeof i9.IconsModule], [typeof i3.ActionSheetComponent, typeof i4.ActionSheetHeaderTemplateDirective, typeof i5.ActionSheetItemTemplateDirective, typeof i6.ActionSheetContentTemplateDirective, typeof i7.ActionSheetFooterTemplateDirective]>;
49
50
  static ɵinj: i0.ɵɵInjectorDeclaration<ActionSheetModule>;
50
51
  }
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { SVGIcon } from "@progress/kendo-svg-icons";
5
6
  /**
6
7
  * An interface for describing the BottomNavigation items ([see example]({% slug items_bottomnavigation %}#toc-itemcontent)).
7
8
  */
@@ -18,6 +19,10 @@ export interface BottomNavigationItem {
18
19
  * Defines a CSS class or multiple classes separated by spaces, which are applied to a span element inside the item. Allows the usage of custom icons.
19
20
  */
20
21
  iconClass?: string;
22
+ /**
23
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the BottomNavigation item.
24
+ */
25
+ svgIcon?: SVGIcon;
21
26
  /**
22
27
  * Specifies, if the BottomNavigation item is selected.
23
28
  */
@@ -7,6 +7,7 @@ import * as i1 from "./bottomnavigation/bottomnavigation-item.component";
7
7
  import * as i2 from "./bottomnavigation/bottomnavigation.component";
8
8
  import * as i3 from "./bottomnavigation/templates/item-template.directive";
9
9
  import * as i4 from "@angular/common";
10
+ import * as i5 from "@progress/kendo-angular-icons";
10
11
  /**
11
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
12
13
  * definition for the BottomNavigation component.
@@ -40,6 +41,6 @@ import * as i4 from "@angular/common";
40
41
  */
41
42
  export declare class BottomNavigationModule {
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<BottomNavigationModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<BottomNavigationModule, [typeof i1.BottomNavigationItemComponent, typeof i2.BottomNavigationComponent, typeof i3.BottomNavigationItemTemplateDirective], [typeof i4.CommonModule], [typeof i2.BottomNavigationComponent, typeof i3.BottomNavigationItemTemplateDirective]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BottomNavigationModule, [typeof i1.BottomNavigationItemComponent, typeof i2.BottomNavigationComponent, typeof i3.BottomNavigationItemTemplateDirective], [typeof i4.CommonModule, typeof i5.IconsModule], [typeof i2.BottomNavigationComponent, typeof i3.BottomNavigationItemTemplateDirective]>;
44
45
  static ɵinj: i0.ɵɵInjectorDeclaration<BottomNavigationModule>;
45
46
  }
@@ -10,6 +10,7 @@ import { BreadCrumbItemModel, BreadCrumbItem } from './models/breadcrumb-item.in
10
10
  import { BreadCrumbCollapseMode } from './models/collapse-mode';
11
11
  import { BreadCrumbItemTemplateDirective } from './template-directives/item-template.directive';
12
12
  import { BreadCrumbListComponent } from './list.component';
13
+ import { SVGIcon } from '@progress/kendo-angular-icons';
13
14
  import * as i0 from "@angular/core";
14
15
  /**
15
16
  * Represents the [Kendo UI Breadcrumb component for Angular]({% slug overview_breadcrumb %}).
@@ -54,6 +55,10 @@ export declare class BreadCrumbComponent implements OnInit, AfterViewInit, OnDes
54
55
  * Defines a name of a [built-in icon]({% slug icons %}) in a Kendo UI theme.
55
56
  */
56
57
  separatorIcon: string;
58
+ /**
59
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered as a separator.
60
+ */
61
+ separatorSVGIcon: SVGIcon;
57
62
  /**
58
63
  * Specifies the collapse mode of the Breadcrumb ([see example]({% slug collapse_modes_breadcrumb %})).
59
64
  *
@@ -105,5 +110,5 @@ export declare class BreadCrumbComponent implements OnInit, AfterViewInit, OnDes
105
110
  private shouldResize;
106
111
  private attachResizeHandler;
107
112
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbComponent, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbComponent, "kendo-breadcrumb", ["kendoBreadCrumb"], { "items": "items"; "separatorIcon": "separatorIcon"; "collapseMode": "collapseMode"; }, { "itemClick": "itemClick"; }, ["itemTemplate"], never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbComponent, "kendo-breadcrumb", ["kendoBreadCrumb"], { "items": "items"; "separatorIcon": "separatorIcon"; "separatorSVGIcon": "separatorSVGIcon"; "collapseMode": "collapseMode"; }, { "itemClick": "itemClick"; }, ["itemTemplate"], never>;
109
114
  }
@@ -6,6 +6,7 @@ import { EventEmitter, TemplateRef, QueryList, ElementRef, NgZone, OnDestroy } f
6
6
  import { BreadCrumbItemModel, BreadCrumbItem } from './models/breadcrumb-item.interface';
7
7
  import { BreadCrumbCollapseMode } from './models/collapse-mode';
8
8
  import { BreadCrumbItemComponent } from './breadcrumb-item.component';
9
+ import { SVGIcon } from '@progress/kendo-angular-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -17,6 +18,7 @@ export declare class BreadCrumbListComponent implements OnDestroy {
17
18
  itemTemplate: TemplateRef<HTMLElement>;
18
19
  collapseMode: BreadCrumbCollapseMode;
19
20
  separatorIcon: string;
21
+ separatorSVGIcon: SVGIcon;
20
22
  itemClick: EventEmitter<BreadCrumbItem>;
21
23
  renderedItems: QueryList<BreadCrumbItemComponent>;
22
24
  isRootItemContainer: boolean;
@@ -25,5 +27,5 @@ export declare class BreadCrumbListComponent implements OnDestroy {
25
27
  ngOnDestroy(): void;
26
28
  private getItemIndex;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbListComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbListComponent, "[kendoBreadCrumbList]", never, { "items": "items"; "itemTemplate": "itemTemplate"; "collapseMode": "collapseMode"; "separatorIcon": "separatorIcon"; }, { "itemClick": "itemClick"; }, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbListComponent, "[kendoBreadCrumbList]", never, { "items": "items"; "itemTemplate": "itemTemplate"; "collapseMode": "collapseMode"; "separatorIcon": "separatorIcon"; "separatorSVGIcon": "separatorSVGIcon"; }, { "itemClick": "itemClick"; }, never, never>;
29
31
  }
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { SVGIcon } from "@progress/kendo-svg-icons";
5
6
  /**
6
7
  * @hidden
7
8
  */
@@ -38,6 +39,10 @@ export interface BreadCrumbItem {
38
39
  * The icon is rendered inside the item by a `span.k-icon element`.
39
40
  */
40
41
  icon?: string;
42
+ /**
43
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the BreadCrumb item.
44
+ */
45
+ svgIcon?: SVGIcon;
41
46
  /**
42
47
  * Defines a CSS class—or multiple classes separated by spaces— which are applied to a `span` element inside the item ([see example]({% slug item_appearance_breadcrumb %}#toc-item-icon)).
43
48
  * Allows the usage of custom icons.
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * @hidden
@@ -13,15 +14,19 @@ export declare class BreadCrumbSeparatorDirective {
13
14
  private localization;
14
15
  set icon(icon: string);
15
16
  get icon(): string;
17
+ set svgIcon(svgIcon: SVGIcon);
18
+ get svgIcon(): SVGIcon;
16
19
  defaultClasses: boolean;
17
20
  ariaHidden: boolean;
18
21
  private _icon;
22
+ private _svgIcon;
19
23
  private hasDefaultIcon;
24
+ private hasDefaultSvgIcon;
20
25
  private direction;
21
26
  private localizationChangesSubscription;
22
27
  constructor(el: ElementRef<HTMLElement>, localization: LocalizationService);
23
28
  ngOnInit(): void;
24
29
  ngOnDestroy(): void;
25
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbSeparatorDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<BreadCrumbSeparatorDirective, "[kendoBreadCrumbSeparator]", never, { "icon": "icon"; }, {}, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbSeparatorDirective, "[kendoBreadCrumbSeparator]", never, { "icon": "icon"; "svgIcon": "svgIcon"; }, {}, never, never>;
27
32
  }
@@ -10,6 +10,7 @@ import * as i4 from "./breadcrumb/template-directives/item-template.directive";
10
10
  import * as i5 from "./breadcrumb/template-directives/separator.directive";
11
11
  import * as i6 from "@angular/common";
12
12
  import * as i7 from "@progress/kendo-angular-common";
13
+ import * as i8 from "@progress/kendo-angular-icons";
13
14
  /**
14
15
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
16
  * definition for the BreadCrumb component.
@@ -43,6 +44,6 @@ import * as i7 from "@progress/kendo-angular-common";
43
44
  */
44
45
  export declare class BreadCrumbModule {
45
46
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbModule, never>;
46
- static ɵmod: i0.ɵɵNgModuleDeclaration<BreadCrumbModule, [typeof i1.BreadCrumbComponent, typeof i2.BreadCrumbItemComponent, typeof i3.BreadCrumbListComponent, typeof i4.BreadCrumbItemTemplateDirective, typeof i5.BreadCrumbSeparatorDirective], [typeof i6.CommonModule, typeof i7.ResizeSensorModule], [typeof i1.BreadCrumbComponent, typeof i2.BreadCrumbItemComponent, typeof i3.BreadCrumbListComponent, typeof i4.BreadCrumbItemTemplateDirective]>;
47
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BreadCrumbModule, [typeof i1.BreadCrumbComponent, typeof i2.BreadCrumbItemComponent, typeof i3.BreadCrumbListComponent, typeof i4.BreadCrumbItemTemplateDirective, typeof i5.BreadCrumbSeparatorDirective], [typeof i6.CommonModule, typeof i7.ResizeSensorModule, typeof i8.IconsModule], [typeof i1.BreadCrumbComponent, typeof i2.BreadCrumbItemComponent, typeof i3.BreadCrumbListComponent, typeof i4.BreadCrumbItemTemplateDirective]>;
47
48
  static ɵinj: i0.ɵɵInjectorDeclaration<BreadCrumbModule>;
48
49
  }
@@ -5,7 +5,8 @@
5
5
  import { Component, Input, TemplateRef, HostBinding } from "@angular/core";
6
6
  import { isPresent, hexColorRegex } from "../common/util";
7
7
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
8
+ import * as i1 from "@progress/kendo-angular-icons";
9
+ import * as i2 from "@angular/common";
9
10
  /**
10
11
  * @hidden
11
12
  */
@@ -15,12 +16,6 @@ export class ActionSheetItemComponent {
15
16
  }
16
17
  manageIconClasses(item) {
17
18
  const classes = ['k-actionsheet-item-icon'];
18
- if (item.icon) {
19
- classes.push(`k-icon k-i-${item.icon}`);
20
- }
21
- if (item.iconClass) {
22
- classes.push(`${item.iconClass}`);
23
- }
24
19
  const isHexColor = isPresent(item.iconColor) && hexColorRegex.test(item.iconColor);
25
20
  const isThemeColor = isPresent(item.iconColor) && item.iconColor !== '' && !isHexColor;
26
21
  if (isThemeColor) {
@@ -52,10 +47,14 @@ ActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
52
47
  <ng-template #defaultTemplate>
53
48
  <span class="k-actionsheet-action">
54
49
  <span *ngIf="item.icon || item.iconClass" class="k-icon-wrap">
55
- <span
50
+ <kendo-icon-wrapper
51
+ [name]="item.icon"
52
+ [customFontClass]="item.iconClass"
56
53
  [class]="manageIconClasses(item)"
57
- [style]="manageIconStyles(item)">
58
- </span>
54
+ [svgIcon]="item.svgIcon"
55
+ [style]="manageIconStyles(item)"
56
+ >
57
+ </kendo-icon-wrapper>
59
58
  </span>
60
59
  <span *ngIf="item.title || item.description" class="k-actionsheet-item-text">
61
60
  <span *ngIf="item.title" class="k-actionsheet-item-title">{{item.title}}</span>
@@ -63,7 +62,7 @@ ActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
63
62
  </span>
64
63
  </span>
65
64
  </ng-template>
66
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
65
+ `, 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"] }] });
67
66
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionSheetItemComponent, decorators: [{
68
67
  type: Component,
69
68
  args: [{
@@ -79,10 +78,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
79
78
  <ng-template #defaultTemplate>
80
79
  <span class="k-actionsheet-action">
81
80
  <span *ngIf="item.icon || item.iconClass" class="k-icon-wrap">
82
- <span
81
+ <kendo-icon-wrapper
82
+ [name]="item.icon"
83
+ [customFontClass]="item.iconClass"
83
84
  [class]="manageIconClasses(item)"
84
- [style]="manageIconStyles(item)">
85
- </span>
85
+ [svgIcon]="item.svgIcon"
86
+ [style]="manageIconStyles(item)"
87
+ >
88
+ </kendo-icon-wrapper>
86
89
  </span>
87
90
  <span *ngIf="item.title || item.description" class="k-actionsheet-item-text">
88
91
  <span *ngIf="item.title" class="k-actionsheet-item-title">{{item.title}}</span>
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
6
  import { CommonModule } from '@angular/common';
7
+ import { IconsModule } from '@progress/kendo-angular-icons';
7
8
  import { ActionSheetComponent } from './actionsheet/actionsheet.component';
8
9
  import { ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective } from './actionsheet/models';
9
10
  import { ActionSheetItemComponent } from './actionsheet/item.component';
@@ -63,16 +64,16 @@ ActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
63
64
  ActionSheetListComponent, ActionSheetComponent, ActionSheetHeaderTemplateDirective,
64
65
  ActionSheetItemTemplateDirective,
65
66
  ActionSheetContentTemplateDirective,
66
- ActionSheetFooterTemplateDirective], imports: [CommonModule], exports: [ActionSheetComponent, ActionSheetHeaderTemplateDirective,
67
+ ActionSheetFooterTemplateDirective], imports: [CommonModule, IconsModule], exports: [ActionSheetComponent, ActionSheetHeaderTemplateDirective,
67
68
  ActionSheetItemTemplateDirective,
68
69
  ActionSheetContentTemplateDirective,
69
70
  ActionSheetFooterTemplateDirective] });
70
- ActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionSheetModule, imports: [[CommonModule]] });
71
+ ActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionSheetModule, imports: [[CommonModule, IconsModule]] });
71
72
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionSheetModule, decorators: [{
72
73
  type: NgModule,
73
74
  args: [{
74
75
  declarations: [declarations],
75
76
  exports: [exportedModules],
76
- imports: [CommonModule]
77
+ imports: [CommonModule, IconsModule]
77
78
  }]
78
79
  }] });
@@ -5,7 +5,8 @@
5
5
  import { BottomNavigationItemTemplateDirective } from './templates/item-template.directive';
6
6
  import { Component, HostBinding, Input } from '@angular/core';
7
7
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
8
+ import * as i1 from "@progress/kendo-angular-icons";
9
+ import * as i2 from "@angular/common";
9
10
  /**
10
11
  * @hidden
11
12
  */
@@ -40,14 +41,20 @@ export class BottomNavigationItemComponent {
40
41
  BottomNavigationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
42
  BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: { itemTemplate: "itemTemplate", item: "item", index: "index", disabledComponent: "disabledComponent", selectedIdx: "selectedIdx", orientation: "orientation" }, host: { properties: { "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-hstack": "this.horizontalItemClass", "class.k-vstack": "this.verticalItemClass", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-selected": "this.selectedClass", "class.k-selected": "this.selectedClass" } }, ngImport: i0, template: `
42
43
  <ng-container *ngIf="!itemTemplate">
43
- <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
44
+ <kendo-icon-wrapper *ngIf="itemIcon"
45
+ class="k-bottom-nav-item-icon"
46
+ [name]="item.icon"
47
+ [customFontClass]="item.iconClass"
48
+ [svgIcon]="item.svgIcon"
49
+ >
50
+ </kendo-icon-wrapper>
44
51
  <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
45
52
  </ng-container>
46
53
  <ng-template *ngIf="itemTemplate"
47
54
  [ngTemplateOutlet]="itemTemplate?.templateRef"
48
55
  [ngTemplateOutletContext]="{ $implicit: item }">
49
56
  </ng-template>
50
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
57
+ `, 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"] }] });
51
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
52
59
  type: Component,
53
60
  args: [{
@@ -55,7 +62,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
55
62
  selector: '[kendoBottomNavigationItem]',
56
63
  template: `
57
64
  <ng-container *ngIf="!itemTemplate">
58
- <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
65
+ <kendo-icon-wrapper *ngIf="itemIcon"
66
+ class="k-bottom-nav-item-icon"
67
+ [name]="item.icon"
68
+ [customFontClass]="item.iconClass"
69
+ [svgIcon]="item.svgIcon"
70
+ >
71
+ </kendo-icon-wrapper>
59
72
  <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
60
73
  </ng-container>
61
74
  <ng-template *ngIf="itemTemplate"
@@ -7,6 +7,7 @@ import { BottomNavigationItemTemplateDirective } from './bottomnavigation/templa
7
7
  import { NgModule } from '@angular/core';
8
8
  import { CommonModule } from '@angular/common';
9
9
  import { BottomNavigationComponent } from './bottomnavigation/bottomnavigation.component';
10
+ import { IconsModule } from '@progress/kendo-angular-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  const templateDirectives = [BottomNavigationItemTemplateDirective];
12
13
  const exportedComponents = [BottomNavigationComponent, ...templateDirectives];
@@ -45,13 +46,13 @@ const declarations = [BottomNavigationItemComponent, ...exportedComponents];
45
46
  export class BottomNavigationModule {
46
47
  }
47
48
  BottomNavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
- BottomNavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, declarations: [BottomNavigationItemComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective], imports: [CommonModule], exports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective] });
49
- BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, imports: [[CommonModule]] });
49
+ BottomNavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, declarations: [BottomNavigationItemComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective] });
50
+ BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, imports: [[CommonModule, IconsModule]] });
50
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomNavigationModule, decorators: [{
51
52
  type: NgModule,
52
53
  args: [{
53
54
  declarations: [declarations],
54
55
  exports: [exportedComponents],
55
- imports: [CommonModule]
56
+ imports: [CommonModule, IconsModule]
56
57
  }]
57
58
  }] });
@@ -6,7 +6,8 @@ import { Component, Input, ElementRef, TemplateRef, HostBinding } from '@angular
6
6
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
7
7
  import { outerWidth } from '../common/util';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
9
+ import * as i1 from "@progress/kendo-angular-icons";
10
+ import * as i2 from "@angular/common";
10
11
  /**
11
12
  * @hidden
12
13
  */
@@ -67,8 +68,12 @@ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
67
68
  class="k-cursor-pointer k-flex-none"
68
69
  >
69
70
  <img *ngIf="item.data.imageUrl" (load)="onImageLoad()" [src]="item.data.imageUrl" class="k-image" role="presentation" />
70
- <span *ngIf="item.data.icon && !item.data.iconClass" class="k-icon k-i-{{ item.data.icon }}"></span>
71
- <span *ngIf="item.data.iconClass" class="{{ item.data.iconClass }}"></span>
71
+ <kendo-icon-wrapper *ngIf="item.data.icon || item.data.iconClass"
72
+ [name]="item.data.icon"
73
+ [customFontClass]="item.data.iconClass"
74
+ [svgIcon]="item.data.svgIcon"
75
+ >
76
+ </kendo-icon-wrapper>
72
77
  {{ item.data.text }}
73
78
  </span>
74
79
  <ng-template
@@ -84,7 +89,7 @@ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
84
89
  <ng-container *ngIf="collapseMode !== 'wrap'">
85
90
  <ng-container *ngTemplateOutlet="separator"></ng-container>
86
91
  </ng-container>
87
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
92
+ `, 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"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
88
93
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
89
94
  type: Component,
90
95
  args: [{
@@ -116,8 +121,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
116
121
  class="k-cursor-pointer k-flex-none"
117
122
  >
118
123
  <img *ngIf="item.data.imageUrl" (load)="onImageLoad()" [src]="item.data.imageUrl" class="k-image" role="presentation" />
119
- <span *ngIf="item.data.icon && !item.data.iconClass" class="k-icon k-i-{{ item.data.icon }}"></span>
120
- <span *ngIf="item.data.iconClass" class="{{ item.data.iconClass }}"></span>
124
+ <kendo-icon-wrapper *ngIf="item.data.icon || item.data.iconClass"
125
+ [name]="item.data.icon"
126
+ [customFontClass]="item.data.iconClass"
127
+ [svgIcon]="item.data.svgIcon"
128
+ >
129
+ </kendo-icon-wrapper>
121
130
  {{ item.data.text }}
122
131
  </span>
123
132
  <ng-template
@@ -185,7 +185,7 @@ export class BreadCrumbComponent {
185
185
  }
186
186
  }
187
187
  BreadCrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
188
- BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbComponent, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", collapseMode: "collapseMode" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.dir": "this.getDir" } }, providers: [
188
+ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbComponent, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.dir": "this.getDir" } }, providers: [
189
189
  LocalizationService,
190
190
  {
191
191
  provide: L10N_PREFIX,
@@ -201,6 +201,7 @@ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
201
201
  [itemTemplate]="itemTemplate?.templateRef"
202
202
  [collapseMode]="collapseMode"
203
203
  [separatorIcon]="separatorIcon"
204
+ [separatorSVGIcon]="separatorSVGIcon"
204
205
  (itemClick)="itemClick.emit($event)"
205
206
  ></ol>
206
207
  <ol
@@ -211,11 +212,12 @@ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
211
212
  [itemTemplate]="itemTemplate?.templateRef"
212
213
  [collapseMode]="collapseMode"
213
214
  [separatorIcon]="separatorIcon"
215
+ [separatorSVGIcon]="separatorSVGIcon"
214
216
  (itemClick)="itemClick.emit($event)"
215
217
  [ngClass]="{ 'k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
216
218
  ></ol>
217
219
  <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
218
- `, isInline: true, components: [{ type: i2.BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon"], outputs: ["itemClick"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i4.AsyncPipe } });
220
+ `, isInline: true, components: [{ type: i2.BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon", "separatorSVGIcon"], outputs: ["itemClick"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i4.AsyncPipe } });
219
221
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbComponent, decorators: [{
220
222
  type: Component,
221
223
  args: [{
@@ -238,6 +240,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
238
240
  [itemTemplate]="itemTemplate?.templateRef"
239
241
  [collapseMode]="collapseMode"
240
242
  [separatorIcon]="separatorIcon"
243
+ [separatorSVGIcon]="separatorSVGIcon"
241
244
  (itemClick)="itemClick.emit($event)"
242
245
  ></ol>
243
246
  <ol
@@ -248,6 +251,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
248
251
  [itemTemplate]="itemTemplate?.templateRef"
249
252
  [collapseMode]="collapseMode"
250
253
  [separatorIcon]="separatorIcon"
254
+ [separatorSVGIcon]="separatorSVGIcon"
251
255
  (itemClick)="itemClick.emit($event)"
252
256
  [ngClass]="{ 'k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
253
257
  ></ol>
@@ -258,6 +262,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
258
262
  type: Input
259
263
  }], separatorIcon: [{
260
264
  type: Input
265
+ }], separatorSVGIcon: [{
266
+ type: Input
261
267
  }], collapseMode: [{
262
268
  type: Input
263
269
  }], itemClick: [{
@@ -12,8 +12,8 @@ import { closestItem, itemIndex } from '../common/dom-queries';
12
12
  import { isPresent } from '../common/util';
13
13
  import * as i0 from "@angular/core";
14
14
  import * as i1 from "./breadcrumb-item.component";
15
- import * as i2 from "@angular/common";
16
- import * as i3 from "./template-directives/separator.directive";
15
+ import * as i2 from "./template-directives/separator.directive";
16
+ import * as i3 from "@angular/common";
17
17
  /**
18
18
  * @hidden
19
19
  */
@@ -48,7 +48,7 @@ export class BreadCrumbListComponent {
48
48
  }
49
49
  }
50
50
  BreadCrumbListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
51
- BreadCrumbListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: { items: "items", itemTemplate: "itemTemplate", collapseMode: "collapseMode", separatorIcon: "separatorIcon" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "renderedItems", predicate: BreadCrumbItemComponent, descendants: true }], ngImport: i0, template: "\n <ng-container *ngFor=\"let item of items; let i = index; let isFirst = first; let isLast = last\">\n <li\n #renderedItem\n kendoBreadCrumbItem\n *ngIf=\"!(collapseMode === 'wrap' && isFirst) || isRootItemContainer\"\n [attr.data-kendo-breadcrumb-index]=\"i\"\n [item]=\"item\"\n [index]=\"i\"\n [collapseMode]=\"collapseMode\"\n [itemTemplate]=\"itemTemplate\"\n >\n <span kendoBreadCrumbSeparator [icon]=\"separatorIcon\" *ngIf=\"collapseMode === 'wrap' && !isFirst\"></span>\n <span\n kendoBreadCrumbSeparator\n [icon]=\"separatorIcon\"\n *ngIf=\"collapseMode !== 'wrap' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)\"\n ></span>\n </li>\n </ng-container>\n ", isInline: true, components: [{ type: i1.BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon"] }] });
51
+ BreadCrumbListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: { items: "items", itemTemplate: "itemTemplate", collapseMode: "collapseMode", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "renderedItems", predicate: BreadCrumbItemComponent, descendants: true }], ngImport: i0, template: "\n <ng-container *ngFor=\"let item of items; let i = index; let isFirst = first; let isLast = last\">\n <li\n #renderedItem\n kendoBreadCrumbItem\n *ngIf=\"!(collapseMode === 'wrap' && isFirst) || isRootItemContainer\"\n [attr.data-kendo-breadcrumb-index]=\"i\"\n [item]=\"item\"\n [index]=\"i\"\n [collapseMode]=\"collapseMode\"\n [itemTemplate]=\"itemTemplate\"\n >\n <span kendoBreadCrumbSeparator [icon]=\"separatorIcon\" *ngIf=\"collapseMode === 'wrap' && !isFirst\"></span>\n <span\n kendoBreadCrumbSeparator\n [icon]=\"separatorIcon\"\n [svgIcon]=\"separatorSVGIcon\"\n *ngIf=\"collapseMode !== 'wrap' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)\"\n ></span>\n </li>\n </ng-container>\n ", isInline: true, components: [{ type: i1.BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }, { type: i2.BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon", "svgIcon"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
52
52
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbListComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{
@@ -70,6 +70,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
70
70
  <span
71
71
  kendoBreadCrumbSeparator
72
72
  [icon]="separatorIcon"
73
+ [svgIcon]="separatorSVGIcon"
73
74
  *ngIf="collapseMode !== 'wrap' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)"
74
75
  ></span>
75
76
  </li>
@@ -84,6 +85,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
84
85
  type: Input
85
86
  }], separatorIcon: [{
86
87
  type: Input
88
+ }], separatorSVGIcon: [{
89
+ type: Input
87
90
  }], itemClick: [{
88
91
  type: Output
89
92
  }], renderedItems: [{
@@ -2,13 +2,17 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Directive, HostBinding, Input, ElementRef } from '@angular/core';
5
+ import { HostBinding, Input, ElementRef, Component } from '@angular/core';
6
6
  import { isPresent } from '../../common/util';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { chevronRightIcon, chevronLeftIcon } from '@progress/kendo-svg-icons';
8
9
  import * as i0 from "@angular/core";
9
10
  import * as i1 from "@progress/kendo-angular-l10n";
11
+ import * as i2 from "@progress/kendo-angular-icons";
10
12
  const DEFAULT_ICON = 'chevron-right';
11
13
  const DEFAULT_RTL_ICON = 'chevron-left';
14
+ const DEFAULT_SVG_ICON = chevronRightIcon;
15
+ const DEFAULT_RTL_SVG_ICON = chevronLeftIcon;
12
16
  /**
13
17
  * @hidden
14
18
  */
@@ -22,8 +26,6 @@ export class BreadCrumbSeparatorDirective {
22
26
  this.direction = this.localization.rtl ? 'rtl' : 'ltr';
23
27
  }
24
28
  set icon(icon) {
25
- const element = this.el.nativeElement;
26
- element.classList.remove(`k-i-${this._icon}`);
27
29
  if (isPresent(icon)) {
28
30
  this._icon = icon;
29
31
  this.hasDefaultIcon = false;
@@ -32,32 +34,62 @@ export class BreadCrumbSeparatorDirective {
32
34
  this._icon = this.direction === 'ltr' ? DEFAULT_ICON : DEFAULT_RTL_ICON;
33
35
  this.hasDefaultIcon = true;
34
36
  }
35
- element.classList.add(`k-i-${this._icon}`);
36
37
  }
37
38
  get icon() {
38
39
  return this._icon;
39
40
  }
41
+ set svgIcon(svgIcon) {
42
+ if (isPresent(svgIcon)) {
43
+ this._svgIcon = svgIcon;
44
+ this.hasDefaultSvgIcon = false;
45
+ }
46
+ else {
47
+ this._svgIcon = this.direction === 'ltr' ? DEFAULT_SVG_ICON : DEFAULT_RTL_SVG_ICON;
48
+ this.hasDefaultSvgIcon = true;
49
+ }
50
+ }
51
+ get svgIcon() {
52
+ return this._svgIcon;
53
+ }
40
54
  ngOnInit() {
41
55
  this.localizationChangesSubscription = this.localization.changes.subscribe(({ rtl }) => {
42
56
  this.direction = rtl ? 'rtl' : 'ltr';
43
57
  if (this.hasDefaultIcon) {
44
58
  this.icon = undefined;
45
59
  }
60
+ if (this.hasDefaultSvgIcon) {
61
+ this.svgIcon = undefined;
62
+ }
46
63
  });
47
64
  }
48
65
  ngOnDestroy() {
49
66
  this.localizationChangesSubscription.unsubscribe();
50
67
  }
51
68
  }
52
- BreadCrumbSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
53
- BreadCrumbSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon" }, host: { properties: { "class.k-breadcrumb-delimiter-icon": "this.defaultClasses", "class.k-icon": "this.defaultClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0 });
69
+ BreadCrumbSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
70
+ BreadCrumbSeparatorDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-breadcrumb-delimiter-icon": "this.defaultClasses", "class.k-icon": "this.defaultClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `
71
+ <kendo-icon-wrapper
72
+ [name]="icon"
73
+ [svgIcon]="svgIcon"
74
+ >
75
+ </kendo-icon-wrapper>
76
+ `, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
54
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
55
- type: Directive,
78
+ type: Component,
56
79
  args: [{
57
- selector: '[kendoBreadCrumbSeparator]'
80
+ selector: '[kendoBreadCrumbSeparator]',
81
+ template: `
82
+ <kendo-icon-wrapper
83
+ [name]="icon"
84
+ [svgIcon]="svgIcon"
85
+ >
86
+ </kendo-icon-wrapper>
87
+ `
58
88
  }]
59
89
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
60
90
  type: Input
91
+ }], svgIcon: [{
92
+ type: Input
61
93
  }], defaultClasses: [{
62
94
  type: HostBinding,
63
95
  args: ['class.k-breadcrumb-delimiter-icon']