@progress/kendo-angular-navigation 16.5.0 → 16.6.0-develop.1

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.
Files changed (56) hide show
  1. package/actionsheet/actionsheet.component.d.ts +1 -1
  2. package/actionsheet/item.component.d.ts +1 -1
  3. package/actionsheet/list.component.d.ts +1 -1
  4. package/actionsheet/templates/actionsheet-template.d.ts +1 -1
  5. package/actionsheet/templates/content-template.directive.d.ts +1 -1
  6. package/actionsheet/templates/footer-template.directive.d.ts +1 -1
  7. package/actionsheet/templates/header-template.directive.d.ts +1 -1
  8. package/actionsheet/templates/item-template.directive.d.ts +1 -1
  9. package/actionsheet.module.d.ts +7 -11
  10. package/appbar/appbar-section.component.d.ts +1 -1
  11. package/appbar/appbar-spacer.component.d.ts +1 -1
  12. package/appbar/appbar.component.d.ts +1 -1
  13. package/appbar.module.d.ts +1 -2
  14. package/bottomnavigation/bottomnavigation-item.component.d.ts +1 -1
  15. package/bottomnavigation/bottomnavigation.component.d.ts +1 -1
  16. package/bottomnavigation/templates/item-template.directive.d.ts +1 -1
  17. package/bottomnavigation.module.d.ts +3 -6
  18. package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
  19. package/breadcrumb/breadcrumb.component.d.ts +1 -1
  20. package/breadcrumb/list.component.d.ts +1 -1
  21. package/breadcrumb/template-directives/item-template.directive.d.ts +1 -1
  22. package/breadcrumb/template-directives/separator.directive.d.ts +1 -1
  23. package/breadcrumb.module.d.ts +2 -8
  24. package/directives.d.ts +33 -0
  25. package/esm2020/actionsheet/actionsheet.component.mjs +7 -5
  26. package/esm2020/actionsheet/item.component.mjs +7 -5
  27. package/esm2020/actionsheet/list.component.mjs +6 -4
  28. package/esm2020/actionsheet/templates/actionsheet-template.mjs +3 -2
  29. package/esm2020/actionsheet/templates/content-template.directive.mjs +3 -2
  30. package/esm2020/actionsheet/templates/footer-template.directive.mjs +3 -2
  31. package/esm2020/actionsheet/templates/header-template.directive.mjs +3 -2
  32. package/esm2020/actionsheet/templates/item-template.directive.mjs +3 -2
  33. package/esm2020/actionsheet.module.mjs +14 -36
  34. package/esm2020/appbar/appbar-section.component.mjs +3 -2
  35. package/esm2020/appbar/appbar-spacer.component.mjs +3 -2
  36. package/esm2020/appbar/appbar.component.mjs +3 -2
  37. package/esm2020/appbar.module.mjs +9 -21
  38. package/esm2020/bottomnavigation/bottomnavigation-item.component.mjs +8 -6
  39. package/esm2020/bottomnavigation/bottomnavigation.component.mjs +7 -5
  40. package/esm2020/bottomnavigation/templates/item-template.directive.mjs +3 -2
  41. package/esm2020/bottomnavigation.module.mjs +10 -13
  42. package/esm2020/breadcrumb/breadcrumb-item.component.mjs +7 -5
  43. package/esm2020/breadcrumb/breadcrumb.component.mjs +6 -6
  44. package/esm2020/breadcrumb/list.component.mjs +6 -5
  45. package/esm2020/breadcrumb/template-directives/item-template.directive.mjs +3 -2
  46. package/esm2020/breadcrumb/template-directives/separator.directive.mjs +6 -4
  47. package/esm2020/breadcrumb.module.mjs +11 -30
  48. package/esm2020/directives.mjs +55 -0
  49. package/esm2020/index.mjs +1 -0
  50. package/esm2020/navigation.module.mjs +22 -18
  51. package/esm2020/package-metadata.mjs +2 -2
  52. package/fesm2015/progress-kendo-angular-navigation.mjs +1555 -1549
  53. package/fesm2020/progress-kendo-angular-navigation.mjs +1523 -1517
  54. package/index.d.ts +1 -0
  55. package/navigation.module.d.ts +14 -5
  56. package/package.json +5 -5
@@ -28,7 +28,7 @@ export class AppBarSectionComponent {
28
28
  }
29
29
  }
30
30
  AppBarSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- AppBarSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarSectionComponent, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
31
+ AppBarSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarSectionComponent, isStandalone: true, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
32
32
  <ng-content></ng-content>
33
33
  `, isInline: true });
34
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSectionComponent, decorators: [{
@@ -37,7 +37,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
37
37
  selector: 'kendo-appbar-section',
38
38
  template: `
39
39
  <ng-content></ng-content>
40
- `
40
+ `,
41
+ standalone: true
41
42
  }]
42
43
  }], propDecorators: { hostClass: [{
43
44
  type: HostBinding,
@@ -50,12 +50,13 @@ export class AppBarSpacerComponent {
50
50
  }
51
51
  }
52
52
  AppBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSpacerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
53
- AppBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarSpacerComponent, selector: "kendo-appbar-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass" } }, ngImport: i0, template: ``, isInline: true });
53
+ AppBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarSpacerComponent, isStandalone: true, selector: "kendo-appbar-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass" } }, ngImport: i0, template: ``, isInline: true });
54
54
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{
57
57
  selector: 'kendo-appbar-spacer',
58
- template: ``
58
+ template: ``,
59
+ standalone: true
59
60
  }]
60
61
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
61
62
  type: HostBinding,
@@ -115,7 +115,7 @@ export class AppBarComponent {
115
115
  }
116
116
  }
117
117
  AppBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
118
- AppBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarComponent, selector: "kendo-appbar", inputs: { position: "position", positionMode: "positionMode", themeColor: "themeColor" }, host: { properties: { "class.k-appbar": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
118
+ AppBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AppBarComponent, isStandalone: true, selector: "kendo-appbar", inputs: { position: "position", positionMode: "positionMode", themeColor: "themeColor" }, host: { properties: { "class.k-appbar": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
119
119
  LocalizationService,
120
120
  {
121
121
  provide: L10N_PREFIX,
@@ -138,7 +138,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
138
138
  provide: L10N_PREFIX,
139
139
  useValue: 'kendo.appbar.component'
140
140
  }
141
- ]
141
+ ],
142
+ standalone: true
142
143
  }]
143
144
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
144
145
  type: HostBinding,
@@ -3,19 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { AppBarComponent } from './appbar/appbar.component';
8
- import { AppBarSectionComponent } from './appbar/appbar-section.component';
9
- import { AppBarSpacerComponent } from './appbar/appbar-spacer.component';
6
+ import { KENDO_APPBAR } from './directives';
10
7
  import * as i0 from "@angular/core";
11
- const exportedModules = [
12
- AppBarComponent,
13
- AppBarSectionComponent,
14
- AppBarSpacerComponent
15
- ];
16
- const declarations = [
17
- ...exportedModules
18
- ];
8
+ import * as i1 from "./appbar/appbar.component";
9
+ import * as i2 from "./appbar/appbar-section.component";
10
+ import * as i3 from "./appbar/appbar-spacer.component";
11
+ // IMPORTANT: NgModule export kept for backwards compatibility
19
12
  /**
20
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
21
14
  * definition for the AppBar component.
@@ -51,17 +44,12 @@ const declarations = [
51
44
  export class AppBarModule {
52
45
  }
53
46
  AppBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
- AppBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, declarations: [AppBarComponent,
55
- AppBarSectionComponent,
56
- AppBarSpacerComponent], imports: [CommonModule], exports: [AppBarComponent,
57
- AppBarSectionComponent,
58
- AppBarSpacerComponent] });
59
- AppBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, imports: [CommonModule] });
47
+ AppBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, imports: [i1.AppBarComponent, i2.AppBarSectionComponent, i3.AppBarSpacerComponent], exports: [i1.AppBarComponent, i2.AppBarSectionComponent, i3.AppBarSpacerComponent] });
48
+ AppBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, imports: [KENDO_APPBAR] });
60
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, decorators: [{
61
50
  type: NgModule,
62
51
  args: [{
63
- declarations: [declarations],
64
- exports: [exportedModules],
65
- imports: [CommonModule]
52
+ exports: [...KENDO_APPBAR],
53
+ imports: [...KENDO_APPBAR]
66
54
  }]
67
55
  }] });
@@ -2,11 +2,11 @@
2
2
  * Copyright © 2024 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 { BottomNavigationItemTemplateDirective } from './templates/item-template.directive';
6
5
  import { Component, HostBinding, Input } from '@angular/core';
6
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
7
+ import { BottomNavigationItemTemplateDirective } from './templates/item-template.directive';
8
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
7
9
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
- import * as i2 from "@progress/kendo-angular-icons";
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -33,7 +33,7 @@ export class BottomNavigationItemComponent {
33
33
  }
34
34
  }
35
35
  BottomNavigationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
- BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-current": "this.selectedClass", "class.k-selected": "this.selectedClass" } }, ngImport: i0, template: `
36
+ BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BottomNavigationItemComponent, isStandalone: true, 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", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-current": "this.selectedClass", "class.k-selected": "this.selectedClass" } }, ngImport: i0, template: `
37
37
  <ng-container *ngIf="!itemTemplate">
38
38
  <kendo-icon-wrapper *ngIf="itemIcon"
39
39
  innerCssClass="k-bottom-nav-item-icon"
@@ -47,7 +47,7 @@ BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
47
47
  [ngTemplateOutlet]="itemTemplate?.templateRef"
48
48
  [ngTemplateOutletContext]="{ $implicit: item }">
49
49
  </ng-template>
50
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
50
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
51
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
52
52
  type: Component,
53
53
  args: [{
@@ -67,7 +67,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
67
67
  [ngTemplateOutlet]="itemTemplate?.templateRef"
68
68
  [ngTemplateOutletContext]="{ $implicit: item }">
69
69
  </ng-template>
70
- `
70
+ `,
71
+ standalone: true,
72
+ imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
71
73
  }]
72
74
  }], propDecorators: { itemTemplate: [{
73
75
  type: Input
@@ -12,10 +12,10 @@ import { BottomNavigationItemTemplateDirective } from './templates/item-template
12
12
  import { closestItem, itemIndex } from '../common/dom-queries';
13
13
  import { BOTTOMNAVIGATION_ITEM_INDEX, colors } from './constants';
14
14
  import { packageMetadata } from '../package-metadata';
15
+ import { BottomNavigationItemComponent } from './bottomnavigation-item.component';
16
+ import { NgIf, NgFor, NgClass, NgStyle } from '@angular/common';
15
17
  import * as i0 from "@angular/core";
16
18
  import * as i1 from "@progress/kendo-angular-l10n";
17
- import * as i2 from "@angular/common";
18
- import * as i3 from "./bottomnavigation-item.component";
19
19
  /**
20
20
  * Represents the [Kendo UI BottomNavigation component for Angular]({% slug overview_bottomnavigation %}).
21
21
  *
@@ -247,13 +247,13 @@ export class BottomNavigationComponent {
247
247
  }
248
248
  }
249
249
  BottomNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
250
- BottomNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BottomNavigationComponent, selector: "kendo-bottomnavigation", inputs: { items: "items", border: "border", disabled: "disabled", fill: "fill", itemFlow: "itemFlow", positionMode: "positionMode", themeColor: "themeColor" }, outputs: { select: "select" }, host: { properties: { "class.k-bottom-nav": "this.hostClass", "class.k-bottom-nav-border": "this.borderClass", "class.k-disabled": "this.disabledClass", "attr.role": "this.role", "attr.dir": "this.direction" } }, providers: [
250
+ BottomNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BottomNavigationComponent, isStandalone: true, selector: "kendo-bottomnavigation", inputs: { items: "items", border: "border", disabled: "disabled", fill: "fill", itemFlow: "itemFlow", positionMode: "positionMode", themeColor: "themeColor" }, outputs: { select: "select" }, host: { properties: { "class.k-bottom-nav": "this.hostClass", "class.k-bottom-nav-border": "this.borderClass", "class.k-disabled": "this.disabledClass", "attr.role": "this.role", "attr.dir": "this.direction" } }, providers: [
251
251
  LocalizationService,
252
252
  {
253
253
  provide: L10N_PREFIX,
254
254
  useValue: 'kendo.bottomnavigation'
255
255
  }
256
- ], queries: [{ propertyName: "itemTemplate", first: true, predicate: BottomNavigationItemTemplateDirective, descendants: true }], exportAs: ["kendoBottomNavigation"], ngImport: i0, template: "\n <ng-container *ngIf=\"items\">\n <span kendoBottomNavigationItem\n *ngFor=\"let item of items; let idx=index\"\n role=\"link\"\n class=\"k-bottom-nav-item\"\n [disabledComponent]=\"disabled\"\n [item]=\"item\"\n [index]=\"idx\"\n [selectedIdx]=\"selectedIdx\"\n [itemTemplate]=\"itemTemplate\"\n [attr.data-kendo-bottomnavigation-index]=\"idx\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n [orientation]=\"itemFlow\">\n </span>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }] });
256
+ ], queries: [{ propertyName: "itemTemplate", first: true, predicate: BottomNavigationItemTemplateDirective, descendants: true }], exportAs: ["kendoBottomNavigation"], ngImport: i0, template: "\n <ng-container *ngIf=\"items\">\n <span kendoBottomNavigationItem\n *ngFor=\"let item of items; let idx=index\"\n role=\"link\"\n class=\"k-bottom-nav-item\"\n [disabledComponent]=\"disabled\"\n [item]=\"item\"\n [index]=\"idx\"\n [selectedIdx]=\"selectedIdx\"\n [itemTemplate]=\"itemTemplate\"\n [attr.data-kendo-bottomnavigation-index]=\"idx\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n [orientation]=\"itemFlow\">\n </span>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
257
257
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationComponent, decorators: [{
258
258
  type: Component,
259
259
  args: [{
@@ -283,7 +283,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
283
283
  [orientation]="itemFlow">
284
284
  </span>
285
285
  </ng-container>
286
- `
286
+ `,
287
+ standalone: true,
288
+ imports: [NgIf, NgFor, BottomNavigationItemComponent, NgClass, NgStyle]
287
289
  }]
288
290
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { items: [{
289
291
  type: Input
@@ -15,11 +15,12 @@ export class BottomNavigationItemTemplateDirective {
15
15
  }
16
16
  }
17
17
  BottomNavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
- BottomNavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BottomNavigationItemTemplateDirective, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
18
+ BottomNavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BottomNavigationItemTemplateDirective, isStandalone: true, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
19
19
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
- selector: '[kendoBottomNavigationItemTemplate]'
22
+ selector: '[kendoBottomNavigationItemTemplate]',
23
+ standalone: true
23
24
  }]
24
25
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
25
26
  type: Optional
@@ -2,16 +2,13 @@
2
2
  * Copyright © 2024 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 { BottomNavigationItemComponent } from './bottomnavigation/bottomnavigation-item.component';
6
- import { BottomNavigationItemTemplateDirective } from './bottomnavigation/templates/item-template.directive';
7
5
  import { NgModule } from '@angular/core';
8
- import { CommonModule } from '@angular/common';
9
- import { BottomNavigationComponent } from './bottomnavigation/bottomnavigation.component';
10
- import { IconsModule } from '@progress/kendo-angular-icons';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
+ import { KENDO_BOTTOMNAVIGATION } from './directives';
11
8
  import * as i0 from "@angular/core";
12
- const templateDirectives = [BottomNavigationItemTemplateDirective];
13
- const exportedComponents = [BottomNavigationComponent, ...templateDirectives];
14
- const declarations = [BottomNavigationItemComponent, ...exportedComponents];
9
+ import * as i1 from "./bottomnavigation/bottomnavigation.component";
10
+ import * as i2 from "./bottomnavigation/templates/item-template.directive";
11
+ // IMPORTANT: NgModule export kept for backwards compatibility
15
12
  /**
16
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
14
  * definition for the BottomNavigation component.
@@ -46,13 +43,13 @@ const declarations = [BottomNavigationItemComponent, ...exportedComponents];
46
43
  export class BottomNavigationModule {
47
44
  }
48
45
  BottomNavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- BottomNavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, declarations: [BottomNavigationItemComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective] });
50
- BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, imports: [CommonModule, IconsModule] });
46
+ BottomNavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, imports: [i1.BottomNavigationComponent, i2.BottomNavigationItemTemplateDirective], exports: [i1.BottomNavigationComponent, i2.BottomNavigationItemTemplateDirective] });
47
+ BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, providers: [IconsService], imports: [i1.BottomNavigationComponent] });
51
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, decorators: [{
52
49
  type: NgModule,
53
50
  args: [{
54
- declarations: [declarations],
55
- exports: [exportedComponents],
56
- imports: [CommonModule, IconsModule]
51
+ exports: [...KENDO_BOTTOMNAVIGATION],
52
+ imports: [...KENDO_BOTTOMNAVIGATION],
53
+ providers: [IconsService]
57
54
  }]
58
55
  }] });
@@ -5,9 +5,9 @@
5
5
  import { Component, Input, ElementRef, TemplateRef, HostBinding } from '@angular/core';
6
6
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
7
7
  import { outerWidth } from '../common/util';
8
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
+ import { NgIf, NgTemplateOutlet, NgClass } from '@angular/common';
8
10
  import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
10
- import * as i2 from "@progress/kendo-angular-icons";
11
11
  /**
12
12
  * @hidden
13
13
  */
@@ -42,7 +42,7 @@ export class BreadCrumbItemComponent {
42
42
  }
43
43
  }
44
44
  BreadCrumbItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
45
- BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: { item: "item", collapseMode: "collapseMode", index: "index", itemTemplate: "itemTemplate" }, host: { properties: { "class.k-breadcrumb-item": "this.hostClasses", "class.k-breadcrumb-root-item": "this.isRootItem", "attr.aria-disabled": "this.isDisabled", "class.k-breadcrumb-last-item": "this.isLastItem" } }, ngImport: i0, template: `
45
+ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemComponent, isStandalone: true, selector: "[kendoBreadCrumbItem]", inputs: { item: "item", collapseMode: "collapseMode", index: "index", itemTemplate: "itemTemplate" }, host: { properties: { "class.k-breadcrumb-item": "this.hostClasses", "class.k-breadcrumb-root-item": "this.isRootItem", "attr.aria-disabled": "this.isDisabled", "class.k-breadcrumb-last-item": "this.isLastItem" } }, ngImport: i0, template: `
46
46
  <ng-template #separator>
47
47
  <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
48
48
  </ng-template>
@@ -89,7 +89,7 @@ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
89
89
  <ng-container *ngIf="collapseMode !== 'wrap'">
90
90
  <ng-container *ngTemplateOutlet="separator"></ng-container>
91
91
  </ng-container>
92
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
92
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
93
93
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
94
94
  type: Component,
95
95
  args: [{
@@ -142,7 +142,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
142
142
  <ng-container *ngIf="collapseMode !== 'wrap'">
143
143
  <ng-container *ngTemplateOutlet="separator"></ng-container>
144
144
  </ng-container>
145
- `
145
+ `,
146
+ standalone: true,
147
+ imports: [NgIf, NgTemplateOutlet, NgClass, IconWrapperComponent]
146
148
  }]
147
149
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { item: [{
148
150
  type: Input
@@ -16,11 +16,9 @@ import { outerWidth } from '../common/util';
16
16
  import { BreadCrumbListComponent } from './list.component';
17
17
  import { collapsed, expanded, collapseFirst, expandFirst } from './util';
18
18
  import { DEFAULT_SIZE, getStylingClasses } from './models/constants';
19
+ import { NgIf, NgClass, AsyncPipe } from '@angular/common';
19
20
  import * as i0 from "@angular/core";
20
21
  import * as i1 from "@progress/kendo-angular-l10n";
21
- import * as i2 from "@angular/common";
22
- import * as i3 from "@progress/kendo-angular-common";
23
- import * as i4 from "./list.component";
24
22
  /**
25
23
  * Represents the [Kendo UI Breadcrumb component for Angular]({% slug overview_breadcrumb %}).
26
24
  *
@@ -219,7 +217,7 @@ export class BreadCrumbComponent {
219
217
  }
220
218
  }
221
219
  BreadCrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
222
- BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbComponent, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode", size: "size" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.aria-label": "this.hostAriaLabel", "attr.dir": "this.getDir" } }, providers: [
220
+ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbComponent, isStandalone: true, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode", size: "size" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.aria-label": "this.hostAriaLabel", "attr.dir": "this.getDir" } }, providers: [
223
221
  LocalizationService,
224
222
  {
225
223
  provide: L10N_PREFIX,
@@ -251,7 +249,7 @@ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
251
249
  [ngClass]="{ '!k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
252
250
  ></ol>
253
251
  <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
254
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i4.BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon", "separatorSVGIcon"], outputs: ["itemClick"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
252
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon", "separatorSVGIcon"], outputs: ["itemClick"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
255
253
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbComponent, decorators: [{
256
254
  type: Component,
257
255
  args: [{
@@ -290,7 +288,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
290
288
  [ngClass]="{ '!k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
291
289
  ></ol>
292
290
  <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
293
- `
291
+ `,
292
+ standalone: true,
293
+ imports: [NgIf, BreadCrumbListComponent, NgClass, ResizeSensorComponent, AsyncPipe]
294
294
  }]
295
295
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { items: [{
296
296
  type: Input
@@ -10,10 +10,9 @@ import { BREADCRUMB_ITEM_INDEX } from './models/constants';
10
10
  import { BreadCrumbItemComponent } from './breadcrumb-item.component';
11
11
  import { closestItem, itemIndex } from '../common/dom-queries';
12
12
  import { isPresent } from '../common/util';
13
+ import { BreadCrumbSeparatorDirective } from './template-directives/separator.directive';
14
+ import { NgFor, NgIf } from '@angular/common';
13
15
  import * as i0 from "@angular/core";
14
- import * as i1 from "@angular/common";
15
- import * as i2 from "./breadcrumb-item.component";
16
- import * as i3 from "./template-directives/separator.directive";
17
16
  /**
18
17
  * @hidden
19
18
  */
@@ -48,7 +47,7 @@ export class BreadCrumbListComponent {
48
47
  }
49
48
  }
50
49
  BreadCrumbListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
51
- BreadCrumbListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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\" [svgIcon]=\"separatorSVGIcon\" *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, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }, { kind: "component", type: i3.BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon", "svgIcon"] }] });
50
+ BreadCrumbListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbListComponent, isStandalone: true, 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\" [svgIcon]=\"separatorSVGIcon\" *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, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }, { kind: "component", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon", "svgIcon"] }] });
52
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbListComponent, decorators: [{
53
52
  type: Component,
54
53
  args: [{
@@ -75,7 +74,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
75
74
  ></span>
76
75
  </li>
77
76
  </ng-container>
78
- `
77
+ `,
78
+ standalone: true,
79
+ imports: [NgFor, NgIf, BreadCrumbItemComponent, BreadCrumbSeparatorDirective]
79
80
  }]
80
81
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { items: [{
81
82
  type: Input
@@ -16,11 +16,12 @@ export class BreadCrumbItemTemplateDirective {
16
16
  }
17
17
  }
18
18
  BreadCrumbItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- BreadCrumbItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemTemplateDirective, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
19
+ BreadCrumbItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemTemplateDirective, isStandalone: true, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoBreadCrumbItemTemplate]'
23
+ selector: '[kendoBreadCrumbItemTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -6,9 +6,9 @@ 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
8
  import { chevronRightIcon, chevronLeftIcon } from '@progress/kendo-svg-icons';
9
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "@progress/kendo-angular-icons";
12
12
  const DEFAULT_ICON = 'chevron-right';
13
13
  const DEFAULT_RTL_ICON = 'chevron-left';
14
14
  const DEFAULT_SVG_ICON = chevronRightIcon;
@@ -67,14 +67,14 @@ export class BreadCrumbSeparatorDirective {
67
67
  }
68
68
  }
69
69
  BreadCrumbSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
70
- BreadCrumbSeparatorDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
70
+ BreadCrumbSeparatorDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbSeparatorDirective, isStandalone: true, 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
71
  <kendo-icon-wrapper
72
72
  size='xsmall'
73
73
  [name]="icon"
74
74
  [svgIcon]="svgIcon"
75
75
  >
76
76
  </kendo-icon-wrapper>
77
- `, isInline: true, dependencies: [{ kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
77
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
78
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
79
79
  type: Component,
80
80
  args: [{
@@ -86,7 +86,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
86
86
  [svgIcon]="svgIcon"
87
87
  >
88
88
  </kendo-icon-wrapper>
89
- `
89
+ `,
90
+ standalone: true,
91
+ imports: [IconWrapperComponent]
90
92
  }]
91
93
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
92
94
  type: Input
@@ -3,28 +3,13 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { ResizeSensorModule } from '@progress/kendo-angular-common';
8
- import { BreadCrumbComponent } from './breadcrumb/breadcrumb.component';
9
- import { BreadCrumbItemComponent } from './breadcrumb/breadcrumb-item.component';
10
- import { BreadCrumbItemTemplateDirective } from './breadcrumb/template-directives/item-template.directive';
11
- import { BreadCrumbSeparatorDirective } from './breadcrumb/template-directives/separator.directive';
12
- import { BreadCrumbListComponent } from './breadcrumb/list.component';
13
- import { IconsModule } from '@progress/kendo-angular-icons';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { KENDO_BREADCRUMB } from './directives';
14
9
  import * as i0 from "@angular/core";
15
- const templateDirectives = [
16
- BreadCrumbItemTemplateDirective
17
- ];
18
- const exportedModules = [
19
- BreadCrumbComponent,
20
- BreadCrumbItemComponent,
21
- BreadCrumbListComponent,
22
- ...templateDirectives
23
- ];
24
- const declarations = [
25
- ...exportedModules,
26
- BreadCrumbSeparatorDirective
27
- ];
10
+ import * as i1 from "./breadcrumb/breadcrumb.component";
11
+ import * as i2 from "./breadcrumb/template-directives/item-template.directive";
12
+ // IMPORTANT: NgModule export kept for backwards compatibility
28
13
  /**
29
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
30
15
  * definition for the BreadCrumb component.
@@ -59,17 +44,13 @@ const declarations = [
59
44
  export class BreadCrumbModule {
60
45
  }
61
46
  BreadCrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
62
- BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, declarations: [BreadCrumbComponent,
63
- BreadCrumbItemComponent,
64
- BreadCrumbListComponent, BreadCrumbItemTemplateDirective, BreadCrumbSeparatorDirective], imports: [CommonModule, ResizeSensorModule, IconsModule], exports: [BreadCrumbComponent,
65
- BreadCrumbItemComponent,
66
- BreadCrumbListComponent, BreadCrumbItemTemplateDirective] });
67
- BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, imports: [CommonModule, ResizeSensorModule, IconsModule] });
47
+ BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, imports: [i1.BreadCrumbComponent, i2.BreadCrumbItemTemplateDirective], exports: [i1.BreadCrumbComponent, i2.BreadCrumbItemTemplateDirective] });
48
+ BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, providers: [IconsService, ResizeBatchService], imports: [i1.BreadCrumbComponent] });
68
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, decorators: [{
69
50
  type: NgModule,
70
51
  args: [{
71
- declarations: [declarations],
72
- exports: [exportedModules],
73
- imports: [CommonModule, ResizeSensorModule, IconsModule]
52
+ exports: [...KENDO_BREADCRUMB],
53
+ imports: [...KENDO_BREADCRUMB],
54
+ providers: [IconsService, ResizeBatchService]
74
55
  }]
75
56
  }] });
@@ -0,0 +1,55 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ActionSheetComponent } from "./actionsheet/actionsheet.component";
6
+ import { ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetTemplateDirective } from "./actionsheet/models";
7
+ import { AppBarSectionComponent } from "./appbar/appbar-section.component";
8
+ import { AppBarSpacerComponent } from "./appbar/appbar-spacer.component";
9
+ import { AppBarComponent } from "./appbar/appbar.component";
10
+ import { BottomNavigationComponent } from "./bottomnavigation/bottomnavigation.component";
11
+ import { BottomNavigationItemTemplateDirective } from "./bottomnavigation/templates/item-template.directive";
12
+ import { BreadCrumbComponent } from "./breadcrumb/breadcrumb.component";
13
+ import { BreadCrumbItemTemplateDirective } from "./breadcrumb/template-directives/item-template.directive";
14
+ /**
15
+ * Utility array that contains all `ActionSheet` related components and directives.
16
+ */
17
+ export const KENDO_ACTIONSHEET = [
18
+ ActionSheetComponent,
19
+ ActionSheetHeaderTemplateDirective,
20
+ ActionSheetItemTemplateDirective,
21
+ ActionSheetContentTemplateDirective,
22
+ ActionSheetFooterTemplateDirective,
23
+ ActionSheetTemplateDirective
24
+ ];
25
+ /**
26
+ * Utility array that contains all `AppBar` related components and directives.
27
+ */
28
+ export const KENDO_APPBAR = [
29
+ AppBarComponent,
30
+ AppBarSectionComponent,
31
+ AppBarSpacerComponent
32
+ ];
33
+ /**
34
+ * Utility array that contains all `BottomNavigation` related components and directives.
35
+ */
36
+ export const KENDO_BOTTOMNAVIGATION = [
37
+ BottomNavigationComponent,
38
+ BottomNavigationItemTemplateDirective
39
+ ];
40
+ /**
41
+ * Utility array that contains all `BreadCrumb` related components and directives.
42
+ */
43
+ export const KENDO_BREADCRUMB = [
44
+ BreadCrumbComponent,
45
+ BreadCrumbItemTemplateDirective
46
+ ];
47
+ /**
48
+ * Utility array that contains all `@progress/kendo-angular-navigation` related components and directives.
49
+ */
50
+ export const KENDO_NAVIGATION = [
51
+ ...KENDO_ACTIONSHEET,
52
+ ...KENDO_APPBAR,
53
+ ...KENDO_BOTTOMNAVIGATION,
54
+ ...KENDO_BREADCRUMB
55
+ ];
package/esm2020/index.mjs CHANGED
@@ -23,3 +23,4 @@ export { BreadCrumbListComponent } from './breadcrumb/list.component';
23
23
  export { ActionSheetComponent } from './actionsheet/actionsheet.component';
24
24
  export { ActionSheetItemClickEvent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective } from './actionsheet/models';
25
25
  export { ActionSheetModule } from './actionsheet.module';
26
+ export * from './directives';