@progress/kendo-angular-navigation 1.1.6 → 2.0.0-dev.202204141001

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 (161) hide show
  1. package/{dist/es2015/appbar → appbar}/appbar-section.component.d.ts +3 -0
  2. package/{dist/es2015/appbar → appbar}/appbar-spacer.component.d.ts +4 -1
  3. package/{dist/es2015/appbar → appbar}/appbar.component.d.ts +11 -8
  4. package/{dist/es2015/appbar → appbar}/models/position-mode.d.ts +0 -0
  5. package/{dist/es2015/appbar → appbar}/models/position.d.ts +0 -0
  6. package/{dist/es2015/appbar → appbar}/models/theme-color.d.ts +0 -0
  7. package/{dist/es2015/appbar.module.d.ts → appbar.module.d.ts} +8 -0
  8. package/{dist/es2015/bottomnavigation → bottomnavigation}/bottomnavigation-item.component.d.ts +11 -8
  9. package/{dist/es2015/bottomnavigation → bottomnavigation}/bottomnavigation.component.d.ts +13 -6
  10. package/{dist/es2015/bottomnavigation → bottomnavigation}/constants.d.ts +0 -0
  11. package/{dist/es2015/bottomnavigation → bottomnavigation}/events/select-event.d.ts +0 -0
  12. package/{dist/es2015/bottomnavigation → bottomnavigation}/templates/item-template.directive.d.ts +3 -0
  13. package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-fill.d.ts +0 -0
  14. package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-item-flow.d.ts +0 -0
  15. package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-item.d.ts +0 -0
  16. package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-position-mode.d.ts +0 -0
  17. package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-theme-color.d.ts +0 -0
  18. package/{dist/es2015/bottomnavigation.module.d.ts → bottomnavigation.module.d.ts} +8 -0
  19. package/{dist/es2015/breadcrumb → breadcrumb}/breadcrumb-item.component.d.ts +6 -3
  20. package/{dist/es2015/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +9 -4
  21. package/{dist/es2015/breadcrumb → breadcrumb}/list.component.d.ts +3 -0
  22. package/{dist/es2015/breadcrumb → breadcrumb}/models/breadcrumb-item.interface.d.ts +0 -0
  23. package/{dist/es2015/breadcrumb → breadcrumb}/models/collapse-mode.d.ts +0 -0
  24. package/{dist/es2015/breadcrumb → breadcrumb}/models/constants.d.ts +0 -0
  25. package/{dist/es2015/breadcrumb → breadcrumb}/template-directives/item-template.directive.d.ts +3 -0
  26. package/{dist/es2015/breadcrumb → breadcrumb}/template-directives/separator.directive.d.ts +5 -1
  27. package/{dist/es2015/breadcrumb → breadcrumb}/util.d.ts +0 -0
  28. package/{dist/es2015/breadcrumb.module.d.ts → breadcrumb.module.d.ts} +11 -0
  29. package/bundles/kendo-angular-navigation.umd.js +5 -0
  30. package/{dist/es2015/common → common}/direction.d.ts +0 -0
  31. package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
  32. package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
  33. package/{dist/es2015/common → common}/util.d.ts +0 -0
  34. package/esm2015/appbar/appbar-section.component.js +45 -0
  35. package/{dist/es2015 → esm2015}/appbar/appbar-spacer.component.js +21 -25
  36. package/{dist/es2015 → esm2015}/appbar/appbar.component.js +65 -79
  37. package/{dist/es → esm2015}/appbar/models/position-mode.js +1 -0
  38. package/{dist/es2015 → esm2015}/appbar/models/position.js +1 -0
  39. package/{dist/es2015 → esm2015}/appbar/models/theme-color.js +1 -0
  40. package/{dist/es2015 → esm2015}/appbar.module.js +18 -11
  41. package/esm2015/bottomnavigation/bottomnavigation-item.component.js +102 -0
  42. package/{dist/es2015 → esm2015}/bottomnavigation/bottomnavigation.component.js +70 -88
  43. package/{dist/es2015 → esm2015}/bottomnavigation/constants.js +0 -0
  44. package/{dist/es2015 → esm2015}/bottomnavigation/events/select-event.js +0 -0
  45. package/esm2015/bottomnavigation/templates/item-template.directive.js +26 -0
  46. package/{dist/es2015 → esm2015}/bottomnavigation/types/bottomnavigation-fill.js +1 -0
  47. package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-item-flow.js +1 -0
  48. package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-item.js +1 -0
  49. package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-position-mode.js +1 -0
  50. package/{dist/es2015 → esm2015}/bottomnavigation/types/bottomnavigation-theme-color.js +1 -0
  51. package/{dist/es2015 → esm2015}/bottomnavigation.module.js +14 -11
  52. package/esm2015/breadcrumb/breadcrumb-item.component.js +161 -0
  53. package/{dist/es2015 → esm2015}/breadcrumb/breadcrumb.component.js +88 -73
  54. package/esm2015/breadcrumb/list.component.js +92 -0
  55. package/{dist/es → esm2015}/breadcrumb/models/breadcrumb-item.interface.js +1 -0
  56. package/{dist/es → esm2015}/breadcrumb/models/collapse-mode.js +1 -0
  57. package/{dist/es2015 → esm2015}/breadcrumb/models/constants.js +0 -0
  58. package/esm2015/breadcrumb/template-directives/item-template.directive.js +27 -0
  59. package/esm2015/breadcrumb/template-directives/separator.directive.js +69 -0
  60. package/{dist/es2015 → esm2015}/breadcrumb/util.js +0 -3
  61. package/{dist/es2015 → esm2015}/breadcrumb.module.js +18 -11
  62. package/{dist/es → esm2015}/common/direction.js +1 -0
  63. package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
  64. package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
  65. package/{dist/es2015 → esm2015}/common/util.js +0 -0
  66. package/{dist/es/appbar/models/position.js → esm2015/kendo-angular-navigation.js} +4 -0
  67. package/{dist/es → esm2015}/main.js +2 -0
  68. package/{dist/es2015 → esm2015}/navigation.module.js +20 -13
  69. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  70. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-navigation.js} +584 -568
  71. package/{dist/es/breadcrumb/models/constants.js → kendo-angular-navigation.d.ts} +3 -2
  72. package/{dist/es2015/main.d.ts → main.d.ts} +2 -0
  73. package/{dist/es2015/navigation.module.d.ts → navigation.module.d.ts} +7 -0
  74. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  75. package/package.json +33 -109
  76. package/schematics/ngAdd/index.js +5 -2
  77. package/schematics/ngAdd/index.js.map +1 -1
  78. package/dist/cdn/js/kendo-angular-navigation.js +0 -20
  79. package/dist/cdn/main.js +0 -5
  80. package/dist/es/appbar/appbar-section.component.js +0 -41
  81. package/dist/es/appbar/appbar-spacer.component.js +0 -77
  82. package/dist/es/appbar/appbar.component.js +0 -202
  83. package/dist/es/appbar/models/theme-color.js +0 -4
  84. package/dist/es/appbar.module.js +0 -61
  85. package/dist/es/bottomnavigation/bottomnavigation-item.component.js +0 -136
  86. package/dist/es/bottomnavigation/bottomnavigation.component.js +0 -356
  87. package/dist/es/bottomnavigation/constants.js +0 -12
  88. package/dist/es/bottomnavigation/events/select-event.js +0 -17
  89. package/dist/es/bottomnavigation/templates/item-template.directive.js +0 -25
  90. package/dist/es/bottomnavigation/types/bottomnavigation-fill.js +0 -4
  91. package/dist/es/bottomnavigation/types/bottomnavigation-theme-color.js +0 -19
  92. package/dist/es/bottomnavigation.module.js +0 -57
  93. package/dist/es/breadcrumb/breadcrumb-item.component.js +0 -98
  94. package/dist/es/breadcrumb/breadcrumb.component.js +0 -274
  95. package/dist/es/breadcrumb/list.component.js +0 -80
  96. package/dist/es/breadcrumb/template-directives/item-template.directive.js +0 -26
  97. package/dist/es/breadcrumb/template-directives/separator.directive.js +0 -78
  98. package/dist/es/breadcrumb/util.js +0 -27
  99. package/dist/es/breadcrumb.module.js +0 -68
  100. package/dist/es/common/dom-queries.js +0 -25
  101. package/dist/es/common/preventable-event.js +0 -36
  102. package/dist/es/common/util.js +0 -17
  103. package/dist/es/index.js +0 -15
  104. package/dist/es/navigation.module.js +0 -55
  105. package/dist/es/package-metadata.js +0 -15
  106. package/dist/es2015/appbar/appbar-section.component.js +0 -60
  107. package/dist/es2015/appbar/models/position-mode.js +0 -4
  108. package/dist/es2015/bottomnavigation/bottomnavigation-item.component.js +0 -110
  109. package/dist/es2015/bottomnavigation/templates/item-template.directive.js +0 -24
  110. package/dist/es2015/bottomnavigation/types/bottomnavigation-item-flow.js +0 -4
  111. package/dist/es2015/bottomnavigation/types/bottomnavigation-item.js +0 -4
  112. package/dist/es2015/bottomnavigation/types/bottomnavigation-position-mode.js +0 -4
  113. package/dist/es2015/breadcrumb/breadcrumb-item.component.js +0 -128
  114. package/dist/es2015/breadcrumb/list.component.js +0 -98
  115. package/dist/es2015/breadcrumb/models/breadcrumb-item.interface.js +0 -4
  116. package/dist/es2015/breadcrumb/models/collapse-mode.js +0 -4
  117. package/dist/es2015/breadcrumb/template-directives/item-template.directive.js +0 -25
  118. package/dist/es2015/breadcrumb/template-directives/separator.directive.js +0 -71
  119. package/dist/es2015/common/direction.js +0 -4
  120. package/dist/es2015/index.d.ts +0 -15
  121. package/dist/es2015/index.js +0 -15
  122. package/dist/es2015/index.metadata.json +0 -1
  123. package/dist/es2015/main.js +0 -19
  124. package/dist/fesm5/index.js +0 -1633
  125. package/dist/npm/appbar/appbar-section.component.js +0 -43
  126. package/dist/npm/appbar/appbar-spacer.component.js +0 -79
  127. package/dist/npm/appbar/appbar.component.js +0 -204
  128. package/dist/npm/appbar/models/position-mode.js +0 -6
  129. package/dist/npm/appbar/models/position.js +0 -6
  130. package/dist/npm/appbar/models/theme-color.js +0 -6
  131. package/dist/npm/appbar.module.js +0 -63
  132. package/dist/npm/bottomnavigation/bottomnavigation-item.component.js +0 -138
  133. package/dist/npm/bottomnavigation/bottomnavigation.component.js +0 -358
  134. package/dist/npm/bottomnavigation/constants.js +0 -14
  135. package/dist/npm/bottomnavigation/events/select-event.js +0 -19
  136. package/dist/npm/bottomnavigation/templates/item-template.directive.js +0 -27
  137. package/dist/npm/bottomnavigation/types/bottomnavigation-fill.js +0 -6
  138. package/dist/npm/bottomnavigation/types/bottomnavigation-item-flow.js +0 -6
  139. package/dist/npm/bottomnavigation/types/bottomnavigation-item.js +0 -6
  140. package/dist/npm/bottomnavigation/types/bottomnavigation-position-mode.js +0 -6
  141. package/dist/npm/bottomnavigation/types/bottomnavigation-theme-color.js +0 -21
  142. package/dist/npm/bottomnavigation.module.js +0 -59
  143. package/dist/npm/breadcrumb/breadcrumb-item.component.js +0 -100
  144. package/dist/npm/breadcrumb/breadcrumb.component.js +0 -276
  145. package/dist/npm/breadcrumb/list.component.js +0 -82
  146. package/dist/npm/breadcrumb/models/breadcrumb-item.interface.js +0 -6
  147. package/dist/npm/breadcrumb/models/collapse-mode.js +0 -6
  148. package/dist/npm/breadcrumb/models/constants.js +0 -10
  149. package/dist/npm/breadcrumb/template-directives/item-template.directive.js +0 -28
  150. package/dist/npm/breadcrumb/template-directives/separator.directive.js +0 -80
  151. package/dist/npm/breadcrumb/util.js +0 -30
  152. package/dist/npm/breadcrumb.module.js +0 -70
  153. package/dist/npm/common/direction.js +0 -6
  154. package/dist/npm/common/dom-queries.js +0 -28
  155. package/dist/npm/common/preventable-event.js +0 -38
  156. package/dist/npm/common/util.js +0 -19
  157. package/dist/npm/index.js +0 -25
  158. package/dist/npm/main.js +0 -33
  159. package/dist/npm/navigation.module.js +0 -57
  160. package/dist/npm/package-metadata.js +0 -17
  161. package/dist/systemjs/kendo-angular-navigation.js +0 -5
@@ -2,12 +2,15 @@
2
2
  * Copyright © 2021 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 { __decorate, __metadata, __param } from 'tslib';
6
- import { HostBinding, Input, Component, Renderer2, ElementRef, NgModule, Directive, Optional, TemplateRef, EventEmitter, Output, ViewChildren, QueryList, NgZone, isDevMode, ViewChild, ContentChild, ChangeDetectorRef } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { Component, HostBinding, Input, NgModule, Directive, Optional, EventEmitter, Output, ViewChildren, isDevMode, ElementRef, ViewChild, ContentChild } from '@angular/core';
7
+ import * as i1 from '@progress/kendo-angular-l10n';
7
8
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
8
9
  import { validatePackage } from '@progress/kendo-licensing';
10
+ import * as i1$1 from '@angular/common';
9
11
  import { CommonModule } from '@angular/common';
10
- import { isDocumentAvailable, Keys, ResizeSensorComponent, ResizeSensorModule } from '@progress/kendo-angular-common';
12
+ import * as i3 from '@progress/kendo-angular-common';
13
+ import { isDocumentAvailable, Keys, ResizeSensorModule } from '@progress/kendo-angular-common';
11
14
  import { fromEvent, merge, ReplaySubject, Subject, Subscription } from 'rxjs';
12
15
  import { filter, map, startWith, share } from 'rxjs/operators';
13
16
 
@@ -18,7 +21,7 @@ const packageMetadata = {
18
21
  name: '@progress/kendo-angular-navigation',
19
22
  productName: 'Kendo UI for Angular',
20
23
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
21
- publishDate: 1647344375,
24
+ publishDate: 1649930491,
22
25
  version: '',
23
26
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
24
27
  };
@@ -27,7 +30,7 @@ const packageMetadata = {
27
30
  * Represents the [Kendo UI AppBar component for Angular]({% slug overview_appbar %}).
28
31
  * Used to display information, actions, branding titles and additional navigation on the current screen.
29
32
  */
30
- let AppBarComponent = class AppBarComponent {
33
+ class AppBarComponent {
31
34
  constructor(localizationService) {
32
35
  this.localizationService = localizationService;
33
36
  this.hostClass = true;
@@ -104,84 +107,70 @@ let AppBarComponent = class AppBarComponent {
104
107
  this.dynamicRTLSubscription.unsubscribe();
105
108
  }
106
109
  }
107
- };
108
- __decorate([
109
- HostBinding('class.k-appbar'),
110
- __metadata("design:type", Boolean)
111
- ], AppBarComponent.prototype, "hostClass", void 0);
112
- __decorate([
113
- HostBinding('class.k-appbar-top'),
114
- __metadata("design:type", Boolean),
115
- __metadata("design:paramtypes", [])
116
- ], AppBarComponent.prototype, "topClass", null);
117
- __decorate([
118
- HostBinding('class.k-appbar-bottom'),
119
- __metadata("design:type", Boolean),
120
- __metadata("design:paramtypes", [])
121
- ], AppBarComponent.prototype, "bottomClass", null);
122
- __decorate([
123
- HostBinding('class.k-appbar-sticky'),
124
- __metadata("design:type", Boolean),
125
- __metadata("design:paramtypes", [])
126
- ], AppBarComponent.prototype, "stickyClass", null);
127
- __decorate([
128
- HostBinding('class.k-appbar-fixed'),
129
- __metadata("design:type", Boolean),
130
- __metadata("design:paramtypes", [])
131
- ], AppBarComponent.prototype, "fixedClass", null);
132
- __decorate([
133
- HostBinding('class.k-appbar-static'),
134
- __metadata("design:type", Boolean),
135
- __metadata("design:paramtypes", [])
136
- ], AppBarComponent.prototype, "staticClass", null);
137
- __decorate([
138
- HostBinding('class.k-appbar-light'),
139
- __metadata("design:type", Boolean),
140
- __metadata("design:paramtypes", [])
141
- ], AppBarComponent.prototype, "lightClass", null);
142
- __decorate([
143
- HostBinding('class.k-appbar-dark'),
144
- __metadata("design:type", Boolean),
145
- __metadata("design:paramtypes", [])
146
- ], AppBarComponent.prototype, "darkClass", null);
147
- __decorate([
148
- HostBinding('class.k-appbar-inherit'),
149
- __metadata("design:type", Boolean),
150
- __metadata("design:paramtypes", [])
151
- ], AppBarComponent.prototype, "inheritClass", null);
152
- __decorate([
153
- HostBinding('attr.dir'),
154
- __metadata("design:type", String)
155
- ], AppBarComponent.prototype, "direction", void 0);
156
- __decorate([
157
- Input(),
158
- __metadata("design:type", String)
159
- ], AppBarComponent.prototype, "position", void 0);
160
- __decorate([
161
- Input(),
162
- __metadata("design:type", String)
163
- ], AppBarComponent.prototype, "positionMode", void 0);
164
- __decorate([
165
- Input(),
166
- __metadata("design:type", String)
167
- ], AppBarComponent.prototype, "themeColor", void 0);
168
- AppBarComponent = __decorate([
169
- Component({
170
- exportAs: 'kendoAppBar',
171
- selector: 'kendo-appbar',
172
- template: `
110
+ }
111
+ AppBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
112
+ AppBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBarComponent, selector: "kendo-appbar", inputs: { position: "position", positionMode: "positionMode", themeColor: "themeColor" }, host: { properties: { "class.k-appbar": "this.hostClass", "class.k-appbar-top": "this.topClass", "class.k-appbar-bottom": "this.bottomClass", "class.k-appbar-sticky": "this.stickyClass", "class.k-appbar-fixed": "this.fixedClass", "class.k-appbar-static": "this.staticClass", "class.k-appbar-light": "this.lightClass", "class.k-appbar-dark": "this.darkClass", "class.k-appbar-inherit": "this.inheritClass", "attr.dir": "this.direction" } }, providers: [
113
+ LocalizationService,
114
+ {
115
+ provide: L10N_PREFIX,
116
+ useValue: 'kendo.appbar.component'
117
+ }
118
+ ], exportAs: ["kendoAppBar"], ngImport: i0, template: `
119
+ <ng-content></ng-content>
120
+ `, isInline: true });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarComponent, decorators: [{
122
+ type: Component,
123
+ args: [{
124
+ exportAs: 'kendoAppBar',
125
+ selector: 'kendo-appbar',
126
+ template: `
173
127
  <ng-content></ng-content>
174
128
  `,
175
- providers: [
176
- LocalizationService,
177
- {
178
- provide: L10N_PREFIX,
179
- useValue: 'kendo.appbar.component'
180
- }
181
- ]
182
- }),
183
- __metadata("design:paramtypes", [LocalizationService])
184
- ], AppBarComponent);
129
+ providers: [
130
+ LocalizationService,
131
+ {
132
+ provide: L10N_PREFIX,
133
+ useValue: 'kendo.appbar.component'
134
+ }
135
+ ]
136
+ }]
137
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
138
+ type: HostBinding,
139
+ args: ['class.k-appbar']
140
+ }], topClass: [{
141
+ type: HostBinding,
142
+ args: ['class.k-appbar-top']
143
+ }], bottomClass: [{
144
+ type: HostBinding,
145
+ args: ['class.k-appbar-bottom']
146
+ }], stickyClass: [{
147
+ type: HostBinding,
148
+ args: ['class.k-appbar-sticky']
149
+ }], fixedClass: [{
150
+ type: HostBinding,
151
+ args: ['class.k-appbar-fixed']
152
+ }], staticClass: [{
153
+ type: HostBinding,
154
+ args: ['class.k-appbar-static']
155
+ }], lightClass: [{
156
+ type: HostBinding,
157
+ args: ['class.k-appbar-light']
158
+ }], darkClass: [{
159
+ type: HostBinding,
160
+ args: ['class.k-appbar-dark']
161
+ }], inheritClass: [{
162
+ type: HostBinding,
163
+ args: ['class.k-appbar-inherit']
164
+ }], direction: [{
165
+ type: HostBinding,
166
+ args: ['attr.dir']
167
+ }], position: [{
168
+ type: Input
169
+ }], positionMode: [{
170
+ type: Input
171
+ }], themeColor: [{
172
+ type: Input
173
+ }] } });
185
174
 
186
175
  /**
187
176
  * Represents the [Kendo UI AppBarSection component for Angular]({% slug contentarrangement_appbar %}#toc-sections).
@@ -201,41 +190,27 @@ AppBarComponent = __decorate([
201
190
  * })
202
191
  * class AppComponent {}
203
192
  */
204
- let AppBarSectionComponent = class AppBarSectionComponent {
205
- /**
206
- * Represents the [Kendo UI AppBarSection component for Angular]({% slug contentarrangement_appbar %}#toc-sections).
207
- *
208
- * @example
209
- *
210
- * ```ts-no-run
211
- * * _@Component({
212
- * selector: 'my-app',
213
- * template: `
214
- * <kendo-appbar>
215
- * <kendo-appbar-section>
216
- * <h2>Page Title</h2>
217
- * </kendo-appbar-section>
218
- * </kendo-appbar>
219
- * `
220
- * })
221
- * class AppComponent {}
222
- */
193
+ class AppBarSectionComponent {
223
194
  constructor() {
224
195
  this.hostClass = true;
225
196
  }
226
- };
227
- __decorate([
228
- HostBinding('class.k-appbar-section'),
229
- __metadata("design:type", Boolean)
230
- ], AppBarSectionComponent.prototype, "hostClass", void 0);
231
- AppBarSectionComponent = __decorate([
232
- Component({
233
- selector: 'kendo-appbar-section',
234
- template: `
197
+ }
198
+ AppBarSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
199
+ AppBarSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBarSectionComponent, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
200
+ <ng-content></ng-content>
201
+ `, isInline: true });
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSectionComponent, decorators: [{
203
+ type: Component,
204
+ args: [{
205
+ selector: 'kendo-appbar-section',
206
+ template: `
235
207
  <ng-content></ng-content>
236
208
  `
237
- })
238
- ], AppBarSectionComponent);
209
+ }]
210
+ }], propDecorators: { hostClass: [{
211
+ type: HostBinding,
212
+ args: ['class.k-appbar-section']
213
+ }] } });
239
214
 
240
215
  /**
241
216
  * @hidden
@@ -279,7 +254,7 @@ const outerWidth = (element) => {
279
254
  * class AppComponent {}
280
255
  * ```
281
256
  */
282
- let AppBarSpacerComponent = class AppBarSpacerComponent {
257
+ class AppBarSpacerComponent {
283
258
  constructor(renderer, element) {
284
259
  this.renderer = renderer;
285
260
  this.element = element;
@@ -294,35 +269,32 @@ let AppBarSpacerComponent = class AppBarSpacerComponent {
294
269
  this.renderer.setStyle(element, 'flexBasis', this.width);
295
270
  }
296
271
  }
297
- };
298
- __decorate([
299
- HostBinding('class.k-appbar-spacer'),
300
- __metadata("design:type", Boolean)
301
- ], AppBarSpacerComponent.prototype, "hostClass", void 0);
302
- __decorate([
303
- HostBinding('class.k-appbar-spacer-sized'),
304
- __metadata("design:type", Boolean),
305
- __metadata("design:paramtypes", [])
306
- ], AppBarSpacerComponent.prototype, "sizedClass", null);
307
- __decorate([
308
- Input(),
309
- __metadata("design:type", String)
310
- ], AppBarSpacerComponent.prototype, "width", void 0);
311
- AppBarSpacerComponent = __decorate([
312
- Component({
313
- selector: 'kendo-appbar-spacer',
314
- template: ``
315
- }),
316
- __metadata("design:paramtypes", [Renderer2, ElementRef])
317
- ], AppBarSpacerComponent);
272
+ }
273
+ AppBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSpacerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
274
+ AppBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBarSpacerComponent, selector: "kendo-appbar-spacer", inputs: { width: "width" }, host: { properties: { "class.k-appbar-spacer": "this.hostClass", "class.k-appbar-spacer-sized": "this.sizedClass" } }, ngImport: i0, template: ``, isInline: true });
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
276
+ type: Component,
277
+ args: [{
278
+ selector: 'kendo-appbar-spacer',
279
+ template: ``
280
+ }]
281
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
282
+ type: HostBinding,
283
+ args: ['class.k-appbar-spacer']
284
+ }], sizedClass: [{
285
+ type: HostBinding,
286
+ args: ['class.k-appbar-spacer-sized']
287
+ }], width: [{
288
+ type: Input
289
+ }] } });
318
290
 
319
- const exportedModules = [
291
+ const exportedModules$1 = [
320
292
  AppBarComponent,
321
293
  AppBarSectionComponent,
322
294
  AppBarSpacerComponent
323
295
  ];
324
- const declarations = [
325
- ...exportedModules
296
+ const declarations$2 = [
297
+ ...exportedModules$1
326
298
  ];
327
299
  /**
328
300
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -356,15 +328,23 @@ const declarations = [
356
328
  *
357
329
  * ```
358
330
  */
359
- let AppBarModule = class AppBarModule {
360
- };
361
- AppBarModule = __decorate([
362
- NgModule({
363
- declarations: [declarations],
364
- exports: [exportedModules],
365
- imports: [CommonModule]
366
- })
367
- ], AppBarModule);
331
+ class AppBarModule {
332
+ }
333
+ AppBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
334
+ AppBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, declarations: [AppBarComponent,
335
+ AppBarSectionComponent,
336
+ AppBarSpacerComponent], imports: [CommonModule], exports: [AppBarComponent,
337
+ AppBarSectionComponent,
338
+ AppBarSpacerComponent] });
339
+ AppBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, imports: [[CommonModule]] });
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, decorators: [{
341
+ type: NgModule,
342
+ args: [{
343
+ declarations: [declarations$2],
344
+ exports: [exportedModules$1],
345
+ imports: [CommonModule]
346
+ }]
347
+ }] });
368
348
 
369
349
  /**
370
350
  * Represents a template that defines the content of a Breadcrumb item.
@@ -372,18 +352,21 @@ AppBarModule = __decorate([
372
352
  *
373
353
  * For more information and example refer to the [Templates]({% slug templates_breadcrumb %}) article.
374
354
  */
375
- let BreadCrumbItemTemplateDirective = class BreadCrumbItemTemplateDirective {
355
+ class BreadCrumbItemTemplateDirective {
376
356
  constructor(templateRef) {
377
357
  this.templateRef = templateRef;
378
358
  }
379
- };
380
- BreadCrumbItemTemplateDirective = __decorate([
381
- Directive({
382
- selector: '[kendoBreadCrumbItemTemplate]'
383
- }),
384
- __param(0, Optional()),
385
- __metadata("design:paramtypes", [TemplateRef])
386
- ], BreadCrumbItemTemplateDirective);
359
+ }
360
+ BreadCrumbItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
361
+ BreadCrumbItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BreadCrumbItemTemplateDirective, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbItemTemplateDirective, decorators: [{
363
+ type: Directive,
364
+ args: [{
365
+ selector: '[kendoBreadCrumbItemTemplate]'
366
+ }]
367
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
368
+ type: Optional
369
+ }] }]; } });
387
370
 
388
371
  /**
389
372
  * @hidden
@@ -393,7 +376,7 @@ const BREADCRUMB_ITEM_INDEX = 'data-kendo-breadcrumb-index';
393
376
  /**
394
377
  * @hidden
395
378
  */
396
- let BreadCrumbItemComponent = class BreadCrumbItemComponent {
379
+ class BreadCrumbItemComponent {
397
380
  constructor(el) {
398
381
  this.el = el;
399
382
  this.index = -1;
@@ -422,47 +405,58 @@ let BreadCrumbItemComponent = class BreadCrumbItemComponent {
422
405
  this.width = outerWidth(this.el.nativeElement);
423
406
  }
424
407
  }
425
- };
426
- __decorate([
427
- Input(),
428
- __metadata("design:type", Object)
429
- ], BreadCrumbItemComponent.prototype, "item", void 0);
430
- __decorate([
431
- Input(),
432
- __metadata("design:type", String)
433
- ], BreadCrumbItemComponent.prototype, "collapseMode", void 0);
434
- __decorate([
435
- Input(),
436
- __metadata("design:type", Number)
437
- ], BreadCrumbItemComponent.prototype, "index", void 0);
438
- __decorate([
439
- Input(),
440
- __metadata("design:type", TemplateRef)
441
- ], BreadCrumbItemComponent.prototype, "itemTemplate", void 0);
442
- __decorate([
443
- HostBinding('class.k-flex-none'),
444
- HostBinding('class.k-breadcrumb-item'),
445
- __metadata("design:type", Boolean)
446
- ], BreadCrumbItemComponent.prototype, "hostClasses", void 0);
447
- __decorate([
448
- HostBinding('class.k-breadcrumb-root-item'),
449
- __metadata("design:type", Boolean),
450
- __metadata("design:paramtypes", [])
451
- ], BreadCrumbItemComponent.prototype, "isRootItem", null);
452
- __decorate([
453
- HostBinding('attr.aria-disabled'),
454
- __metadata("design:type", Boolean),
455
- __metadata("design:paramtypes", [])
456
- ], BreadCrumbItemComponent.prototype, "isDisabled", null);
457
- __decorate([
458
- HostBinding('class.k-breadcrumb-last-item'),
459
- __metadata("design:type", Boolean),
460
- __metadata("design:paramtypes", [])
461
- ], BreadCrumbItemComponent.prototype, "isLastItem", null);
462
- BreadCrumbItemComponent = __decorate([
463
- Component({
464
- selector: '[kendoBreadCrumbItem]',
465
- template: `
408
+ }
409
+ BreadCrumbItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
410
+ BreadCrumbItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: { item: "item", collapseMode: "collapseMode", index: "index", itemTemplate: "itemTemplate" }, host: { properties: { "class.k-flex-none": "this.hostClasses", "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: `
411
+ <ng-template #separator>
412
+ <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
413
+ </ng-template>
414
+
415
+ <ng-container *ngIf="collapseMode === 'wrap'">
416
+ <ng-container *ngTemplateOutlet="separator"></ng-container>
417
+ </ng-container>
418
+
419
+ <ng-container *ngIf="!item.context.collapsed">
420
+ <span
421
+ *ngIf="!itemTemplate"
422
+ [ngClass]="{
423
+ 'k-breadcrumb-root-link': item.context.isFirst,
424
+ 'k-breadcrumb-link': index !== 0,
425
+ 'k-breadcrumb-icontext-link': !!item.data.icon && !!item.data.text,
426
+ 'k-breadcrumb-icon-link': !!item.data.icon && !item.data.text,
427
+ 'k-state-disabled': disabled
428
+ }"
429
+ [title]="item.data.title || ''"
430
+ [tabindex]="disabled ? -1 : 0"
431
+ [attr.aria-current]="item.context.isLast ? true : null"
432
+ role="link"
433
+ class="k-cursor-pointer k-flex-none"
434
+ >
435
+ <img *ngIf="item.data.imageUrl" (load)="onImageLoad()" [src]="item.data.imageUrl" class="k-image" role="presentation" />
436
+ <span *ngIf="item.data.icon && !item.data.iconClass" class="k-icon k-i-{{ item.data.icon }}"></span>
437
+ <span *ngIf="item.data.iconClass" class="{{ item.data.iconClass }}"></span>
438
+ {{ item.data.text }}
439
+ </span>
440
+ <ng-template
441
+ *ngIf="itemTemplate"
442
+ [ngTemplateOutlet]="itemTemplate"
443
+ [ngTemplateOutletContext]="{
444
+ $implicit: item.data,
445
+ index: index
446
+ }"
447
+ ></ng-template>
448
+ </ng-container>
449
+
450
+ <ng-container *ngIf="collapseMode !== 'wrap'">
451
+ <ng-container *ngTemplateOutlet="separator"></ng-container>
452
+ </ng-container>
453
+ `, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
455
+ type: Component,
456
+ args: [{
457
+ // eslint-disable-next-line @angular-eslint/component-selector
458
+ selector: '[kendoBreadCrumbItem]',
459
+ template: `
466
460
  <ng-template #separator>
467
461
  <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
468
462
  </ng-template>
@@ -506,9 +500,31 @@ BreadCrumbItemComponent = __decorate([
506
500
  <ng-container *ngTemplateOutlet="separator"></ng-container>
507
501
  </ng-container>
508
502
  `
509
- }),
510
- __metadata("design:paramtypes", [ElementRef])
511
- ], BreadCrumbItemComponent);
503
+ }]
504
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { item: [{
505
+ type: Input
506
+ }], collapseMode: [{
507
+ type: Input
508
+ }], index: [{
509
+ type: Input
510
+ }], itemTemplate: [{
511
+ type: Input
512
+ }], hostClasses: [{
513
+ type: HostBinding,
514
+ args: ['class.k-flex-none']
515
+ }, {
516
+ type: HostBinding,
517
+ args: ['class.k-breadcrumb-item']
518
+ }], isRootItem: [{
519
+ type: HostBinding,
520
+ args: ['class.k-breadcrumb-root-item']
521
+ }], isDisabled: [{
522
+ type: HostBinding,
523
+ args: ['attr.aria-disabled']
524
+ }], isLastItem: [{
525
+ type: HostBinding,
526
+ args: ['class.k-breadcrumb-last-item']
527
+ }] } });
512
528
 
513
529
  const closestInScope = (target, targetAttr, predicate, scope) => {
514
530
  while (target && target !== scope && !predicate(target, targetAttr)) {
@@ -528,10 +544,72 @@ const itemIndex = (item, indexAttr) => +item.getAttribute(indexAttr);
528
544
  */
529
545
  const closestItem = (target, targetAttr, scope) => closestInScope(target, targetAttr, hasItemIndex, scope);
530
546
 
547
+ const DEFAULT_ICON = 'arrow-chevron-right';
548
+ const DEFAULT_RTL_ICON = 'arrow-chevron-left';
531
549
  /**
532
550
  * @hidden
533
551
  */
534
- let BreadCrumbListComponent = class BreadCrumbListComponent {
552
+ class BreadCrumbSeparatorDirective {
553
+ constructor(el, localization) {
554
+ this.el = el;
555
+ this.localization = localization;
556
+ this.defaultClasses = true;
557
+ this.ariaHidden = true;
558
+ this.direction = 'ltr';
559
+ this.direction = this.localization.rtl ? 'rtl' : 'ltr';
560
+ }
561
+ set icon(icon) {
562
+ const element = this.el.nativeElement;
563
+ element.classList.remove(`k-i-${this._icon}`);
564
+ if (isPresent(icon)) {
565
+ this._icon = icon;
566
+ this.hasDefaultIcon = false;
567
+ }
568
+ else {
569
+ this._icon = this.direction === 'ltr' ? DEFAULT_ICON : DEFAULT_RTL_ICON;
570
+ this.hasDefaultIcon = true;
571
+ }
572
+ element.classList.add(`k-i-${this._icon}`);
573
+ }
574
+ get icon() {
575
+ return this._icon;
576
+ }
577
+ ngOnInit() {
578
+ this.localizationChangesSubscription = this.localization.changes.subscribe(({ rtl }) => {
579
+ this.direction = rtl ? 'rtl' : 'ltr';
580
+ if (this.hasDefaultIcon) {
581
+ this.icon = undefined;
582
+ }
583
+ });
584
+ }
585
+ ngOnDestroy() {
586
+ this.localizationChangesSubscription.unsubscribe();
587
+ }
588
+ }
589
+ BreadCrumbSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
590
+ BreadCrumbSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon" }, host: { properties: { "class.k-breadcrumb-delimiter-icon": "this.defaultClasses", "class.k-icon": "this.defaultClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0 });
591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
592
+ type: Directive,
593
+ args: [{
594
+ selector: '[kendoBreadCrumbSeparator]'
595
+ }]
596
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
597
+ type: Input
598
+ }], defaultClasses: [{
599
+ type: HostBinding,
600
+ args: ['class.k-breadcrumb-delimiter-icon']
601
+ }, {
602
+ type: HostBinding,
603
+ args: ['class.k-icon']
604
+ }], ariaHidden: [{
605
+ type: HostBinding,
606
+ args: ['attr.aria-hidden']
607
+ }] } });
608
+
609
+ /**
610
+ * @hidden
611
+ */
612
+ class BreadCrumbListComponent {
535
613
  constructor(el, zone) {
536
614
  this.el = el;
537
615
  this.zone = zone;
@@ -560,35 +638,15 @@ let BreadCrumbListComponent = class BreadCrumbListComponent {
560
638
  return itemIndex(item, BREADCRUMB_ITEM_INDEX);
561
639
  }
562
640
  }
563
- };
564
- __decorate([
565
- Input(),
566
- __metadata("design:type", Array)
567
- ], BreadCrumbListComponent.prototype, "items", void 0);
568
- __decorate([
569
- Input(),
570
- __metadata("design:type", TemplateRef)
571
- ], BreadCrumbListComponent.prototype, "itemTemplate", void 0);
572
- __decorate([
573
- Input(),
574
- __metadata("design:type", String)
575
- ], BreadCrumbListComponent.prototype, "collapseMode", void 0);
576
- __decorate([
577
- Input(),
578
- __metadata("design:type", String)
579
- ], BreadCrumbListComponent.prototype, "separatorIcon", void 0);
580
- __decorate([
581
- Output(),
582
- __metadata("design:type", EventEmitter)
583
- ], BreadCrumbListComponent.prototype, "itemClick", void 0);
584
- __decorate([
585
- ViewChildren(BreadCrumbItemComponent),
586
- __metadata("design:type", QueryList)
587
- ], BreadCrumbListComponent.prototype, "renderedItems", void 0);
588
- BreadCrumbListComponent = __decorate([
589
- Component({
590
- selector: '[kendoBreadCrumbList]',
591
- template: `
641
+ }
642
+ BreadCrumbListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
643
+ BreadCrumbListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: { items: "items", itemTemplate: "itemTemplate", collapseMode: "collapseMode", separatorIcon: "separatorIcon" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "renderedItems", predicate: BreadCrumbItemComponent, descendants: true }], ngImport: i0, template: "\n <ng-container *ngFor=\"let item of items; let i = index; let isFirst = first; let isLast = last\">\n <li\n #renderedItem\n kendoBreadCrumbItem\n *ngIf=\"!(collapseMode === 'wrap' && isFirst) || isRootItemContainer\"\n [attr.data-kendo-breadcrumb-index]=\"i\"\n [item]=\"item\"\n [index]=\"i\"\n [collapseMode]=\"collapseMode\"\n [itemTemplate]=\"itemTemplate\"\n >\n <span kendoBreadCrumbSeparator [icon]=\"separatorIcon\" *ngIf=\"collapseMode === 'wrap' && !isFirst\"></span>\n <span\n kendoBreadCrumbSeparator\n [icon]=\"separatorIcon\"\n *ngIf=\"collapseMode !== 'wrap' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)\"\n ></span>\n </li>\n </ng-container>\n ", isInline: true, components: [{ type: BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon"] }] });
644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbListComponent, decorators: [{
645
+ type: Component,
646
+ args: [{
647
+ // eslint-disable-next-line @angular-eslint/component-selector
648
+ selector: '[kendoBreadCrumbList]',
649
+ template: `
592
650
  <ng-container *ngFor="let item of items; let i = index; let isFirst = first; let isLast = last">
593
651
  <li
594
652
  #renderedItem
@@ -609,9 +667,21 @@ BreadCrumbListComponent = __decorate([
609
667
  </li>
610
668
  </ng-container>
611
669
  `
612
- }),
613
- __metadata("design:paramtypes", [ElementRef, NgZone])
614
- ], BreadCrumbListComponent);
670
+ }]
671
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { items: [{
672
+ type: Input
673
+ }], itemTemplate: [{
674
+ type: Input
675
+ }], collapseMode: [{
676
+ type: Input
677
+ }], separatorIcon: [{
678
+ type: Input
679
+ }], itemClick: [{
680
+ type: Output
681
+ }], renderedItems: [{
682
+ type: ViewChildren,
683
+ args: [BreadCrumbItemComponent]
684
+ }] } });
615
685
 
616
686
  const getCollapsed = (itemComponent) => itemComponent.item.context.collapsed;
617
687
  /**
@@ -661,7 +731,7 @@ const expandFirst = toggleFirst(true);
661
731
  * }
662
732
  * ```
663
733
  */
664
- let BreadCrumbComponent = class BreadCrumbComponent {
734
+ class BreadCrumbComponent {
665
735
  constructor(el, cdr, zone, localization) {
666
736
  this.el = el;
667
737
  this.cdr = cdr;
@@ -797,68 +867,52 @@ let BreadCrumbComponent = class BreadCrumbComponent {
797
867
  }));
798
868
  }));
799
869
  }
800
- };
801
- __decorate([
802
- Input(),
803
- __metadata("design:type", Array),
804
- __metadata("design:paramtypes", [Array])
805
- ], BreadCrumbComponent.prototype, "items", null);
806
- __decorate([
807
- Input(),
808
- __metadata("design:type", String)
809
- ], BreadCrumbComponent.prototype, "separatorIcon", void 0);
810
- __decorate([
811
- Input(),
812
- __metadata("design:type", String),
813
- __metadata("design:paramtypes", [String])
814
- ], BreadCrumbComponent.prototype, "collapseMode", null);
815
- __decorate([
816
- Output(),
817
- __metadata("design:type", EventEmitter)
818
- ], BreadCrumbComponent.prototype, "itemClick", void 0);
819
- __decorate([
820
- ViewChild('resizeSensor', { static: true }),
821
- __metadata("design:type", ResizeSensorComponent)
822
- ], BreadCrumbComponent.prototype, "resizeSensor", void 0);
823
- __decorate([
824
- ViewChildren('itemsContainer', { read: ElementRef }),
825
- __metadata("design:type", QueryList)
826
- ], BreadCrumbComponent.prototype, "itemsContainers", void 0);
827
- __decorate([
828
- ViewChild(BreadCrumbListComponent, { static: true }),
829
- __metadata("design:type", BreadCrumbListComponent)
830
- ], BreadCrumbComponent.prototype, "listComponent", void 0);
831
- __decorate([
832
- ContentChild(BreadCrumbItemTemplateDirective, { static: false }),
833
- __metadata("design:type", BreadCrumbItemTemplateDirective)
834
- ], BreadCrumbComponent.prototype, "itemTemplate", void 0);
835
- __decorate([
836
- HostBinding('class.k-widget'),
837
- HostBinding('class.k-breadcrumb'),
838
- __metadata("design:type", Boolean)
839
- ], BreadCrumbComponent.prototype, "hostClasses", void 0);
840
- __decorate([
841
- HostBinding('class.k-breadcrumb-wrap'),
842
- __metadata("design:type", Boolean),
843
- __metadata("design:paramtypes", [])
844
- ], BreadCrumbComponent.prototype, "wrapMode", null);
845
- __decorate([
846
- HostBinding('attr.dir'),
847
- __metadata("design:type", String),
848
- __metadata("design:paramtypes", [])
849
- ], BreadCrumbComponent.prototype, "getDir", null);
850
- BreadCrumbComponent = __decorate([
851
- Component({
852
- exportAs: 'kendoBreadCrumb',
853
- selector: 'kendo-breadcrumb',
854
- providers: [
855
- LocalizationService,
856
- {
857
- provide: L10N_PREFIX,
858
- useValue: 'kendo.breadcrumb'
859
- }
860
- ],
861
- template: `
870
+ }
871
+ BreadCrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
872
+ BreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BreadCrumbComponent, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", collapseMode: "collapseMode" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.dir": "this.getDir" } }, providers: [
873
+ LocalizationService,
874
+ {
875
+ provide: L10N_PREFIX,
876
+ useValue: 'kendo.breadcrumb'
877
+ }
878
+ ], queries: [{ propertyName: "itemTemplate", first: true, predicate: BreadCrumbItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ["resizeSensor"], descendants: true, static: true }, { propertyName: "listComponent", first: true, predicate: BreadCrumbListComponent, descendants: true, static: true }, { propertyName: "itemsContainers", predicate: ["itemsContainer"], descendants: true, read: ElementRef }], exportAs: ["kendoBreadCrumb"], ngImport: i0, template: `
879
+ <ol
880
+ #itemsContainer
881
+ kendoBreadCrumbList
882
+ class="k-breadcrumb-root-item-container"
883
+ *ngIf="collapseMode === 'wrap'"
884
+ [items]="firstItem$ | async"
885
+ [itemTemplate]="itemTemplate?.templateRef"
886
+ [collapseMode]="collapseMode"
887
+ [separatorIcon]="separatorIcon"
888
+ (itemClick)="itemClick.emit($event)"
889
+ ></ol>
890
+ <ol
891
+ #itemsContainer
892
+ kendoBreadCrumbList
893
+ class="k-breadcrumb-container"
894
+ [items]="itemsData$ | async"
895
+ [itemTemplate]="itemTemplate?.templateRef"
896
+ [collapseMode]="collapseMode"
897
+ [separatorIcon]="separatorIcon"
898
+ (itemClick)="itemClick.emit($event)"
899
+ [ngClass]="{ 'k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
900
+ ></ol>
901
+ <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
902
+ `, isInline: true, components: [{ type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon"], outputs: ["itemClick"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1$1.AsyncPipe } });
903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbComponent, decorators: [{
904
+ type: Component,
905
+ args: [{
906
+ exportAs: 'kendoBreadCrumb',
907
+ selector: 'kendo-breadcrumb',
908
+ providers: [
909
+ LocalizationService,
910
+ {
911
+ provide: L10N_PREFIX,
912
+ useValue: 'kendo.breadcrumb'
913
+ }
914
+ ],
915
+ template: `
862
916
  <ol
863
917
  #itemsContainer
864
918
  kendoBreadCrumbList
@@ -883,87 +937,52 @@ BreadCrumbComponent = __decorate([
883
937
  ></ol>
884
938
  <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
885
939
  `
886
- }),
887
- __metadata("design:paramtypes", [ElementRef,
888
- ChangeDetectorRef,
889
- NgZone,
890
- LocalizationService])
891
- ], BreadCrumbComponent);
892
-
893
- const DEFAULT_ICON = 'arrow-chevron-right';
894
- const DEFAULT_RTL_ICON = 'arrow-chevron-left';
895
- /**
896
- * @hidden
897
- */
898
- let BreadCrumbSeparatorDirective = class BreadCrumbSeparatorDirective {
899
- constructor(el, localization) {
900
- this.el = el;
901
- this.localization = localization;
902
- this.defaultClasses = true;
903
- this.ariaHidden = true;
904
- this.direction = 'ltr';
905
- this.direction = this.localization.rtl ? 'rtl' : 'ltr';
906
- }
907
- set icon(icon) {
908
- const element = this.el.nativeElement;
909
- element.classList.remove(`k-i-${this._icon}`);
910
- if (isPresent(icon)) {
911
- this._icon = icon;
912
- this.hasDefaultIcon = false;
913
- }
914
- else {
915
- this._icon = this.direction === 'ltr' ? DEFAULT_ICON : DEFAULT_RTL_ICON;
916
- this.hasDefaultIcon = true;
917
- }
918
- element.classList.add(`k-i-${this._icon}`);
919
- }
920
- get icon() {
921
- return this._icon;
922
- }
923
- ngOnInit() {
924
- this.localizationChangesSubscription = this.localization.changes.subscribe(({ rtl }) => {
925
- this.direction = rtl ? 'rtl' : 'ltr';
926
- if (this.hasDefaultIcon) {
927
- this.icon = undefined;
928
- }
929
- });
930
- }
931
- ngOnDestroy() {
932
- this.localizationChangesSubscription.unsubscribe();
933
- }
934
- };
935
- __decorate([
936
- Input(),
937
- __metadata("design:type", String),
938
- __metadata("design:paramtypes", [String])
939
- ], BreadCrumbSeparatorDirective.prototype, "icon", null);
940
- __decorate([
941
- HostBinding('class.k-breadcrumb-delimiter-icon'),
942
- HostBinding('class.k-icon'),
943
- __metadata("design:type", Boolean)
944
- ], BreadCrumbSeparatorDirective.prototype, "defaultClasses", void 0);
945
- __decorate([
946
- HostBinding('attr.aria-hidden'),
947
- __metadata("design:type", Boolean)
948
- ], BreadCrumbSeparatorDirective.prototype, "ariaHidden", void 0);
949
- BreadCrumbSeparatorDirective = __decorate([
950
- Directive({
951
- selector: '[kendoBreadCrumbSeparator]'
952
- }),
953
- __metadata("design:paramtypes", [ElementRef, LocalizationService])
954
- ], BreadCrumbSeparatorDirective);
940
+ }]
941
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { items: [{
942
+ type: Input
943
+ }], separatorIcon: [{
944
+ type: Input
945
+ }], collapseMode: [{
946
+ type: Input
947
+ }], itemClick: [{
948
+ type: Output
949
+ }], resizeSensor: [{
950
+ type: ViewChild,
951
+ args: ['resizeSensor', { static: true }]
952
+ }], itemsContainers: [{
953
+ type: ViewChildren,
954
+ args: ['itemsContainer', { read: ElementRef }]
955
+ }], listComponent: [{
956
+ type: ViewChild,
957
+ args: [BreadCrumbListComponent, { static: true }]
958
+ }], itemTemplate: [{
959
+ type: ContentChild,
960
+ args: [BreadCrumbItemTemplateDirective, { static: false }]
961
+ }], hostClasses: [{
962
+ type: HostBinding,
963
+ args: ['class.k-widget']
964
+ }, {
965
+ type: HostBinding,
966
+ args: ['class.k-breadcrumb']
967
+ }], wrapMode: [{
968
+ type: HostBinding,
969
+ args: ['class.k-breadcrumb-wrap']
970
+ }], getDir: [{
971
+ type: HostBinding,
972
+ args: ['attr.dir']
973
+ }] } });
955
974
 
956
- const templateDirectives = [
975
+ const templateDirectives$1 = [
957
976
  BreadCrumbItemTemplateDirective
958
977
  ];
959
- const exportedModules$1 = [
978
+ const exportedModules = [
960
979
  BreadCrumbComponent,
961
980
  BreadCrumbItemComponent,
962
981
  BreadCrumbListComponent,
963
- ...templateDirectives
982
+ ...templateDirectives$1
964
983
  ];
965
984
  const declarations$1 = [
966
- ...exportedModules$1,
985
+ ...exportedModules,
967
986
  BreadCrumbSeparatorDirective
968
987
  ];
969
988
  /**
@@ -997,38 +1016,28 @@ const declarations$1 = [
997
1016
  *
998
1017
  * ```
999
1018
  */
1000
- let BreadCrumbModule = class BreadCrumbModule {
1001
- };
1002
- BreadCrumbModule = __decorate([
1003
- NgModule({
1004
- declarations: [declarations$1],
1005
- exports: [exportedModules$1],
1006
- imports: [CommonModule, ResizeSensorModule]
1007
- })
1008
- ], BreadCrumbModule);
1009
-
1010
- /**
1011
- * Represents a template that defines the item content of the BottomNavigation.
1012
- * To define the template, nest an `<ng-template>` tag
1013
- * with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
1014
- */
1015
- let BottomNavigationItemTemplateDirective = class BottomNavigationItemTemplateDirective {
1016
- constructor(templateRef) {
1017
- this.templateRef = templateRef;
1018
- }
1019
- };
1020
- BottomNavigationItemTemplateDirective = __decorate([
1021
- Directive({
1022
- selector: '[kendoBottomNavigationItemTemplate]'
1023
- }),
1024
- __param(0, Optional()),
1025
- __metadata("design:paramtypes", [TemplateRef])
1026
- ], BottomNavigationItemTemplateDirective);
1019
+ class BreadCrumbModule {
1020
+ }
1021
+ BreadCrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1022
+ BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, declarations: [BreadCrumbComponent,
1023
+ BreadCrumbItemComponent,
1024
+ BreadCrumbListComponent, BreadCrumbItemTemplateDirective, BreadCrumbSeparatorDirective], imports: [CommonModule, ResizeSensorModule], exports: [BreadCrumbComponent,
1025
+ BreadCrumbItemComponent,
1026
+ BreadCrumbListComponent, BreadCrumbItemTemplateDirective] });
1027
+ BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, imports: [[CommonModule, ResizeSensorModule]] });
1028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, decorators: [{
1029
+ type: NgModule,
1030
+ args: [{
1031
+ declarations: [declarations$1],
1032
+ exports: [exportedModules],
1033
+ imports: [CommonModule, ResizeSensorModule]
1034
+ }]
1035
+ }] });
1027
1036
 
1028
1037
  /**
1029
1038
  * @hidden
1030
1039
  */
1031
- let BottomNavigationItemComponent = class BottomNavigationItemComponent {
1040
+ class BottomNavigationItemComponent {
1032
1041
  get disabledClass() {
1033
1042
  return this.item.disabled;
1034
1043
  }
@@ -1055,67 +1064,24 @@ let BottomNavigationItemComponent = class BottomNavigationItemComponent {
1055
1064
  const customIcon = this.item.iconClass ? this.item.iconClass : '';
1056
1065
  return `${kendoIcon} ${customIcon}`;
1057
1066
  }
1058
- };
1059
- __decorate([
1060
- Input(),
1061
- __metadata("design:type", BottomNavigationItemTemplateDirective)
1062
- ], BottomNavigationItemComponent.prototype, "itemTemplate", void 0);
1063
- __decorate([
1064
- Input(),
1065
- __metadata("design:type", Object)
1066
- ], BottomNavigationItemComponent.prototype, "item", void 0);
1067
- __decorate([
1068
- Input(),
1069
- __metadata("design:type", Number)
1070
- ], BottomNavigationItemComponent.prototype, "index", void 0);
1071
- __decorate([
1072
- Input(),
1073
- __metadata("design:type", Boolean)
1074
- ], BottomNavigationItemComponent.prototype, "disabledComponent", void 0);
1075
- __decorate([
1076
- Input(),
1077
- __metadata("design:type", Number)
1078
- ], BottomNavigationItemComponent.prototype, "selectedIdx", void 0);
1079
- __decorate([
1080
- Input(),
1081
- __metadata("design:type", String)
1082
- ], BottomNavigationItemComponent.prototype, "orientation", void 0);
1083
- __decorate([
1084
- HostBinding('attr.aria-disabled'),
1085
- HostBinding('class.k-state-disabled'),
1086
- __metadata("design:type", Boolean),
1087
- __metadata("design:paramtypes", [])
1088
- ], BottomNavigationItemComponent.prototype, "disabledClass", null);
1089
- __decorate([
1090
- HostBinding('class.k-hstack'),
1091
- __metadata("design:type", Boolean),
1092
- __metadata("design:paramtypes", [])
1093
- ], BottomNavigationItemComponent.prototype, "horizontalItemClass", null);
1094
- __decorate([
1095
- HostBinding('class.k-vstack'),
1096
- __metadata("design:type", Boolean),
1097
- __metadata("design:paramtypes", [])
1098
- ], BottomNavigationItemComponent.prototype, "verticalItemClass", null);
1099
- __decorate([
1100
- HostBinding('attr.aria-label'),
1101
- __metadata("design:type", String),
1102
- __metadata("design:paramtypes", [])
1103
- ], BottomNavigationItemComponent.prototype, "label", null);
1104
- __decorate([
1105
- HostBinding('attr.tabindex'),
1106
- __metadata("design:type", Number),
1107
- __metadata("design:paramtypes", [])
1108
- ], BottomNavigationItemComponent.prototype, "tabindex", null);
1109
- __decorate([
1110
- HostBinding('attr.aria-selected'),
1111
- HostBinding('class.k-state-selected'),
1112
- __metadata("design:type", Boolean),
1113
- __metadata("design:paramtypes", [])
1114
- ], BottomNavigationItemComponent.prototype, "selectedClass", null);
1115
- BottomNavigationItemComponent = __decorate([
1116
- Component({
1117
- selector: '[kendoBottomNavigationItem]',
1118
- template: `
1067
+ }
1068
+ BottomNavigationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1069
+ BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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-state-disabled": "this.disabledClass", "class.k-hstack": "this.horizontalItemClass", "class.k-vstack": "this.verticalItemClass", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-selected": "this.selectedClass", "class.k-state-selected": "this.selectedClass" } }, ngImport: i0, template: `
1070
+ <ng-container *ngIf="!itemTemplate">
1071
+ <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
1072
+ <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
1073
+ </ng-container>
1074
+ <ng-template *ngIf="itemTemplate"
1075
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
1076
+ [ngTemplateOutletContext]="{ $implicit: item }">
1077
+ </ng-template>
1078
+ `, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
1080
+ type: Component,
1081
+ args: [{
1082
+ // eslint-disable-next-line @angular-eslint/component-selector
1083
+ selector: '[kendoBottomNavigationItem]',
1084
+ template: `
1119
1085
  <ng-container *ngIf="!itemTemplate">
1120
1086
  <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
1121
1087
  <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
@@ -1125,8 +1091,65 @@ BottomNavigationItemComponent = __decorate([
1125
1091
  [ngTemplateOutletContext]="{ $implicit: item }">
1126
1092
  </ng-template>
1127
1093
  `
1128
- })
1129
- ], BottomNavigationItemComponent);
1094
+ }]
1095
+ }], propDecorators: { itemTemplate: [{
1096
+ type: Input
1097
+ }], item: [{
1098
+ type: Input
1099
+ }], index: [{
1100
+ type: Input
1101
+ }], disabledComponent: [{
1102
+ type: Input
1103
+ }], selectedIdx: [{
1104
+ type: Input
1105
+ }], orientation: [{
1106
+ type: Input
1107
+ }], disabledClass: [{
1108
+ type: HostBinding,
1109
+ args: ['attr.aria-disabled']
1110
+ }, {
1111
+ type: HostBinding,
1112
+ args: ['class.k-state-disabled']
1113
+ }], horizontalItemClass: [{
1114
+ type: HostBinding,
1115
+ args: ['class.k-hstack']
1116
+ }], verticalItemClass: [{
1117
+ type: HostBinding,
1118
+ args: ['class.k-vstack']
1119
+ }], label: [{
1120
+ type: HostBinding,
1121
+ args: ['attr.aria-label']
1122
+ }], tabindex: [{
1123
+ type: HostBinding,
1124
+ args: ['attr.tabindex']
1125
+ }], selectedClass: [{
1126
+ type: HostBinding,
1127
+ args: ['attr.aria-selected']
1128
+ }, {
1129
+ type: HostBinding,
1130
+ args: ['class.k-state-selected']
1131
+ }] } });
1132
+
1133
+ /**
1134
+ * Represents a template that defines the item content of the BottomNavigation.
1135
+ * To define the template, nest an `<ng-template>` tag
1136
+ * with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
1137
+ */
1138
+ class BottomNavigationItemTemplateDirective {
1139
+ constructor(templateRef) {
1140
+ this.templateRef = templateRef;
1141
+ }
1142
+ }
1143
+ BottomNavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1144
+ BottomNavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BottomNavigationItemTemplateDirective, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
1145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
1146
+ type: Directive,
1147
+ args: [{
1148
+ selector: '[kendoBottomNavigationItemTemplate]'
1149
+ }]
1150
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
1151
+ type: Optional
1152
+ }] }]; } });
1130
1153
 
1131
1154
  /**
1132
1155
  * @hidden
@@ -1194,7 +1217,7 @@ const colors = ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning'
1194
1217
  * }
1195
1218
  * ```
1196
1219
  */
1197
- let BottomNavigationComponent = class BottomNavigationComponent {
1220
+ class BottomNavigationComponent {
1198
1221
  constructor(localization, hostElement, ngZone, changeDetector, renderer) {
1199
1222
  this.localization = localization;
1200
1223
  this.hostElement = hostElement;
@@ -1401,83 +1424,28 @@ let BottomNavigationComponent = class BottomNavigationComponent {
1401
1424
  return itemIndex(item, BOTTOMNAVIGATION_ITEM_INDEX);
1402
1425
  }
1403
1426
  }
1404
- };
1405
- __decorate([
1406
- Input(),
1407
- __metadata("design:type", Array)
1408
- ], BottomNavigationComponent.prototype, "items", void 0);
1409
- __decorate([
1410
- Input(),
1411
- __metadata("design:type", Boolean)
1412
- ], BottomNavigationComponent.prototype, "border", void 0);
1413
- __decorate([
1414
- Input(),
1415
- __metadata("design:type", Boolean)
1416
- ], BottomNavigationComponent.prototype, "disabled", void 0);
1417
- __decorate([
1418
- Input(),
1419
- __metadata("design:type", String),
1420
- __metadata("design:paramtypes", [String])
1421
- ], BottomNavigationComponent.prototype, "fill", null);
1422
- __decorate([
1423
- Input(),
1424
- __metadata("design:type", String),
1425
- __metadata("design:paramtypes", [String])
1426
- ], BottomNavigationComponent.prototype, "itemFlow", null);
1427
- __decorate([
1428
- Input(),
1429
- __metadata("design:type", String),
1430
- __metadata("design:paramtypes", [String])
1431
- ], BottomNavigationComponent.prototype, "positionMode", null);
1432
- __decorate([
1433
- Input(),
1434
- __metadata("design:type", String),
1435
- __metadata("design:paramtypes", [String])
1436
- ], BottomNavigationComponent.prototype, "themeColor", null);
1437
- __decorate([
1438
- Output(),
1439
- __metadata("design:type", EventEmitter)
1440
- ], BottomNavigationComponent.prototype, "select", void 0);
1441
- __decorate([
1442
- HostBinding('class.k-hstack'),
1443
- HostBinding('class.k-justify-content-stretch'),
1444
- HostBinding('class.k-bottom-nav'),
1445
- __metadata("design:type", Boolean)
1446
- ], BottomNavigationComponent.prototype, "hostClass", void 0);
1447
- __decorate([
1448
- HostBinding('class.k-bottom-nav-border'),
1449
- __metadata("design:type", Boolean),
1450
- __metadata("design:paramtypes", [])
1451
- ], BottomNavigationComponent.prototype, "borderClass", null);
1452
- __decorate([
1453
- HostBinding('class.k-state-disabled'),
1454
- __metadata("design:type", Boolean),
1455
- __metadata("design:paramtypes", [])
1456
- ], BottomNavigationComponent.prototype, "disabledClass", null);
1457
- __decorate([
1458
- HostBinding('attr.role'),
1459
- __metadata("design:type", String)
1460
- ], BottomNavigationComponent.prototype, "role", void 0);
1461
- __decorate([
1462
- HostBinding('attr.dir'),
1463
- __metadata("design:type", String)
1464
- ], BottomNavigationComponent.prototype, "direction", void 0);
1465
- __decorate([
1466
- ContentChild(BottomNavigationItemTemplateDirective, { static: false }),
1467
- __metadata("design:type", BottomNavigationItemTemplateDirective)
1468
- ], BottomNavigationComponent.prototype, "itemTemplate", void 0);
1469
- BottomNavigationComponent = __decorate([
1470
- Component({
1471
- exportAs: 'kendoBottomNavigation',
1472
- selector: 'kendo-bottomnavigation',
1473
- providers: [
1474
- LocalizationService,
1475
- {
1476
- provide: L10N_PREFIX,
1477
- useValue: 'kendo.bottomnavigation'
1478
- }
1479
- ],
1480
- template: `
1427
+ }
1428
+ BottomNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1429
+ BottomNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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-hstack": "this.hostClass", "class.k-justify-content-stretch": "this.hostClass", "class.k-bottom-nav": "this.hostClass", "class.k-bottom-nav-border": "this.borderClass", "class.k-state-disabled": "this.disabledClass", "attr.role": "this.role", "attr.dir": "this.direction" } }, providers: [
1430
+ LocalizationService,
1431
+ {
1432
+ provide: L10N_PREFIX,
1433
+ useValue: 'kendo.bottomnavigation'
1434
+ }
1435
+ ], 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, components: [{ type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
1436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationComponent, decorators: [{
1437
+ type: Component,
1438
+ args: [{
1439
+ exportAs: 'kendoBottomNavigation',
1440
+ selector: 'kendo-bottomnavigation',
1441
+ providers: [
1442
+ LocalizationService,
1443
+ {
1444
+ provide: L10N_PREFIX,
1445
+ useValue: 'kendo.bottomnavigation'
1446
+ }
1447
+ ],
1448
+ template: `
1481
1449
  <ng-container *ngIf="items">
1482
1450
  <span kendoBottomNavigationItem
1483
1451
  *ngFor="let item of items; let idx=index"
@@ -1495,17 +1463,52 @@ BottomNavigationComponent = __decorate([
1495
1463
  </span>
1496
1464
  </ng-container>
1497
1465
  `
1498
- }),
1499
- __metadata("design:paramtypes", [LocalizationService,
1500
- ElementRef,
1501
- NgZone,
1502
- ChangeDetectorRef,
1503
- Renderer2])
1504
- ], BottomNavigationComponent);
1466
+ }]
1467
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { items: [{
1468
+ type: Input
1469
+ }], border: [{
1470
+ type: Input
1471
+ }], disabled: [{
1472
+ type: Input
1473
+ }], fill: [{
1474
+ type: Input
1475
+ }], itemFlow: [{
1476
+ type: Input
1477
+ }], positionMode: [{
1478
+ type: Input
1479
+ }], themeColor: [{
1480
+ type: Input
1481
+ }], select: [{
1482
+ type: Output
1483
+ }], hostClass: [{
1484
+ type: HostBinding,
1485
+ args: ['class.k-hstack']
1486
+ }, {
1487
+ type: HostBinding,
1488
+ args: ['class.k-justify-content-stretch']
1489
+ }, {
1490
+ type: HostBinding,
1491
+ args: ['class.k-bottom-nav']
1492
+ }], borderClass: [{
1493
+ type: HostBinding,
1494
+ args: ['class.k-bottom-nav-border']
1495
+ }], disabledClass: [{
1496
+ type: HostBinding,
1497
+ args: ['class.k-state-disabled']
1498
+ }], role: [{
1499
+ type: HostBinding,
1500
+ args: ['attr.role']
1501
+ }], direction: [{
1502
+ type: HostBinding,
1503
+ args: ['attr.dir']
1504
+ }], itemTemplate: [{
1505
+ type: ContentChild,
1506
+ args: [BottomNavigationItemTemplateDirective, { static: false }]
1507
+ }] } });
1505
1508
 
1506
- const templateDirectives$1 = [BottomNavigationItemTemplateDirective];
1507
- const exportedComponents = [BottomNavigationComponent, ...templateDirectives$1];
1508
- const declarations$2 = [BottomNavigationItemComponent, ...exportedComponents];
1509
+ const templateDirectives = [BottomNavigationItemTemplateDirective];
1510
+ const exportedComponents = [BottomNavigationComponent, ...templateDirectives];
1511
+ const declarations = [BottomNavigationItemComponent, ...exportedComponents];
1509
1512
  /**
1510
1513
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
1511
1514
  * definition for the BottomNavigation component.
@@ -1537,15 +1540,19 @@ const declarations$2 = [BottomNavigationItemComponent, ...exportedComponents];
1537
1540
  *
1538
1541
  * ```
1539
1542
  */
1540
- let BottomNavigationModule = class BottomNavigationModule {
1541
- };
1542
- BottomNavigationModule = __decorate([
1543
- NgModule({
1544
- declarations: [declarations$2],
1545
- exports: [exportedComponents],
1546
- imports: [CommonModule]
1547
- })
1548
- ], BottomNavigationModule);
1543
+ class BottomNavigationModule {
1544
+ }
1545
+ BottomNavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1546
+ BottomNavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, declarations: [BottomNavigationItemComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective], imports: [CommonModule], exports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective] });
1547
+ BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, imports: [[CommonModule]] });
1548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, decorators: [{
1549
+ type: NgModule,
1550
+ args: [{
1551
+ declarations: [declarations],
1552
+ exports: [exportedComponents],
1553
+ imports: [CommonModule]
1554
+ }]
1555
+ }] });
1549
1556
 
1550
1557
  /**
1551
1558
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -1578,17 +1585,25 @@ BottomNavigationModule = __decorate([
1578
1585
  *
1579
1586
  * ```
1580
1587
  */
1581
- let NavigationModule = class NavigationModule {
1582
- };
1583
- NavigationModule = __decorate([
1584
- NgModule({
1585
- exports: [
1586
- AppBarModule,
1587
- BreadCrumbModule,
1588
- BottomNavigationModule
1589
- ]
1590
- })
1591
- ], NavigationModule);
1588
+ class NavigationModule {
1589
+ }
1590
+ NavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1591
+ NavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, exports: [AppBarModule,
1592
+ BreadCrumbModule,
1593
+ BottomNavigationModule] });
1594
+ NavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, imports: [AppBarModule,
1595
+ BreadCrumbModule,
1596
+ BottomNavigationModule] });
1597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, decorators: [{
1598
+ type: NgModule,
1599
+ args: [{
1600
+ exports: [
1601
+ AppBarModule,
1602
+ BreadCrumbModule,
1603
+ BottomNavigationModule
1604
+ ]
1605
+ }]
1606
+ }] });
1592
1607
 
1593
1608
  // AppBar exports
1594
1609
 
@@ -1596,4 +1611,5 @@ NavigationModule = __decorate([
1596
1611
  * Generated bundle index. Do not edit.
1597
1612
  */
1598
1613
 
1599
- export { BottomNavigationItemComponent, BOTTOMNAVIGATION_ITEM_INDEX, BreadCrumbItemComponent, BreadCrumbListComponent, BREADCRUMB_ITEM_INDEX, BreadCrumbSeparatorDirective, PreventableEvent, AppBarComponent, AppBarSectionComponent, AppBarSpacerComponent, AppBarModule, NavigationModule, BreadCrumbComponent, BreadCrumbItemTemplateDirective, BreadCrumbModule, BottomNavigationComponent, BottomNavigationItemTemplateDirective, BottomNavigationSelectEvent, BottomNavigationModule };
1614
+ export { AppBarComponent, AppBarModule, AppBarSectionComponent, AppBarSpacerComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective, BottomNavigationModule, BottomNavigationSelectEvent, BreadCrumbComponent, BreadCrumbItemComponent, BreadCrumbItemTemplateDirective, BreadCrumbListComponent, BreadCrumbModule, NavigationModule };
1615
+