@coreui/angular 2.13.0 → 2.14.0
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/README.md +208 -84
- package/esm2020/coreui-angular.mjs +1 -1
- package/esm2020/lib/aside/app-aside.component.mjs +4 -4
- package/esm2020/lib/aside/app-aside.module.mjs +7 -9
- package/esm2020/lib/aside/index.mjs +1 -1
- package/esm2020/lib/aside/public_api.mjs +1 -1
- package/esm2020/lib/breadcrumb/app-breadcrumb.component.mjs +5 -5
- package/esm2020/lib/breadcrumb/app-breadcrumb.module.mjs +5 -5
- package/esm2020/lib/breadcrumb/app-breadcrumb.service.mjs +4 -4
- package/esm2020/lib/breadcrumb/cui-breadcrumb.component.mjs +4 -4
- package/esm2020/lib/breadcrumb/index.mjs +1 -1
- package/esm2020/lib/breadcrumb/public_api.mjs +1 -1
- package/esm2020/lib/footer/app-footer.component.mjs +4 -4
- package/esm2020/lib/footer/app-footer.module.mjs +5 -5
- package/esm2020/lib/footer/index.mjs +1 -1
- package/esm2020/lib/footer/public_api.mjs +1 -1
- package/esm2020/lib/header/app-header.component.mjs +6 -6
- package/esm2020/lib/header/app-header.module.mjs +7 -9
- package/esm2020/lib/header/index.mjs +1 -1
- package/esm2020/lib/header/public_api.mjs +1 -1
- package/esm2020/lib/shared/classes.mjs +1 -1
- package/esm2020/lib/shared/index.mjs +1 -1
- package/esm2020/lib/shared/layout/layout.directive.mjs +22 -22
- package/esm2020/lib/shared/layout/layout.module.mjs +6 -8
- package/esm2020/lib/shared/public_api.mjs +1 -1
- package/esm2020/lib/shared/replace.mjs +1 -1
- package/esm2020/lib/shared/toggle-classes.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-footer.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-form.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-header.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-minimizer.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.mjs +16 -24
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.mjs +8 -8
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar-nav.directive.mjs +7 -7
- package/esm2020/lib/sidebar/app-sidebar-nav.mjs +1 -1
- package/esm2020/lib/sidebar/app-sidebar-nav.service.mjs +7 -7
- package/esm2020/lib/sidebar/app-sidebar.component.mjs +4 -4
- package/esm2020/lib/sidebar/app-sidebar.module.mjs +8 -10
- package/esm2020/lib/sidebar/app-sidebar.service.mjs +4 -4
- package/esm2020/lib/sidebar/index.mjs +1 -1
- package/esm2020/lib/sidebar/public_api.mjs +1 -1
- package/esm2020/public-api.mjs +6 -6
- package/fesm2015/coreui-angular.mjs +254 -270
- package/fesm2015/coreui-angular.mjs.map +1 -1
- package/fesm2020/coreui-angular.mjs +253 -269
- package/fesm2020/coreui-angular.mjs.map +1 -1
- package/{coreui-angular.d.ts → index.d.ts} +0 -0
- package/lib/aside/app-aside.component.d.ts +1 -1
- package/lib/breadcrumb/app-breadcrumb.component.d.ts +1 -1
- package/lib/breadcrumb/cui-breadcrumb.component.d.ts +1 -1
- package/lib/footer/app-footer.component.d.ts +1 -1
- package/lib/header/app-header.component.d.ts +1 -1
- package/lib/shared/layout/layout.directive.d.ts +7 -7
- package/lib/sidebar/app-sidebar-footer.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-form.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-header.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-minimizer.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +2 -2
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +2 -2
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav.component.d.ts +1 -1
- package/lib/sidebar/app-sidebar-nav.directive.d.ts +2 -2
- package/lib/sidebar/app-sidebar-nav.service.d.ts +1 -1
- package/lib/sidebar/app-sidebar.component.d.ts +1 -1
- package/package.json +7 -7
- package/public-api.d.ts +5 -5
|
@@ -56,9 +56,9 @@ class ClassToggler {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
ClassToggler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
ClassToggler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
ClassToggler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ClassToggler, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
60
|
+
ClassToggler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ClassToggler });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ClassToggler, decorators: [{
|
|
62
62
|
type: Injectable
|
|
63
63
|
}], ctorParameters: function () {
|
|
64
64
|
return [{ type: undefined, decorators: [{
|
|
@@ -84,9 +84,9 @@ class SidebarToggleDirective {
|
|
|
84
84
|
this.classToggler.toggleClasses(cssClass, sidebarCssClasses);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
SidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
SidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
SidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive });
|
|
88
|
+
SidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: SidebarToggleDirective, selector: "[appSidebarToggler]", inputs: { breakpoint: ["appSidebarToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0 });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarToggleDirective, decorators: [{
|
|
90
90
|
type: Directive,
|
|
91
91
|
args: [{
|
|
92
92
|
selector: '[appSidebarToggler]',
|
|
@@ -112,9 +112,9 @@ class SidebarMinimizeDirective {
|
|
|
112
112
|
this.renderer.addClass(body, 'sidebar-minimized');
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
SidebarMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
SidebarMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
115
|
+
SidebarMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarMinimizeDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
|
+
SidebarMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: SidebarMinimizeDirective, selector: "[appSidebarMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarMinimizeDirective, decorators: [{
|
|
118
118
|
type: Directive,
|
|
119
119
|
args: [{
|
|
120
120
|
selector: '[appSidebarMinimizer]'
|
|
@@ -141,9 +141,9 @@ class MobileSidebarToggleDirective {
|
|
|
141
141
|
this.renderer.addClass(body, 'sidebar-show');
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
MobileSidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
145
|
-
MobileSidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
144
|
+
MobileSidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: MobileSidebarToggleDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
145
|
+
MobileSidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: MobileSidebarToggleDirective, selector: "[appMobileSidebarToggler]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: MobileSidebarToggleDirective, decorators: [{
|
|
147
147
|
type: Directive,
|
|
148
148
|
args: [{
|
|
149
149
|
selector: '[appMobileSidebarToggler]'
|
|
@@ -175,9 +175,9 @@ class SidebarOffCanvasCloseDirective {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
SidebarOffCanvasCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
179
|
-
SidebarOffCanvasCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
178
|
+
SidebarOffCanvasCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarOffCanvasCloseDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
179
|
+
SidebarOffCanvasCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: SidebarOffCanvasCloseDirective, selector: "[appSidebarClose]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarOffCanvasCloseDirective, decorators: [{
|
|
181
181
|
type: Directive,
|
|
182
182
|
args: [{
|
|
183
183
|
selector: '[appSidebarClose]'
|
|
@@ -204,9 +204,9 @@ class BrandMinimizeDirective {
|
|
|
204
204
|
this.renderer.addClass(body, 'brand-minimized');
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
BrandMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
208
|
-
BrandMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
207
|
+
BrandMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BrandMinimizeDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
208
|
+
BrandMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: BrandMinimizeDirective, selector: "[appBrandMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BrandMinimizeDirective, decorators: [{
|
|
210
210
|
type: Directive,
|
|
211
211
|
args: [{
|
|
212
212
|
selector: '[appBrandMinimizer]'
|
|
@@ -237,9 +237,9 @@ class AsideToggleDirective {
|
|
|
237
237
|
this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
AsideToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
241
|
-
AsideToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
240
|
+
AsideToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AsideToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive });
|
|
241
|
+
AsideToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: AsideToggleDirective, selector: "[appAsideMenuToggler]", inputs: { breakpoint: ["appAsideMenuToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0 });
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AsideToggleDirective, decorators: [{
|
|
243
243
|
type: Directive,
|
|
244
244
|
args: [{
|
|
245
245
|
selector: '[appAsideMenuToggler]',
|
|
@@ -291,9 +291,9 @@ class HtmlAttributesDirective {
|
|
|
291
291
|
this.renderer.removeAttribute(this.el.nativeElement, key);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
HtmlAttributesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
295
|
-
HtmlAttributesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
294
|
+
HtmlAttributesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: HtmlAttributesDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
295
|
+
HtmlAttributesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: { appHtmlAttr: "appHtmlAttr" }, ngImport: i0 });
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: HtmlAttributesDirective, decorators: [{
|
|
297
297
|
type: Directive,
|
|
298
298
|
args: [{
|
|
299
299
|
selector: '[appHtmlAttr]'
|
|
@@ -304,8 +304,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
304
304
|
|
|
305
305
|
class LayoutModule {
|
|
306
306
|
}
|
|
307
|
-
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
308
|
-
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
307
|
+
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
308
|
+
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, declarations: [AsideToggleDirective,
|
|
309
309
|
BrandMinimizeDirective,
|
|
310
310
|
MobileSidebarToggleDirective,
|
|
311
311
|
SidebarToggleDirective,
|
|
@@ -318,12 +318,10 @@ LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
318
318
|
SidebarMinimizeDirective,
|
|
319
319
|
SidebarOffCanvasCloseDirective,
|
|
320
320
|
HtmlAttributesDirective] });
|
|
321
|
-
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
321
|
+
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, providers: [
|
|
322
322
|
ClassToggler
|
|
323
|
-
], imports: [
|
|
324
|
-
|
|
325
|
-
]] });
|
|
326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LayoutModule, decorators: [{
|
|
323
|
+
], imports: [CommonModule] });
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, decorators: [{
|
|
327
325
|
type: NgModule,
|
|
328
326
|
args: [{
|
|
329
327
|
imports: [
|
|
@@ -397,9 +395,9 @@ class AppAsideComponent {
|
|
|
397
395
|
}
|
|
398
396
|
}
|
|
399
397
|
}
|
|
400
|
-
AppAsideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
401
|
-
AppAsideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
398
|
+
AppAsideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
399
|
+
AppAsideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppAsideComponent, selector: "app-aside, cui-aside", inputs: { display: "display", fixed: "fixed", offCanvas: "offCanvas" }, host: { properties: { "class.aside-menu": "this.asideMenuClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideComponent, decorators: [{
|
|
403
401
|
type: Component,
|
|
404
402
|
args: [{
|
|
405
403
|
selector: 'app-aside, cui-aside',
|
|
@@ -423,14 +421,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
423
421
|
|
|
424
422
|
class AppAsideModule {
|
|
425
423
|
}
|
|
426
|
-
AppAsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
427
|
-
AppAsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
424
|
+
AppAsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
425
|
+
AppAsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, declarations: [AppAsideComponent], imports: [CommonModule,
|
|
428
426
|
LayoutModule], exports: [AppAsideComponent] });
|
|
429
|
-
AppAsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
]] });
|
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppAsideModule, decorators: [{
|
|
427
|
+
AppAsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, imports: [CommonModule,
|
|
428
|
+
LayoutModule] });
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, decorators: [{
|
|
434
430
|
type: NgModule,
|
|
435
431
|
args: [{
|
|
436
432
|
imports: [
|
|
@@ -477,9 +473,9 @@ class AppBreadcrumbService {
|
|
|
477
473
|
});
|
|
478
474
|
}
|
|
479
475
|
}
|
|
480
|
-
AppBreadcrumbService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
481
|
-
AppBreadcrumbService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
476
|
+
AppBreadcrumbService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbService, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
477
|
+
AppBreadcrumbService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbService, providedIn: 'root' });
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbService, decorators: [{
|
|
483
479
|
type: Injectable,
|
|
484
480
|
args: [{
|
|
485
481
|
providedIn: 'root'
|
|
@@ -508,8 +504,8 @@ class AppBreadcrumbComponent {
|
|
|
508
504
|
}
|
|
509
505
|
}
|
|
510
506
|
}
|
|
511
|
-
AppBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
512
|
-
AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
507
|
+
AppBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppBreadcrumbService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
508
|
+
AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppBreadcrumbComponent, selector: "app-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0, template: `
|
|
513
509
|
<ng-template ngFor let-breadcrumb [ngForOf]="breadcrumbs | async" let-last = last>
|
|
514
510
|
<li class="breadcrumb-item"
|
|
515
511
|
*ngIf="breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)"
|
|
@@ -518,8 +514,8 @@ AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
518
514
|
<span *ngIf="last" [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</span>
|
|
519
515
|
</li>
|
|
520
516
|
</ng-template>
|
|
521
|
-
`, isInline: true,
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
517
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbComponent, decorators: [{
|
|
523
519
|
type: Component,
|
|
524
520
|
args: [{
|
|
525
521
|
selector: 'app-breadcrumb',
|
|
@@ -563,9 +559,9 @@ class CuiBreadcrumbComponent {
|
|
|
563
559
|
}
|
|
564
560
|
}
|
|
565
561
|
}
|
|
566
|
-
CuiBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
567
|
-
CuiBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
562
|
+
CuiBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: CuiBreadcrumbComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppBreadcrumbService }], target: i0.ɵɵFactoryTarget.Component });
|
|
563
|
+
CuiBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: CuiBreadcrumbComponent, selector: "cui-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\r\n <ng-template ngFor let-breadcrumb [ngForOf]=\"breadcrumbs | async\" let-last = last>\r\n <li class=\"breadcrumb-item\"\r\n *ngIf=\"breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)\"\r\n [ngClass]=\"{active: last}\">\r\n <a *ngIf=\"!last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\r\n <span *ngIf=\"last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\r\n </li>\r\n </ng-template>\r\n <ng-content></ng-content>\r\n</ol>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: CuiBreadcrumbComponent, decorators: [{
|
|
569
565
|
type: Component,
|
|
570
566
|
args: [{ selector: 'cui-breadcrumb', template: "<ol class=\"breadcrumb\">\r\n <ng-template ngFor let-breadcrumb [ngForOf]=\"breadcrumbs | async\" let-last = last>\r\n <li class=\"breadcrumb-item\"\r\n *ngIf=\"breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)\"\r\n [ngClass]=\"{active: last}\">\r\n <a *ngIf=\"!last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\r\n <span *ngIf=\"last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\r\n </li>\r\n </ng-template>\r\n <ng-content></ng-content>\r\n</ol>\r\n" }]
|
|
571
567
|
}], ctorParameters: function () {
|
|
@@ -588,10 +584,10 @@ class AppBreadcrumbModule {
|
|
|
588
584
|
};
|
|
589
585
|
}
|
|
590
586
|
}
|
|
591
|
-
AppBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
592
|
-
AppBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
593
|
-
AppBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
587
|
+
AppBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
588
|
+
AppBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, declarations: [AppBreadcrumbComponent, CuiBreadcrumbComponent], imports: [CommonModule, RouterModule], exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent] });
|
|
589
|
+
AppBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, imports: [CommonModule, RouterModule] });
|
|
590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, decorators: [{
|
|
595
591
|
type: NgModule,
|
|
596
592
|
args: [{
|
|
597
593
|
imports: [CommonModule, RouterModule],
|
|
@@ -619,9 +615,9 @@ class AppFooterComponent {
|
|
|
619
615
|
}
|
|
620
616
|
}
|
|
621
617
|
}
|
|
622
|
-
AppFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
623
|
-
AppFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
618
|
+
AppFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
619
|
+
AppFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppFooterComponent, selector: "app-footer, cui-footer", inputs: { fixed: "fixed" }, host: { properties: { "class.app-footer": "this.appFooterClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterComponent, decorators: [{
|
|
625
621
|
type: Component,
|
|
626
622
|
args: [{
|
|
627
623
|
selector: 'app-footer, cui-footer',
|
|
@@ -641,10 +637,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
641
637
|
|
|
642
638
|
class AppFooterModule {
|
|
643
639
|
}
|
|
644
|
-
AppFooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
645
|
-
AppFooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
646
|
-
AppFooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
640
|
+
AppFooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
641
|
+
AppFooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, declarations: [AppFooterComponent], imports: [CommonModule], exports: [AppFooterComponent] });
|
|
642
|
+
AppFooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, imports: [CommonModule] });
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, decorators: [{
|
|
648
644
|
type: NgModule,
|
|
649
645
|
args: [{
|
|
650
646
|
imports: [CommonModule],
|
|
@@ -706,9 +702,9 @@ class AppHeaderComponent {
|
|
|
706
702
|
return togglerClass;
|
|
707
703
|
}
|
|
708
704
|
}
|
|
709
|
-
AppHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
710
|
-
AppHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
705
|
+
AppHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
706
|
+
AppHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppHeaderComponent, selector: "app-header, cui-header", inputs: { fixed: "fixed", navbarBrand: "navbarBrand", navbarBrandFull: "navbarBrandFull", navbarBrandMinimized: "navbarBrandMinimized", navbarBrandText: "navbarBrandText", navbarBrandHref: "navbarBrandHref", navbarBrandRouterLink: "navbarBrandRouterLink", sidebarToggler: "sidebarToggler", mobileSidebarToggler: "mobileSidebarToggler", asideMenuToggler: "asideMenuToggler", mobileAsideMenuToggler: "mobileAsideMenuToggler" }, host: { properties: { "class.app-header": "this.appHeaderClass", "class.navbar": "this.navbarClass" } }, ngImport: i0, template: "<ng-template [ngIf]=\"mobileSidebarToggler != false\">\r\n <button class=\"navbar-toggler {{sidebarTogglerMobileClass}}\" type=\"button\" appSidebarToggler>\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<a class=\"navbar-brand\" [routerLink]=\"navbarBrandRouterLink\">\r\n <ng-template [ngIf]=\"navbarBrandImg\">\r\n <img *ngIf=\"navbarBrand\"\r\n [appHtmlAttr]=\"navbarBrand\"\r\n [ngClass]=\"'navbar-brand'\">\r\n <img *ngIf=\"navbarBrandFull\"\r\n [appHtmlAttr]=\"navbarBrandFull\"\r\n [ngClass]=\"'navbar-brand-full'\">\r\n <img *ngIf=\"navbarBrandMinimized\"\r\n [appHtmlAttr]=\"navbarBrandMinimized\"\r\n [ngClass]=\"'navbar-brand-minimized'\">\r\n </ng-template>\r\n <ng-template [ngIf]=\"!navbarBrandImg\">\r\n <div class=\"navbar-brand-full\" [innerHTML]=\"navbarBrandText.text\"></div>\r\n <div class=\"navbar-brand-minimized\" [innerHTML]=\"navbarBrandText.icon\"></div>\r\n </ng-template>\r\n</a>\r\n<ng-template [ngIf]=\"sidebarToggler != false\">\r\n <button class=\"navbar-toggler {{sidebarTogglerClass}}\" type=\"button\" [appSidebarToggler]=\"sidebarToggler\">\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<ng-content></ng-content>\r\n<ng-template [ngIf]=\"asideMenuToggler != false\">\r\n <button class=\"navbar-toggler {{asideTogglerClass}}\" type=\"button\" [appAsideMenuToggler]=\"asideMenuToggler\">\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<ng-template [ngIf]=\"mobileAsideMenuToggler != false\">\r\n <button class=\"navbar-toggler {{asideTogglerMobileClass}}\" type=\"button\" appAsideMenuToggler>\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: AsideToggleDirective, selector: "[appAsideMenuToggler]", inputs: ["appAsideMenuToggler"] }, { kind: "directive", type: SidebarToggleDirective, selector: "[appSidebarToggler]", inputs: ["appSidebarToggler"] }, { kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }] });
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderComponent, decorators: [{
|
|
712
708
|
type: Component,
|
|
713
709
|
args: [{ selector: 'app-header, cui-header', template: "<ng-template [ngIf]=\"mobileSidebarToggler != false\">\r\n <button class=\"navbar-toggler {{sidebarTogglerMobileClass}}\" type=\"button\" appSidebarToggler>\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<a class=\"navbar-brand\" [routerLink]=\"navbarBrandRouterLink\">\r\n <ng-template [ngIf]=\"navbarBrandImg\">\r\n <img *ngIf=\"navbarBrand\"\r\n [appHtmlAttr]=\"navbarBrand\"\r\n [ngClass]=\"'navbar-brand'\">\r\n <img *ngIf=\"navbarBrandFull\"\r\n [appHtmlAttr]=\"navbarBrandFull\"\r\n [ngClass]=\"'navbar-brand-full'\">\r\n <img *ngIf=\"navbarBrandMinimized\"\r\n [appHtmlAttr]=\"navbarBrandMinimized\"\r\n [ngClass]=\"'navbar-brand-minimized'\">\r\n </ng-template>\r\n <ng-template [ngIf]=\"!navbarBrandImg\">\r\n <div class=\"navbar-brand-full\" [innerHTML]=\"navbarBrandText.text\"></div>\r\n <div class=\"navbar-brand-minimized\" [innerHTML]=\"navbarBrandText.icon\"></div>\r\n </ng-template>\r\n</a>\r\n<ng-template [ngIf]=\"sidebarToggler != false\">\r\n <button class=\"navbar-toggler {{sidebarTogglerClass}}\" type=\"button\" [appSidebarToggler]=\"sidebarToggler\">\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<ng-content></ng-content>\r\n<ng-template [ngIf]=\"asideMenuToggler != false\">\r\n <button class=\"navbar-toggler {{asideTogglerClass}}\" type=\"button\" [appAsideMenuToggler]=\"asideMenuToggler\">\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n<ng-template [ngIf]=\"mobileAsideMenuToggler != false\">\r\n <button class=\"navbar-toggler {{asideTogglerMobileClass}}\" type=\"button\" appAsideMenuToggler>\r\n <span class=\"navbar-toggler-icon\"></span>\r\n </button>\r\n</ng-template>\r\n" }]
|
|
714
710
|
}], ctorParameters: function () {
|
|
@@ -748,16 +744,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
748
744
|
|
|
749
745
|
class AppHeaderModule {
|
|
750
746
|
}
|
|
751
|
-
AppHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
752
|
-
AppHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
747
|
+
AppHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
748
|
+
AppHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, declarations: [AppHeaderComponent], imports: [CommonModule,
|
|
753
749
|
RouterModule,
|
|
754
750
|
LayoutModule], exports: [AppHeaderComponent] });
|
|
755
|
-
AppHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
]] });
|
|
760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppHeaderModule, decorators: [{
|
|
751
|
+
AppHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, imports: [CommonModule,
|
|
752
|
+
RouterModule,
|
|
753
|
+
LayoutModule] });
|
|
754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, decorators: [{
|
|
761
755
|
type: NgModule,
|
|
762
756
|
args: [{
|
|
763
757
|
imports: [
|
|
@@ -783,9 +777,9 @@ class AppSidebarService {
|
|
|
783
777
|
this.events.next(action);
|
|
784
778
|
}
|
|
785
779
|
}
|
|
786
|
-
AppSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
AppSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
780
|
+
AppSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
781
|
+
AppSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, providedIn: 'root' });
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, decorators: [{
|
|
789
783
|
type: Injectable,
|
|
790
784
|
args: [{
|
|
791
785
|
providedIn: 'root'
|
|
@@ -871,9 +865,9 @@ class AppSidebarComponent {
|
|
|
871
865
|
}
|
|
872
866
|
}
|
|
873
867
|
}
|
|
874
|
-
AppSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
875
|
-
AppSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
868
|
+
AppSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppSidebarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
869
|
+
AppSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarComponent, selector: "app-sidebar, cui-sidebar", inputs: { compact: "compact", display: "display", fixed: "fixed", offCanvas: "offCanvas", minimized: "minimized" }, outputs: { minimizedChange: "minimizedChange" }, host: { properties: { "class.sidebar": "this.sidebarClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarComponent, decorators: [{
|
|
877
871
|
type: Component,
|
|
878
872
|
args: [{
|
|
879
873
|
selector: 'app-sidebar, cui-sidebar',
|
|
@@ -903,9 +897,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
903
897
|
|
|
904
898
|
class SidebarNavService {
|
|
905
899
|
}
|
|
906
|
-
SidebarNavService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
907
|
-
SidebarNavService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
900
|
+
SidebarNavService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
901
|
+
SidebarNavService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService });
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService, decorators: [{
|
|
909
903
|
type: Injectable
|
|
910
904
|
}] });
|
|
911
905
|
class SidebarNavHelper {
|
|
@@ -946,9 +940,9 @@ class SidebarNavHelper {
|
|
|
946
940
|
return classes;
|
|
947
941
|
}
|
|
948
942
|
}
|
|
949
|
-
SidebarNavHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
950
|
-
SidebarNavHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
943
|
+
SidebarNavHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
944
|
+
SidebarNavHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper });
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper, decorators: [{
|
|
952
946
|
type: Injectable
|
|
953
947
|
}] });
|
|
954
948
|
|
|
@@ -956,9 +950,9 @@ class AppSidebarNavDividerComponent {
|
|
|
956
950
|
constructor() { }
|
|
957
951
|
ngOnInit() { }
|
|
958
952
|
}
|
|
959
|
-
AppSidebarNavDividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
960
|
-
AppSidebarNavDividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
953
|
+
AppSidebarNavDividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
954
|
+
AppSidebarNavDividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavDividerComponent, selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: { item: "item" }, ngImport: i0, template: ``, isInline: true });
|
|
955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDividerComponent, decorators: [{
|
|
962
956
|
type: Component,
|
|
963
957
|
args: [{
|
|
964
958
|
selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',
|
|
@@ -968,146 +962,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
968
962
|
type: Input
|
|
969
963
|
}] } });
|
|
970
964
|
|
|
971
|
-
class
|
|
972
|
-
constructor(el, renderer) {
|
|
973
|
-
this.el = el;
|
|
974
|
-
this.renderer = renderer;
|
|
975
|
-
this.item = {};
|
|
976
|
-
}
|
|
977
|
-
ngOnInit() {
|
|
978
|
-
const nativeElement = this.el.nativeElement;
|
|
979
|
-
const name = this.renderer.createText(this.item.name);
|
|
980
|
-
if (this.item.class) {
|
|
981
|
-
const classes = this.item.class;
|
|
982
|
-
this.renderer.addClass(nativeElement, classes);
|
|
983
|
-
}
|
|
984
|
-
if (this.item.wrapper) {
|
|
985
|
-
const wrapper = this.renderer.createElement(this.item.wrapper.element);
|
|
986
|
-
this.addAttribs(this.item.wrapper.attributes, wrapper);
|
|
987
|
-
this.renderer.appendChild(wrapper, name);
|
|
988
|
-
this.renderer.appendChild(nativeElement, wrapper);
|
|
989
|
-
}
|
|
990
|
-
else {
|
|
991
|
-
this.renderer.appendChild(nativeElement, name);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
addAttribs(attribs, element) {
|
|
995
|
-
if (attribs) {
|
|
996
|
-
for (const attr in attribs) {
|
|
997
|
-
if (attr === 'style' && typeof (attribs[attr]) === 'object') {
|
|
998
|
-
this.setStyle(attribs[attr], element);
|
|
999
|
-
}
|
|
1000
|
-
else if (attr === 'class') {
|
|
1001
|
-
this.addClass(attribs[attr], element);
|
|
1002
|
-
}
|
|
1003
|
-
else {
|
|
1004
|
-
this.setAttrib(attr, attribs[attr], element);
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
setStyle(styles, el) {
|
|
1010
|
-
for (const style in styles) {
|
|
1011
|
-
this.renderer.setStyle(el, style, styles[style]);
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
addClass(classes, el) {
|
|
1015
|
-
const classArray = (Array.isArray(classes) ? classes : classes.split(' '));
|
|
1016
|
-
classArray.filter((element) => element.length > 0).forEach(element => {
|
|
1017
|
-
this.renderer.addClass(el, element);
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
|
-
setAttrib(key, value, el) {
|
|
1021
|
-
this.renderer.setAttribute(el, key, value);
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
AppSidebarNavTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1025
|
-
AppSidebarNavTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: AppSidebarNavTitleComponent, selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: { item: "item" }, ngImport: i0, template: '', isInline: true });
|
|
1026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavTitleComponent, decorators: [{
|
|
1027
|
-
type: Component,
|
|
1028
|
-
args: [{
|
|
1029
|
-
selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
|
|
1030
|
-
template: '',
|
|
1031
|
-
}]
|
|
1032
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { item: [{
|
|
1033
|
-
type: Input
|
|
1034
|
-
}] } });
|
|
1035
|
-
|
|
1036
|
-
class AppSidebarNavBadgePipe {
|
|
965
|
+
class AppSidebarNavIconPipe {
|
|
1037
966
|
transform(item, args) {
|
|
1038
967
|
const classes = {
|
|
1039
|
-
|
|
968
|
+
'nav-icon': true
|
|
1040
969
|
};
|
|
1041
|
-
const
|
|
1042
|
-
classes[
|
|
1043
|
-
classes[item.badge.class] = !!item.badge.class;
|
|
970
|
+
const icon = item.icon;
|
|
971
|
+
classes[icon] = !!item.icon;
|
|
1044
972
|
return classes;
|
|
1045
973
|
}
|
|
1046
974
|
}
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
975
|
+
AppSidebarNavIconPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
976
|
+
AppSidebarNavIconPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" });
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, decorators: [{
|
|
1050
978
|
type: Pipe,
|
|
1051
979
|
args: [{
|
|
1052
|
-
name: '
|
|
980
|
+
name: 'appSidebarNavIcon'
|
|
1053
981
|
}]
|
|
1054
982
|
}] });
|
|
1055
983
|
|
|
1056
|
-
class
|
|
1057
|
-
constructor(helper) {
|
|
1058
|
-
this.helper = helper;
|
|
1059
|
-
this.item = {};
|
|
1060
|
-
this.classes = {
|
|
1061
|
-
'nav-label': true,
|
|
1062
|
-
active: true
|
|
1063
|
-
};
|
|
1064
|
-
this.iconClasses = {};
|
|
1065
|
-
}
|
|
1066
|
-
ngOnInit() {
|
|
1067
|
-
this.iconClasses = this.helper.getIconClass(this.item);
|
|
1068
|
-
}
|
|
1069
|
-
getItemClass() {
|
|
1070
|
-
const itemClass = this.item.class;
|
|
1071
|
-
// @ts-ignore
|
|
1072
|
-
this.classes[itemClass] = !!itemClass;
|
|
1073
|
-
return this.classes;
|
|
1074
|
-
}
|
|
1075
|
-
getLabelIconClass() {
|
|
1076
|
-
var _a, _b, _c;
|
|
1077
|
-
const variant = `text-${(_a = this.item.label) === null || _a === void 0 ? void 0 : _a.variant}`;
|
|
1078
|
-
// @ts-ignore
|
|
1079
|
-
this.iconClasses[variant] = !!((_b = this.item.label) === null || _b === void 0 ? void 0 : _b.variant);
|
|
1080
|
-
const labelClass = (_c = this.item.label) === null || _c === void 0 ? void 0 : _c.class;
|
|
1081
|
-
// @ts-ignore
|
|
1082
|
-
this.iconClasses[labelClass] = !!labelClass;
|
|
1083
|
-
return this.iconClasses;
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
AppSidebarNavLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1087
|
-
AppSidebarNavLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: AppSidebarNavLabelComponent, selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: { item: "item" }, ngImport: i0, template: "<a [ngClass]=\"getItemClass()\"\r\n href=\"{{item.url}}\"\r\n [appHtmlAttr]=\"item.attributes\">\r\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"getLabelIconClass()\"></i>\r\n <ng-container>{{item.name}}</ng-container>\r\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\r\n</a>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "appSidebarNavBadge": AppSidebarNavBadgePipe } });
|
|
1088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavLabelComponent, decorators: [{
|
|
1089
|
-
type: Component,
|
|
1090
|
-
args: [{ selector: 'app-sidebar-nav-label, cui-sidebar-nav-label', template: "<a [ngClass]=\"getItemClass()\"\r\n href=\"{{item.url}}\"\r\n [appHtmlAttr]=\"item.attributes\">\r\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"getLabelIconClass()\"></i>\r\n <ng-container>{{item.name}}</ng-container>\r\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\r\n</a>\r\n" }]
|
|
1091
|
-
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1092
|
-
type: Input
|
|
1093
|
-
}] } });
|
|
1094
|
-
|
|
1095
|
-
class AppSidebarNavIconPipe {
|
|
984
|
+
class AppSidebarNavBadgePipe {
|
|
1096
985
|
transform(item, args) {
|
|
1097
986
|
const classes = {
|
|
1098
|
-
|
|
987
|
+
badge: true
|
|
1099
988
|
};
|
|
1100
|
-
const
|
|
1101
|
-
classes[
|
|
989
|
+
const variant = `badge-${item.badge.variant}`;
|
|
990
|
+
classes[variant] = !!item.badge.variant;
|
|
991
|
+
classes[item.badge.class] = !!item.badge.class;
|
|
1102
992
|
return classes;
|
|
1103
993
|
}
|
|
1104
994
|
}
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
995
|
+
AppSidebarNavBadgePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
996
|
+
AppSidebarNavBadgePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" });
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, decorators: [{
|
|
1108
998
|
type: Pipe,
|
|
1109
999
|
args: [{
|
|
1110
|
-
name: '
|
|
1000
|
+
name: 'appSidebarNavBadge'
|
|
1111
1001
|
}]
|
|
1112
1002
|
}] });
|
|
1113
1003
|
|
|
@@ -1121,9 +1011,9 @@ class AppSidebarNavLinkPipe {
|
|
|
1121
1011
|
return classes;
|
|
1122
1012
|
}
|
|
1123
1013
|
}
|
|
1124
|
-
AppSidebarNavLinkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1125
|
-
AppSidebarNavLinkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1014
|
+
AppSidebarNavLinkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1015
|
+
AppSidebarNavLinkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, name: "appSidebarNavLink" });
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, decorators: [{
|
|
1127
1017
|
type: Pipe,
|
|
1128
1018
|
args: [{
|
|
1129
1019
|
name: 'appSidebarNavLink'
|
|
@@ -1138,15 +1028,15 @@ class AppSidebarNavLinkContentComponent {
|
|
|
1138
1028
|
ngOnInit() { }
|
|
1139
1029
|
ngOnDestroy() { }
|
|
1140
1030
|
}
|
|
1141
|
-
AppSidebarNavLinkContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1142
|
-
AppSidebarNavLinkContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1031
|
+
AppSidebarNavLinkContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkContentComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1032
|
+
AppSidebarNavLinkContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavLinkContentComponent, selector: "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0, template: `
|
|
1143
1033
|
<ng-container *ngIf="true">
|
|
1144
1034
|
<i *ngIf="helper.hasIcon(item)" [ngClass]="item | appSidebarNavIcon"></i>
|
|
1145
1035
|
<ng-container>{{item?.name}}</ng-container>
|
|
1146
1036
|
<span *ngIf="helper.hasBadge(item)" [ngClass]="item | appSidebarNavBadge">{{ item?.badge?.text }}</span>
|
|
1147
1037
|
</ng-container>
|
|
1148
|
-
`, isInline: true,
|
|
1149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1038
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" }, { kind: "pipe", type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }] });
|
|
1039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkContentComponent, decorators: [{
|
|
1150
1040
|
type: Component,
|
|
1151
1041
|
args: [{
|
|
1152
1042
|
selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
|
|
@@ -1204,9 +1094,9 @@ class AppSidebarNavLinkComponent {
|
|
|
1204
1094
|
this.linkClick.emit();
|
|
1205
1095
|
}
|
|
1206
1096
|
}
|
|
1207
|
-
AppSidebarNavLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1208
|
-
AppSidebarNavLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1097
|
+
AppSidebarNavLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1098
|
+
AppSidebarNavLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavLinkComponent, selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: { item: "item" }, outputs: { linkClick: "linkClick" }, providers: [SidebarNavHelper], ngImport: i0, template: "<ng-container [ngSwitch]=\"linkType\">\r\n <a *ngSwitchCase=\"'disabled'\"\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n <a *ngSwitchCase=\"'external'\"\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [href]=\"href\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n (click)=\"linkClicked()\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n <a *ngSwitchDefault\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n [target]=\"item.attributes?.target\"\r\n [queryParams]=\"item.linkProps?.queryParams\"\r\n [fragment]=\"item.linkProps?.fragment\"\r\n [queryParamsHandling]=\"item.linkProps?.queryParamsHandling\"\r\n [preserveFragment]=\"!!item.linkProps?.preserveFragment\"\r\n [skipLocationChange]=\"!!item.linkProps?.skipLocationChange\"\r\n [replaceUrl]=\"!!item.linkProps?.replaceUrl\"\r\n [state]=\"item.linkProps?.state\"\r\n [routerLink]=\"item.url\"\r\n [routerLinkActive]=\"item.linkProps?.routerLinkActive || 'active'\"\r\n [routerLinkActiveOptions]=\"item.linkProps?.routerLinkActiveOptions ?? {exact: false}\"\r\n [class.active]=\"linkActive && !item.linkProps?.routerLinkActiveOptions\"\r\n (click)=\"linkClicked()\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "component", type: AppSidebarNavLinkContentComponent, selector: "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", inputs: ["item"] }, { kind: "pipe", type: AppSidebarNavLinkPipe, name: "appSidebarNavLink" }] });
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkComponent, decorators: [{
|
|
1210
1100
|
type: Component,
|
|
1211
1101
|
args: [{ selector: 'app-sidebar-nav-link, cui-sidebar-nav-link', providers: [SidebarNavHelper], template: "<ng-container [ngSwitch]=\"linkType\">\r\n <a *ngSwitchCase=\"'disabled'\"\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n <a *ngSwitchCase=\"'external'\"\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [href]=\"href\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n (click)=\"linkClicked()\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n <a *ngSwitchDefault\r\n [ngClass]=\"item | appSidebarNavLink\"\r\n [appHtmlAttr]=\"item.attributes\"\r\n [target]=\"item.attributes?.target\"\r\n [queryParams]=\"item.linkProps?.queryParams\"\r\n [fragment]=\"item.linkProps?.fragment\"\r\n [queryParamsHandling]=\"item.linkProps?.queryParamsHandling\"\r\n [preserveFragment]=\"!!item.linkProps?.preserveFragment\"\r\n [skipLocationChange]=\"!!item.linkProps?.skipLocationChange\"\r\n [replaceUrl]=\"!!item.linkProps?.replaceUrl\"\r\n [state]=\"item.linkProps?.state\"\r\n [routerLink]=\"item.url\"\r\n [routerLinkActive]=\"item.linkProps?.routerLinkActive || 'active'\"\r\n [routerLinkActiveOptions]=\"item.linkProps?.routerLinkActiveOptions ?? {exact: false}\"\r\n [class.active]=\"linkActive && !item.linkProps?.routerLinkActiveOptions\"\r\n (click)=\"linkClicked()\"\r\n >\r\n <app-sidebar-nav-link-content [item]=\"item\"></app-sidebar-nav-link-content>\r\n </a>\r\n</ng-container>\r\n" }]
|
|
1212
1102
|
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { item: [{
|
|
@@ -1215,6 +1105,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1215
1105
|
type: Output
|
|
1216
1106
|
}] } });
|
|
1217
1107
|
|
|
1108
|
+
class AppSidebarNavTitleComponent {
|
|
1109
|
+
constructor(el, renderer) {
|
|
1110
|
+
this.el = el;
|
|
1111
|
+
this.renderer = renderer;
|
|
1112
|
+
this.item = {};
|
|
1113
|
+
}
|
|
1114
|
+
ngOnInit() {
|
|
1115
|
+
const nativeElement = this.el.nativeElement;
|
|
1116
|
+
const name = this.renderer.createText(this.item.name);
|
|
1117
|
+
if (this.item.class) {
|
|
1118
|
+
const classes = this.item.class;
|
|
1119
|
+
this.renderer.addClass(nativeElement, classes);
|
|
1120
|
+
}
|
|
1121
|
+
if (this.item.wrapper) {
|
|
1122
|
+
const wrapper = this.renderer.createElement(this.item.wrapper.element);
|
|
1123
|
+
this.addAttribs(this.item.wrapper.attributes, wrapper);
|
|
1124
|
+
this.renderer.appendChild(wrapper, name);
|
|
1125
|
+
this.renderer.appendChild(nativeElement, wrapper);
|
|
1126
|
+
}
|
|
1127
|
+
else {
|
|
1128
|
+
this.renderer.appendChild(nativeElement, name);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
addAttribs(attribs, element) {
|
|
1132
|
+
if (attribs) {
|
|
1133
|
+
for (const attr in attribs) {
|
|
1134
|
+
if (attr === 'style' && typeof (attribs[attr]) === 'object') {
|
|
1135
|
+
this.setStyle(attribs[attr], element);
|
|
1136
|
+
}
|
|
1137
|
+
else if (attr === 'class') {
|
|
1138
|
+
this.addClass(attribs[attr], element);
|
|
1139
|
+
}
|
|
1140
|
+
else {
|
|
1141
|
+
this.setAttrib(attr, attribs[attr], element);
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
setStyle(styles, el) {
|
|
1147
|
+
for (const style in styles) {
|
|
1148
|
+
this.renderer.setStyle(el, style, styles[style]);
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
addClass(classes, el) {
|
|
1152
|
+
const classArray = (Array.isArray(classes) ? classes : classes.split(' '));
|
|
1153
|
+
classArray.filter((element) => element.length > 0).forEach(element => {
|
|
1154
|
+
this.renderer.addClass(el, element);
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
setAttrib(key, value, el) {
|
|
1158
|
+
this.renderer.setAttribute(el, key, value);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
AppSidebarNavTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1162
|
+
AppSidebarNavTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavTitleComponent, selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: { item: "item" }, ngImport: i0, template: '', isInline: true });
|
|
1163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavTitleComponent, decorators: [{
|
|
1164
|
+
type: Component,
|
|
1165
|
+
args: [{
|
|
1166
|
+
selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
|
|
1167
|
+
template: '',
|
|
1168
|
+
}]
|
|
1169
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { item: [{
|
|
1170
|
+
type: Input
|
|
1171
|
+
}] } });
|
|
1172
|
+
|
|
1218
1173
|
class NavDropdownDirective {
|
|
1219
1174
|
constructor(el) {
|
|
1220
1175
|
this.el = el;
|
|
@@ -1223,9 +1178,9 @@ class NavDropdownDirective {
|
|
|
1223
1178
|
this.el.nativeElement.classList.toggle('open');
|
|
1224
1179
|
}
|
|
1225
1180
|
}
|
|
1226
|
-
NavDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1227
|
-
NavDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1181
|
+
NavDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1182
|
+
NavDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NavDropdownDirective, selector: "[appNavDropdown]", ngImport: i0 });
|
|
1183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownDirective, decorators: [{
|
|
1229
1184
|
type: Directive,
|
|
1230
1185
|
args: [{
|
|
1231
1186
|
selector: '[appNavDropdown]'
|
|
@@ -1243,9 +1198,9 @@ class NavDropdownToggleDirective {
|
|
|
1243
1198
|
this.dropdown.toggle();
|
|
1244
1199
|
}
|
|
1245
1200
|
}
|
|
1246
|
-
NavDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1247
|
-
NavDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1201
|
+
NavDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownToggleDirective, deps: [{ token: NavDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1202
|
+
NavDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NavDropdownToggleDirective, selector: "[appNavDropdownToggle]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownToggleDirective, decorators: [{
|
|
1249
1204
|
type: Directive,
|
|
1250
1205
|
args: [{
|
|
1251
1206
|
selector: '[appNavDropdownToggle]'
|
|
@@ -1255,6 +1210,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1255
1210
|
args: ['click', ['$event']]
|
|
1256
1211
|
}] } });
|
|
1257
1212
|
|
|
1213
|
+
class AppSidebarNavLabelComponent {
|
|
1214
|
+
constructor(helper) {
|
|
1215
|
+
this.helper = helper;
|
|
1216
|
+
this.item = {};
|
|
1217
|
+
this.classes = {
|
|
1218
|
+
'nav-label': true,
|
|
1219
|
+
active: true
|
|
1220
|
+
};
|
|
1221
|
+
this.iconClasses = {};
|
|
1222
|
+
}
|
|
1223
|
+
ngOnInit() {
|
|
1224
|
+
this.iconClasses = this.helper.getIconClass(this.item);
|
|
1225
|
+
}
|
|
1226
|
+
getItemClass() {
|
|
1227
|
+
const itemClass = this.item.class;
|
|
1228
|
+
// @ts-ignore
|
|
1229
|
+
this.classes[itemClass] = !!itemClass;
|
|
1230
|
+
return this.classes;
|
|
1231
|
+
}
|
|
1232
|
+
getLabelIconClass() {
|
|
1233
|
+
var _a, _b, _c;
|
|
1234
|
+
const variant = `text-${(_a = this.item.label) === null || _a === void 0 ? void 0 : _a.variant}`;
|
|
1235
|
+
// @ts-ignore
|
|
1236
|
+
this.iconClasses[variant] = !!((_b = this.item.label) === null || _b === void 0 ? void 0 : _b.variant);
|
|
1237
|
+
const labelClass = (_c = this.item.label) === null || _c === void 0 ? void 0 : _c.class;
|
|
1238
|
+
// @ts-ignore
|
|
1239
|
+
this.iconClasses[labelClass] = !!labelClass;
|
|
1240
|
+
return this.iconClasses;
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
AppSidebarNavLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1244
|
+
AppSidebarNavLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavLabelComponent, selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: { item: "item" }, ngImport: i0, template: "<a [ngClass]=\"getItemClass()\"\r\n href=\"{{item.url}}\"\r\n [appHtmlAttr]=\"item.attributes\">\r\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"getLabelIconClass()\"></i>\r\n <ng-container>{{item.name}}</ng-container>\r\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\r\n</a>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "pipe", type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }] });
|
|
1245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLabelComponent, decorators: [{
|
|
1246
|
+
type: Component,
|
|
1247
|
+
args: [{ selector: 'app-sidebar-nav-label, cui-sidebar-nav-label', template: "<a [ngClass]=\"getItemClass()\"\r\n href=\"{{item.url}}\"\r\n [appHtmlAttr]=\"item.attributes\">\r\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"getLabelIconClass()\"></i>\r\n <ng-container>{{item.name}}</ng-container>\r\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\r\n</a>\r\n" }]
|
|
1248
|
+
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1249
|
+
type: Input
|
|
1250
|
+
}] } });
|
|
1251
|
+
|
|
1258
1252
|
class AppSidebarNavItemClassPipe {
|
|
1259
1253
|
constructor(helper) {
|
|
1260
1254
|
this.helper = helper;
|
|
@@ -1274,9 +1268,9 @@ class AppSidebarNavItemClassPipe {
|
|
|
1274
1268
|
return item.class ? `${itemClass} ${item.class}` : itemClass;
|
|
1275
1269
|
}
|
|
1276
1270
|
}
|
|
1277
|
-
AppSidebarNavItemClassPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1278
|
-
AppSidebarNavItemClassPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
1279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1271
|
+
AppSidebarNavItemClassPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1272
|
+
AppSidebarNavItemClassPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, name: "appSidebarNavItemClass" });
|
|
1273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, decorators: [{
|
|
1280
1274
|
type: Pipe,
|
|
1281
1275
|
args: [{
|
|
1282
1276
|
name: 'appSidebarNavItemClass'
|
|
@@ -1303,8 +1297,8 @@ class AppSidebarNavItemsComponent {
|
|
|
1303
1297
|
}
|
|
1304
1298
|
}
|
|
1305
1299
|
}
|
|
1306
|
-
AppSidebarNavItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1307
|
-
AppSidebarNavItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1300
|
+
AppSidebarNavItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemsComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i1.Router }, { token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1301
|
+
AppSidebarNavItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: { items: "items" }, ngImport: i0, template: `
|
|
1308
1302
|
<ng-container *ngFor="let item of items">
|
|
1309
1303
|
<ng-container [ngSwitch]="helper.itemType(item)">
|
|
1310
1304
|
<app-sidebar-nav-dropdown
|
|
@@ -1346,8 +1340,8 @@ AppSidebarNavItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1346
1340
|
</app-sidebar-nav-link>
|
|
1347
1341
|
</ng-container>
|
|
1348
1342
|
</ng-container>
|
|
1349
|
-
`, isInline: true,
|
|
1350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1343
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i2.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgSwitch; }), selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgSwitchCase; }), selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgSwitchDefault; }), selector: "[ngSwitchDefault]" }, { kind: "directive", type: i0.forwardRef(function () { return i1.RouterLinkActive; }), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(function () { return HtmlAttributesDirective; }), selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "component", type: i0.forwardRef(function () { return AppSidebarNavDividerComponent; }), selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: ["item"] }, { kind: "component", type: i0.forwardRef(function () { return AppSidebarNavDropdownComponent; }), selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: ["item"] }, { kind: "component", type: i0.forwardRef(function () { return AppSidebarNavLinkComponent; }), selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: ["item"], outputs: ["linkClick"] }, { kind: "component", type: i0.forwardRef(function () { return AppSidebarNavTitleComponent; }), selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: ["item"] }, { kind: "directive", type: i0.forwardRef(function () { return NavDropdownDirective; }), selector: "[appNavDropdown]" }, { kind: "component", type: i0.forwardRef(function () { return AppSidebarNavLabelComponent; }), selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: ["item"] }, { kind: "pipe", type: i0.forwardRef(function () { return AppSidebarNavItemClassPipe; }), name: "appSidebarNavItemClass" }] });
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemsComponent, decorators: [{
|
|
1351
1345
|
type: Component,
|
|
1352
1346
|
args: [{
|
|
1353
1347
|
selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',
|
|
@@ -1409,8 +1403,8 @@ class AppSidebarNavDropdownComponent {
|
|
|
1409
1403
|
this.item = {};
|
|
1410
1404
|
}
|
|
1411
1405
|
}
|
|
1412
|
-
AppSidebarNavDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1413
|
-
AppSidebarNavDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1406
|
+
AppSidebarNavDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDropdownComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1407
|
+
AppSidebarNavDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavDropdownComponent, selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0, template: `
|
|
1414
1408
|
<a class="nav-link nav-dropdown-toggle"
|
|
1415
1409
|
appNavDropdownToggle
|
|
1416
1410
|
[appHtmlAttr]="item.attributes">
|
|
@@ -1422,12 +1416,10 @@ AppSidebarNavDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
1422
1416
|
class="nav-dropdown-items"
|
|
1423
1417
|
[items]="item.children ?? []">
|
|
1424
1418
|
</app-sidebar-nav-items>
|
|
1425
|
-
`, isInline: true, styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"],
|
|
1426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1419
|
+
`, isInline: true, styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "component", type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: ["items"] }, { kind: "directive", type: NavDropdownToggleDirective, selector: "[appNavDropdownToggle]" }, { kind: "pipe", type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" }, { kind: "pipe", type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }] });
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDropdownComponent, decorators: [{
|
|
1427
1421
|
type: Component,
|
|
1428
|
-
args: [{
|
|
1429
|
-
selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',
|
|
1430
|
-
template: `
|
|
1422
|
+
args: [{ selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown', template: `
|
|
1431
1423
|
<a class="nav-link nav-dropdown-toggle"
|
|
1432
1424
|
appNavDropdownToggle
|
|
1433
1425
|
[appHtmlAttr]="item.attributes">
|
|
@@ -1439,13 +1431,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1439
1431
|
class="nav-dropdown-items"
|
|
1440
1432
|
[items]="item.children ?? []">
|
|
1441
1433
|
</app-sidebar-nav-items>
|
|
1442
|
-
`,
|
|
1443
|
-
styles: [
|
|
1444
|
-
'.nav-dropdown-toggle { cursor: pointer; }',
|
|
1445
|
-
'.nav-dropdown-items { display: block; }'
|
|
1446
|
-
],
|
|
1447
|
-
providers: [SidebarNavHelper]
|
|
1448
|
-
}]
|
|
1434
|
+
`, providers: [SidebarNavHelper], styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"] }]
|
|
1449
1435
|
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1450
1436
|
type: Input
|
|
1451
1437
|
}] } });
|
|
@@ -1462,9 +1448,9 @@ class AppSidebarNavComponent {
|
|
|
1462
1448
|
this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];
|
|
1463
1449
|
}
|
|
1464
1450
|
}
|
|
1465
|
-
AppSidebarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1466
|
-
AppSidebarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1451
|
+
AppSidebarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1452
|
+
AppSidebarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarNavComponent, selector: "app-sidebar-nav, cui-sidebar-nav", inputs: { navItems: "navItems", role: "role" }, host: { properties: { "class.sidebar-nav": "this.sidebarNavClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: "<app-sidebar-nav-items\n class=\"nav\"\n [items]=\"navItemsArray\">\n</app-sidebar-nav-items>\n", dependencies: [{ kind: "component", type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: ["items"] }] });
|
|
1453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavComponent, decorators: [{
|
|
1468
1454
|
type: Component,
|
|
1469
1455
|
args: [{ selector: 'app-sidebar-nav, cui-sidebar-nav', template: "<app-sidebar-nav-items\n class=\"nav\"\n [items]=\"navItemsArray\">\n</app-sidebar-nav-items>\n" }]
|
|
1470
1456
|
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { navItems: [{
|
|
@@ -1490,9 +1476,9 @@ class AppSidebarMinimizerComponent {
|
|
|
1490
1476
|
this.sidebarService.toggle({ minimize: 'toggle' });
|
|
1491
1477
|
}
|
|
1492
1478
|
}
|
|
1493
|
-
AppSidebarMinimizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1494
|
-
AppSidebarMinimizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1479
|
+
AppSidebarMinimizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarMinimizerComponent, deps: [{ token: AppSidebarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1480
|
+
AppSidebarMinimizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarMinimizerComponent, selector: "app-sidebar-minimizer, cui-sidebar-minimizer", inputs: { role: "role" }, host: { listeners: { "click": "toggleOpen($event)" }, properties: { "attr.role": "this.role", "class.sidebar-minimizer": "this.sidebarMinimizerClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
1481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarMinimizerComponent, decorators: [{
|
|
1496
1482
|
type: Component,
|
|
1497
1483
|
args: [{
|
|
1498
1484
|
selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',
|
|
@@ -1516,9 +1502,9 @@ class AppSidebarFooterComponent {
|
|
|
1516
1502
|
this.sidebarFooterClass = true;
|
|
1517
1503
|
}
|
|
1518
1504
|
}
|
|
1519
|
-
AppSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1520
|
-
AppSidebarFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
AppSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1506
|
+
AppSidebarFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarFooterComponent, selector: "app-sidebar-footer, cui-sidebar-footer", host: { properties: { "class.sidebar-footer": "this.sidebarFooterClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
1507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFooterComponent, decorators: [{
|
|
1522
1508
|
type: Component,
|
|
1523
1509
|
args: [{
|
|
1524
1510
|
selector: 'app-sidebar-footer, cui-sidebar-footer',
|
|
@@ -1534,9 +1520,9 @@ class AppSidebarFormComponent {
|
|
|
1534
1520
|
this.sidebarFormClass = true;
|
|
1535
1521
|
}
|
|
1536
1522
|
}
|
|
1537
|
-
AppSidebarFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1538
|
-
AppSidebarFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1523
|
+
AppSidebarFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1524
|
+
AppSidebarFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarFormComponent, selector: "app-sidebar-form, cui-sidebar-form", host: { properties: { "class.sidebar-form": "this.sidebarFormClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
1525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFormComponent, decorators: [{
|
|
1540
1526
|
type: Component,
|
|
1541
1527
|
args: [{
|
|
1542
1528
|
selector: 'app-sidebar-form, cui-sidebar-form',
|
|
@@ -1552,9 +1538,9 @@ class AppSidebarHeaderComponent {
|
|
|
1552
1538
|
this.sidebarHeaderClass = true;
|
|
1553
1539
|
}
|
|
1554
1540
|
}
|
|
1555
|
-
AppSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1556
|
-
AppSidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1541
|
+
AppSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1542
|
+
AppSidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppSidebarHeaderComponent, selector: "app-sidebar-header, cui-sidebar-header", host: { properties: { "class.sidebar-header": "this.sidebarHeaderClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
1543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarHeaderComponent, decorators: [{
|
|
1558
1544
|
type: Component,
|
|
1559
1545
|
args: [{
|
|
1560
1546
|
selector: 'app-sidebar-header, cui-sidebar-header',
|
|
@@ -1567,8 +1553,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1567
1553
|
|
|
1568
1554
|
class AppSidebarModule {
|
|
1569
1555
|
}
|
|
1570
|
-
AppSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1571
|
-
AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1556
|
+
AppSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1557
|
+
AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, declarations: [AppSidebarFooterComponent,
|
|
1572
1558
|
AppSidebarFormComponent,
|
|
1573
1559
|
AppSidebarHeaderComponent,
|
|
1574
1560
|
AppSidebarMinimizerComponent,
|
|
@@ -1596,15 +1582,13 @@ AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
1596
1582
|
AppSidebarComponent,
|
|
1597
1583
|
// AppSidebarNavItemsComponent,
|
|
1598
1584
|
AppSidebarNavComponent] });
|
|
1599
|
-
AppSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1585
|
+
AppSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, providers: [
|
|
1600
1586
|
SidebarNavHelper,
|
|
1601
1587
|
AppSidebarService
|
|
1602
|
-
], imports: [
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
]] });
|
|
1607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarModule, decorators: [{
|
|
1588
|
+
], imports: [CommonModule,
|
|
1589
|
+
RouterModule,
|
|
1590
|
+
LayoutModule] });
|
|
1591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, decorators: [{
|
|
1608
1592
|
type: NgModule,
|
|
1609
1593
|
args: [{
|
|
1610
1594
|
imports: [
|