@progress/kendo-angular-navigation 1.1.6 → 2.0.0-next.202203211629

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 +101 -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 +160 -0
  53. package/{dist/es2015 → esm2015}/breadcrumb/breadcrumb.component.js +88 -73
  54. package/esm2015/breadcrumb/list.component.js +91 -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} +581 -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 +31 -107
  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: 1647880113,
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,57 @@ 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
+ selector: '[kendoBreadCrumbItem]',
458
+ template: `
466
459
  <ng-template #separator>
467
460
  <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
468
461
  </ng-template>
@@ -506,9 +499,31 @@ BreadCrumbItemComponent = __decorate([
506
499
  <ng-container *ngTemplateOutlet="separator"></ng-container>
507
500
  </ng-container>
508
501
  `
509
- }),
510
- __metadata("design:paramtypes", [ElementRef])
511
- ], BreadCrumbItemComponent);
502
+ }]
503
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { item: [{
504
+ type: Input
505
+ }], collapseMode: [{
506
+ type: Input
507
+ }], index: [{
508
+ type: Input
509
+ }], itemTemplate: [{
510
+ type: Input
511
+ }], hostClasses: [{
512
+ type: HostBinding,
513
+ args: ['class.k-flex-none']
514
+ }, {
515
+ type: HostBinding,
516
+ args: ['class.k-breadcrumb-item']
517
+ }], isRootItem: [{
518
+ type: HostBinding,
519
+ args: ['class.k-breadcrumb-root-item']
520
+ }], isDisabled: [{
521
+ type: HostBinding,
522
+ args: ['attr.aria-disabled']
523
+ }], isLastItem: [{
524
+ type: HostBinding,
525
+ args: ['class.k-breadcrumb-last-item']
526
+ }] } });
512
527
 
513
528
  const closestInScope = (target, targetAttr, predicate, scope) => {
514
529
  while (target && target !== scope && !predicate(target, targetAttr)) {
@@ -528,10 +543,72 @@ const itemIndex = (item, indexAttr) => +item.getAttribute(indexAttr);
528
543
  */
529
544
  const closestItem = (target, targetAttr, scope) => closestInScope(target, targetAttr, hasItemIndex, scope);
530
545
 
546
+ const DEFAULT_ICON = 'arrow-chevron-right';
547
+ const DEFAULT_RTL_ICON = 'arrow-chevron-left';
531
548
  /**
532
549
  * @hidden
533
550
  */
534
- let BreadCrumbListComponent = class BreadCrumbListComponent {
551
+ class BreadCrumbSeparatorDirective {
552
+ constructor(el, localization) {
553
+ this.el = el;
554
+ this.localization = localization;
555
+ this.defaultClasses = true;
556
+ this.ariaHidden = true;
557
+ this.direction = 'ltr';
558
+ this.direction = this.localization.rtl ? 'rtl' : 'ltr';
559
+ }
560
+ set icon(icon) {
561
+ const element = this.el.nativeElement;
562
+ element.classList.remove(`k-i-${this._icon}`);
563
+ if (isPresent(icon)) {
564
+ this._icon = icon;
565
+ this.hasDefaultIcon = false;
566
+ }
567
+ else {
568
+ this._icon = this.direction === 'ltr' ? DEFAULT_ICON : DEFAULT_RTL_ICON;
569
+ this.hasDefaultIcon = true;
570
+ }
571
+ element.classList.add(`k-i-${this._icon}`);
572
+ }
573
+ get icon() {
574
+ return this._icon;
575
+ }
576
+ ngOnInit() {
577
+ this.localizationChangesSubscription = this.localization.changes.subscribe(({ rtl }) => {
578
+ this.direction = rtl ? 'rtl' : 'ltr';
579
+ if (this.hasDefaultIcon) {
580
+ this.icon = undefined;
581
+ }
582
+ });
583
+ }
584
+ ngOnDestroy() {
585
+ this.localizationChangesSubscription.unsubscribe();
586
+ }
587
+ }
588
+ 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 });
589
+ 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 });
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
591
+ type: Directive,
592
+ args: [{
593
+ selector: '[kendoBreadCrumbSeparator]'
594
+ }]
595
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
596
+ type: Input
597
+ }], defaultClasses: [{
598
+ type: HostBinding,
599
+ args: ['class.k-breadcrumb-delimiter-icon']
600
+ }, {
601
+ type: HostBinding,
602
+ args: ['class.k-icon']
603
+ }], ariaHidden: [{
604
+ type: HostBinding,
605
+ args: ['attr.aria-hidden']
606
+ }] } });
607
+
608
+ /**
609
+ * @hidden
610
+ */
611
+ class BreadCrumbListComponent {
535
612
  constructor(el, zone) {
536
613
  this.el = el;
537
614
  this.zone = zone;
@@ -560,35 +637,14 @@ let BreadCrumbListComponent = class BreadCrumbListComponent {
560
637
  return itemIndex(item, BREADCRUMB_ITEM_INDEX);
561
638
  }
562
639
  }
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: `
640
+ }
641
+ 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 });
642
+ 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"] }] });
643
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbListComponent, decorators: [{
644
+ type: Component,
645
+ args: [{
646
+ selector: '[kendoBreadCrumbList]',
647
+ template: `
592
648
  <ng-container *ngFor="let item of items; let i = index; let isFirst = first; let isLast = last">
593
649
  <li
594
650
  #renderedItem
@@ -609,9 +665,21 @@ BreadCrumbListComponent = __decorate([
609
665
  </li>
610
666
  </ng-container>
611
667
  `
612
- }),
613
- __metadata("design:paramtypes", [ElementRef, NgZone])
614
- ], BreadCrumbListComponent);
668
+ }]
669
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { items: [{
670
+ type: Input
671
+ }], itemTemplate: [{
672
+ type: Input
673
+ }], collapseMode: [{
674
+ type: Input
675
+ }], separatorIcon: [{
676
+ type: Input
677
+ }], itemClick: [{
678
+ type: Output
679
+ }], renderedItems: [{
680
+ type: ViewChildren,
681
+ args: [BreadCrumbItemComponent]
682
+ }] } });
615
683
 
616
684
  const getCollapsed = (itemComponent) => itemComponent.item.context.collapsed;
617
685
  /**
@@ -661,7 +729,7 @@ const expandFirst = toggleFirst(true);
661
729
  * }
662
730
  * ```
663
731
  */
664
- let BreadCrumbComponent = class BreadCrumbComponent {
732
+ class BreadCrumbComponent {
665
733
  constructor(el, cdr, zone, localization) {
666
734
  this.el = el;
667
735
  this.cdr = cdr;
@@ -797,68 +865,52 @@ let BreadCrumbComponent = class BreadCrumbComponent {
797
865
  }));
798
866
  }));
799
867
  }
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: `
868
+ }
869
+ 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 });
870
+ 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: [
871
+ LocalizationService,
872
+ {
873
+ provide: L10N_PREFIX,
874
+ useValue: 'kendo.breadcrumb'
875
+ }
876
+ ], 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: `
877
+ <ol
878
+ #itemsContainer
879
+ kendoBreadCrumbList
880
+ class="k-breadcrumb-root-item-container"
881
+ *ngIf="collapseMode === 'wrap'"
882
+ [items]="firstItem$ | async"
883
+ [itemTemplate]="itemTemplate?.templateRef"
884
+ [collapseMode]="collapseMode"
885
+ [separatorIcon]="separatorIcon"
886
+ (itemClick)="itemClick.emit($event)"
887
+ ></ol>
888
+ <ol
889
+ #itemsContainer
890
+ kendoBreadCrumbList
891
+ class="k-breadcrumb-container"
892
+ [items]="itemsData$ | async"
893
+ [itemTemplate]="itemTemplate?.templateRef"
894
+ [collapseMode]="collapseMode"
895
+ [separatorIcon]="separatorIcon"
896
+ (itemClick)="itemClick.emit($event)"
897
+ [ngClass]="{ 'k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
898
+ ></ol>
899
+ <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
900
+ `, 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 } });
901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbComponent, decorators: [{
902
+ type: Component,
903
+ args: [{
904
+ exportAs: 'kendoBreadCrumb',
905
+ selector: 'kendo-breadcrumb',
906
+ providers: [
907
+ LocalizationService,
908
+ {
909
+ provide: L10N_PREFIX,
910
+ useValue: 'kendo.breadcrumb'
911
+ }
912
+ ],
913
+ template: `
862
914
  <ol
863
915
  #itemsContainer
864
916
  kendoBreadCrumbList
@@ -883,87 +935,52 @@ BreadCrumbComponent = __decorate([
883
935
  ></ol>
884
936
  <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
885
937
  `
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);
938
+ }]
939
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { items: [{
940
+ type: Input
941
+ }], separatorIcon: [{
942
+ type: Input
943
+ }], collapseMode: [{
944
+ type: Input
945
+ }], itemClick: [{
946
+ type: Output
947
+ }], resizeSensor: [{
948
+ type: ViewChild,
949
+ args: ['resizeSensor', { static: true }]
950
+ }], itemsContainers: [{
951
+ type: ViewChildren,
952
+ args: ['itemsContainer', { read: ElementRef }]
953
+ }], listComponent: [{
954
+ type: ViewChild,
955
+ args: [BreadCrumbListComponent, { static: true }]
956
+ }], itemTemplate: [{
957
+ type: ContentChild,
958
+ args: [BreadCrumbItemTemplateDirective, { static: false }]
959
+ }], hostClasses: [{
960
+ type: HostBinding,
961
+ args: ['class.k-widget']
962
+ }, {
963
+ type: HostBinding,
964
+ args: ['class.k-breadcrumb']
965
+ }], wrapMode: [{
966
+ type: HostBinding,
967
+ args: ['class.k-breadcrumb-wrap']
968
+ }], getDir: [{
969
+ type: HostBinding,
970
+ args: ['attr.dir']
971
+ }] } });
955
972
 
956
- const templateDirectives = [
973
+ const templateDirectives$1 = [
957
974
  BreadCrumbItemTemplateDirective
958
975
  ];
959
- const exportedModules$1 = [
976
+ const exportedModules = [
960
977
  BreadCrumbComponent,
961
978
  BreadCrumbItemComponent,
962
979
  BreadCrumbListComponent,
963
- ...templateDirectives
980
+ ...templateDirectives$1
964
981
  ];
965
982
  const declarations$1 = [
966
- ...exportedModules$1,
983
+ ...exportedModules,
967
984
  BreadCrumbSeparatorDirective
968
985
  ];
969
986
  /**
@@ -997,38 +1014,28 @@ const declarations$1 = [
997
1014
  *
998
1015
  * ```
999
1016
  */
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);
1017
+ class BreadCrumbModule {
1018
+ }
1019
+ BreadCrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1020
+ BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, declarations: [BreadCrumbComponent,
1021
+ BreadCrumbItemComponent,
1022
+ BreadCrumbListComponent, BreadCrumbItemTemplateDirective, BreadCrumbSeparatorDirective], imports: [CommonModule, ResizeSensorModule], exports: [BreadCrumbComponent,
1023
+ BreadCrumbItemComponent,
1024
+ BreadCrumbListComponent, BreadCrumbItemTemplateDirective] });
1025
+ BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, imports: [[CommonModule, ResizeSensorModule]] });
1026
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BreadCrumbModule, decorators: [{
1027
+ type: NgModule,
1028
+ args: [{
1029
+ declarations: [declarations$1],
1030
+ exports: [exportedModules],
1031
+ imports: [CommonModule, ResizeSensorModule]
1032
+ }]
1033
+ }] });
1027
1034
 
1028
1035
  /**
1029
1036
  * @hidden
1030
1037
  */
1031
- let BottomNavigationItemComponent = class BottomNavigationItemComponent {
1038
+ class BottomNavigationItemComponent {
1032
1039
  get disabledClass() {
1033
1040
  return this.item.disabled;
1034
1041
  }
@@ -1055,67 +1062,23 @@ let BottomNavigationItemComponent = class BottomNavigationItemComponent {
1055
1062
  const customIcon = this.item.iconClass ? this.item.iconClass : '';
1056
1063
  return `${kendoIcon} ${customIcon}`;
1057
1064
  }
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: `
1065
+ }
1066
+ BottomNavigationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1067
+ 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: `
1068
+ <ng-container *ngIf="!itemTemplate">
1069
+ <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
1070
+ <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
1071
+ </ng-container>
1072
+ <ng-template *ngIf="itemTemplate"
1073
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
1074
+ [ngTemplateOutletContext]="{ $implicit: item }">
1075
+ </ng-template>
1076
+ `, 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"] }] });
1077
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
1078
+ type: Component,
1079
+ args: [{
1080
+ selector: '[kendoBottomNavigationItem]',
1081
+ template: `
1119
1082
  <ng-container *ngIf="!itemTemplate">
1120
1083
  <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
1121
1084
  <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
@@ -1125,8 +1088,65 @@ BottomNavigationItemComponent = __decorate([
1125
1088
  [ngTemplateOutletContext]="{ $implicit: item }">
1126
1089
  </ng-template>
1127
1090
  `
1128
- })
1129
- ], BottomNavigationItemComponent);
1091
+ }]
1092
+ }], propDecorators: { itemTemplate: [{
1093
+ type: Input
1094
+ }], item: [{
1095
+ type: Input
1096
+ }], index: [{
1097
+ type: Input
1098
+ }], disabledComponent: [{
1099
+ type: Input
1100
+ }], selectedIdx: [{
1101
+ type: Input
1102
+ }], orientation: [{
1103
+ type: Input
1104
+ }], disabledClass: [{
1105
+ type: HostBinding,
1106
+ args: ['attr.aria-disabled']
1107
+ }, {
1108
+ type: HostBinding,
1109
+ args: ['class.k-state-disabled']
1110
+ }], horizontalItemClass: [{
1111
+ type: HostBinding,
1112
+ args: ['class.k-hstack']
1113
+ }], verticalItemClass: [{
1114
+ type: HostBinding,
1115
+ args: ['class.k-vstack']
1116
+ }], label: [{
1117
+ type: HostBinding,
1118
+ args: ['attr.aria-label']
1119
+ }], tabindex: [{
1120
+ type: HostBinding,
1121
+ args: ['attr.tabindex']
1122
+ }], selectedClass: [{
1123
+ type: HostBinding,
1124
+ args: ['attr.aria-selected']
1125
+ }, {
1126
+ type: HostBinding,
1127
+ args: ['class.k-state-selected']
1128
+ }] } });
1129
+
1130
+ /**
1131
+ * Represents a template that defines the item content of the BottomNavigation.
1132
+ * To define the template, nest an `<ng-template>` tag
1133
+ * with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
1134
+ */
1135
+ class BottomNavigationItemTemplateDirective {
1136
+ constructor(templateRef) {
1137
+ this.templateRef = templateRef;
1138
+ }
1139
+ }
1140
+ 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 });
1141
+ BottomNavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BottomNavigationItemTemplateDirective, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
1142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
1143
+ type: Directive,
1144
+ args: [{
1145
+ selector: '[kendoBottomNavigationItemTemplate]'
1146
+ }]
1147
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
1148
+ type: Optional
1149
+ }] }]; } });
1130
1150
 
1131
1151
  /**
1132
1152
  * @hidden
@@ -1194,7 +1214,7 @@ const colors = ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning'
1194
1214
  * }
1195
1215
  * ```
1196
1216
  */
1197
- let BottomNavigationComponent = class BottomNavigationComponent {
1217
+ class BottomNavigationComponent {
1198
1218
  constructor(localization, hostElement, ngZone, changeDetector, renderer) {
1199
1219
  this.localization = localization;
1200
1220
  this.hostElement = hostElement;
@@ -1401,83 +1421,28 @@ let BottomNavigationComponent = class BottomNavigationComponent {
1401
1421
  return itemIndex(item, BOTTOMNAVIGATION_ITEM_INDEX);
1402
1422
  }
1403
1423
  }
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: `
1424
+ }
1425
+ 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 });
1426
+ 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: [
1427
+ LocalizationService,
1428
+ {
1429
+ provide: L10N_PREFIX,
1430
+ useValue: 'kendo.bottomnavigation'
1431
+ }
1432
+ ], 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"] }] });
1433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationComponent, decorators: [{
1434
+ type: Component,
1435
+ args: [{
1436
+ exportAs: 'kendoBottomNavigation',
1437
+ selector: 'kendo-bottomnavigation',
1438
+ providers: [
1439
+ LocalizationService,
1440
+ {
1441
+ provide: L10N_PREFIX,
1442
+ useValue: 'kendo.bottomnavigation'
1443
+ }
1444
+ ],
1445
+ template: `
1481
1446
  <ng-container *ngIf="items">
1482
1447
  <span kendoBottomNavigationItem
1483
1448
  *ngFor="let item of items; let idx=index"
@@ -1495,17 +1460,52 @@ BottomNavigationComponent = __decorate([
1495
1460
  </span>
1496
1461
  </ng-container>
1497
1462
  `
1498
- }),
1499
- __metadata("design:paramtypes", [LocalizationService,
1500
- ElementRef,
1501
- NgZone,
1502
- ChangeDetectorRef,
1503
- Renderer2])
1504
- ], BottomNavigationComponent);
1463
+ }]
1464
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { items: [{
1465
+ type: Input
1466
+ }], border: [{
1467
+ type: Input
1468
+ }], disabled: [{
1469
+ type: Input
1470
+ }], fill: [{
1471
+ type: Input
1472
+ }], itemFlow: [{
1473
+ type: Input
1474
+ }], positionMode: [{
1475
+ type: Input
1476
+ }], themeColor: [{
1477
+ type: Input
1478
+ }], select: [{
1479
+ type: Output
1480
+ }], hostClass: [{
1481
+ type: HostBinding,
1482
+ args: ['class.k-hstack']
1483
+ }, {
1484
+ type: HostBinding,
1485
+ args: ['class.k-justify-content-stretch']
1486
+ }, {
1487
+ type: HostBinding,
1488
+ args: ['class.k-bottom-nav']
1489
+ }], borderClass: [{
1490
+ type: HostBinding,
1491
+ args: ['class.k-bottom-nav-border']
1492
+ }], disabledClass: [{
1493
+ type: HostBinding,
1494
+ args: ['class.k-state-disabled']
1495
+ }], role: [{
1496
+ type: HostBinding,
1497
+ args: ['attr.role']
1498
+ }], direction: [{
1499
+ type: HostBinding,
1500
+ args: ['attr.dir']
1501
+ }], itemTemplate: [{
1502
+ type: ContentChild,
1503
+ args: [BottomNavigationItemTemplateDirective, { static: false }]
1504
+ }] } });
1505
1505
 
1506
- const templateDirectives$1 = [BottomNavigationItemTemplateDirective];
1507
- const exportedComponents = [BottomNavigationComponent, ...templateDirectives$1];
1508
- const declarations$2 = [BottomNavigationItemComponent, ...exportedComponents];
1506
+ const templateDirectives = [BottomNavigationItemTemplateDirective];
1507
+ const exportedComponents = [BottomNavigationComponent, ...templateDirectives];
1508
+ const declarations = [BottomNavigationItemComponent, ...exportedComponents];
1509
1509
  /**
1510
1510
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
1511
1511
  * definition for the BottomNavigation component.
@@ -1537,15 +1537,19 @@ const declarations$2 = [BottomNavigationItemComponent, ...exportedComponents];
1537
1537
  *
1538
1538
  * ```
1539
1539
  */
1540
- let BottomNavigationModule = class BottomNavigationModule {
1541
- };
1542
- BottomNavigationModule = __decorate([
1543
- NgModule({
1544
- declarations: [declarations$2],
1545
- exports: [exportedComponents],
1546
- imports: [CommonModule]
1547
- })
1548
- ], BottomNavigationModule);
1540
+ class BottomNavigationModule {
1541
+ }
1542
+ BottomNavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1543
+ 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] });
1544
+ BottomNavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, imports: [[CommonModule]] });
1545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationModule, decorators: [{
1546
+ type: NgModule,
1547
+ args: [{
1548
+ declarations: [declarations],
1549
+ exports: [exportedComponents],
1550
+ imports: [CommonModule]
1551
+ }]
1552
+ }] });
1549
1553
 
1550
1554
  /**
1551
1555
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -1578,17 +1582,25 @@ BottomNavigationModule = __decorate([
1578
1582
  *
1579
1583
  * ```
1580
1584
  */
1581
- let NavigationModule = class NavigationModule {
1582
- };
1583
- NavigationModule = __decorate([
1584
- NgModule({
1585
- exports: [
1586
- AppBarModule,
1587
- BreadCrumbModule,
1588
- BottomNavigationModule
1589
- ]
1590
- })
1591
- ], NavigationModule);
1585
+ class NavigationModule {
1586
+ }
1587
+ NavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1588
+ NavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, exports: [AppBarModule,
1589
+ BreadCrumbModule,
1590
+ BottomNavigationModule] });
1591
+ NavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, imports: [AppBarModule,
1592
+ BreadCrumbModule,
1593
+ BottomNavigationModule] });
1594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationModule, decorators: [{
1595
+ type: NgModule,
1596
+ args: [{
1597
+ exports: [
1598
+ AppBarModule,
1599
+ BreadCrumbModule,
1600
+ BottomNavigationModule
1601
+ ]
1602
+ }]
1603
+ }] });
1592
1604
 
1593
1605
  // AppBar exports
1594
1606
 
@@ -1596,4 +1608,5 @@ NavigationModule = __decorate([
1596
1608
  * Generated bundle index. Do not edit.
1597
1609
  */
1598
1610
 
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 };
1611
+ export { AppBarComponent, AppBarModule, AppBarSectionComponent, AppBarSpacerComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective, BottomNavigationModule, BottomNavigationSelectEvent, BreadCrumbComponent, BreadCrumbItemComponent, BreadCrumbItemTemplateDirective, BreadCrumbListComponent, BreadCrumbModule, NavigationModule };
1612
+