@progress/kendo-angular-navigation 17.0.0-develop.8 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +38 -18
  2. package/actionsheet/actionsheet.component.d.ts +1 -1
  3. package/actionsheet/item.component.d.ts +1 -1
  4. package/actionsheet/list.component.d.ts +1 -1
  5. package/actionsheet/models/group.d.ts +1 -1
  6. package/appbar/appbar-spacer.component.d.ts +1 -1
  7. package/appbar/appbar.component.d.ts +1 -1
  8. package/appbar/models/position-mode.d.ts +1 -1
  9. package/appbar/models/position.d.ts +1 -1
  10. package/appbar/models/theme-color.d.ts +1 -1
  11. package/bottomnavigation/bottomnavigation-item.component.d.ts +1 -1
  12. package/bottomnavigation/bottomnavigation.component.d.ts +1 -1
  13. package/bottomnavigation/types/bottomnavigation-fill.d.ts +1 -1
  14. package/bottomnavigation/types/bottomnavigation-item-flow.d.ts +1 -1
  15. package/bottomnavigation/types/bottomnavigation-position-mode.d.ts +1 -1
  16. package/bottomnavigation/types/bottomnavigation-theme-color.d.ts +1 -1
  17. package/breadcrumb/breadcrumb-item.component.d.ts +2 -2
  18. package/breadcrumb/breadcrumb.component.d.ts +1 -1
  19. package/breadcrumb/list.component.d.ts +1 -1
  20. package/breadcrumb/models/breadcrumb-size.d.ts +1 -1
  21. package/breadcrumb/models/collapse-mode.d.ts +1 -1
  22. package/breadcrumb/template-directives/separator.directive.d.ts +1 -2
  23. package/common/direction.d.ts +1 -1
  24. package/{esm2020 → esm2022}/actionsheet/actionsheet.component.mjs +113 -60
  25. package/{esm2020 → esm2022}/actionsheet/item.component.mjs +7 -7
  26. package/{esm2020 → esm2022}/actionsheet/list.component.mjs +11 -7
  27. package/{esm2020 → esm2022}/actionsheet/models/item-click.event.mjs +8 -0
  28. package/{esm2020 → esm2022}/actionsheet/templates/actionsheet-template.mjs +4 -3
  29. package/{esm2020 → esm2022}/actionsheet/templates/content-template.directive.mjs +4 -3
  30. package/{esm2020 → esm2022}/actionsheet/templates/footer-template.directive.mjs +4 -3
  31. package/{esm2020 → esm2022}/actionsheet/templates/header-template.directive.mjs +4 -3
  32. package/{esm2020 → esm2022}/actionsheet/templates/item-template.directive.mjs +4 -3
  33. package/{esm2020 → esm2022}/actionsheet.module.mjs +4 -4
  34. package/{esm2020 → esm2022}/appbar/appbar-section.component.mjs +5 -7
  35. package/{esm2020 → esm2022}/appbar/appbar-spacer.component.mjs +15 -7
  36. package/{esm2020 → esm2022}/appbar/appbar.component.mjs +33 -25
  37. package/{esm2020 → esm2022}/appbar.module.mjs +4 -4
  38. package/{esm2020 → esm2022}/bottomnavigation/bottomnavigation-item.component.mjs +10 -4
  39. package/{esm2020 → esm2022}/bottomnavigation/bottomnavigation.component.mjs +75 -52
  40. package/{esm2020 → esm2022}/bottomnavigation/events/select-event.mjs +16 -0
  41. package/{esm2020 → esm2022}/bottomnavigation/templates/item-template.directive.mjs +4 -3
  42. package/{esm2020 → esm2022}/bottomnavigation.module.mjs +4 -4
  43. package/{esm2020 → esm2022}/breadcrumb/breadcrumb-item.component.mjs +19 -14
  44. package/{esm2020 → esm2022}/breadcrumb/breadcrumb.component.mjs +87 -56
  45. package/{esm2020 → esm2022}/breadcrumb/list.component.mjs +14 -6
  46. package/{esm2020 → esm2022}/breadcrumb/template-directives/item-template.directive.mjs +4 -3
  47. package/{esm2020 → esm2022}/breadcrumb/template-directives/separator.directive.mjs +20 -18
  48. package/{esm2020 → esm2022}/breadcrumb.module.mjs +4 -4
  49. package/{esm2020 → esm2022}/common/preventable-event.mjs +7 -7
  50. package/{esm2020 → esm2022}/navigation.module.mjs +4 -4
  51. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  52. package/{fesm2020 → fesm2022}/progress-kendo-angular-navigation.mjs +490 -313
  53. package/package.json +13 -19
  54. package/schematics/ngAdd/index.js +1 -1
  55. package/fesm2015/progress-kendo-angular-navigation.mjs +0 -2613
  56. /package/{esm2020 → esm2022}/actionsheet/animation/animations.mjs +0 -0
  57. /package/{esm2020 → esm2022}/actionsheet/models/actionsheet-item.interface.mjs +0 -0
  58. /package/{esm2020 → esm2022}/actionsheet/models/animation.mjs +0 -0
  59. /package/{esm2020 → esm2022}/actionsheet/models/group.mjs +0 -0
  60. /package/{esm2020 → esm2022}/actionsheet/models/index.mjs +0 -0
  61. /package/{esm2020 → esm2022}/appbar/models/position-mode.mjs +0 -0
  62. /package/{esm2020 → esm2022}/appbar/models/position.mjs +0 -0
  63. /package/{esm2020 → esm2022}/appbar/models/theme-color.mjs +0 -0
  64. /package/{esm2020 → esm2022}/bottomnavigation/constants.mjs +0 -0
  65. /package/{esm2020 → esm2022}/bottomnavigation/types/bottomnavigation-fill.mjs +0 -0
  66. /package/{esm2020 → esm2022}/bottomnavigation/types/bottomnavigation-item-flow.mjs +0 -0
  67. /package/{esm2020 → esm2022}/bottomnavigation/types/bottomnavigation-item.mjs +0 -0
  68. /package/{esm2020 → esm2022}/bottomnavigation/types/bottomnavigation-position-mode.mjs +0 -0
  69. /package/{esm2020 → esm2022}/bottomnavigation/types/bottomnavigation-theme-color.mjs +0 -0
  70. /package/{esm2020 → esm2022}/breadcrumb/models/breadcrumb-item.interface.mjs +0 -0
  71. /package/{esm2020 → esm2022}/breadcrumb/models/breadcrumb-size.mjs +0 -0
  72. /package/{esm2020 → esm2022}/breadcrumb/models/collapse-mode.mjs +0 -0
  73. /package/{esm2020 → esm2022}/breadcrumb/models/constants.mjs +0 -0
  74. /package/{esm2020 → esm2022}/breadcrumb/util.mjs +0 -0
  75. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  76. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  77. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  78. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  79. /package/{esm2020 → esm2022}/index.mjs +0 -0
  80. /package/{esm2020 → esm2022}/progress-kendo-angular-navigation.mjs +0 -0
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
10
10
  * with the `kendoActionSheetContentTemplate` directive inside the `<kendo-actionsheet>` tag.
11
11
  */
12
12
  export class ActionSheetContentTemplateDirective {
13
+ templateRef;
13
14
  constructor(templateRef) {
14
15
  this.templateRef = templateRef;
15
16
  }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActionSheetContentTemplateDirective, isStandalone: true, selector: "[kendoActionSheetContentTemplate]", ngImport: i0 });
16
19
  }
17
- ActionSheetContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
- ActionSheetContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ActionSheetContentTemplateDirective, isStandalone: true, selector: "[kendoActionSheetContentTemplate]", ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetContentTemplateDirective, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetContentTemplateDirective, decorators: [{
20
21
  type: Directive,
21
22
  args: [{
22
23
  selector: '[kendoActionSheetContentTemplate]',
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
10
10
  * with the `kendoActionSheetFooterTemplate` directive inside the `<kendo-actionsheet>` tag.
11
11
  */
12
12
  export class ActionSheetFooterTemplateDirective {
13
+ templateRef;
13
14
  constructor(templateRef) {
14
15
  this.templateRef = templateRef;
15
16
  }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActionSheetFooterTemplateDirective, isStandalone: true, selector: "[kendoActionSheetFooterTemplate]", ngImport: i0 });
16
19
  }
17
- ActionSheetFooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
- ActionSheetFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ActionSheetFooterTemplateDirective, isStandalone: true, selector: "[kendoActionSheetFooterTemplate]", ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetFooterTemplateDirective, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetFooterTemplateDirective, decorators: [{
20
21
  type: Directive,
21
22
  args: [{
22
23
  selector: '[kendoActionSheetFooterTemplate]',
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
10
10
  * with the `kendoActionSheetHeaderTemplate` directive inside the `<kendo-actionsheet>` tag.
11
11
  */
12
12
  export class ActionSheetHeaderTemplateDirective {
13
+ templateRef;
13
14
  constructor(templateRef) {
14
15
  this.templateRef = templateRef;
15
16
  }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActionSheetHeaderTemplateDirective, isStandalone: true, selector: "[kendoActionSheetHeaderTemplate]", ngImport: i0 });
16
19
  }
17
- ActionSheetHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
- ActionSheetHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ActionSheetHeaderTemplateDirective, isStandalone: true, selector: "[kendoActionSheetHeaderTemplate]", ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetHeaderTemplateDirective, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetHeaderTemplateDirective, decorators: [{
20
21
  type: Directive,
21
22
  args: [{
22
23
  selector: '[kendoActionSheetHeaderTemplate]',
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
10
10
  * with the `kendoActionSheetItemTemplate` directive inside the `<kendo-actionsheet>` tag.
11
11
  */
12
12
  export class ActionSheetItemTemplateDirective {
13
+ templateRef;
13
14
  constructor(templateRef) {
14
15
  this.templateRef = templateRef;
15
16
  }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActionSheetItemTemplateDirective, isStandalone: true, selector: "[kendoActionSheetItemTemplate]", ngImport: i0 });
16
19
  }
17
- ActionSheetItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
- ActionSheetItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ActionSheetItemTemplateDirective, isStandalone: true, selector: "[kendoActionSheetItemTemplate]", ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetItemTemplateDirective, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetItemTemplateDirective, decorators: [{
20
21
  type: Directive,
21
22
  args: [{
22
23
  selector: '[kendoActionSheetItemTemplate]',
@@ -46,11 +46,11 @@ import * as i6 from "./actionsheet/templates/actionsheet-template";
46
46
  * ```
47
47
  */
48
48
  export class ActionSheetModule {
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetModule, imports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective], exports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective] });
51
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetModule, providers: [IconsService], imports: [i1.ActionSheetComponent] });
49
52
  }
50
- ActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
51
- ActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetModule, imports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective], exports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective] });
52
- ActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetModule, providers: [IconsService], imports: [i1.ActionSheetComponent] });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionSheetModule, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionSheetModule, decorators: [{
54
54
  type: NgModule,
55
55
  args: [{
56
56
  exports: [...KENDO_ACTIONSHEET],
@@ -23,15 +23,13 @@ import * as i0 from "@angular/core";
23
23
  * class AppComponent {}
24
24
  */
25
25
  export class AppBarSectionComponent {
26
- constructor() {
27
- this.hostClass = true;
28
- }
29
- }
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, isStandalone: true, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
26
+ hostClass = true;
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AppBarSectionComponent, isStandalone: true, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
32
29
  <ng-content></ng-content>
33
30
  `, isInline: true });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSectionComponent, decorators: [{
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarSectionComponent, decorators: [{
35
33
  type: Component,
36
34
  args: [{
37
35
  selector: 'kendo-appbar-section',
@@ -34,13 +34,21 @@ import * as i0 from "@angular/core";
34
34
  * ```
35
35
  */
36
36
  export class AppBarSpacerComponent {
37
+ renderer;
38
+ element;
39
+ hostClass = true;
40
+ get sizedClass() {
41
+ return isPresent(this.width);
42
+ }
43
+ /**
44
+ * Specifies the width of the AppBarSpacer.
45
+ *
46
+ * If not set, the AppBarSpacer will take all the available space.
47
+ */
48
+ width;
37
49
  constructor(renderer, element) {
38
50
  this.renderer = renderer;
39
51
  this.element = element;
40
- this.hostClass = true;
41
- }
42
- get sizedClass() {
43
- return isPresent(this.width);
44
52
  }
45
53
  ngAfterViewInit() {
46
54
  if (isPresent(this.width)) {
@@ -48,10 +56,10 @@ export class AppBarSpacerComponent {
48
56
  this.renderer.setStyle(element, 'flexBasis', this.width);
49
57
  }
50
58
  }
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarSpacerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
60
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 });
51
61
  }
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, 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
55
63
  type: Component,
56
64
  args: [{
57
65
  selector: 'kendo-appbar-spacer',
@@ -16,21 +16,14 @@ const DEFAULT_POSITION_MODE = 'static';
16
16
  * Used to display information, actions, branding titles and additional navigation on the current screen.
17
17
  */
18
18
  export class AppBarComponent {
19
- constructor(localizationService, host, renderer) {
20
- this.localizationService = localizationService;
21
- this.host = host;
22
- this.renderer = renderer;
23
- this.hostClass = true;
24
- this.rtl = false;
25
- this._themeColor = DEFAULT_THEME_COLOR;
26
- this._position = DEFAULT_POSITION;
27
- this._positionMode = DEFAULT_POSITION_MODE;
28
- validatePackage(packageMetadata);
29
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
30
- this.rtl = rtl;
31
- this.direction = this.rtl ? 'rtl' : 'ltr';
32
- });
33
- }
19
+ localizationService;
20
+ host;
21
+ renderer;
22
+ hostClass = true;
23
+ /**
24
+ * @hidden
25
+ */
26
+ direction;
34
27
  /**
35
28
  * Specifies the position of the AppBar
36
29
  * ([see example]({% slug positioning_appbar %}#toc-position)).
@@ -90,6 +83,21 @@ export class AppBarComponent {
90
83
  get themeColor() {
91
84
  return this._themeColor;
92
85
  }
86
+ dynamicRTLSubscription;
87
+ rtl = false;
88
+ _themeColor = DEFAULT_THEME_COLOR;
89
+ _position = DEFAULT_POSITION;
90
+ _positionMode = DEFAULT_POSITION_MODE;
91
+ constructor(localizationService, host, renderer) {
92
+ this.localizationService = localizationService;
93
+ this.host = host;
94
+ this.renderer = renderer;
95
+ validatePackage(packageMetadata);
96
+ this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
97
+ this.rtl = rtl;
98
+ this.direction = this.rtl ? 'rtl' : 'ltr';
99
+ });
100
+ }
93
101
  ngAfterViewInit() {
94
102
  const stylingOptions = ['position', 'positionMode', 'themeColor'];
95
103
  stylingOptions.forEach(input => {
@@ -113,18 +121,18 @@ export class AppBarComponent {
113
121
  this.renderer.addClass(elem, `k-appbar-${newValue}`);
114
122
  }
115
123
  }
116
- }
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, 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
- LocalizationService,
120
- {
121
- provide: L10N_PREFIX,
122
- useValue: 'kendo.appbar.component'
123
- }
124
- ], exportAs: ["kendoAppBar"], ngImport: i0, template: `
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
125
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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: [
126
+ LocalizationService,
127
+ {
128
+ provide: L10N_PREFIX,
129
+ useValue: 'kendo.appbar.component'
130
+ }
131
+ ], exportAs: ["kendoAppBar"], ngImport: i0, template: `
125
132
  <ng-content></ng-content>
126
133
  `, isInline: true });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarComponent, decorators: [{
134
+ }
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarComponent, decorators: [{
128
136
  type: Component,
129
137
  args: [{
130
138
  exportAs: 'kendoAppBar',
@@ -42,11 +42,11 @@ import * as i3 from "./appbar/appbar-spacer.component";
42
42
  * ```
43
43
  */
44
44
  export class AppBarModule {
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AppBarModule, imports: [i1.AppBarComponent, i2.AppBarSectionComponent, i3.AppBarSpacerComponent], exports: [i1.AppBarComponent, i2.AppBarSectionComponent, i3.AppBarSpacerComponent] });
47
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarModule });
45
48
  }
46
- AppBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
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] });
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppBarModule, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppBarModule, decorators: [{
50
50
  type: NgModule,
51
51
  args: [{
52
52
  exports: [...KENDO_APPBAR],
@@ -11,6 +11,12 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export class BottomNavigationItemComponent {
14
+ itemTemplate;
15
+ item;
16
+ index;
17
+ disabledComponent;
18
+ selectedIdx;
19
+ orientation;
14
20
  get disabledClass() {
15
21
  return this.item.disabled;
16
22
  }
@@ -31,9 +37,8 @@ export class BottomNavigationItemComponent {
31
37
  const customIcon = this.item.iconClass ? this.item.iconClass : '';
32
38
  return `${kendoIcon} ${customIcon}`;
33
39
  }
34
- }
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, 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: `
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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
42
  <ng-container *ngIf="!itemTemplate">
38
43
  <kendo-icon-wrapper *ngIf="itemIcon"
39
44
  innerCssClass="k-bottom-nav-item-icon"
@@ -48,7 +53,8 @@ BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
48
53
  [ngTemplateOutletContext]="{ $implicit: item }">
49
54
  </ng-template>
50
55
  `, 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
56
+ }
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
52
58
  type: Component,
53
59
  args: [{
54
60
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -37,49 +37,27 @@ import * as i1 from "@progress/kendo-angular-l10n";
37
37
  * ```
38
38
  */
39
39
  export class BottomNavigationComponent {
40
- constructor(localization, hostElement, ngZone, changeDetector, renderer) {
41
- this.localization = localization;
42
- this.hostElement = hostElement;
43
- this.ngZone = ngZone;
44
- this.changeDetector = changeDetector;
45
- this.renderer = renderer;
46
- /**
47
- * Sets a top border to the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
48
- *
49
- * @default false
50
- */
51
- this.border = false;
52
- /**
53
- * Disables the whole BottomNavigation.
54
- *
55
- * @default false
56
- */
57
- this.disabled = false;
58
- /**
59
- * Fires each time an item is selected. This event is preventable.
60
- */
61
- this.select = new EventEmitter();
62
- /**
63
- * @hidden
64
- */
65
- this.hostClass = true;
66
- /**
67
- * @hidden
68
- */
69
- this.role = 'navigation';
70
- this._fill = 'flat';
71
- this._itemFlow = 'vertical';
72
- this._positionMode = 'fixed';
73
- this._themeColor = 'primary';
74
- this._nativeHostElement = this.hostElement.nativeElement;
75
- this.subscriptions = new Subscription();
76
- this.rtl = false;
77
- validatePackage(packageMetadata);
78
- this.dynamicRTLSubscription = this.localization.changes.subscribe(({ rtl }) => {
79
- this.rtl = rtl;
80
- this.direction = this.rtl ? 'rtl' : 'ltr';
81
- });
82
- }
40
+ localization;
41
+ hostElement;
42
+ ngZone;
43
+ changeDetector;
44
+ renderer;
45
+ /**
46
+ * The collection of items that will be rendered in the BottomNavigation ([see example]({% slug items_bottomnavigation %})).
47
+ */
48
+ items;
49
+ /**
50
+ * Sets a top border to the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
51
+ *
52
+ * @default false
53
+ */
54
+ border = false;
55
+ /**
56
+ * Disables the whole BottomNavigation.
57
+ *
58
+ * @default false
59
+ */
60
+ disabled = false;
83
61
  /**
84
62
  * The fill style of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
85
63
  *
@@ -153,6 +131,14 @@ export class BottomNavigationComponent {
153
131
  get themeColor() {
154
132
  return this._themeColor;
155
133
  }
134
+ /**
135
+ * Fires each time an item is selected. This event is preventable.
136
+ */
137
+ select = new EventEmitter();
138
+ /**
139
+ * @hidden
140
+ */
141
+ hostClass = true;
156
142
  /**
157
143
  * @hidden
158
144
  */
@@ -165,6 +151,43 @@ export class BottomNavigationComponent {
165
151
  get disabledClass() {
166
152
  return this.disabled;
167
153
  }
154
+ /**
155
+ * @hidden
156
+ */
157
+ role = 'navigation';
158
+ /**
159
+ * @hidden
160
+ */
161
+ direction;
162
+ /**
163
+ * @hidden
164
+ */
165
+ itemTemplate;
166
+ /**
167
+ * @hidden
168
+ */
169
+ selectedIdx;
170
+ _fill = 'flat';
171
+ _itemFlow = 'vertical';
172
+ _positionMode = 'fixed';
173
+ _themeColor = 'primary';
174
+ _nativeHostElement;
175
+ dynamicRTLSubscription;
176
+ subscriptions = new Subscription();
177
+ rtl = false;
178
+ constructor(localization, hostElement, ngZone, changeDetector, renderer) {
179
+ this.localization = localization;
180
+ this.hostElement = hostElement;
181
+ this.ngZone = ngZone;
182
+ this.changeDetector = changeDetector;
183
+ this.renderer = renderer;
184
+ validatePackage(packageMetadata);
185
+ this._nativeHostElement = this.hostElement.nativeElement;
186
+ this.dynamicRTLSubscription = this.localization.changes.subscribe(({ rtl }) => {
187
+ this.rtl = rtl;
188
+ this.direction = this.rtl ? 'rtl' : 'ltr';
189
+ });
190
+ }
168
191
  /**
169
192
  * @hidden
170
193
  */
@@ -245,16 +268,16 @@ export class BottomNavigationComponent {
245
268
  return itemIndex(item, BOTTOMNAVIGATION_ITEM_INDEX);
246
269
  }
247
270
  }
271
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
272
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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: [
273
+ LocalizationService,
274
+ {
275
+ provide: L10N_PREFIX,
276
+ useValue: 'kendo.bottomnavigation'
277
+ }
278
+ ], 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"] }] });
248
279
  }
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, 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
- LocalizationService,
252
- {
253
- provide: L10N_PREFIX,
254
- useValue: 'kendo.bottomnavigation'
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: 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationComponent, decorators: [{
280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationComponent, decorators: [{
258
281
  type: Component,
259
282
  args: [{
260
283
  exportAs: 'kendoBottomNavigation',
@@ -7,4 +7,20 @@ import { PreventableEvent } from '../../common/preventable-event';
7
7
  * Arguments for the `select` event of the BottomNavigation.
8
8
  */
9
9
  export class BottomNavigationSelectEvent extends PreventableEvent {
10
+ /**
11
+ * The index of the selected item in the `items` collection.
12
+ */
13
+ index;
14
+ /**
15
+ * The selected BottomNavigation item.
16
+ */
17
+ item;
18
+ /**
19
+ * The DOM event that triggered the selection.
20
+ */
21
+ originalEvent;
22
+ /**
23
+ * The BottomNavigation that triggered the event.
24
+ */
25
+ sender;
10
26
  }
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
10
10
  * with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
11
11
  */
12
12
  export class BottomNavigationItemTemplateDirective {
13
+ templateRef;
13
14
  constructor(templateRef) {
14
15
  this.templateRef = templateRef;
15
16
  }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BottomNavigationItemTemplateDirective, isStandalone: true, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
16
19
  }
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, isStandalone: true, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
20
21
  type: Directive,
21
22
  args: [{
22
23
  selector: '[kendoBottomNavigationItemTemplate]',
@@ -41,11 +41,11 @@ import * as i2 from "./bottomnavigation/templates/item-template.directive";
41
41
  * ```
42
42
  */
43
43
  export class BottomNavigationModule {
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationModule, imports: [i1.BottomNavigationComponent, i2.BottomNavigationItemTemplateDirective], exports: [i1.BottomNavigationComponent, i2.BottomNavigationItemTemplateDirective] });
46
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationModule, providers: [IconsService], imports: [i1.BottomNavigationComponent] });
44
47
  }
45
- BottomNavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
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] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BottomNavigationModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BottomNavigationModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  exports: [...KENDO_BOTTOMNAVIGATION],
@@ -12,12 +12,12 @@ import * as i0 from "@angular/core";
12
12
  * @hidden
13
13
  */
14
14
  export class BreadCrumbItemComponent {
15
- constructor(el) {
16
- this.el = el;
17
- this.index = -1;
18
- this.hostClasses = true;
19
- this.disabled = false;
20
- }
15
+ el;
16
+ item;
17
+ collapseMode;
18
+ index = -1;
19
+ itemTemplate;
20
+ hostClasses = true;
21
21
  get isRootItem() {
22
22
  return this.item.context.isFirst;
23
23
  }
@@ -27,6 +27,11 @@ export class BreadCrumbItemComponent {
27
27
  get isLastItem() {
28
28
  return this.item.context.isLast;
29
29
  }
30
+ width;
31
+ disabled = false;
32
+ constructor(el) {
33
+ this.el = el;
34
+ }
30
35
  ngOnInit() {
31
36
  this.disabled = this.item.data && (this.item.data.disabled || this.item.context.isLast);
32
37
  }
@@ -40,9 +45,8 @@ export class BreadCrumbItemComponent {
40
45
  this.width = outerWidth(this.el.nativeElement);
41
46
  }
42
47
  }
43
- }
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, 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: `
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadCrumbItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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
50
  <ng-template #separator>
47
51
  <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
48
52
  </ng-template>
@@ -57,8 +61,8 @@ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
57
61
  [ngClass]="{
58
62
  'k-breadcrumb-root-link': item.context.isFirst,
59
63
  'k-breadcrumb-link': index !== 0,
60
- 'k-breadcrumb-icontext-link': !!item.data.icon && !!item.data.text,
61
- 'k-breadcrumb-icon-link': !!item.data.icon && !item.data.text,
64
+ 'k-breadcrumb-icontext-link': (!!item.data.icon || !!item.data.svgIcon) && !!item.data.text,
65
+ 'k-breadcrumb-icon-link': (!!item.data.icon || !!item.data.svgIcon) && !item.data.text,
62
66
  'k-disabled': disabled
63
67
  }"
64
68
  [title]="item.data.title || ''"
@@ -90,7 +94,8 @@ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
90
94
  <ng-container *ngTemplateOutlet="separator"></ng-container>
91
95
  </ng-container>
92
96
  `, 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
94
99
  type: Component,
95
100
  args: [{
96
101
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -110,8 +115,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
110
115
  [ngClass]="{
111
116
  'k-breadcrumb-root-link': item.context.isFirst,
112
117
  'k-breadcrumb-link': index !== 0,
113
- 'k-breadcrumb-icontext-link': !!item.data.icon && !!item.data.text,
114
- 'k-breadcrumb-icon-link': !!item.data.icon && !item.data.text,
118
+ 'k-breadcrumb-icontext-link': (!!item.data.icon || !!item.data.svgIcon) && !!item.data.text,
119
+ 'k-breadcrumb-icon-link': (!!item.data.icon || !!item.data.svgIcon) && !item.data.text,
115
120
  'k-disabled': disabled
116
121
  }"
117
122
  [title]="item.data.title || ''"