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