@progress/kendo-angular-navigation 25.3.1-develop.1 → 25.4.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Input, HostBinding, Component, Optional, Directive, EventEmitter, Output, ContentChild, ContentChildren, forwardRef, ViewChild, Host, ViewChildren, isDevMode, ElementRef, NgModule } from '@angular/core';
|
|
6
|
+
import { signal, Input, HostBinding, ChangeDetectionStrategy, Component, Optional, Directive, EventEmitter, Output, ContentChild, ContentChildren, forwardRef, ViewChild, afterNextRender, Host, ViewChildren, isDevMode, ElementRef, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -25,8 +25,8 @@ const packageMetadata = {
|
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCode: 'KENDOUIANGULAR',
|
|
27
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
|
-
publishDate:
|
|
29
|
-
version: '25.
|
|
28
|
+
publishDate: 1791873115,
|
|
29
|
+
version: '25.4.0-develop.1',
|
|
30
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -67,10 +67,10 @@ class AppBarComponent {
|
|
|
67
67
|
set position(position) {
|
|
68
68
|
const newPosition = position ? position : DEFAULT_POSITION;
|
|
69
69
|
this.handleHostClasses(newPosition, this.position);
|
|
70
|
-
this._position
|
|
70
|
+
this._position.set(newPosition);
|
|
71
71
|
}
|
|
72
72
|
get position() {
|
|
73
|
-
return this._position;
|
|
73
|
+
return this._position();
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Sets the position mode of the AppBar ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/appbar/positioning#position-mode)).
|
|
@@ -80,26 +80,26 @@ class AppBarComponent {
|
|
|
80
80
|
set positionMode(positionMode) {
|
|
81
81
|
const newPositionMode = positionMode ? positionMode : DEFAULT_POSITION_MODE;
|
|
82
82
|
this.handleHostClasses(newPositionMode, this.positionMode);
|
|
83
|
-
this._positionMode
|
|
83
|
+
this._positionMode.set(newPositionMode);
|
|
84
84
|
}
|
|
85
85
|
get positionMode() {
|
|
86
|
-
return this._positionMode;
|
|
86
|
+
return this._positionMode();
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Sets the theme color of the AppBar. The theme color is applied as the background color of the component. The default value is set by the Kendo theme.
|
|
90
90
|
*/
|
|
91
91
|
set themeColor(themeColor) {
|
|
92
92
|
this.handleHostClasses(themeColor, this.themeColor);
|
|
93
|
-
this._themeColor
|
|
93
|
+
this._themeColor.set(themeColor);
|
|
94
94
|
}
|
|
95
95
|
get themeColor() {
|
|
96
|
-
return this._themeColor;
|
|
96
|
+
return this._themeColor();
|
|
97
97
|
}
|
|
98
98
|
dynamicRTLSubscription;
|
|
99
99
|
rtl = false;
|
|
100
|
-
_themeColor;
|
|
101
|
-
_position = DEFAULT_POSITION;
|
|
102
|
-
_positionMode = DEFAULT_POSITION_MODE;
|
|
100
|
+
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : /* istanbul ignore next */ []));
|
|
101
|
+
_position = signal(DEFAULT_POSITION, ...(ngDevMode ? [{ debugName: "_position" }] : /* istanbul ignore next */ []));
|
|
102
|
+
_positionMode = signal(DEFAULT_POSITION_MODE, ...(ngDevMode ? [{ debugName: "_positionMode" }] : /* istanbul ignore next */ []));
|
|
103
103
|
constructor(localizationService, host, renderer) {
|
|
104
104
|
this.localizationService = localizationService;
|
|
105
105
|
this.host = host;
|
|
@@ -133,8 +133,8 @@ class AppBarComponent {
|
|
|
133
133
|
this.renderer.addClass(elem, `k-appbar-${newValue}`);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
137
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: AppBarComponent, isStandalone: true, selector: "kendo-appbar", inputs: { position: "position", positionMode: "positionMode", themeColor: "themeColor" }, host: { properties: { "class.k-appbar": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
|
|
138
138
|
LocalizationService,
|
|
139
139
|
{
|
|
140
140
|
provide: L10N_PREFIX,
|
|
@@ -142,13 +142,13 @@ class AppBarComponent {
|
|
|
142
142
|
}
|
|
143
143
|
], exportAs: ["kendoAppBar"], ngImport: i0, template: `
|
|
144
144
|
<ng-content></ng-content>
|
|
145
|
-
`, isInline: true });
|
|
145
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
146
146
|
}
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarComponent, decorators: [{
|
|
148
148
|
type: Component,
|
|
149
149
|
args: [{
|
|
150
|
-
exportAs: 'kendoAppBar',
|
|
151
150
|
selector: 'kendo-appbar',
|
|
151
|
+
exportAs: 'kendoAppBar',
|
|
152
152
|
template: `
|
|
153
153
|
<ng-content></ng-content>
|
|
154
154
|
`,
|
|
@@ -159,6 +159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
159
159
|
useValue: 'kendo.appbar.component'
|
|
160
160
|
}
|
|
161
161
|
],
|
|
162
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
162
163
|
standalone: true
|
|
163
164
|
}]
|
|
164
165
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { hostClass: [{
|
|
@@ -191,18 +192,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
191
192
|
*/
|
|
192
193
|
class AppBarSectionComponent {
|
|
193
194
|
hostClass = true;
|
|
194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
195
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
195
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
196
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: AppBarSectionComponent, isStandalone: true, selector: "kendo-appbar-section", host: { properties: { "class.k-appbar-section": "this.hostClass" } }, ngImport: i0, template: `
|
|
196
197
|
<ng-content></ng-content>
|
|
197
|
-
`, isInline: true });
|
|
198
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
198
199
|
}
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarSectionComponent, decorators: [{
|
|
200
201
|
type: Component,
|
|
201
202
|
args: [{
|
|
202
203
|
selector: 'kendo-appbar-section',
|
|
203
204
|
template: `
|
|
204
205
|
<ng-content></ng-content>
|
|
205
206
|
`,
|
|
207
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
206
208
|
standalone: true
|
|
207
209
|
}]
|
|
208
210
|
}], propDecorators: { hostClass: [{
|
|
@@ -301,7 +303,12 @@ class AppBarSpacerComponent {
|
|
|
301
303
|
*
|
|
302
304
|
* If not set, the AppBarSpacer will take all of the available space.
|
|
303
305
|
*/
|
|
304
|
-
width
|
|
306
|
+
set width(value) {
|
|
307
|
+
this._width.set(value);
|
|
308
|
+
}
|
|
309
|
+
get width() {
|
|
310
|
+
return this._width();
|
|
311
|
+
}
|
|
305
312
|
constructor(renderer, element) {
|
|
306
313
|
this.renderer = renderer;
|
|
307
314
|
this.element = element;
|
|
@@ -312,14 +319,16 @@ class AppBarSpacerComponent {
|
|
|
312
319
|
this.renderer.setStyle(element, 'flexBasis', this.width);
|
|
313
320
|
}
|
|
314
321
|
}
|
|
315
|
-
|
|
316
|
-
static
|
|
322
|
+
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : /* istanbul ignore next */ []));
|
|
323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarSpacerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
324
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: AppBarSpacerComponent, isStandalone: true, selector: "kendo-appbar-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass" } }, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
317
325
|
}
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
|
|
319
327
|
type: Component,
|
|
320
328
|
args: [{
|
|
321
329
|
selector: 'kendo-appbar-spacer',
|
|
322
330
|
template: ``,
|
|
331
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
323
332
|
standalone: true
|
|
324
333
|
}]
|
|
325
334
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { hostClass: [{
|
|
@@ -367,10 +376,10 @@ class ActionSheetHeaderTemplateDirective {
|
|
|
367
376
|
constructor(templateRef) {
|
|
368
377
|
this.templateRef = templateRef;
|
|
369
378
|
}
|
|
370
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
371
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
380
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ActionSheetHeaderTemplateDirective, isStandalone: true, selector: "[kendoActionSheetHeaderTemplate]", ngImport: i0 });
|
|
372
381
|
}
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetHeaderTemplateDirective, decorators: [{
|
|
374
383
|
type: Directive,
|
|
375
384
|
args: [{
|
|
376
385
|
selector: '[kendoActionSheetHeaderTemplate]',
|
|
@@ -399,10 +408,10 @@ class ActionSheetItemTemplateDirective {
|
|
|
399
408
|
constructor(templateRef) {
|
|
400
409
|
this.templateRef = templateRef;
|
|
401
410
|
}
|
|
402
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
403
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
412
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ActionSheetItemTemplateDirective, isStandalone: true, selector: "[kendoActionSheetItemTemplate]", ngImport: i0 });
|
|
404
413
|
}
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetItemTemplateDirective, decorators: [{
|
|
406
415
|
type: Directive,
|
|
407
416
|
args: [{
|
|
408
417
|
selector: '[kendoActionSheetItemTemplate]',
|
|
@@ -431,10 +440,10 @@ class ActionSheetContentTemplateDirective {
|
|
|
431
440
|
constructor(templateRef) {
|
|
432
441
|
this.templateRef = templateRef;
|
|
433
442
|
}
|
|
434
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
435
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
444
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ActionSheetContentTemplateDirective, isStandalone: true, selector: "[kendoActionSheetContentTemplate]", ngImport: i0 });
|
|
436
445
|
}
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetContentTemplateDirective, decorators: [{
|
|
438
447
|
type: Directive,
|
|
439
448
|
args: [{
|
|
440
449
|
selector: '[kendoActionSheetContentTemplate]',
|
|
@@ -463,10 +472,10 @@ class ActionSheetFooterTemplateDirective {
|
|
|
463
472
|
constructor(templateRef) {
|
|
464
473
|
this.templateRef = templateRef;
|
|
465
474
|
}
|
|
466
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
467
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
476
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ActionSheetFooterTemplateDirective, isStandalone: true, selector: "[kendoActionSheetFooterTemplate]", ngImport: i0 });
|
|
468
477
|
}
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetFooterTemplateDirective, decorators: [{
|
|
470
479
|
type: Directive,
|
|
471
480
|
args: [{
|
|
472
481
|
selector: '[kendoActionSheetFooterTemplate]',
|
|
@@ -495,10 +504,10 @@ class ActionSheetTemplateDirective {
|
|
|
495
504
|
constructor(templateRef) {
|
|
496
505
|
this.templateRef = templateRef;
|
|
497
506
|
}
|
|
498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
499
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
507
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
508
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ActionSheetTemplateDirective, isStandalone: true, selector: "[kendoActionSheetTemplate]", ngImport: i0 });
|
|
500
509
|
}
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetTemplateDirective, decorators: [{
|
|
502
511
|
type: Directive,
|
|
503
512
|
args: [{
|
|
504
513
|
selector: '[kendoActionSheetTemplate]',
|
|
@@ -531,9 +540,21 @@ function slideDown(duration, height) {
|
|
|
531
540
|
* @hidden
|
|
532
541
|
*/
|
|
533
542
|
class ActionSheetItemComponent {
|
|
534
|
-
itemTemplate
|
|
535
|
-
|
|
543
|
+
set itemTemplate(value) {
|
|
544
|
+
this._itemTemplate.set(value);
|
|
545
|
+
}
|
|
546
|
+
get itemTemplate() {
|
|
547
|
+
return this._itemTemplate();
|
|
548
|
+
}
|
|
549
|
+
set item(value) {
|
|
550
|
+
this._item.set(value);
|
|
551
|
+
}
|
|
552
|
+
get item() {
|
|
553
|
+
return this._item();
|
|
554
|
+
}
|
|
536
555
|
pointerClass = true;
|
|
556
|
+
_itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
557
|
+
_item = signal(undefined, ...(ngDevMode ? [{ debugName: "_item" }] : /* istanbul ignore next */ []));
|
|
537
558
|
manageIconClasses(item) {
|
|
538
559
|
const classes = ['k-actionsheet-item-icon'];
|
|
539
560
|
const isHexColor = isPresent(item.iconColor) && hexColorRegex.test(item.iconColor);
|
|
@@ -555,8 +576,8 @@ class ActionSheetItemComponent {
|
|
|
555
576
|
}
|
|
556
577
|
return styles;
|
|
557
578
|
}
|
|
558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
559
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
579
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
580
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ActionSheetItemComponent, isStandalone: true, selector: "[kendoActionSheetItem]", inputs: { itemTemplate: "itemTemplate", item: "item" }, host: { properties: { "class.k-cursor-pointer": "this.pointerClass" } }, ngImport: i0, template: `
|
|
560
581
|
@if (itemTemplate) {
|
|
561
582
|
<ng-template
|
|
562
583
|
[ngTemplateOutlet]="itemTemplate"
|
|
@@ -590,9 +611,9 @@ class ActionSheetItemComponent {
|
|
|
590
611
|
}
|
|
591
612
|
</span>
|
|
592
613
|
}
|
|
593
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
614
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
594
615
|
}
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetItemComponent, decorators: [{
|
|
596
617
|
type: Component,
|
|
597
618
|
args: [{
|
|
598
619
|
selector: '[kendoActionSheetItem]',
|
|
@@ -632,7 +653,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
632
653
|
}
|
|
633
654
|
`,
|
|
634
655
|
standalone: true,
|
|
635
|
-
imports: [NgTemplateOutlet, IconWrapperComponent]
|
|
656
|
+
imports: [NgTemplateOutlet, IconWrapperComponent],
|
|
657
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
636
658
|
}]
|
|
637
659
|
}], propDecorators: { itemTemplate: [{
|
|
638
660
|
type: Input
|
|
@@ -650,11 +672,29 @@ class ActionSheetListComponent {
|
|
|
650
672
|
renderer;
|
|
651
673
|
ngZone;
|
|
652
674
|
element;
|
|
653
|
-
groupItems
|
|
654
|
-
|
|
655
|
-
|
|
675
|
+
set groupItems(value) {
|
|
676
|
+
this._groupItems.set(value);
|
|
677
|
+
}
|
|
678
|
+
get groupItems() {
|
|
679
|
+
return this._groupItems();
|
|
680
|
+
}
|
|
681
|
+
set allItems(value) {
|
|
682
|
+
this._allItems.set(value);
|
|
683
|
+
}
|
|
684
|
+
get allItems() {
|
|
685
|
+
return this._allItems();
|
|
686
|
+
}
|
|
687
|
+
set itemTemplate(value) {
|
|
688
|
+
this._itemTemplate.set(value);
|
|
689
|
+
}
|
|
690
|
+
get itemTemplate() {
|
|
691
|
+
return this._itemTemplate();
|
|
692
|
+
}
|
|
656
693
|
itemClick = new EventEmitter();
|
|
657
694
|
subscriptions = new Subscription();
|
|
695
|
+
_groupItems = signal([], ...(ngDevMode ? [{ debugName: "_groupItems" }] : /* istanbul ignore next */ []));
|
|
696
|
+
_allItems = signal([], ...(ngDevMode ? [{ debugName: "_allItems" }] : /* istanbul ignore next */ []));
|
|
697
|
+
_itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
658
698
|
constructor(renderer, ngZone, element) {
|
|
659
699
|
this.renderer = renderer;
|
|
660
700
|
this.ngZone = ngZone;
|
|
@@ -692,10 +732,10 @@ class ActionSheetListComponent {
|
|
|
692
732
|
setAttrIndex(item) {
|
|
693
733
|
return this.allItems.indexOf(item);
|
|
694
734
|
}
|
|
695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
696
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
735
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
736
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ActionSheetListComponent, isStandalone: true, selector: "[kendoActionSheetList]", inputs: { groupItems: "groupItems", allItems: "allItems", itemTemplate: "itemTemplate" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "\n @for (item of groupItems; track item) {\n <span kendoActionSheetItem\n tabindex=\"0\"\n [attr.aria-disabled]=\"item.disabled\"\n [class.k-actionsheet-item]=\"true\"\n [attr.kendo-actionsheet-item-index]=\"setAttrIndex(item)\"\n [class.k-disabled]=\"item.disabled\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n [itemTemplate]=\"itemTemplate\"\n [item]=\"item\">\n </span>\n }\n ", isInline: true, dependencies: [{ kind: "component", type: ActionSheetItemComponent, selector: "[kendoActionSheetItem]", inputs: ["itemTemplate", "item"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
697
737
|
}
|
|
698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetListComponent, decorators: [{
|
|
699
739
|
type: Component,
|
|
700
740
|
args: [{
|
|
701
741
|
selector: '[kendoActionSheetList]',
|
|
@@ -715,7 +755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
715
755
|
}
|
|
716
756
|
`,
|
|
717
757
|
standalone: true,
|
|
718
|
-
imports: [ActionSheetItemComponent, NgClass, NgStyle]
|
|
758
|
+
imports: [ActionSheetItemComponent, NgClass, NgStyle],
|
|
759
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
719
760
|
}]
|
|
720
761
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ElementRef }], propDecorators: { groupItems: [{
|
|
721
762
|
type: Input
|
|
@@ -749,7 +790,11 @@ class ActionSheetComponent {
|
|
|
749
790
|
/**
|
|
750
791
|
* @hidden
|
|
751
792
|
*/
|
|
752
|
-
currentView
|
|
793
|
+
get currentView() { return this._currentView(); }
|
|
794
|
+
/**
|
|
795
|
+
* @hidden
|
|
796
|
+
*/
|
|
797
|
+
set currentView(value) { this._currentView.set(value); }
|
|
753
798
|
/**
|
|
754
799
|
* @hidden
|
|
755
800
|
*/
|
|
@@ -763,58 +808,99 @@ class ActionSheetComponent {
|
|
|
763
808
|
/**
|
|
764
809
|
* Specifies the action buttons displayed in the ActionSheet footer.
|
|
765
810
|
*/
|
|
766
|
-
actions
|
|
811
|
+
set actions(value) {
|
|
812
|
+
this._actions.set(value);
|
|
813
|
+
}
|
|
814
|
+
get actions() {
|
|
815
|
+
return this._actions();
|
|
816
|
+
}
|
|
767
817
|
/**
|
|
768
818
|
* Configures the layout of the action buttons in the footer. By default, actions are arranged horizontally and stretched to fill the container.
|
|
769
819
|
*/
|
|
770
|
-
actionsLayout
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
820
|
+
set actionsLayout(value) {
|
|
821
|
+
this._actionsLayout.set(value);
|
|
822
|
+
}
|
|
823
|
+
get actionsLayout() {
|
|
824
|
+
return this._actionsLayout();
|
|
825
|
+
}
|
|
774
826
|
/**
|
|
775
827
|
* Determines whether the ActionSheet closes when the overlay is clicked.
|
|
776
828
|
*
|
|
777
829
|
* @default false
|
|
778
830
|
*/
|
|
779
|
-
overlayClickClose
|
|
831
|
+
set overlayClickClose(value) {
|
|
832
|
+
this._overlayClickClose.set(value);
|
|
833
|
+
}
|
|
834
|
+
get overlayClickClose() {
|
|
835
|
+
return this._overlayClickClose();
|
|
836
|
+
}
|
|
780
837
|
/**
|
|
781
838
|
* Sets the title text displayed in the ActionSheet header.
|
|
782
839
|
*/
|
|
783
|
-
title
|
|
840
|
+
set title(value) {
|
|
841
|
+
this._title.set(value);
|
|
842
|
+
}
|
|
843
|
+
get title() {
|
|
844
|
+
return this._title();
|
|
845
|
+
}
|
|
784
846
|
/**
|
|
785
847
|
* Sets the subtitle text displayed below the title in the header.
|
|
786
848
|
*/
|
|
787
|
-
subtitle
|
|
849
|
+
set subtitle(value) {
|
|
850
|
+
this._subtitle.set(value);
|
|
851
|
+
}
|
|
852
|
+
get subtitle() {
|
|
853
|
+
return this._subtitle();
|
|
854
|
+
}
|
|
788
855
|
/**
|
|
789
856
|
* Provides the collection of items rendered in the ActionSheet content area.
|
|
790
857
|
*/
|
|
791
|
-
items
|
|
858
|
+
set items(value) {
|
|
859
|
+
this._items.set(value);
|
|
860
|
+
}
|
|
861
|
+
get items() {
|
|
862
|
+
return this._items();
|
|
863
|
+
}
|
|
792
864
|
/**
|
|
793
865
|
* Applies CSS classes to the inner ActionSheet element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
794
866
|
*/
|
|
795
867
|
set cssClass(value) {
|
|
796
|
-
this._cssClass
|
|
797
|
-
this.isFullscreen = this.hasFullscreenClass(value);
|
|
868
|
+
this._cssClass.set(value);
|
|
798
869
|
}
|
|
799
870
|
get cssClass() {
|
|
800
|
-
return this._cssClass;
|
|
871
|
+
return this._cssClass();
|
|
801
872
|
}
|
|
802
873
|
/**
|
|
803
874
|
* Applies inline styles to the inner ActionSheet element. Accepts any value supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
804
875
|
*/
|
|
805
|
-
cssStyle
|
|
876
|
+
set cssStyle(value) {
|
|
877
|
+
this._cssStyle.set(value);
|
|
878
|
+
}
|
|
879
|
+
get cssStyle() {
|
|
880
|
+
return this._cssStyle();
|
|
881
|
+
}
|
|
806
882
|
/**
|
|
807
883
|
* Configures the opening and closing animations for the ActionSheet ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/actionsheet/animations)).
|
|
808
884
|
*
|
|
809
885
|
* @default true
|
|
810
886
|
*/
|
|
811
|
-
animation
|
|
887
|
+
set animation(value) {
|
|
888
|
+
this._animation.set(value);
|
|
889
|
+
}
|
|
890
|
+
get animation() {
|
|
891
|
+
return this._animation();
|
|
892
|
+
}
|
|
812
893
|
/**
|
|
813
894
|
* Controls whether the ActionSheet is expanded or collapsed.
|
|
814
895
|
*
|
|
815
896
|
* @default false
|
|
816
897
|
*/
|
|
817
|
-
expanded
|
|
898
|
+
set expanded(value) {
|
|
899
|
+
this._expanded.set(value);
|
|
900
|
+
}
|
|
901
|
+
get expanded() {
|
|
902
|
+
return this._expanded();
|
|
903
|
+
}
|
|
818
904
|
/**
|
|
819
905
|
* Sets the `aria-labelledby` attribute of the ActionSheet wrapper element.
|
|
820
906
|
* Use this option when the built-in header element is replaced through the [`ActionSheetHeaderTemplate`](https://www.telerik.com/kendo-angular-ui/components/navigation/api/actionsheetheadertemplatedirective)
|
|
@@ -823,13 +909,23 @@ class ActionSheetComponent {
|
|
|
823
909
|
* @remarks
|
|
824
910
|
* This property is related to accessibility.
|
|
825
911
|
*/
|
|
826
|
-
titleId
|
|
912
|
+
set titleId(value) {
|
|
913
|
+
this._titleId.set(value);
|
|
914
|
+
}
|
|
915
|
+
get titleId() {
|
|
916
|
+
return this._titleId();
|
|
917
|
+
}
|
|
827
918
|
/**
|
|
828
919
|
* @hidden
|
|
829
920
|
*
|
|
830
921
|
* Determines if the ActionSheet should focus the first focusable element when opened.
|
|
831
922
|
*/
|
|
832
|
-
initialFocus
|
|
923
|
+
set initialFocus(value) {
|
|
924
|
+
this._initialFocus.set(value);
|
|
925
|
+
}
|
|
926
|
+
get initialFocus() {
|
|
927
|
+
return this._initialFocus();
|
|
928
|
+
}
|
|
833
929
|
/**
|
|
834
930
|
* Fires when the `expanded` property of the component is updated.
|
|
835
931
|
* You can use this event to provide two-way binding for the `expanded` property.
|
|
@@ -883,13 +979,29 @@ class ActionSheetComponent {
|
|
|
883
979
|
* @hidden
|
|
884
980
|
*/
|
|
885
981
|
footerTemplate;
|
|
886
|
-
_cssClass;
|
|
982
|
+
_cssClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_cssClass" }] : /* istanbul ignore next */ []));
|
|
983
|
+
_actions = signal(undefined, ...(ngDevMode ? [{ debugName: "_actions" }] : /* istanbul ignore next */ []));
|
|
984
|
+
_actionsLayout = signal({ orientation: 'horizontal', alignment: 'stretched' }, ...(ngDevMode ? [{ debugName: "_actionsLayout" }] : /* istanbul ignore next */ []));
|
|
985
|
+
_overlayClickClose = signal(false, ...(ngDevMode ? [{ debugName: "_overlayClickClose" }] : /* istanbul ignore next */ []));
|
|
986
|
+
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : /* istanbul ignore next */ []));
|
|
987
|
+
_subtitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_subtitle" }] : /* istanbul ignore next */ []));
|
|
988
|
+
_items = signal(undefined, ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
|
|
989
|
+
_cssStyle = signal(undefined, ...(ngDevMode ? [{ debugName: "_cssStyle" }] : /* istanbul ignore next */ []));
|
|
990
|
+
_animation = signal(true, ...(ngDevMode ? [{ debugName: "_animation" }] : /* istanbul ignore next */ []));
|
|
991
|
+
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
992
|
+
_titleId = signal(getId('k-actionsheet-title'), ...(ngDevMode ? [{ debugName: "_titleId" }] : /* istanbul ignore next */ []));
|
|
993
|
+
_initialFocus = signal(true, ...(ngDevMode ? [{ debugName: "_initialFocus" }] : /* istanbul ignore next */ []));
|
|
994
|
+
_currentView = signal(1, ...(ngDevMode ? [{ debugName: "_currentView" }] : /* istanbul ignore next */ []));
|
|
995
|
+
_pendingInitialFocus = signal(false, ...(ngDevMode ? [{ debugName: "_pendingInitialFocus" }] : /* istanbul ignore next */ []));
|
|
996
|
+
_pendingAnimationExpanded = signal(null, ...(ngDevMode ? [{ debugName: "_pendingAnimationExpanded" }] : /* istanbul ignore next */ []));
|
|
887
997
|
dynamicRTLSubscription;
|
|
888
|
-
rtl = false;
|
|
998
|
+
rtl = signal(false, ...(ngDevMode ? [{ debugName: "rtl" }] : /* istanbul ignore next */ []));
|
|
889
999
|
domSubs = new Subscription();
|
|
890
|
-
player;
|
|
1000
|
+
player = signal(undefined, ...(ngDevMode ? [{ debugName: "player" }] : /* istanbul ignore next */ []));
|
|
891
1001
|
animationEnd = new EventEmitter();
|
|
892
|
-
|
|
1002
|
+
get _isFullscreen() {
|
|
1003
|
+
return this.hasFullscreenClass(this._cssClass());
|
|
1004
|
+
}
|
|
893
1005
|
constructor(element, ngZone, renderer, localizationService, builder, cdr) {
|
|
894
1006
|
this.element = element;
|
|
895
1007
|
this.ngZone = ngZone;
|
|
@@ -899,17 +1011,28 @@ class ActionSheetComponent {
|
|
|
899
1011
|
this.cdr = cdr;
|
|
900
1012
|
validatePackage(packageMetadata);
|
|
901
1013
|
this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
|
|
902
|
-
this.rtl
|
|
903
|
-
this.direction = this.rtl ? 'rtl' : 'ltr';
|
|
1014
|
+
this.rtl.set(rtl);
|
|
1015
|
+
this.direction = this.rtl() ? 'rtl' : 'ltr';
|
|
904
1016
|
});
|
|
905
1017
|
}
|
|
906
1018
|
ngAfterViewInit() {
|
|
907
1019
|
this.initDomEvents();
|
|
908
1020
|
this.setCssVariables();
|
|
909
1021
|
}
|
|
1022
|
+
ngAfterViewChecked() {
|
|
1023
|
+
if (this._pendingInitialFocus()) {
|
|
1024
|
+
this._pendingInitialFocus.set(false);
|
|
1025
|
+
this.handleInitialFocus();
|
|
1026
|
+
}
|
|
1027
|
+
const pendingAnimation = this._pendingAnimationExpanded();
|
|
1028
|
+
if (pendingAnimation !== null && this.childContainer) {
|
|
1029
|
+
this._pendingAnimationExpanded.set(null);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
910
1032
|
ngOnChanges(changes) {
|
|
911
1033
|
if (changes['expanded'] && this.expanded) {
|
|
912
|
-
this.
|
|
1034
|
+
this.expandedChange.emit(true);
|
|
1035
|
+
this._pendingInitialFocus.set(true);
|
|
913
1036
|
}
|
|
914
1037
|
}
|
|
915
1038
|
ngOnDestroy() {
|
|
@@ -917,8 +1040,8 @@ class ActionSheetComponent {
|
|
|
917
1040
|
if (this.dynamicRTLSubscription) {
|
|
918
1041
|
this.dynamicRTLSubscription.unsubscribe();
|
|
919
1042
|
}
|
|
920
|
-
if (this.player) {
|
|
921
|
-
this.player.destroy();
|
|
1043
|
+
if (this.player()) {
|
|
1044
|
+
this.player().destroy();
|
|
922
1045
|
}
|
|
923
1046
|
}
|
|
924
1047
|
/**
|
|
@@ -959,7 +1082,12 @@ class ActionSheetComponent {
|
|
|
959
1082
|
if (this.animation) {
|
|
960
1083
|
this.animationEnd.pipe(take(1))
|
|
961
1084
|
.subscribe(() => { this.onAnimationEnd(current); });
|
|
962
|
-
this.
|
|
1085
|
+
if (!this.childContainer) {
|
|
1086
|
+
this._pendingAnimationExpanded.set(current);
|
|
1087
|
+
}
|
|
1088
|
+
else {
|
|
1089
|
+
this.playAnimation(current);
|
|
1090
|
+
}
|
|
963
1091
|
}
|
|
964
1092
|
else {
|
|
965
1093
|
this[current ? 'expand' : 'collapse'].emit();
|
|
@@ -1015,7 +1143,7 @@ class ActionSheetComponent {
|
|
|
1015
1143
|
*/
|
|
1016
1144
|
get childContainerStyle() {
|
|
1017
1145
|
const baseStyle = 'bottom: 0px; width: 100%;';
|
|
1018
|
-
return this.
|
|
1146
|
+
return this._isFullscreen ? `${baseStyle} height: 100%;` : baseStyle;
|
|
1019
1147
|
}
|
|
1020
1148
|
initDomEvents() {
|
|
1021
1149
|
if (!this.element) {
|
|
@@ -1118,18 +1246,18 @@ class ActionSheetComponent {
|
|
|
1118
1246
|
const contentHeight = getComputedStyle(this.childContainer.nativeElement).height;
|
|
1119
1247
|
const animation = expanded ? slideUp(duration, contentHeight) : slideDown(duration, contentHeight);
|
|
1120
1248
|
const factory = this.builder.build(animation);
|
|
1121
|
-
this.player
|
|
1122
|
-
this.player.onDone(() => {
|
|
1123
|
-
if (this.player) {
|
|
1249
|
+
this.player.set(factory.create(this.childContainer.nativeElement));
|
|
1250
|
+
this.player().onDone(() => {
|
|
1251
|
+
if (this.player()) {
|
|
1124
1252
|
this.animationEnd.emit();
|
|
1125
|
-
this.player.destroy();
|
|
1126
|
-
this.player
|
|
1253
|
+
this.player().destroy();
|
|
1254
|
+
this.player.set(null);
|
|
1127
1255
|
}
|
|
1128
1256
|
});
|
|
1129
|
-
this.player.play();
|
|
1257
|
+
this.player().play();
|
|
1130
1258
|
}
|
|
1131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1132
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1259
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i2.AnimationBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1260
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ActionSheetComponent, isStandalone: true, selector: "kendo-actionsheet", inputs: { actions: "actions", actionsLayout: "actionsLayout", overlayClickClose: "overlayClickClose", title: "title", subtitle: "subtitle", items: "items", cssClass: "cssClass", cssStyle: "cssStyle", animation: "animation", expanded: "expanded", titleId: "titleId", initialFocus: "initialFocus" }, outputs: { expandedChange: "expandedChange", action: "action", expand: "expand", collapse: "collapse", itemClick: "itemClick", overlayClick: "overlayClick" }, host: { properties: { "class.k-actionsheet-container": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
|
|
1133
1261
|
LocalizationService,
|
|
1134
1262
|
{
|
|
1135
1263
|
provide: L10N_PREFIX,
|
|
@@ -1245,9 +1373,9 @@ class ActionSheetComponent {
|
|
|
1245
1373
|
</div>
|
|
1246
1374
|
</div>
|
|
1247
1375
|
}
|
|
1248
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetListComponent, selector: "[kendoActionSheetList]", inputs: ["groupItems", "allItems", "itemTemplate"], outputs: ["itemClick"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1376
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetListComponent, selector: "[kendoActionSheetList]", inputs: ["groupItems", "allItems", "itemTemplate"], outputs: ["itemClick"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1249
1377
|
}
|
|
1250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetComponent, decorators: [{
|
|
1251
1379
|
type: Component,
|
|
1252
1380
|
args: [{
|
|
1253
1381
|
exportAs: 'kendoActionSheet',
|
|
@@ -1371,7 +1499,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
1371
1499
|
provideComponentName('actionsheet')
|
|
1372
1500
|
],
|
|
1373
1501
|
standalone: true,
|
|
1374
|
-
imports: [NgStyle, NgClass, NgTemplateOutlet, ActionSheetListComponent, ButtonDirective]
|
|
1502
|
+
imports: [NgStyle, NgClass, NgTemplateOutlet, ActionSheetListComponent, ButtonDirective],
|
|
1503
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1375
1504
|
}]
|
|
1376
1505
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i2.AnimationBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { hostClass: [{
|
|
1377
1506
|
type: HostBinding,
|
|
@@ -1448,10 +1577,25 @@ class ActionSheetViewComponent {
|
|
|
1448
1577
|
actionSheet;
|
|
1449
1578
|
renderer;
|
|
1450
1579
|
host;
|
|
1451
|
-
|
|
1452
|
-
title
|
|
1453
|
-
|
|
1454
|
-
|
|
1580
|
+
injector;
|
|
1581
|
+
set title(value) {
|
|
1582
|
+
this._title.set(value);
|
|
1583
|
+
}
|
|
1584
|
+
get title() {
|
|
1585
|
+
return this._title();
|
|
1586
|
+
}
|
|
1587
|
+
set subtitle(value) {
|
|
1588
|
+
this._subtitle.set(value);
|
|
1589
|
+
}
|
|
1590
|
+
get subtitle() {
|
|
1591
|
+
return this._subtitle();
|
|
1592
|
+
}
|
|
1593
|
+
set titleId(value) {
|
|
1594
|
+
this._titleId.set(value);
|
|
1595
|
+
}
|
|
1596
|
+
get titleId() {
|
|
1597
|
+
return this._titleId();
|
|
1598
|
+
}
|
|
1455
1599
|
hostClass = true;
|
|
1456
1600
|
transitionDuration = '500ms';
|
|
1457
1601
|
transitionProperty = 'transform';
|
|
@@ -1460,17 +1604,20 @@ class ActionSheetViewComponent {
|
|
|
1460
1604
|
footerTemplate;
|
|
1461
1605
|
actionSheetTemplate;
|
|
1462
1606
|
ngAfterViewInit() {
|
|
1463
|
-
|
|
1607
|
+
afterNextRender(() => {
|
|
1464
1608
|
if (this.actionSheet?.actionSheetViews?.length > 1) {
|
|
1465
1609
|
this.renderer.addClass(this.host.nativeElement, 'k-actionsheet-view-animated');
|
|
1466
1610
|
}
|
|
1467
|
-
});
|
|
1611
|
+
}, { injector: this.injector });
|
|
1468
1612
|
}
|
|
1469
|
-
|
|
1613
|
+
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : /* istanbul ignore next */ []));
|
|
1614
|
+
_subtitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_subtitle" }] : /* istanbul ignore next */ []));
|
|
1615
|
+
_titleId = signal(getId('k-actionsheet-title'), ...(ngDevMode ? [{ debugName: "_titleId" }] : /* istanbul ignore next */ []));
|
|
1616
|
+
constructor(actionSheet, renderer, host, injector) {
|
|
1470
1617
|
this.actionSheet = actionSheet;
|
|
1471
1618
|
this.renderer = renderer;
|
|
1472
1619
|
this.host = host;
|
|
1473
|
-
this.
|
|
1620
|
+
this.injector = injector;
|
|
1474
1621
|
}
|
|
1475
1622
|
get orientationClass() {
|
|
1476
1623
|
return this.actionSheet?.orientationClass;
|
|
@@ -1478,8 +1625,8 @@ class ActionSheetViewComponent {
|
|
|
1478
1625
|
get alignmentClass() {
|
|
1479
1626
|
return this.actionSheet?.alignmentClass;
|
|
1480
1627
|
}
|
|
1481
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1482
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1628
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetViewComponent, deps: [{ token: ActionSheetComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1629
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ActionSheetViewComponent, isStandalone: true, selector: "kendo-actionsheet-view", inputs: { title: "title", subtitle: "subtitle", titleId: "titleId" }, host: { properties: { "class.k-actionsheet-view": "this.hostClass", "style.transition-duration": "this.transitionDuration", "style.transition-property": "this.transitionProperty" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ActionSheetHeaderTemplateDirective, descendants: true }, { propertyName: "contentTemplate", first: true, predicate: ActionSheetContentTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: ActionSheetFooterTemplateDirective, descendants: true }, { propertyName: "actionSheetTemplate", first: true, predicate: ActionSheetTemplateDirective, descendants: true }], ngImport: i0, template: `
|
|
1483
1630
|
@if (actionSheetTemplate) {
|
|
1484
1631
|
<ng-template
|
|
1485
1632
|
[ngTemplateOutlet]="actionSheetTemplate?.templateRef">
|
|
@@ -1518,9 +1665,9 @@ class ActionSheetViewComponent {
|
|
|
1518
1665
|
}
|
|
1519
1666
|
}
|
|
1520
1667
|
|
|
1521
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1668
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1522
1669
|
}
|
|
1523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetViewComponent, decorators: [{
|
|
1524
1671
|
type: Component,
|
|
1525
1672
|
args: [{
|
|
1526
1673
|
selector: 'kendo-actionsheet-view',
|
|
@@ -1565,13 +1712,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
1565
1712
|
|
|
1566
1713
|
`,
|
|
1567
1714
|
standalone: true,
|
|
1568
|
-
imports: [NgClass, NgTemplateOutlet]
|
|
1715
|
+
imports: [NgClass, NgTemplateOutlet],
|
|
1716
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1569
1717
|
}]
|
|
1570
1718
|
}], ctorParameters: () => [{ type: ActionSheetComponent, decorators: [{
|
|
1571
1719
|
type: Optional
|
|
1572
1720
|
}, {
|
|
1573
1721
|
type: Host
|
|
1574
|
-
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.
|
|
1722
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }], propDecorators: { title: [{
|
|
1575
1723
|
type: Input
|
|
1576
1724
|
}], subtitle: [{
|
|
1577
1725
|
type: Input
|
|
@@ -1678,10 +1826,10 @@ class BottomNavigationItemTemplateDirective {
|
|
|
1678
1826
|
constructor(templateRef) {
|
|
1679
1827
|
this.templateRef = templateRef;
|
|
1680
1828
|
}
|
|
1681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1682
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1830
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: BottomNavigationItemTemplateDirective, isStandalone: true, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
|
|
1683
1831
|
}
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
|
|
1685
1833
|
type: Directive,
|
|
1686
1834
|
args: [{
|
|
1687
1835
|
selector: '[kendoBottomNavigationItemTemplate]',
|
|
@@ -1726,12 +1874,42 @@ const fills = ['solid', 'flat'];
|
|
|
1726
1874
|
* @hidden
|
|
1727
1875
|
*/
|
|
1728
1876
|
class BottomNavigationItemComponent {
|
|
1729
|
-
itemTemplate
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1877
|
+
set itemTemplate(value) {
|
|
1878
|
+
this._itemTemplate.set(value);
|
|
1879
|
+
}
|
|
1880
|
+
get itemTemplate() {
|
|
1881
|
+
return this._itemTemplate();
|
|
1882
|
+
}
|
|
1883
|
+
set item(value) {
|
|
1884
|
+
this._item.set(value);
|
|
1885
|
+
}
|
|
1886
|
+
get item() {
|
|
1887
|
+
return this._item();
|
|
1888
|
+
}
|
|
1889
|
+
set index(value) {
|
|
1890
|
+
this._index.set(value);
|
|
1891
|
+
}
|
|
1892
|
+
get index() {
|
|
1893
|
+
return this._index();
|
|
1894
|
+
}
|
|
1895
|
+
set disabledComponent(value) {
|
|
1896
|
+
this._disabledComponent.set(value);
|
|
1897
|
+
}
|
|
1898
|
+
get disabledComponent() {
|
|
1899
|
+
return this._disabledComponent();
|
|
1900
|
+
}
|
|
1901
|
+
set selectedIdx(value) {
|
|
1902
|
+
this._selectedIdx.set(value);
|
|
1903
|
+
}
|
|
1904
|
+
get selectedIdx() {
|
|
1905
|
+
return this._selectedIdx();
|
|
1906
|
+
}
|
|
1907
|
+
set orientation(value) {
|
|
1908
|
+
this._orientation.set(value);
|
|
1909
|
+
}
|
|
1910
|
+
get orientation() {
|
|
1911
|
+
return this._orientation();
|
|
1912
|
+
}
|
|
1735
1913
|
get disabledClass() {
|
|
1736
1914
|
return this.item.disabled;
|
|
1737
1915
|
}
|
|
@@ -1752,8 +1930,14 @@ class BottomNavigationItemComponent {
|
|
|
1752
1930
|
const customIcon = this.item.iconClass ? this.item.iconClass : '';
|
|
1753
1931
|
return `${kendoIcon} ${customIcon}`;
|
|
1754
1932
|
}
|
|
1755
|
-
|
|
1756
|
-
|
|
1933
|
+
_itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
1934
|
+
_item = signal(undefined, ...(ngDevMode ? [{ debugName: "_item" }] : /* istanbul ignore next */ []));
|
|
1935
|
+
_index = signal(undefined, ...(ngDevMode ? [{ debugName: "_index" }] : /* istanbul ignore next */ []));
|
|
1936
|
+
_disabledComponent = signal(false, ...(ngDevMode ? [{ debugName: "_disabledComponent" }] : /* istanbul ignore next */ []));
|
|
1937
|
+
_selectedIdx = signal(undefined, ...(ngDevMode ? [{ debugName: "_selectedIdx" }] : /* istanbul ignore next */ []));
|
|
1938
|
+
_orientation = signal(undefined, ...(ngDevMode ? [{ debugName: "_orientation" }] : /* istanbul ignore next */ []));
|
|
1939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1940
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: BottomNavigationItemComponent, isStandalone: true, selector: "[kendoBottomNavigationItem]", inputs: { itemTemplate: "itemTemplate", item: "item", index: "index", disabledComponent: "disabledComponent", selectedIdx: "selectedIdx", orientation: "orientation" }, host: { properties: { "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-current": "this.selectedClass", "class.k-selected": "this.selectedClass" } }, ngImport: i0, template: `
|
|
1757
1941
|
@if (!itemTemplate) {
|
|
1758
1942
|
@if (itemIcon) {
|
|
1759
1943
|
<kendo-icon-wrapper
|
|
@@ -1773,9 +1957,9 @@ class BottomNavigationItemComponent {
|
|
|
1773
1957
|
[ngTemplateOutletContext]="{ $implicit: item }">
|
|
1774
1958
|
</ng-template>
|
|
1775
1959
|
}
|
|
1776
|
-
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1960
|
+
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1777
1961
|
}
|
|
1778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
|
|
1779
1963
|
type: Component,
|
|
1780
1964
|
args: [{
|
|
1781
1965
|
selector: '[kendoBottomNavigationItem]',
|
|
@@ -1801,7 +1985,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
1801
1985
|
}
|
|
1802
1986
|
`,
|
|
1803
1987
|
standalone: true,
|
|
1804
|
-
imports: [IconWrapperComponent, NgTemplateOutlet]
|
|
1988
|
+
imports: [IconWrapperComponent, NgTemplateOutlet],
|
|
1989
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1805
1990
|
}]
|
|
1806
1991
|
}], propDecorators: { itemTemplate: [{
|
|
1807
1992
|
type: Input
|
|
@@ -1861,24 +2046,38 @@ class BottomNavigationComponent {
|
|
|
1861
2046
|
localization;
|
|
1862
2047
|
hostElement;
|
|
1863
2048
|
ngZone;
|
|
1864
|
-
changeDetector;
|
|
1865
2049
|
renderer;
|
|
1866
2050
|
/**
|
|
1867
2051
|
* Provides the collection of items rendered in the BottomNavigation ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/bottomnavigation/items)).
|
|
1868
2052
|
*/
|
|
1869
|
-
items
|
|
2053
|
+
set items(value) {
|
|
2054
|
+
this._items.set(value);
|
|
2055
|
+
}
|
|
2056
|
+
get items() {
|
|
2057
|
+
return this._items();
|
|
2058
|
+
}
|
|
1870
2059
|
/**
|
|
1871
2060
|
* Shows a top border on the BottomNavigation ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/bottomnavigation/appearance)).
|
|
1872
2061
|
*
|
|
1873
2062
|
* @default false
|
|
1874
2063
|
*/
|
|
1875
|
-
border
|
|
2064
|
+
set border(value) {
|
|
2065
|
+
this._border.set(value);
|
|
2066
|
+
}
|
|
2067
|
+
get border() {
|
|
2068
|
+
return this._border();
|
|
2069
|
+
}
|
|
1876
2070
|
/**
|
|
1877
2071
|
* Disables the entire BottomNavigation.
|
|
1878
2072
|
*
|
|
1879
2073
|
* @default false
|
|
1880
2074
|
*/
|
|
1881
|
-
disabled
|
|
2075
|
+
set disabled(value) {
|
|
2076
|
+
this._disabled.set(value);
|
|
2077
|
+
}
|
|
2078
|
+
get disabled() {
|
|
2079
|
+
return this._disabled();
|
|
2080
|
+
}
|
|
1882
2081
|
/**
|
|
1883
2082
|
* Sets the fill style of the BottomNavigation ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/bottomnavigation/appearance)). The default value is set by the Kendo theme.
|
|
1884
2083
|
*/
|
|
@@ -1887,13 +2086,13 @@ class BottomNavigationComponent {
|
|
|
1887
2086
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this.fill}`);
|
|
1888
2087
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this.themeColor}`);
|
|
1889
2088
|
if (newFill) {
|
|
1890
|
-
this._fill
|
|
1891
|
-
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-${this._fill}`);
|
|
2089
|
+
this._fill.set(fill);
|
|
2090
|
+
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-${this._fill()}`);
|
|
1892
2091
|
this.themeColor && this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-${this.themeColor}`);
|
|
1893
2092
|
}
|
|
1894
2093
|
}
|
|
1895
2094
|
get fill() {
|
|
1896
|
-
return this._fill;
|
|
2095
|
+
return this._fill();
|
|
1897
2096
|
}
|
|
1898
2097
|
/**
|
|
1899
2098
|
* Controls how the icon and text label are positioned in the BottomNavigation items.
|
|
@@ -1902,11 +2101,11 @@ class BottomNavigationComponent {
|
|
|
1902
2101
|
*/
|
|
1903
2102
|
set itemFlow(itemFlow) {
|
|
1904
2103
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-item-flow-${this.itemFlow}`);
|
|
1905
|
-
this._itemFlow
|
|
1906
|
-
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-item-flow-${this._itemFlow}`);
|
|
2104
|
+
this._itemFlow.set(itemFlow === 'horizontal' ? 'horizontal' : 'vertical');
|
|
2105
|
+
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-item-flow-${this._itemFlow()}`);
|
|
1907
2106
|
}
|
|
1908
2107
|
get itemFlow() {
|
|
1909
|
-
return this._itemFlow;
|
|
2108
|
+
return this._itemFlow();
|
|
1910
2109
|
}
|
|
1911
2110
|
/**
|
|
1912
2111
|
* Sets the position and behavior of the BottomNavigation when the page is scrollable ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/bottomnavigation/position-mode)).
|
|
@@ -1915,11 +2114,11 @@ class BottomNavigationComponent {
|
|
|
1915
2114
|
*/
|
|
1916
2115
|
set positionMode(positionMode) {
|
|
1917
2116
|
this.renderer.removeClass(this._nativeHostElement, `k-pos-${this.positionMode}`);
|
|
1918
|
-
this._positionMode
|
|
1919
|
-
this.renderer.addClass(this._nativeHostElement, `k-pos-${this._positionMode}`);
|
|
2117
|
+
this._positionMode.set(positionMode === 'sticky' ? 'sticky' : 'fixed');
|
|
2118
|
+
this.renderer.addClass(this._nativeHostElement, `k-pos-${this._positionMode()}`);
|
|
1920
2119
|
}
|
|
1921
2120
|
get positionMode() {
|
|
1922
|
-
return this._positionMode;
|
|
2121
|
+
return this._positionMode();
|
|
1923
2122
|
}
|
|
1924
2123
|
/**
|
|
1925
2124
|
* Sets the theme color of the BottomNavigation ([see example](https://www.telerik.com/kendo-angular-ui/components/navigation/bottomnavigation/appearance)).
|
|
@@ -1927,13 +2126,13 @@ class BottomNavigationComponent {
|
|
|
1927
2126
|
set themeColor(themeColor) {
|
|
1928
2127
|
const newColor = colors.find(color => color === themeColor);
|
|
1929
2128
|
if (newColor) {
|
|
1930
|
-
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this._themeColor}`);
|
|
1931
|
-
this._themeColor
|
|
1932
|
-
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-${this._themeColor}`);
|
|
2129
|
+
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this._themeColor()}`);
|
|
2130
|
+
this._themeColor.set(themeColor);
|
|
2131
|
+
this.renderer.addClass(this._nativeHostElement, `k-bottom-nav-${this._themeColor()}`);
|
|
1933
2132
|
}
|
|
1934
2133
|
}
|
|
1935
2134
|
get themeColor() {
|
|
1936
|
-
return this._themeColor;
|
|
2135
|
+
return this._themeColor();
|
|
1937
2136
|
}
|
|
1938
2137
|
/**
|
|
1939
2138
|
* Fires when a user selects an item. This event is preventable.
|
|
@@ -1970,20 +2169,25 @@ class BottomNavigationComponent {
|
|
|
1970
2169
|
/**
|
|
1971
2170
|
* @hidden
|
|
1972
2171
|
*/
|
|
1973
|
-
selectedIdx
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
2172
|
+
get selectedIdx() {
|
|
2173
|
+
return this._selectedIdx();
|
|
2174
|
+
}
|
|
2175
|
+
_items = signal(undefined, ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
|
|
2176
|
+
_border = signal(false, ...(ngDevMode ? [{ debugName: "_border" }] : /* istanbul ignore next */ []));
|
|
2177
|
+
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
|
|
2178
|
+
_fill = signal(undefined, ...(ngDevMode ? [{ debugName: "_fill" }] : /* istanbul ignore next */ []));
|
|
2179
|
+
_itemFlow = signal('vertical', ...(ngDevMode ? [{ debugName: "_itemFlow" }] : /* istanbul ignore next */ []));
|
|
2180
|
+
_positionMode = signal('fixed', ...(ngDevMode ? [{ debugName: "_positionMode" }] : /* istanbul ignore next */ []));
|
|
2181
|
+
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : /* istanbul ignore next */ []));
|
|
2182
|
+
_selectedIdx = signal(undefined, ...(ngDevMode ? [{ debugName: "_selectedIdx" }] : /* istanbul ignore next */ []));
|
|
1978
2183
|
_nativeHostElement;
|
|
1979
2184
|
dynamicRTLSubscription;
|
|
1980
2185
|
subscriptions = new Subscription();
|
|
1981
2186
|
rtl = false;
|
|
1982
|
-
constructor(localization, hostElement, ngZone,
|
|
2187
|
+
constructor(localization, hostElement, ngZone, renderer) {
|
|
1983
2188
|
this.localization = localization;
|
|
1984
2189
|
this.hostElement = hostElement;
|
|
1985
2190
|
this.ngZone = ngZone;
|
|
1986
|
-
this.changeDetector = changeDetector;
|
|
1987
2191
|
this.renderer = renderer;
|
|
1988
2192
|
validatePackage(packageMetadata);
|
|
1989
2193
|
this._nativeHostElement = this.hostElement.nativeElement;
|
|
@@ -2020,7 +2224,7 @@ class BottomNavigationComponent {
|
|
|
2020
2224
|
const eventArgs = new BottomNavigationSelectEvent({ ...args });
|
|
2021
2225
|
this.select.emit(eventArgs);
|
|
2022
2226
|
if (!eventArgs.isDefaultPrevented()) {
|
|
2023
|
-
this.
|
|
2227
|
+
this._selectedIdx.set(idx);
|
|
2024
2228
|
}
|
|
2025
2229
|
}
|
|
2026
2230
|
applyClasses() {
|
|
@@ -2056,7 +2260,6 @@ class BottomNavigationComponent {
|
|
|
2056
2260
|
};
|
|
2057
2261
|
this.ngZone.run(() => {
|
|
2058
2262
|
this.selectItem(itemIdx, args);
|
|
2059
|
-
this.changeDetector.markForCheck();
|
|
2060
2263
|
});
|
|
2061
2264
|
}
|
|
2062
2265
|
keyDownHandler(e) {
|
|
@@ -2072,21 +2275,21 @@ class BottomNavigationComponent {
|
|
|
2072
2275
|
return itemIndex(item, BOTTOMNAVIGATION_ITEM_INDEX);
|
|
2073
2276
|
}
|
|
2074
2277
|
}
|
|
2075
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2076
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2278
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2279
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: BottomNavigationComponent, isStandalone: true, selector: "kendo-bottomnavigation", inputs: { items: "items", border: "border", disabled: "disabled", fill: "fill", itemFlow: "itemFlow", positionMode: "positionMode", themeColor: "themeColor" }, outputs: { select: "select" }, host: { properties: { "class.k-bottom-nav": "this.hostClass", "class.k-bottom-nav-border": "this.borderClass", "class.k-disabled": "this.disabledClass", "attr.role": "this.role", "attr.dir": "this.direction" } }, providers: [
|
|
2077
2280
|
LocalizationService,
|
|
2078
2281
|
{
|
|
2079
2282
|
provide: L10N_PREFIX,
|
|
2080
2283
|
useValue: 'kendo.bottomnavigation'
|
|
2081
2284
|
},
|
|
2082
2285
|
provideComponentName('bottomnavigation')
|
|
2083
|
-
], queries: [{ propertyName: "itemTemplate", first: true, predicate: BottomNavigationItemTemplateDirective, descendants: true }], exportAs: ["kendoBottomNavigation"], ngImport: i0, template: "\n @if (items) {\n @for (item of items; track item; let idx = $index) {\n <span kendoBottomNavigationItem\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 }\n }\n ", isInline: true, dependencies: [{ kind: "component", type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2286
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: BottomNavigationItemTemplateDirective, descendants: true }], exportAs: ["kendoBottomNavigation"], ngImport: i0, template: "\n @if (items) {\n @for (item of items; track item; let idx = $index) {\n <span kendoBottomNavigationItem\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 }\n }\n ", isInline: true, dependencies: [{ kind: "component", type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2084
2287
|
}
|
|
2085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationComponent, decorators: [{
|
|
2086
2289
|
type: Component,
|
|
2087
2290
|
args: [{
|
|
2088
|
-
exportAs: 'kendoBottomNavigation',
|
|
2089
2291
|
selector: 'kendo-bottomnavigation',
|
|
2292
|
+
exportAs: 'kendoBottomNavigation',
|
|
2090
2293
|
providers: [
|
|
2091
2294
|
LocalizationService,
|
|
2092
2295
|
{
|
|
@@ -2115,9 +2318,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2115
2318
|
}
|
|
2116
2319
|
`,
|
|
2117
2320
|
standalone: true,
|
|
2118
|
-
imports: [BottomNavigationItemComponent, NgClass, NgStyle]
|
|
2321
|
+
imports: [BottomNavigationItemComponent, NgClass, NgStyle],
|
|
2322
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2119
2323
|
}]
|
|
2120
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.
|
|
2324
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }], propDecorators: { items: [{
|
|
2121
2325
|
type: Input
|
|
2122
2326
|
}], border: [{
|
|
2123
2327
|
type: Input
|
|
@@ -2175,10 +2379,10 @@ class BreadCrumbItemTemplateDirective {
|
|
|
2175
2379
|
constructor(templateRef) {
|
|
2176
2380
|
this.templateRef = templateRef;
|
|
2177
2381
|
}
|
|
2178
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2179
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2382
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2383
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: BreadCrumbItemTemplateDirective, isStandalone: true, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
|
|
2180
2384
|
}
|
|
2181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbItemTemplateDirective, decorators: [{
|
|
2182
2386
|
type: Directive,
|
|
2183
2387
|
args: [{
|
|
2184
2388
|
selector: '[kendoBreadCrumbItemTemplate]',
|
|
@@ -2224,10 +2428,30 @@ const getStylingClasses = (stylingOption, previousValue, newValue) => {
|
|
|
2224
2428
|
*/
|
|
2225
2429
|
class BreadCrumbItemComponent {
|
|
2226
2430
|
el;
|
|
2227
|
-
item
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2431
|
+
set item(value) {
|
|
2432
|
+
this._item.set(value);
|
|
2433
|
+
}
|
|
2434
|
+
get item() {
|
|
2435
|
+
return this._item();
|
|
2436
|
+
}
|
|
2437
|
+
set collapseMode(value) {
|
|
2438
|
+
this._collapseMode.set(value);
|
|
2439
|
+
}
|
|
2440
|
+
get collapseMode() {
|
|
2441
|
+
return this._collapseMode();
|
|
2442
|
+
}
|
|
2443
|
+
set index(value) {
|
|
2444
|
+
this._index.set(value);
|
|
2445
|
+
}
|
|
2446
|
+
get index() {
|
|
2447
|
+
return this._index();
|
|
2448
|
+
}
|
|
2449
|
+
set itemTemplate(value) {
|
|
2450
|
+
this._itemTemplate.set(value);
|
|
2451
|
+
}
|
|
2452
|
+
get itemTemplate() {
|
|
2453
|
+
return this._itemTemplate();
|
|
2454
|
+
}
|
|
2231
2455
|
hostClasses = true;
|
|
2232
2456
|
get isRootItem() {
|
|
2233
2457
|
return this.item.context.isFirst;
|
|
@@ -2237,11 +2461,27 @@ class BreadCrumbItemComponent {
|
|
|
2237
2461
|
}
|
|
2238
2462
|
width;
|
|
2239
2463
|
disabled = false;
|
|
2464
|
+
get collapsed() {
|
|
2465
|
+
return this._collapsed();
|
|
2466
|
+
}
|
|
2467
|
+
/**
|
|
2468
|
+
* @hidden
|
|
2469
|
+
*/
|
|
2470
|
+
setCollapsed(value) {
|
|
2471
|
+
this._collapsed.set(value);
|
|
2472
|
+
this.item.context.collapsed = value;
|
|
2473
|
+
}
|
|
2474
|
+
_item = signal(undefined, ...(ngDevMode ? [{ debugName: "_item" }] : /* istanbul ignore next */ []));
|
|
2475
|
+
_collapseMode = signal(undefined, ...(ngDevMode ? [{ debugName: "_collapseMode" }] : /* istanbul ignore next */ []));
|
|
2476
|
+
_index = signal(-1, ...(ngDevMode ? [{ debugName: "_index" }] : /* istanbul ignore next */ []));
|
|
2477
|
+
_itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
2478
|
+
_collapsed = signal(false, ...(ngDevMode ? [{ debugName: "_collapsed" }] : /* istanbul ignore next */ []));
|
|
2240
2479
|
constructor(el) {
|
|
2241
2480
|
this.el = el;
|
|
2242
2481
|
}
|
|
2243
2482
|
ngOnInit() {
|
|
2244
2483
|
this.disabled = this.item.data && (this.item.data.disabled || this.item.context.isLast);
|
|
2484
|
+
this._collapsed.set(this.item?.context?.collapsed ?? false);
|
|
2245
2485
|
}
|
|
2246
2486
|
ngAfterViewInit() {
|
|
2247
2487
|
if (isDocumentAvailable()) {
|
|
@@ -2253,8 +2493,8 @@ class BreadCrumbItemComponent {
|
|
|
2253
2493
|
this.width = outerWidth(this.el.nativeElement);
|
|
2254
2494
|
}
|
|
2255
2495
|
}
|
|
2256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2257
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2497
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: BreadCrumbItemComponent, isStandalone: true, selector: "[kendoBreadCrumbItem]", inputs: { item: "item", collapseMode: "collapseMode", index: "index", itemTemplate: "itemTemplate" }, host: { properties: { "class.k-breadcrumb-item": "this.hostClasses", "class.k-breadcrumb-root-item": "this.isRootItem", "class.k-breadcrumb-last-item": "this.isLastItem" } }, ngImport: i0, template: `
|
|
2258
2498
|
<ng-template #separator>
|
|
2259
2499
|
<ng-content select="[kendoBreadCrumbSeparator]"></ng-content>
|
|
2260
2500
|
</ng-template>
|
|
@@ -2263,7 +2503,7 @@ class BreadCrumbItemComponent {
|
|
|
2263
2503
|
<ng-container *ngTemplateOutlet="separator"></ng-container>
|
|
2264
2504
|
}
|
|
2265
2505
|
|
|
2266
|
-
@if (!
|
|
2506
|
+
@if (!collapsed) {
|
|
2267
2507
|
@if (!itemTemplate) {
|
|
2268
2508
|
<span
|
|
2269
2509
|
[ngClass]="{
|
|
@@ -2307,9 +2547,9 @@ class BreadCrumbItemComponent {
|
|
|
2307
2547
|
@if (collapseMode !== 'wrap') {
|
|
2308
2548
|
<ng-container *ngTemplateOutlet="separator"></ng-container>
|
|
2309
2549
|
}
|
|
2310
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
2550
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2311
2551
|
}
|
|
2312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbItemComponent, decorators: [{
|
|
2313
2553
|
type: Component,
|
|
2314
2554
|
args: [{
|
|
2315
2555
|
selector: '[kendoBreadCrumbItem]',
|
|
@@ -2322,7 +2562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2322
2562
|
<ng-container *ngTemplateOutlet="separator"></ng-container>
|
|
2323
2563
|
}
|
|
2324
2564
|
|
|
2325
|
-
@if (!
|
|
2565
|
+
@if (!collapsed) {
|
|
2326
2566
|
@if (!itemTemplate) {
|
|
2327
2567
|
<span
|
|
2328
2568
|
[ngClass]="{
|
|
@@ -2368,7 +2608,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2368
2608
|
}
|
|
2369
2609
|
`,
|
|
2370
2610
|
standalone: true,
|
|
2371
|
-
imports: [NgTemplateOutlet, NgClass, IconWrapperComponent]
|
|
2611
|
+
imports: [NgTemplateOutlet, NgClass, IconWrapperComponent],
|
|
2612
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2372
2613
|
}]
|
|
2373
2614
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { item: [{
|
|
2374
2615
|
type: Input
|
|
@@ -2451,8 +2692,8 @@ class BreadCrumbSeparatorDirective {
|
|
|
2451
2692
|
ngOnDestroy() {
|
|
2452
2693
|
this.localizationChangesSubscription.unsubscribe();
|
|
2453
2694
|
}
|
|
2454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2455
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2695
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2696
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: BreadCrumbSeparatorDirective, isStandalone: true, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `
|
|
2456
2697
|
<kendo-icon-wrapper
|
|
2457
2698
|
size='xsmall'
|
|
2458
2699
|
[name]="icon"
|
|
@@ -2462,7 +2703,7 @@ class BreadCrumbSeparatorDirective {
|
|
|
2462
2703
|
</kendo-icon-wrapper>
|
|
2463
2704
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
2464
2705
|
}
|
|
2465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
|
|
2466
2707
|
type: Component,
|
|
2467
2708
|
args: [{
|
|
2468
2709
|
selector: '[kendoBreadCrumbSeparator]',
|
|
@@ -2493,18 +2734,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2493
2734
|
class BreadCrumbListComponent {
|
|
2494
2735
|
el;
|
|
2495
2736
|
zone;
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2737
|
+
cdr;
|
|
2738
|
+
set items(value) {
|
|
2739
|
+
this._items.set(value);
|
|
2740
|
+
}
|
|
2741
|
+
get items() {
|
|
2742
|
+
return this._items();
|
|
2743
|
+
}
|
|
2744
|
+
set itemTemplate(value) {
|
|
2745
|
+
this._itemTemplate.set(value);
|
|
2746
|
+
}
|
|
2747
|
+
get itemTemplate() {
|
|
2748
|
+
return this._itemTemplate();
|
|
2749
|
+
}
|
|
2750
|
+
set collapseMode(value) {
|
|
2751
|
+
this._collapseMode.set(value);
|
|
2752
|
+
}
|
|
2753
|
+
get collapseMode() {
|
|
2754
|
+
return this._collapseMode();
|
|
2755
|
+
}
|
|
2756
|
+
set separatorIcon(value) {
|
|
2757
|
+
this._separatorIcon.set(value);
|
|
2758
|
+
}
|
|
2759
|
+
get separatorIcon() {
|
|
2760
|
+
return this._separatorIcon();
|
|
2761
|
+
}
|
|
2762
|
+
set separatorSVGIcon(value) {
|
|
2763
|
+
this._separatorSVGIcon.set(value);
|
|
2764
|
+
}
|
|
2765
|
+
get separatorSVGIcon() {
|
|
2766
|
+
return this._separatorSVGIcon();
|
|
2767
|
+
}
|
|
2501
2768
|
itemClick = new EventEmitter();
|
|
2502
2769
|
renderedItems;
|
|
2503
2770
|
isRootItemContainer;
|
|
2504
2771
|
domEventsSubscription;
|
|
2505
|
-
|
|
2772
|
+
_items = signal([], ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
|
|
2773
|
+
_itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
2774
|
+
_collapseMode = signal('auto', ...(ngDevMode ? [{ debugName: "_collapseMode" }] : /* istanbul ignore next */ []));
|
|
2775
|
+
_separatorIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_separatorIcon" }] : /* istanbul ignore next */ []));
|
|
2776
|
+
_separatorSVGIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_separatorSVGIcon" }] : /* istanbul ignore next */ []));
|
|
2777
|
+
constructor(el, zone, cdr) {
|
|
2506
2778
|
this.el = el;
|
|
2507
2779
|
this.zone = zone;
|
|
2780
|
+
this.cdr = cdr;
|
|
2508
2781
|
const element = this.el.nativeElement;
|
|
2509
2782
|
this.isRootItemContainer = element.classList.contains('k-breadcrumb-root-item-container');
|
|
2510
2783
|
this.zone.runOutsideAngular(() => {
|
|
@@ -2521,16 +2794,24 @@ class BreadCrumbListComponent {
|
|
|
2521
2794
|
ngOnDestroy() {
|
|
2522
2795
|
this.domEventsSubscription.unsubscribe();
|
|
2523
2796
|
}
|
|
2797
|
+
/**
|
|
2798
|
+
* @hidden
|
|
2799
|
+
* Forces synchronous change detection so in-place mutations to item.context.collapsed
|
|
2800
|
+
* are reflected in the template.
|
|
2801
|
+
*/
|
|
2802
|
+
refresh() {
|
|
2803
|
+
this.cdr.detectChanges();
|
|
2804
|
+
}
|
|
2524
2805
|
getItemIndex(target) {
|
|
2525
2806
|
const item = closestItem(target, BREADCRUMB_ITEM_INDEX, this.el.nativeElement);
|
|
2526
2807
|
if (item) {
|
|
2527
2808
|
return itemIndex(item, BREADCRUMB_ITEM_INDEX);
|
|
2528
2809
|
}
|
|
2529
2810
|
}
|
|
2530
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2531
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2811
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2812
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: BreadCrumbListComponent, isStandalone: true, selector: "[kendoBreadCrumbList]", inputs: { items: "items", itemTemplate: "itemTemplate", collapseMode: "collapseMode", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "renderedItems", predicate: BreadCrumbItemComponent, descendants: true }], ngImport: i0, template: "\n @for (item of items; track item; let i = $index; let isFirst = $first; let isLast = $last) {\n @if (!(collapseMode === 'wrap' && isFirst) || isRootItemContainer) {\n <li\n #renderedItem\n kendoBreadCrumbItem\n [attr.data-kendo-breadcrumb-index]=\"i\"\n [item]=\"item\"\n [index]=\"i\"\n [collapseMode]=\"collapseMode\"\n [itemTemplate]=\"itemTemplate\"\n >\n @if (collapseMode === 'wrap' && !isFirst) {\n <span kendoBreadCrumbSeparator [icon]=\"separatorIcon\" [svgIcon]=\"separatorSVGIcon\"></span>\n }\n @if (collapseMode !== 'wrap' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)) {\n <span\n kendoBreadCrumbSeparator\n [icon]=\"separatorIcon\"\n [svgIcon]=\"separatorSVGIcon\"\n ></span>\n }\n </li>\n }\n }\n ", isInline: true, dependencies: [{ kind: "component", type: BreadCrumbItemComponent, selector: "[kendoBreadCrumbItem]", inputs: ["item", "collapseMode", "index", "itemTemplate"] }, { kind: "component", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: ["icon", "svgIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2532
2813
|
}
|
|
2533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbListComponent, decorators: [{
|
|
2534
2815
|
type: Component,
|
|
2535
2816
|
args: [{
|
|
2536
2817
|
selector: '[kendoBreadCrumbList]',
|
|
@@ -2561,9 +2842,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2561
2842
|
}
|
|
2562
2843
|
`,
|
|
2563
2844
|
standalone: true,
|
|
2564
|
-
imports: [BreadCrumbItemComponent, BreadCrumbSeparatorDirective]
|
|
2845
|
+
imports: [BreadCrumbItemComponent, BreadCrumbSeparatorDirective],
|
|
2846
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2565
2847
|
}]
|
|
2566
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { items: [{
|
|
2848
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { items: [{
|
|
2567
2849
|
type: Input
|
|
2568
2850
|
}], itemTemplate: [{
|
|
2569
2851
|
type: Input
|
|
@@ -2589,7 +2871,12 @@ const collapsed = (itemComponent) => getCollapsed(itemComponent) === true;
|
|
|
2589
2871
|
* @hidden
|
|
2590
2872
|
*/
|
|
2591
2873
|
const expanded = (itemComponent) => getCollapsed(itemComponent) === false;
|
|
2592
|
-
const toggleFirst = (collapsed) => (itemComponents) =>
|
|
2874
|
+
const toggleFirst = (collapsed) => (itemComponents) => {
|
|
2875
|
+
const target = itemComponents.find(ic => getCollapsed(ic) === collapsed);
|
|
2876
|
+
if (target) {
|
|
2877
|
+
target.setCollapsed(!collapsed);
|
|
2878
|
+
}
|
|
2879
|
+
};
|
|
2593
2880
|
/**
|
|
2594
2881
|
* @hidden
|
|
2595
2882
|
*/
|
|
@@ -2641,11 +2928,11 @@ class BreadCrumbComponent {
|
|
|
2641
2928
|
* Configures the collection of items that will be rendered in the Breadcrumb.
|
|
2642
2929
|
*/
|
|
2643
2930
|
set items(items) {
|
|
2644
|
-
this._items
|
|
2645
|
-
this.updateItems.next(this._items);
|
|
2931
|
+
this._items.set(items || []);
|
|
2932
|
+
this.updateItems.next(this._items());
|
|
2646
2933
|
}
|
|
2647
2934
|
get items() {
|
|
2648
|
-
return this._items;
|
|
2935
|
+
return this._items();
|
|
2649
2936
|
}
|
|
2650
2937
|
/**
|
|
2651
2938
|
* Specifies the name of a [built-in font icon](https://www.telerik.com/kendo-angular-ui/components/icons/icon/icon-list) in a Kendo UI theme to be rendered as a separator.
|
|
@@ -2665,21 +2952,21 @@ class BreadCrumbComponent {
|
|
|
2665
2952
|
if (isDevMode() && ['auto', 'wrap', 'none'].indexOf(mode) < 0) {
|
|
2666
2953
|
throw new Error('Invalid collapse mode. Allowed values are "auto", "wrap" or "none". \nFor more details see https://www.telerik.com/kendo-angular-ui/components/navigation/api/BreadCrumbCollapseMode/');
|
|
2667
2954
|
}
|
|
2668
|
-
this._collapseMode
|
|
2955
|
+
this._collapseMode.set(mode || 'auto');
|
|
2669
2956
|
this.updateItems.next(this.items);
|
|
2670
2957
|
}
|
|
2671
2958
|
get collapseMode() {
|
|
2672
|
-
return this._collapseMode;
|
|
2959
|
+
return this._collapseMode();
|
|
2673
2960
|
}
|
|
2674
2961
|
/**
|
|
2675
2962
|
* Determines the padding of all Breadcrumb elements. The default value is set by the Kendo theme.
|
|
2676
2963
|
*/
|
|
2677
2964
|
set size(size) {
|
|
2678
2965
|
this.handleClasses(size, 'size');
|
|
2679
|
-
this._size
|
|
2966
|
+
this._size.set(size);
|
|
2680
2967
|
}
|
|
2681
2968
|
get size() {
|
|
2682
|
-
return this._size;
|
|
2969
|
+
return this._size();
|
|
2683
2970
|
}
|
|
2684
2971
|
/**
|
|
2685
2972
|
* Fires when you click a Breadcrumb item. The event will not be fired by disabled items and the last item.
|
|
@@ -2711,9 +2998,9 @@ class BreadCrumbComponent {
|
|
|
2711
2998
|
}
|
|
2712
2999
|
itemsData$;
|
|
2713
3000
|
firstItem$;
|
|
2714
|
-
_items = [];
|
|
2715
|
-
_collapseMode = 'auto';
|
|
2716
|
-
_size;
|
|
3001
|
+
_items = signal([], ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
|
|
3002
|
+
_collapseMode = signal('auto', ...(ngDevMode ? [{ debugName: "_collapseMode" }] : /* istanbul ignore next */ []));
|
|
3003
|
+
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : /* istanbul ignore next */ []));
|
|
2717
3004
|
updateItems = new ReplaySubject();
|
|
2718
3005
|
afterViewInit = new Subject();
|
|
2719
3006
|
subscriptions = new Subscription();
|
|
@@ -2772,9 +3059,10 @@ class BreadCrumbComponent {
|
|
|
2772
3059
|
.map(el => outerWidth(el.nativeElement))
|
|
2773
3060
|
.reduce((acc, curr) => acc + curr, 0));
|
|
2774
3061
|
const nextExpandWidth = Math.ceil(([...autoCollapseCandidates].reverse().find(collapsed) || { width: 0 }).width);
|
|
2775
|
-
//
|
|
3062
|
+
// shrink
|
|
2776
3063
|
if (componentWidth <= itemsContainerWidth && autoCollapseCandidates.find(expanded)) {
|
|
2777
3064
|
collapseFirst(autoCollapseCandidates);
|
|
3065
|
+
this.listComponent.refresh();
|
|
2778
3066
|
// needed by resize sensor
|
|
2779
3067
|
this.cdr.detectChanges();
|
|
2780
3068
|
return this.handleResize();
|
|
@@ -2782,6 +3070,7 @@ class BreadCrumbComponent {
|
|
|
2782
3070
|
// expand
|
|
2783
3071
|
if (componentWidth > itemsContainerWidth + nextExpandWidth && autoCollapseCandidates.find(collapsed)) {
|
|
2784
3072
|
expandFirst([...autoCollapseCandidates].reverse());
|
|
3073
|
+
this.listComponent.refresh();
|
|
2785
3074
|
// needed by resize sensor
|
|
2786
3075
|
this.cdr.detectChanges();
|
|
2787
3076
|
return this.handleResize();
|
|
@@ -2821,8 +3110,8 @@ class BreadCrumbComponent {
|
|
|
2821
3110
|
});
|
|
2822
3111
|
}));
|
|
2823
3112
|
};
|
|
2824
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2825
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
3114
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: BreadCrumbComponent, isStandalone: true, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode", size: "size" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.aria-label": "this.hostAriaLabel", "attr.dir": "this.getDir" } }, providers: [
|
|
2826
3115
|
LocalizationService,
|
|
2827
3116
|
{
|
|
2828
3117
|
provide: L10N_PREFIX,
|
|
@@ -2856,13 +3145,13 @@ class BreadCrumbComponent {
|
|
|
2856
3145
|
[ngClass]="{ '!k-flex-wrap': collapseMode === 'wrap', 'k-flex-none': collapseMode === 'none' }"
|
|
2857
3146
|
></ol>
|
|
2858
3147
|
<kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
|
|
2859
|
-
`, isInline: true, dependencies: [{ kind: "component", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon", "separatorSVGIcon"], outputs: ["itemClick"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3148
|
+
`, isInline: true, dependencies: [{ kind: "component", type: BreadCrumbListComponent, selector: "[kendoBreadCrumbList]", inputs: ["items", "itemTemplate", "collapseMode", "separatorIcon", "separatorSVGIcon"], outputs: ["itemClick"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2860
3149
|
}
|
|
2861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbComponent, decorators: [{
|
|
2862
3151
|
type: Component,
|
|
2863
3152
|
args: [{
|
|
2864
|
-
exportAs: 'kendoBreadCrumb',
|
|
2865
3153
|
selector: 'kendo-breadcrumb',
|
|
3154
|
+
exportAs: 'kendoBreadCrumb',
|
|
2866
3155
|
providers: [
|
|
2867
3156
|
LocalizationService,
|
|
2868
3157
|
{
|
|
@@ -2900,7 +3189,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
2900
3189
|
<kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>
|
|
2901
3190
|
`,
|
|
2902
3191
|
standalone: true,
|
|
2903
|
-
imports: [BreadCrumbListComponent, NgClass, ResizeSensorComponent, AsyncPipe]
|
|
3192
|
+
imports: [BreadCrumbListComponent, NgClass, ResizeSensorComponent, AsyncPipe],
|
|
3193
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2904
3194
|
}]
|
|
2905
3195
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }], propDecorators: { items: [{
|
|
2906
3196
|
type: Input
|
|
@@ -3094,11 +3384,11 @@ const KENDO_NAVIGATION = [
|
|
|
3094
3384
|
* ```
|
|
3095
3385
|
*/
|
|
3096
3386
|
class AppBarModule {
|
|
3097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3098
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3099
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3388
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: AppBarModule, imports: [AppBarComponent, AppBarSectionComponent, AppBarSpacerComponent], exports: [AppBarComponent, AppBarSectionComponent, AppBarSpacerComponent] });
|
|
3389
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarModule });
|
|
3100
3390
|
}
|
|
3101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AppBarModule, decorators: [{
|
|
3102
3392
|
type: NgModule,
|
|
3103
3393
|
args: [{
|
|
3104
3394
|
exports: [...KENDO_APPBAR],
|
|
@@ -3127,11 +3417,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
3127
3417
|
* ```
|
|
3128
3418
|
*/
|
|
3129
3419
|
class NavigationModule {
|
|
3130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3131
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3132
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: NavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3421
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: NavigationModule, imports: [ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective, AppBarComponent, AppBarSectionComponent, AppBarSpacerComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective, BreadCrumbComponent, BreadCrumbItemTemplateDirective], exports: [ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective, AppBarComponent, AppBarSectionComponent, AppBarSpacerComponent, BottomNavigationComponent, BottomNavigationItemTemplateDirective, BreadCrumbComponent, BreadCrumbItemTemplateDirective] });
|
|
3422
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: NavigationModule, providers: [IconsService, ResizeBatchService], imports: [ActionSheetComponent, BottomNavigationComponent, BreadCrumbComponent] });
|
|
3133
3423
|
}
|
|
3134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: NavigationModule, decorators: [{
|
|
3135
3425
|
type: NgModule,
|
|
3136
3426
|
args: [{
|
|
3137
3427
|
imports: [...KENDO_NAVIGATION],
|
|
@@ -3161,11 +3451,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
3161
3451
|
* ```
|
|
3162
3452
|
*/
|
|
3163
3453
|
class BreadCrumbModule {
|
|
3164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3165
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3166
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3455
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbModule, imports: [BreadCrumbComponent, BreadCrumbItemTemplateDirective], exports: [BreadCrumbComponent, BreadCrumbItemTemplateDirective] });
|
|
3456
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbModule, providers: [IconsService, ResizeBatchService], imports: [BreadCrumbComponent] });
|
|
3167
3457
|
}
|
|
3168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BreadCrumbModule, decorators: [{
|
|
3169
3459
|
type: NgModule,
|
|
3170
3460
|
args: [{
|
|
3171
3461
|
exports: [...KENDO_BREADCRUMB],
|
|
@@ -3195,11 +3485,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
3195
3485
|
* ```
|
|
3196
3486
|
*/
|
|
3197
3487
|
class BottomNavigationModule {
|
|
3198
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3199
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3200
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3489
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationModule, imports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective], exports: [BottomNavigationComponent, BottomNavigationItemTemplateDirective] });
|
|
3490
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationModule, providers: [IconsService], imports: [BottomNavigationComponent] });
|
|
3201
3491
|
}
|
|
3202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BottomNavigationModule, decorators: [{
|
|
3203
3493
|
type: NgModule,
|
|
3204
3494
|
args: [{
|
|
3205
3495
|
exports: [...KENDO_BOTTOMNAVIGATION],
|
|
@@ -3229,11 +3519,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
3229
3519
|
* ```
|
|
3230
3520
|
*/
|
|
3231
3521
|
class ActionSheetModule {
|
|
3232
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3233
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3234
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3522
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3523
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetModule, imports: [ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective], exports: [ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective] });
|
|
3524
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetModule, providers: [IconsService], imports: [ActionSheetComponent] });
|
|
3235
3525
|
}
|
|
3236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ActionSheetModule, decorators: [{
|
|
3237
3527
|
type: NgModule,
|
|
3238
3528
|
args: [{
|
|
3239
3529
|
exports: [...KENDO_ACTIONSHEET],
|