@progress/kendo-angular-navigation 1.1.6 → 2.0.0-dev.202204141001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/appbar → appbar}/appbar-section.component.d.ts +3 -0
- package/{dist/es2015/appbar → appbar}/appbar-spacer.component.d.ts +4 -1
- package/{dist/es2015/appbar → appbar}/appbar.component.d.ts +11 -8
- package/{dist/es2015/appbar → appbar}/models/position-mode.d.ts +0 -0
- package/{dist/es2015/appbar → appbar}/models/position.d.ts +0 -0
- package/{dist/es2015/appbar → appbar}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/appbar.module.d.ts → appbar.module.d.ts} +8 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/bottomnavigation-item.component.d.ts +11 -8
- package/{dist/es2015/bottomnavigation → bottomnavigation}/bottomnavigation.component.d.ts +13 -6
- package/{dist/es2015/bottomnavigation → bottomnavigation}/constants.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/events/select-event.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-fill.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-item-flow.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-item.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-position-mode.d.ts +0 -0
- package/{dist/es2015/bottomnavigation → bottomnavigation}/types/bottomnavigation-theme-color.d.ts +0 -0
- package/{dist/es2015/bottomnavigation.module.d.ts → bottomnavigation.module.d.ts} +8 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/breadcrumb-item.component.d.ts +6 -3
- package/{dist/es2015/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +9 -4
- package/{dist/es2015/breadcrumb → breadcrumb}/list.component.d.ts +3 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/models/breadcrumb-item.interface.d.ts +0 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/models/collapse-mode.d.ts +0 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/models/constants.d.ts +0 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/template-directives/item-template.directive.d.ts +3 -0
- package/{dist/es2015/breadcrumb → breadcrumb}/template-directives/separator.directive.d.ts +5 -1
- package/{dist/es2015/breadcrumb → breadcrumb}/util.d.ts +0 -0
- package/{dist/es2015/breadcrumb.module.d.ts → breadcrumb.module.d.ts} +11 -0
- package/bundles/kendo-angular-navigation.umd.js +5 -0
- package/{dist/es2015/common → common}/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
- package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +0 -0
- package/esm2015/appbar/appbar-section.component.js +45 -0
- package/{dist/es2015 → esm2015}/appbar/appbar-spacer.component.js +21 -25
- package/{dist/es2015 → esm2015}/appbar/appbar.component.js +65 -79
- package/{dist/es → esm2015}/appbar/models/position-mode.js +1 -0
- package/{dist/es2015 → esm2015}/appbar/models/position.js +1 -0
- package/{dist/es2015 → esm2015}/appbar/models/theme-color.js +1 -0
- package/{dist/es2015 → esm2015}/appbar.module.js +18 -11
- package/esm2015/bottomnavigation/bottomnavigation-item.component.js +102 -0
- package/{dist/es2015 → esm2015}/bottomnavigation/bottomnavigation.component.js +70 -88
- package/{dist/es2015 → esm2015}/bottomnavigation/constants.js +0 -0
- package/{dist/es2015 → esm2015}/bottomnavigation/events/select-event.js +0 -0
- package/esm2015/bottomnavigation/templates/item-template.directive.js +26 -0
- package/{dist/es2015 → esm2015}/bottomnavigation/types/bottomnavigation-fill.js +1 -0
- package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-item-flow.js +1 -0
- package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-item.js +1 -0
- package/{dist/es → esm2015}/bottomnavigation/types/bottomnavigation-position-mode.js +1 -0
- package/{dist/es2015 → esm2015}/bottomnavigation/types/bottomnavigation-theme-color.js +1 -0
- package/{dist/es2015 → esm2015}/bottomnavigation.module.js +14 -11
- package/esm2015/breadcrumb/breadcrumb-item.component.js +161 -0
- package/{dist/es2015 → esm2015}/breadcrumb/breadcrumb.component.js +88 -73
- package/esm2015/breadcrumb/list.component.js +92 -0
- package/{dist/es → esm2015}/breadcrumb/models/breadcrumb-item.interface.js +1 -0
- package/{dist/es → esm2015}/breadcrumb/models/collapse-mode.js +1 -0
- package/{dist/es2015 → esm2015}/breadcrumb/models/constants.js +0 -0
- package/esm2015/breadcrumb/template-directives/item-template.directive.js +27 -0
- package/esm2015/breadcrumb/template-directives/separator.directive.js +69 -0
- package/{dist/es2015 → esm2015}/breadcrumb/util.js +0 -3
- package/{dist/es2015 → esm2015}/breadcrumb.module.js +18 -11
- package/{dist/es → esm2015}/common/direction.js +1 -0
- package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
- package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/util.js +0 -0
- package/{dist/es/appbar/models/position.js → esm2015/kendo-angular-navigation.js} +4 -0
- package/{dist/es → esm2015}/main.js +2 -0
- package/{dist/es2015 → esm2015}/navigation.module.js +20 -13
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-navigation.js} +584 -568
- package/{dist/es/breadcrumb/models/constants.js → kendo-angular-navigation.d.ts} +3 -2
- package/{dist/es2015/main.d.ts → main.d.ts} +2 -0
- package/{dist/es2015/navigation.module.d.ts → navigation.module.d.ts} +7 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +33 -109
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-navigation.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/appbar/appbar-section.component.js +0 -41
- package/dist/es/appbar/appbar-spacer.component.js +0 -77
- package/dist/es/appbar/appbar.component.js +0 -202
- package/dist/es/appbar/models/theme-color.js +0 -4
- package/dist/es/appbar.module.js +0 -61
- package/dist/es/bottomnavigation/bottomnavigation-item.component.js +0 -136
- package/dist/es/bottomnavigation/bottomnavigation.component.js +0 -356
- package/dist/es/bottomnavigation/constants.js +0 -12
- package/dist/es/bottomnavigation/events/select-event.js +0 -17
- package/dist/es/bottomnavigation/templates/item-template.directive.js +0 -25
- package/dist/es/bottomnavigation/types/bottomnavigation-fill.js +0 -4
- package/dist/es/bottomnavigation/types/bottomnavigation-theme-color.js +0 -19
- package/dist/es/bottomnavigation.module.js +0 -57
- package/dist/es/breadcrumb/breadcrumb-item.component.js +0 -98
- package/dist/es/breadcrumb/breadcrumb.component.js +0 -274
- package/dist/es/breadcrumb/list.component.js +0 -80
- package/dist/es/breadcrumb/template-directives/item-template.directive.js +0 -26
- package/dist/es/breadcrumb/template-directives/separator.directive.js +0 -78
- package/dist/es/breadcrumb/util.js +0 -27
- package/dist/es/breadcrumb.module.js +0 -68
- package/dist/es/common/dom-queries.js +0 -25
- package/dist/es/common/preventable-event.js +0 -36
- package/dist/es/common/util.js +0 -17
- package/dist/es/index.js +0 -15
- package/dist/es/navigation.module.js +0 -55
- package/dist/es/package-metadata.js +0 -15
- package/dist/es2015/appbar/appbar-section.component.js +0 -60
- package/dist/es2015/appbar/models/position-mode.js +0 -4
- package/dist/es2015/bottomnavigation/bottomnavigation-item.component.js +0 -110
- package/dist/es2015/bottomnavigation/templates/item-template.directive.js +0 -24
- package/dist/es2015/bottomnavigation/types/bottomnavigation-item-flow.js +0 -4
- package/dist/es2015/bottomnavigation/types/bottomnavigation-item.js +0 -4
- package/dist/es2015/bottomnavigation/types/bottomnavigation-position-mode.js +0 -4
- package/dist/es2015/breadcrumb/breadcrumb-item.component.js +0 -128
- package/dist/es2015/breadcrumb/list.component.js +0 -98
- package/dist/es2015/breadcrumb/models/breadcrumb-item.interface.js +0 -4
- package/dist/es2015/breadcrumb/models/collapse-mode.js +0 -4
- package/dist/es2015/breadcrumb/template-directives/item-template.directive.js +0 -25
- package/dist/es2015/breadcrumb/template-directives/separator.directive.js +0 -71
- package/dist/es2015/common/direction.js +0 -4
- package/dist/es2015/index.d.ts +0 -15
- package/dist/es2015/index.js +0 -15
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -19
- package/dist/fesm5/index.js +0 -1633
- package/dist/npm/appbar/appbar-section.component.js +0 -43
- package/dist/npm/appbar/appbar-spacer.component.js +0 -79
- package/dist/npm/appbar/appbar.component.js +0 -204
- package/dist/npm/appbar/models/position-mode.js +0 -6
- package/dist/npm/appbar/models/position.js +0 -6
- package/dist/npm/appbar/models/theme-color.js +0 -6
- package/dist/npm/appbar.module.js +0 -63
- package/dist/npm/bottomnavigation/bottomnavigation-item.component.js +0 -138
- package/dist/npm/bottomnavigation/bottomnavigation.component.js +0 -358
- package/dist/npm/bottomnavigation/constants.js +0 -14
- package/dist/npm/bottomnavigation/events/select-event.js +0 -19
- package/dist/npm/bottomnavigation/templates/item-template.directive.js +0 -27
- package/dist/npm/bottomnavigation/types/bottomnavigation-fill.js +0 -6
- package/dist/npm/bottomnavigation/types/bottomnavigation-item-flow.js +0 -6
- package/dist/npm/bottomnavigation/types/bottomnavigation-item.js +0 -6
- package/dist/npm/bottomnavigation/types/bottomnavigation-position-mode.js +0 -6
- package/dist/npm/bottomnavigation/types/bottomnavigation-theme-color.js +0 -21
- package/dist/npm/bottomnavigation.module.js +0 -59
- package/dist/npm/breadcrumb/breadcrumb-item.component.js +0 -100
- package/dist/npm/breadcrumb/breadcrumb.component.js +0 -276
- package/dist/npm/breadcrumb/list.component.js +0 -82
- package/dist/npm/breadcrumb/models/breadcrumb-item.interface.js +0 -6
- package/dist/npm/breadcrumb/models/collapse-mode.js +0 -6
- package/dist/npm/breadcrumb/models/constants.js +0 -10
- package/dist/npm/breadcrumb/template-directives/item-template.directive.js +0 -28
- package/dist/npm/breadcrumb/template-directives/separator.directive.js +0 -80
- package/dist/npm/breadcrumb/util.js +0 -30
- package/dist/npm/breadcrumb.module.js +0 -70
- package/dist/npm/common/direction.js +0 -6
- package/dist/npm/common/dom-queries.js +0 -28
- package/dist/npm/common/preventable-event.js +0 -38
- package/dist/npm/common/util.js +0 -19
- package/dist/npm/index.js +0 -25
- package/dist/npm/main.js +0 -33
- package/dist/npm/navigation.module.js +0 -57
- package/dist/npm/package-metadata.js +0 -17
- package/dist/systemjs/kendo-angular-navigation.js +0 -5
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import { Component, HostBinding, Input, Renderer2, ElementRef } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
7
6
|
import { isPresent } from '../common/util';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Represents the [Kendo UI AppBarSpacer component for Angular]({% slug contentarrangement_appbar %}#toc-spacings).
|
|
10
10
|
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
@@ -33,7 +33,7 @@ import { isPresent } from '../common/util';
|
|
|
33
33
|
* class AppComponent {}
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
export class AppBarSpacerComponent {
|
|
37
37
|
constructor(renderer, element) {
|
|
38
38
|
this.renderer = renderer;
|
|
39
39
|
this.element = element;
|
|
@@ -48,25 +48,21 @@ let AppBarSpacerComponent = class AppBarSpacerComponent {
|
|
|
48
48
|
this.renderer.setStyle(element, 'flexBasis', this.width);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
],
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}),
|
|
70
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2, ElementRef])
|
|
71
|
-
], AppBarSpacerComponent);
|
|
72
|
-
export { AppBarSpacerComponent };
|
|
51
|
+
}
|
|
52
|
+
AppBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSpacerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
AppBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBarSpacerComponent, selector: "kendo-appbar-spacer", inputs: { width: "width" }, host: { properties: { "class.k-appbar-spacer": "this.hostClass", "class.k-appbar-spacer-sized": "this.sizedClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarSpacerComponent, decorators: [{
|
|
55
|
+
type: Component,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: 'kendo-appbar-spacer',
|
|
58
|
+
template: ``
|
|
59
|
+
}]
|
|
60
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
61
|
+
type: HostBinding,
|
|
62
|
+
args: ['class.k-appbar-spacer']
|
|
63
|
+
}], sizedClass: [{
|
|
64
|
+
type: HostBinding,
|
|
65
|
+
args: ['class.k-appbar-spacer-sized']
|
|
66
|
+
}], width: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}] } });
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { Component, HostBinding, Input } from '@angular/core';
|
|
7
6
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
8
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
8
|
import { packageMetadata } from '../package-metadata';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
11
|
/**
|
|
11
12
|
* Represents the [Kendo UI AppBar component for Angular]({% slug overview_appbar %}).
|
|
12
13
|
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
export class AppBarComponent {
|
|
15
16
|
constructor(localizationService) {
|
|
16
17
|
this.localizationService = localizationService;
|
|
17
18
|
this.hostClass = true;
|
|
@@ -88,82 +89,67 @@ let AppBarComponent = class AppBarComponent {
|
|
|
88
89
|
this.dynamicRTLSubscription.unsubscribe();
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
109
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
110
|
-
], AppBarComponent.prototype, "stickyClass", null);
|
|
111
|
-
tslib_1.__decorate([
|
|
112
|
-
HostBinding('class.k-appbar-fixed'),
|
|
113
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
114
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
115
|
-
], AppBarComponent.prototype, "fixedClass", null);
|
|
116
|
-
tslib_1.__decorate([
|
|
117
|
-
HostBinding('class.k-appbar-static'),
|
|
118
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
119
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
120
|
-
], AppBarComponent.prototype, "staticClass", null);
|
|
121
|
-
tslib_1.__decorate([
|
|
122
|
-
HostBinding('class.k-appbar-light'),
|
|
123
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
124
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
125
|
-
], AppBarComponent.prototype, "lightClass", null);
|
|
126
|
-
tslib_1.__decorate([
|
|
127
|
-
HostBinding('class.k-appbar-dark'),
|
|
128
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
129
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
130
|
-
], AppBarComponent.prototype, "darkClass", null);
|
|
131
|
-
tslib_1.__decorate([
|
|
132
|
-
HostBinding('class.k-appbar-inherit'),
|
|
133
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
134
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
135
|
-
], AppBarComponent.prototype, "inheritClass", null);
|
|
136
|
-
tslib_1.__decorate([
|
|
137
|
-
HostBinding('attr.dir'),
|
|
138
|
-
tslib_1.__metadata("design:type", String)
|
|
139
|
-
], AppBarComponent.prototype, "direction", void 0);
|
|
140
|
-
tslib_1.__decorate([
|
|
141
|
-
Input(),
|
|
142
|
-
tslib_1.__metadata("design:type", String)
|
|
143
|
-
], AppBarComponent.prototype, "position", void 0);
|
|
144
|
-
tslib_1.__decorate([
|
|
145
|
-
Input(),
|
|
146
|
-
tslib_1.__metadata("design:type", String)
|
|
147
|
-
], AppBarComponent.prototype, "positionMode", void 0);
|
|
148
|
-
tslib_1.__decorate([
|
|
149
|
-
Input(),
|
|
150
|
-
tslib_1.__metadata("design:type", String)
|
|
151
|
-
], AppBarComponent.prototype, "themeColor", void 0);
|
|
152
|
-
AppBarComponent = tslib_1.__decorate([
|
|
153
|
-
Component({
|
|
154
|
-
exportAs: 'kendoAppBar',
|
|
155
|
-
selector: 'kendo-appbar',
|
|
156
|
-
template: `
|
|
92
|
+
}
|
|
93
|
+
AppBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
AppBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBarComponent, selector: "kendo-appbar", inputs: { position: "position", positionMode: "positionMode", themeColor: "themeColor" }, host: { properties: { "class.k-appbar": "this.hostClass", "class.k-appbar-top": "this.topClass", "class.k-appbar-bottom": "this.bottomClass", "class.k-appbar-sticky": "this.stickyClass", "class.k-appbar-fixed": "this.fixedClass", "class.k-appbar-static": "this.staticClass", "class.k-appbar-light": "this.lightClass", "class.k-appbar-dark": "this.darkClass", "class.k-appbar-inherit": "this.inheritClass", "attr.dir": "this.direction" } }, providers: [
|
|
95
|
+
LocalizationService,
|
|
96
|
+
{
|
|
97
|
+
provide: L10N_PREFIX,
|
|
98
|
+
useValue: 'kendo.appbar.component'
|
|
99
|
+
}
|
|
100
|
+
], exportAs: ["kendoAppBar"], ngImport: i0, template: `
|
|
101
|
+
<ng-content></ng-content>
|
|
102
|
+
`, isInline: true });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarComponent, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{
|
|
106
|
+
exportAs: 'kendoAppBar',
|
|
107
|
+
selector: 'kendo-appbar',
|
|
108
|
+
template: `
|
|
157
109
|
<ng-content></ng-content>
|
|
158
110
|
`,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
111
|
+
providers: [
|
|
112
|
+
LocalizationService,
|
|
113
|
+
{
|
|
114
|
+
provide: L10N_PREFIX,
|
|
115
|
+
useValue: 'kendo.appbar.component'
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}]
|
|
119
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
|
|
120
|
+
type: HostBinding,
|
|
121
|
+
args: ['class.k-appbar']
|
|
122
|
+
}], topClass: [{
|
|
123
|
+
type: HostBinding,
|
|
124
|
+
args: ['class.k-appbar-top']
|
|
125
|
+
}], bottomClass: [{
|
|
126
|
+
type: HostBinding,
|
|
127
|
+
args: ['class.k-appbar-bottom']
|
|
128
|
+
}], stickyClass: [{
|
|
129
|
+
type: HostBinding,
|
|
130
|
+
args: ['class.k-appbar-sticky']
|
|
131
|
+
}], fixedClass: [{
|
|
132
|
+
type: HostBinding,
|
|
133
|
+
args: ['class.k-appbar-fixed']
|
|
134
|
+
}], staticClass: [{
|
|
135
|
+
type: HostBinding,
|
|
136
|
+
args: ['class.k-appbar-static']
|
|
137
|
+
}], lightClass: [{
|
|
138
|
+
type: HostBinding,
|
|
139
|
+
args: ['class.k-appbar-light']
|
|
140
|
+
}], darkClass: [{
|
|
141
|
+
type: HostBinding,
|
|
142
|
+
args: ['class.k-appbar-dark']
|
|
143
|
+
}], inheritClass: [{
|
|
144
|
+
type: HostBinding,
|
|
145
|
+
args: ['class.k-appbar-inherit']
|
|
146
|
+
}], direction: [{
|
|
147
|
+
type: HostBinding,
|
|
148
|
+
args: ['attr.dir']
|
|
149
|
+
}], position: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], positionMode: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], themeColor: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}] } });
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { CommonModule } from '@angular/common';
|
|
8
7
|
import { AppBarComponent } from './appbar/appbar.component';
|
|
9
8
|
import { AppBarSectionComponent } from './appbar/appbar-section.component';
|
|
10
9
|
import { AppBarSpacerComponent } from './appbar/appbar-spacer.component';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
11
|
const exportedModules = [
|
|
12
12
|
AppBarComponent,
|
|
13
13
|
AppBarSectionComponent,
|
|
@@ -48,13 +48,20 @@ const declarations = [
|
|
|
48
48
|
*
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
AppBarModule =
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
export class AppBarModule {
|
|
52
|
+
}
|
|
53
|
+
AppBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
54
|
+
AppBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, declarations: [AppBarComponent,
|
|
55
|
+
AppBarSectionComponent,
|
|
56
|
+
AppBarSpacerComponent], imports: [CommonModule], exports: [AppBarComponent,
|
|
57
|
+
AppBarSectionComponent,
|
|
58
|
+
AppBarSpacerComponent] });
|
|
59
|
+
AppBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, imports: [[CommonModule]] });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppBarModule, decorators: [{
|
|
61
|
+
type: NgModule,
|
|
62
|
+
args: [{
|
|
63
|
+
declarations: [declarations],
|
|
64
|
+
exports: [exportedModules],
|
|
65
|
+
imports: [CommonModule]
|
|
66
|
+
}]
|
|
67
|
+
}] });
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class BottomNavigationItemComponent {
|
|
12
|
+
get disabledClass() {
|
|
13
|
+
return this.item.disabled;
|
|
14
|
+
}
|
|
15
|
+
get horizontalItemClass() {
|
|
16
|
+
return this.orientation === 'horizontal';
|
|
17
|
+
}
|
|
18
|
+
get verticalItemClass() {
|
|
19
|
+
return this.orientation === 'vertical';
|
|
20
|
+
}
|
|
21
|
+
get label() {
|
|
22
|
+
return this.item.text ? this.item.text : null;
|
|
23
|
+
}
|
|
24
|
+
get tabindex() {
|
|
25
|
+
return this.item.tabIndex ? this.item.tabIndex : 0;
|
|
26
|
+
}
|
|
27
|
+
get selectedClass() {
|
|
28
|
+
return this.selectedIdx ? this.selectedIdx === this.index : this.item.selected;
|
|
29
|
+
}
|
|
30
|
+
get itemIcon() {
|
|
31
|
+
return this.item.icon || this.item.iconClass ? true : false;
|
|
32
|
+
}
|
|
33
|
+
get iconClasses() {
|
|
34
|
+
const kendoIcon = this.item.icon ? `k-icon k-i-${this.item.icon}` : '';
|
|
35
|
+
const customIcon = this.item.iconClass ? this.item.iconClass : '';
|
|
36
|
+
return `${kendoIcon} ${customIcon}`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
BottomNavigationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
BottomNavigationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: { itemTemplate: "itemTemplate", item: "item", index: "index", disabledComponent: "disabledComponent", selectedIdx: "selectedIdx", orientation: "orientation" }, host: { properties: { "attr.aria-disabled": "this.disabledClass", "class.k-state-disabled": "this.disabledClass", "class.k-hstack": "this.horizontalItemClass", "class.k-vstack": "this.verticalItemClass", "attr.aria-label": "this.label", "attr.tabindex": "this.tabindex", "attr.aria-selected": "this.selectedClass", "class.k-state-selected": "this.selectedClass" } }, ngImport: i0, template: `
|
|
41
|
+
<ng-container *ngIf="!itemTemplate">
|
|
42
|
+
<span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
|
|
43
|
+
<span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
|
|
44
|
+
</ng-container>
|
|
45
|
+
<ng-template *ngIf="itemTemplate"
|
|
46
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
47
|
+
[ngTemplateOutletContext]="{ $implicit: item }">
|
|
48
|
+
</ng-template>
|
|
49
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{
|
|
53
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
54
|
+
selector: '[kendoBottomNavigationItem]',
|
|
55
|
+
template: `
|
|
56
|
+
<ng-container *ngIf="!itemTemplate">
|
|
57
|
+
<span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>
|
|
58
|
+
<span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>
|
|
59
|
+
</ng-container>
|
|
60
|
+
<ng-template *ngIf="itemTemplate"
|
|
61
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
62
|
+
[ngTemplateOutletContext]="{ $implicit: item }">
|
|
63
|
+
</ng-template>
|
|
64
|
+
`
|
|
65
|
+
}]
|
|
66
|
+
}], propDecorators: { itemTemplate: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], item: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], index: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], disabledComponent: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], selectedIdx: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], orientation: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], disabledClass: [{
|
|
79
|
+
type: HostBinding,
|
|
80
|
+
args: ['attr.aria-disabled']
|
|
81
|
+
}, {
|
|
82
|
+
type: HostBinding,
|
|
83
|
+
args: ['class.k-state-disabled']
|
|
84
|
+
}], horizontalItemClass: [{
|
|
85
|
+
type: HostBinding,
|
|
86
|
+
args: ['class.k-hstack']
|
|
87
|
+
}], verticalItemClass: [{
|
|
88
|
+
type: HostBinding,
|
|
89
|
+
args: ['class.k-vstack']
|
|
90
|
+
}], label: [{
|
|
91
|
+
type: HostBinding,
|
|
92
|
+
args: ['attr.aria-label']
|
|
93
|
+
}], tabindex: [{
|
|
94
|
+
type: HostBinding,
|
|
95
|
+
args: ['attr.tabindex']
|
|
96
|
+
}], selectedClass: [{
|
|
97
|
+
type: HostBinding,
|
|
98
|
+
args: ['attr.aria-selected']
|
|
99
|
+
}, {
|
|
100
|
+
type: HostBinding,
|
|
101
|
+
args: ['class.k-state-selected']
|
|
102
|
+
}] } });
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import { Component, HostBinding, Input, Output, EventEmitter, ElementRef, Renderer2, ContentChild, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input, Output, EventEmitter, ContentChild } from '@angular/core';
|
|
7
6
|
import { Keys } from '@progress/kendo-angular-common';
|
|
8
7
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -13,6 +12,10 @@ import { BottomNavigationItemTemplateDirective } from './templates/item-template
|
|
|
13
12
|
import { closestItem, itemIndex } from '../common/dom-queries';
|
|
14
13
|
import { BOTTOMNAVIGATION_ITEM_INDEX, colors } from './constants';
|
|
15
14
|
import { packageMetadata } from '../package-metadata';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
17
|
+
import * as i2 from "./bottomnavigation-item.component";
|
|
18
|
+
import * as i3 from "@angular/common";
|
|
16
19
|
/**
|
|
17
20
|
* Represents the [Kendo UI BottomNavigation component for Angular]({% slug overview_bottomnavigation %}).
|
|
18
21
|
*
|
|
@@ -33,7 +36,7 @@ import { packageMetadata } from '../package-metadata';
|
|
|
33
36
|
* }
|
|
34
37
|
* ```
|
|
35
38
|
*/
|
|
36
|
-
|
|
39
|
+
export class BottomNavigationComponent {
|
|
37
40
|
constructor(localization, hostElement, ngZone, changeDetector, renderer) {
|
|
38
41
|
this.localization = localization;
|
|
39
42
|
this.hostElement = hostElement;
|
|
@@ -240,83 +243,28 @@ let BottomNavigationComponent = class BottomNavigationComponent {
|
|
|
240
243
|
return itemIndex(item, BOTTOMNAVIGATION_ITEM_INDEX);
|
|
241
244
|
}
|
|
242
245
|
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
],
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
], BottomNavigationComponent.prototype, "itemFlow", null);
|
|
266
|
-
tslib_1.__decorate([
|
|
267
|
-
Input(),
|
|
268
|
-
tslib_1.__metadata("design:type", String),
|
|
269
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
270
|
-
], BottomNavigationComponent.prototype, "positionMode", null);
|
|
271
|
-
tslib_1.__decorate([
|
|
272
|
-
Input(),
|
|
273
|
-
tslib_1.__metadata("design:type", String),
|
|
274
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
275
|
-
], BottomNavigationComponent.prototype, "themeColor", null);
|
|
276
|
-
tslib_1.__decorate([
|
|
277
|
-
Output(),
|
|
278
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
279
|
-
], BottomNavigationComponent.prototype, "select", void 0);
|
|
280
|
-
tslib_1.__decorate([
|
|
281
|
-
HostBinding('class.k-hstack'),
|
|
282
|
-
HostBinding('class.k-justify-content-stretch'),
|
|
283
|
-
HostBinding('class.k-bottom-nav'),
|
|
284
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
285
|
-
], BottomNavigationComponent.prototype, "hostClass", void 0);
|
|
286
|
-
tslib_1.__decorate([
|
|
287
|
-
HostBinding('class.k-bottom-nav-border'),
|
|
288
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
289
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
290
|
-
], BottomNavigationComponent.prototype, "borderClass", null);
|
|
291
|
-
tslib_1.__decorate([
|
|
292
|
-
HostBinding('class.k-state-disabled'),
|
|
293
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
294
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
295
|
-
], BottomNavigationComponent.prototype, "disabledClass", null);
|
|
296
|
-
tslib_1.__decorate([
|
|
297
|
-
HostBinding('attr.role'),
|
|
298
|
-
tslib_1.__metadata("design:type", String)
|
|
299
|
-
], BottomNavigationComponent.prototype, "role", void 0);
|
|
300
|
-
tslib_1.__decorate([
|
|
301
|
-
HostBinding('attr.dir'),
|
|
302
|
-
tslib_1.__metadata("design:type", String)
|
|
303
|
-
], BottomNavigationComponent.prototype, "direction", void 0);
|
|
304
|
-
tslib_1.__decorate([
|
|
305
|
-
ContentChild(BottomNavigationItemTemplateDirective, { static: false }),
|
|
306
|
-
tslib_1.__metadata("design:type", BottomNavigationItemTemplateDirective)
|
|
307
|
-
], BottomNavigationComponent.prototype, "itemTemplate", void 0);
|
|
308
|
-
BottomNavigationComponent = tslib_1.__decorate([
|
|
309
|
-
Component({
|
|
310
|
-
exportAs: 'kendoBottomNavigation',
|
|
311
|
-
selector: 'kendo-bottomnavigation',
|
|
312
|
-
providers: [
|
|
313
|
-
LocalizationService,
|
|
314
|
-
{
|
|
315
|
-
provide: L10N_PREFIX,
|
|
316
|
-
useValue: 'kendo.bottomnavigation'
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
template: `
|
|
246
|
+
}
|
|
247
|
+
BottomNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
248
|
+
BottomNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BottomNavigationComponent, selector: "kendo-bottomnavigation", inputs: { items: "items", border: "border", disabled: "disabled", fill: "fill", itemFlow: "itemFlow", positionMode: "positionMode", themeColor: "themeColor" }, outputs: { select: "select" }, host: { properties: { "class.k-hstack": "this.hostClass", "class.k-justify-content-stretch": "this.hostClass", "class.k-bottom-nav": "this.hostClass", "class.k-bottom-nav-border": "this.borderClass", "class.k-state-disabled": "this.disabledClass", "attr.role": "this.role", "attr.dir": "this.direction" } }, providers: [
|
|
249
|
+
LocalizationService,
|
|
250
|
+
{
|
|
251
|
+
provide: L10N_PREFIX,
|
|
252
|
+
useValue: 'kendo.bottomnavigation'
|
|
253
|
+
}
|
|
254
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: BottomNavigationItemTemplateDirective, descendants: true }], exportAs: ["kendoBottomNavigation"], ngImport: i0, template: "\n <ng-container *ngIf=\"items\">\n <span kendoBottomNavigationItem\n *ngFor=\"let item of items; let idx=index\"\n role=\"link\"\n class=\"k-bottom-nav-item\"\n [disabledComponent]=\"disabled\"\n [item]=\"item\"\n [index]=\"idx\"\n [selectedIdx]=\"selectedIdx\"\n [itemTemplate]=\"itemTemplate\"\n [attr.data-kendo-bottomnavigation-index]=\"idx\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n [orientation]=\"itemFlow\">\n </span>\n </ng-container>\n ", isInline: true, components: [{ type: i2.BottomNavigationItemComponent, selector: "[kendoBottomNavigationItem]", inputs: ["itemTemplate", "item", "index", "disabledComponent", "selectedIdx", "orientation"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationComponent, decorators: [{
|
|
256
|
+
type: Component,
|
|
257
|
+
args: [{
|
|
258
|
+
exportAs: 'kendoBottomNavigation',
|
|
259
|
+
selector: 'kendo-bottomnavigation',
|
|
260
|
+
providers: [
|
|
261
|
+
LocalizationService,
|
|
262
|
+
{
|
|
263
|
+
provide: L10N_PREFIX,
|
|
264
|
+
useValue: 'kendo.bottomnavigation'
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
template: `
|
|
320
268
|
<ng-container *ngIf="items">
|
|
321
269
|
<span kendoBottomNavigationItem
|
|
322
270
|
*ngFor="let item of items; let idx=index"
|
|
@@ -334,11 +282,45 @@ BottomNavigationComponent = tslib_1.__decorate([
|
|
|
334
282
|
</span>
|
|
335
283
|
</ng-container>
|
|
336
284
|
`
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
285
|
+
}]
|
|
286
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { items: [{
|
|
287
|
+
type: Input
|
|
288
|
+
}], border: [{
|
|
289
|
+
type: Input
|
|
290
|
+
}], disabled: [{
|
|
291
|
+
type: Input
|
|
292
|
+
}], fill: [{
|
|
293
|
+
type: Input
|
|
294
|
+
}], itemFlow: [{
|
|
295
|
+
type: Input
|
|
296
|
+
}], positionMode: [{
|
|
297
|
+
type: Input
|
|
298
|
+
}], themeColor: [{
|
|
299
|
+
type: Input
|
|
300
|
+
}], select: [{
|
|
301
|
+
type: Output
|
|
302
|
+
}], hostClass: [{
|
|
303
|
+
type: HostBinding,
|
|
304
|
+
args: ['class.k-hstack']
|
|
305
|
+
}, {
|
|
306
|
+
type: HostBinding,
|
|
307
|
+
args: ['class.k-justify-content-stretch']
|
|
308
|
+
}, {
|
|
309
|
+
type: HostBinding,
|
|
310
|
+
args: ['class.k-bottom-nav']
|
|
311
|
+
}], borderClass: [{
|
|
312
|
+
type: HostBinding,
|
|
313
|
+
args: ['class.k-bottom-nav-border']
|
|
314
|
+
}], disabledClass: [{
|
|
315
|
+
type: HostBinding,
|
|
316
|
+
args: ['class.k-state-disabled']
|
|
317
|
+
}], role: [{
|
|
318
|
+
type: HostBinding,
|
|
319
|
+
args: ['attr.role']
|
|
320
|
+
}], direction: [{
|
|
321
|
+
type: HostBinding,
|
|
322
|
+
args: ['attr.dir']
|
|
323
|
+
}], itemTemplate: [{
|
|
324
|
+
type: ContentChild,
|
|
325
|
+
args: [BottomNavigationItemTemplateDirective, { static: false }]
|
|
326
|
+
}] } });
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, Optional } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents a template that defines the item content of the BottomNavigation.
|
|
9
|
+
* To define the template, nest an `<ng-template>` tag
|
|
10
|
+
* with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
|
|
11
|
+
*/
|
|
12
|
+
export class BottomNavigationItemTemplateDirective {
|
|
13
|
+
constructor(templateRef) {
|
|
14
|
+
this.templateRef = templateRef;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
BottomNavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
BottomNavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BottomNavigationItemTemplateDirective, selector: "[kendoBottomNavigationItemTemplate]", ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BottomNavigationItemTemplateDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: '[kendoBottomNavigationItemTemplate]'
|
|
23
|
+
}]
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
25
|
+
type: Optional
|
|
26
|
+
}] }]; } });
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|