@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 () { return [{ type: undefined, decorators: [{
|
|
64
64
|
type: Inject,
|
|
@@ -82,9 +82,9 @@ class SidebarToggleDirective {
|
|
|
82
82
|
this.classToggler.toggleClasses(cssClass, sidebarCssClasses);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
SidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
SidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
SidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
+
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 });
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarToggleDirective, decorators: [{
|
|
88
88
|
type: Directive,
|
|
89
89
|
args: [{
|
|
90
90
|
selector: '[appSidebarToggler]',
|
|
@@ -110,9 +110,9 @@ class SidebarMinimizeDirective {
|
|
|
110
110
|
this.renderer.addClass(body, 'sidebar-minimized');
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
SidebarMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
SidebarMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
113
|
+
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 });
|
|
114
|
+
SidebarMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: SidebarMinimizeDirective, selector: "[appSidebarMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarMinimizeDirective, decorators: [{
|
|
116
116
|
type: Directive,
|
|
117
117
|
args: [{
|
|
118
118
|
selector: '[appSidebarMinimizer]'
|
|
@@ -137,9 +137,9 @@ class MobileSidebarToggleDirective {
|
|
|
137
137
|
this.renderer.addClass(body, 'sidebar-show');
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
MobileSidebarToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
MobileSidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
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 });
|
|
141
|
+
MobileSidebarToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: MobileSidebarToggleDirective, selector: "[appMobileSidebarToggler]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: MobileSidebarToggleDirective, decorators: [{
|
|
143
143
|
type: Directive,
|
|
144
144
|
args: [{
|
|
145
145
|
selector: '[appMobileSidebarToggler]'
|
|
@@ -169,9 +169,9 @@ class SidebarOffCanvasCloseDirective {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
SidebarOffCanvasCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
173
|
-
SidebarOffCanvasCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
172
|
+
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 });
|
|
173
|
+
SidebarOffCanvasCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: SidebarOffCanvasCloseDirective, selector: "[appSidebarClose]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarOffCanvasCloseDirective, decorators: [{
|
|
175
175
|
type: Directive,
|
|
176
176
|
args: [{
|
|
177
177
|
selector: '[appSidebarClose]'
|
|
@@ -196,9 +196,9 @@ class BrandMinimizeDirective {
|
|
|
196
196
|
this.renderer.addClass(body, 'brand-minimized');
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
BrandMinimizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
200
|
-
BrandMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
199
|
+
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 });
|
|
200
|
+
BrandMinimizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: BrandMinimizeDirective, selector: "[appBrandMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BrandMinimizeDirective, decorators: [{
|
|
202
202
|
type: Directive,
|
|
203
203
|
args: [{
|
|
204
204
|
selector: '[appBrandMinimizer]'
|
|
@@ -227,9 +227,9 @@ class AsideToggleDirective {
|
|
|
227
227
|
this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
AsideToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
231
|
-
AsideToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
230
|
+
AsideToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AsideToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive });
|
|
231
|
+
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 });
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AsideToggleDirective, decorators: [{
|
|
233
233
|
type: Directive,
|
|
234
234
|
args: [{
|
|
235
235
|
selector: '[appAsideMenuToggler]',
|
|
@@ -281,9 +281,9 @@ class HtmlAttributesDirective {
|
|
|
281
281
|
this.renderer.removeAttribute(this.el.nativeElement, key);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
HtmlAttributesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
285
|
-
HtmlAttributesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
284
|
+
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 });
|
|
285
|
+
HtmlAttributesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: { appHtmlAttr: "appHtmlAttr" }, ngImport: i0 });
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: HtmlAttributesDirective, decorators: [{
|
|
287
287
|
type: Directive,
|
|
288
288
|
args: [{
|
|
289
289
|
selector: '[appHtmlAttr]'
|
|
@@ -294,8 +294,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
294
294
|
|
|
295
295
|
class LayoutModule {
|
|
296
296
|
}
|
|
297
|
-
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
298
|
-
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
297
|
+
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
298
|
+
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, declarations: [AsideToggleDirective,
|
|
299
299
|
BrandMinimizeDirective,
|
|
300
300
|
MobileSidebarToggleDirective,
|
|
301
301
|
SidebarToggleDirective,
|
|
@@ -308,12 +308,10 @@ LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
308
308
|
SidebarMinimizeDirective,
|
|
309
309
|
SidebarOffCanvasCloseDirective,
|
|
310
310
|
HtmlAttributesDirective] });
|
|
311
|
-
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
311
|
+
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, providers: [
|
|
312
312
|
ClassToggler
|
|
313
|
-
], imports: [
|
|
314
|
-
|
|
315
|
-
]] });
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LayoutModule, decorators: [{
|
|
313
|
+
], imports: [CommonModule] });
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LayoutModule, decorators: [{
|
|
317
315
|
type: NgModule,
|
|
318
316
|
args: [{
|
|
319
317
|
imports: [
|
|
@@ -387,9 +385,9 @@ class AppAsideComponent {
|
|
|
387
385
|
}
|
|
388
386
|
}
|
|
389
387
|
}
|
|
390
|
-
AppAsideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
391
|
-
AppAsideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
388
|
+
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 });
|
|
389
|
+
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 });
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideComponent, decorators: [{
|
|
393
391
|
type: Component,
|
|
394
392
|
args: [{
|
|
395
393
|
selector: 'app-aside, cui-aside',
|
|
@@ -411,14 +409,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
411
409
|
|
|
412
410
|
class AppAsideModule {
|
|
413
411
|
}
|
|
414
|
-
AppAsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
415
|
-
AppAsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
412
|
+
AppAsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
413
|
+
AppAsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, declarations: [AppAsideComponent], imports: [CommonModule,
|
|
416
414
|
LayoutModule], exports: [AppAsideComponent] });
|
|
417
|
-
AppAsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
]] });
|
|
421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppAsideModule, decorators: [{
|
|
415
|
+
AppAsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, imports: [CommonModule,
|
|
416
|
+
LayoutModule] });
|
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppAsideModule, decorators: [{
|
|
422
418
|
type: NgModule,
|
|
423
419
|
args: [{
|
|
424
420
|
imports: [
|
|
@@ -465,9 +461,9 @@ class AppBreadcrumbService {
|
|
|
465
461
|
});
|
|
466
462
|
}
|
|
467
463
|
}
|
|
468
|
-
AppBreadcrumbService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
469
|
-
AppBreadcrumbService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
464
|
+
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 });
|
|
465
|
+
AppBreadcrumbService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbService, providedIn: 'root' });
|
|
466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbService, decorators: [{
|
|
471
467
|
type: Injectable,
|
|
472
468
|
args: [{
|
|
473
469
|
providedIn: 'root'
|
|
@@ -496,8 +492,8 @@ class AppBreadcrumbComponent {
|
|
|
496
492
|
}
|
|
497
493
|
}
|
|
498
494
|
}
|
|
499
|
-
AppBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
500
|
-
AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
495
|
+
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 });
|
|
496
|
+
AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: AppBreadcrumbComponent, selector: "app-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0, template: `
|
|
501
497
|
<ng-template ngFor let-breadcrumb [ngForOf]="breadcrumbs | async" let-last = last>
|
|
502
498
|
<li class="breadcrumb-item"
|
|
503
499
|
*ngIf="breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)"
|
|
@@ -506,8 +502,8 @@ AppBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
506
502
|
<span *ngIf="last" [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</span>
|
|
507
503
|
</li>
|
|
508
504
|
</ng-template>
|
|
509
|
-
`, isInline: true,
|
|
510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
505
|
+
`, 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" }] });
|
|
506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbComponent, decorators: [{
|
|
511
507
|
type: Component,
|
|
512
508
|
args: [{
|
|
513
509
|
selector: 'app-breadcrumb',
|
|
@@ -549,9 +545,9 @@ class CuiBreadcrumbComponent {
|
|
|
549
545
|
}
|
|
550
546
|
}
|
|
551
547
|
}
|
|
552
|
-
CuiBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
553
|
-
CuiBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
548
|
+
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 });
|
|
549
|
+
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" }] });
|
|
550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: CuiBreadcrumbComponent, decorators: [{
|
|
555
551
|
type: Component,
|
|
556
552
|
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" }]
|
|
557
553
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -572,10 +568,10 @@ class AppBreadcrumbModule {
|
|
|
572
568
|
};
|
|
573
569
|
}
|
|
574
570
|
}
|
|
575
|
-
AppBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
576
|
-
AppBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
577
|
-
AppBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
571
|
+
AppBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
572
|
+
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] });
|
|
573
|
+
AppBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, imports: [CommonModule, RouterModule] });
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppBreadcrumbModule, decorators: [{
|
|
579
575
|
type: NgModule,
|
|
580
576
|
args: [{
|
|
581
577
|
imports: [CommonModule, RouterModule],
|
|
@@ -603,9 +599,9 @@ class AppFooterComponent {
|
|
|
603
599
|
}
|
|
604
600
|
}
|
|
605
601
|
}
|
|
606
|
-
AppFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
607
|
-
AppFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
602
|
+
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 });
|
|
603
|
+
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 });
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterComponent, decorators: [{
|
|
609
605
|
type: Component,
|
|
610
606
|
args: [{
|
|
611
607
|
selector: 'app-footer, cui-footer',
|
|
@@ -623,10 +619,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
623
619
|
|
|
624
620
|
class AppFooterModule {
|
|
625
621
|
}
|
|
626
|
-
AppFooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
627
|
-
AppFooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
628
|
-
AppFooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
622
|
+
AppFooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
623
|
+
AppFooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, declarations: [AppFooterComponent], imports: [CommonModule], exports: [AppFooterComponent] });
|
|
624
|
+
AppFooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, imports: [CommonModule] });
|
|
625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppFooterModule, decorators: [{
|
|
630
626
|
type: NgModule,
|
|
631
627
|
args: [{
|
|
632
628
|
imports: [CommonModule],
|
|
@@ -688,9 +684,9 @@ class AppHeaderComponent {
|
|
|
688
684
|
return togglerClass;
|
|
689
685
|
}
|
|
690
686
|
}
|
|
691
|
-
AppHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
692
|
-
AppHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
687
|
+
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 });
|
|
688
|
+
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"] }] });
|
|
689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderComponent, decorators: [{
|
|
694
690
|
type: Component,
|
|
695
691
|
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" }]
|
|
696
692
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -728,16 +724,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
728
724
|
|
|
729
725
|
class AppHeaderModule {
|
|
730
726
|
}
|
|
731
|
-
AppHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
732
|
-
AppHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
727
|
+
AppHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
728
|
+
AppHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, declarations: [AppHeaderComponent], imports: [CommonModule,
|
|
733
729
|
RouterModule,
|
|
734
730
|
LayoutModule], exports: [AppHeaderComponent] });
|
|
735
|
-
AppHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
]] });
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppHeaderModule, decorators: [{
|
|
731
|
+
AppHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, imports: [CommonModule,
|
|
732
|
+
RouterModule,
|
|
733
|
+
LayoutModule] });
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppHeaderModule, decorators: [{
|
|
741
735
|
type: NgModule,
|
|
742
736
|
args: [{
|
|
743
737
|
imports: [
|
|
@@ -763,9 +757,9 @@ class AppSidebarService {
|
|
|
763
757
|
this.events.next(action);
|
|
764
758
|
}
|
|
765
759
|
}
|
|
766
|
-
AppSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
767
|
-
AppSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
760
|
+
AppSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
761
|
+
AppSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, providedIn: 'root' });
|
|
762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarService, decorators: [{
|
|
769
763
|
type: Injectable,
|
|
770
764
|
args: [{
|
|
771
765
|
providedIn: 'root'
|
|
@@ -851,9 +845,9 @@ class AppSidebarComponent {
|
|
|
851
845
|
}
|
|
852
846
|
}
|
|
853
847
|
}
|
|
854
|
-
AppSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
855
|
-
AppSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
848
|
+
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 });
|
|
849
|
+
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 });
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarComponent, decorators: [{
|
|
857
851
|
type: Component,
|
|
858
852
|
args: [{
|
|
859
853
|
selector: 'app-sidebar, cui-sidebar',
|
|
@@ -881,9 +875,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
881
875
|
|
|
882
876
|
class SidebarNavService {
|
|
883
877
|
}
|
|
884
|
-
SidebarNavService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
885
|
-
SidebarNavService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
878
|
+
SidebarNavService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
879
|
+
SidebarNavService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService });
|
|
880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavService, decorators: [{
|
|
887
881
|
type: Injectable
|
|
888
882
|
}] });
|
|
889
883
|
class SidebarNavHelper {
|
|
@@ -924,9 +918,9 @@ class SidebarNavHelper {
|
|
|
924
918
|
return classes;
|
|
925
919
|
}
|
|
926
920
|
}
|
|
927
|
-
SidebarNavHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
928
|
-
SidebarNavHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
921
|
+
SidebarNavHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
922
|
+
SidebarNavHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper });
|
|
923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SidebarNavHelper, decorators: [{
|
|
930
924
|
type: Injectable
|
|
931
925
|
}] });
|
|
932
926
|
|
|
@@ -934,9 +928,9 @@ class AppSidebarNavDividerComponent {
|
|
|
934
928
|
constructor() { }
|
|
935
929
|
ngOnInit() { }
|
|
936
930
|
}
|
|
937
|
-
AppSidebarNavDividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
938
|
-
AppSidebarNavDividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
931
|
+
AppSidebarNavDividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
932
|
+
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 });
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDividerComponent, decorators: [{
|
|
940
934
|
type: Component,
|
|
941
935
|
args: [{
|
|
942
936
|
selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',
|
|
@@ -946,145 +940,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
946
940
|
type: Input
|
|
947
941
|
}] } });
|
|
948
942
|
|
|
949
|
-
class
|
|
950
|
-
constructor(el, renderer) {
|
|
951
|
-
this.el = el;
|
|
952
|
-
this.renderer = renderer;
|
|
953
|
-
this.item = {};
|
|
954
|
-
}
|
|
955
|
-
ngOnInit() {
|
|
956
|
-
const nativeElement = this.el.nativeElement;
|
|
957
|
-
const name = this.renderer.createText(this.item.name);
|
|
958
|
-
if (this.item.class) {
|
|
959
|
-
const classes = this.item.class;
|
|
960
|
-
this.renderer.addClass(nativeElement, classes);
|
|
961
|
-
}
|
|
962
|
-
if (this.item.wrapper) {
|
|
963
|
-
const wrapper = this.renderer.createElement(this.item.wrapper.element);
|
|
964
|
-
this.addAttribs(this.item.wrapper.attributes, wrapper);
|
|
965
|
-
this.renderer.appendChild(wrapper, name);
|
|
966
|
-
this.renderer.appendChild(nativeElement, wrapper);
|
|
967
|
-
}
|
|
968
|
-
else {
|
|
969
|
-
this.renderer.appendChild(nativeElement, name);
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
addAttribs(attribs, element) {
|
|
973
|
-
if (attribs) {
|
|
974
|
-
for (const attr in attribs) {
|
|
975
|
-
if (attr === 'style' && typeof (attribs[attr]) === 'object') {
|
|
976
|
-
this.setStyle(attribs[attr], element);
|
|
977
|
-
}
|
|
978
|
-
else if (attr === 'class') {
|
|
979
|
-
this.addClass(attribs[attr], element);
|
|
980
|
-
}
|
|
981
|
-
else {
|
|
982
|
-
this.setAttrib(attr, attribs[attr], element);
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
setStyle(styles, el) {
|
|
988
|
-
for (const style in styles) {
|
|
989
|
-
this.renderer.setStyle(el, style, styles[style]);
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
addClass(classes, el) {
|
|
993
|
-
const classArray = (Array.isArray(classes) ? classes : classes.split(' '));
|
|
994
|
-
classArray.filter((element) => element.length > 0).forEach(element => {
|
|
995
|
-
this.renderer.addClass(el, element);
|
|
996
|
-
});
|
|
997
|
-
}
|
|
998
|
-
setAttrib(key, value, el) {
|
|
999
|
-
this.renderer.setAttribute(el, key, value);
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
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 });
|
|
1003
|
-
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 });
|
|
1004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavTitleComponent, decorators: [{
|
|
1005
|
-
type: Component,
|
|
1006
|
-
args: [{
|
|
1007
|
-
selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
|
|
1008
|
-
template: '',
|
|
1009
|
-
}]
|
|
1010
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { item: [{
|
|
1011
|
-
type: Input
|
|
1012
|
-
}] } });
|
|
1013
|
-
|
|
1014
|
-
class AppSidebarNavBadgePipe {
|
|
943
|
+
class AppSidebarNavIconPipe {
|
|
1015
944
|
transform(item, args) {
|
|
1016
945
|
const classes = {
|
|
1017
|
-
|
|
946
|
+
'nav-icon': true
|
|
1018
947
|
};
|
|
1019
|
-
const
|
|
1020
|
-
classes[
|
|
1021
|
-
classes[item.badge.class] = !!item.badge.class;
|
|
948
|
+
const icon = item.icon;
|
|
949
|
+
classes[icon] = !!item.icon;
|
|
1022
950
|
return classes;
|
|
1023
951
|
}
|
|
1024
952
|
}
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
953
|
+
AppSidebarNavIconPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
954
|
+
AppSidebarNavIconPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" });
|
|
955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavIconPipe, decorators: [{
|
|
1028
956
|
type: Pipe,
|
|
1029
957
|
args: [{
|
|
1030
|
-
name: '
|
|
958
|
+
name: 'appSidebarNavIcon'
|
|
1031
959
|
}]
|
|
1032
960
|
}] });
|
|
1033
961
|
|
|
1034
|
-
class
|
|
1035
|
-
constructor(helper) {
|
|
1036
|
-
this.helper = helper;
|
|
1037
|
-
this.item = {};
|
|
1038
|
-
this.classes = {
|
|
1039
|
-
'nav-label': true,
|
|
1040
|
-
active: true
|
|
1041
|
-
};
|
|
1042
|
-
this.iconClasses = {};
|
|
1043
|
-
}
|
|
1044
|
-
ngOnInit() {
|
|
1045
|
-
this.iconClasses = this.helper.getIconClass(this.item);
|
|
1046
|
-
}
|
|
1047
|
-
getItemClass() {
|
|
1048
|
-
const itemClass = this.item.class;
|
|
1049
|
-
// @ts-ignore
|
|
1050
|
-
this.classes[itemClass] = !!itemClass;
|
|
1051
|
-
return this.classes;
|
|
1052
|
-
}
|
|
1053
|
-
getLabelIconClass() {
|
|
1054
|
-
const variant = `text-${this.item.label?.variant}`;
|
|
1055
|
-
// @ts-ignore
|
|
1056
|
-
this.iconClasses[variant] = !!this.item.label?.variant;
|
|
1057
|
-
const labelClass = this.item.label?.class;
|
|
1058
|
-
// @ts-ignore
|
|
1059
|
-
this.iconClasses[labelClass] = !!labelClass;
|
|
1060
|
-
return this.iconClasses;
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
AppSidebarNavLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1064
|
-
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 } });
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarNavLabelComponent, decorators: [{
|
|
1066
|
-
type: Component,
|
|
1067
|
-
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" }]
|
|
1068
|
-
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1069
|
-
type: Input
|
|
1070
|
-
}] } });
|
|
1071
|
-
|
|
1072
|
-
class AppSidebarNavIconPipe {
|
|
962
|
+
class AppSidebarNavBadgePipe {
|
|
1073
963
|
transform(item, args) {
|
|
1074
964
|
const classes = {
|
|
1075
|
-
|
|
965
|
+
badge: true
|
|
1076
966
|
};
|
|
1077
|
-
const
|
|
1078
|
-
classes[
|
|
967
|
+
const variant = `badge-${item.badge.variant}`;
|
|
968
|
+
classes[variant] = !!item.badge.variant;
|
|
969
|
+
classes[item.badge.class] = !!item.badge.class;
|
|
1079
970
|
return classes;
|
|
1080
971
|
}
|
|
1081
972
|
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
973
|
+
AppSidebarNavBadgePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
974
|
+
AppSidebarNavBadgePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" });
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavBadgePipe, decorators: [{
|
|
1085
976
|
type: Pipe,
|
|
1086
977
|
args: [{
|
|
1087
|
-
name: '
|
|
978
|
+
name: 'appSidebarNavBadge'
|
|
1088
979
|
}]
|
|
1089
980
|
}] });
|
|
1090
981
|
|
|
@@ -1098,9 +989,9 @@ class AppSidebarNavLinkPipe {
|
|
|
1098
989
|
return classes;
|
|
1099
990
|
}
|
|
1100
991
|
}
|
|
1101
|
-
AppSidebarNavLinkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1102
|
-
AppSidebarNavLinkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
992
|
+
AppSidebarNavLinkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
993
|
+
AppSidebarNavLinkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, name: "appSidebarNavLink" });
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkPipe, decorators: [{
|
|
1104
995
|
type: Pipe,
|
|
1105
996
|
args: [{
|
|
1106
997
|
name: 'appSidebarNavLink'
|
|
@@ -1115,15 +1006,15 @@ class AppSidebarNavLinkContentComponent {
|
|
|
1115
1006
|
ngOnInit() { }
|
|
1116
1007
|
ngOnDestroy() { }
|
|
1117
1008
|
}
|
|
1118
|
-
AppSidebarNavLinkContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1119
|
-
AppSidebarNavLinkContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1009
|
+
AppSidebarNavLinkContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkContentComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1010
|
+
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: `
|
|
1120
1011
|
<ng-container *ngIf="true">
|
|
1121
1012
|
<i *ngIf="helper.hasIcon(item)" [ngClass]="item | appSidebarNavIcon"></i>
|
|
1122
1013
|
<ng-container>{{item?.name}}</ng-container>
|
|
1123
1014
|
<span *ngIf="helper.hasBadge(item)" [ngClass]="item | appSidebarNavBadge">{{ item?.badge?.text }}</span>
|
|
1124
1015
|
</ng-container>
|
|
1125
|
-
`, isInline: true,
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1016
|
+
`, 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" }] });
|
|
1017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkContentComponent, decorators: [{
|
|
1127
1018
|
type: Component,
|
|
1128
1019
|
args: [{
|
|
1129
1020
|
selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
|
|
@@ -1181,9 +1072,9 @@ class AppSidebarNavLinkComponent {
|
|
|
1181
1072
|
this.linkClick.emit();
|
|
1182
1073
|
}
|
|
1183
1074
|
}
|
|
1184
|
-
AppSidebarNavLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1185
|
-
AppSidebarNavLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1075
|
+
AppSidebarNavLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1076
|
+
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" }] });
|
|
1077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLinkComponent, decorators: [{
|
|
1187
1078
|
type: Component,
|
|
1188
1079
|
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" }]
|
|
1189
1080
|
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { item: [{
|
|
@@ -1192,6 +1083,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1192
1083
|
type: Output
|
|
1193
1084
|
}] } });
|
|
1194
1085
|
|
|
1086
|
+
class AppSidebarNavTitleComponent {
|
|
1087
|
+
constructor(el, renderer) {
|
|
1088
|
+
this.el = el;
|
|
1089
|
+
this.renderer = renderer;
|
|
1090
|
+
this.item = {};
|
|
1091
|
+
}
|
|
1092
|
+
ngOnInit() {
|
|
1093
|
+
const nativeElement = this.el.nativeElement;
|
|
1094
|
+
const name = this.renderer.createText(this.item.name);
|
|
1095
|
+
if (this.item.class) {
|
|
1096
|
+
const classes = this.item.class;
|
|
1097
|
+
this.renderer.addClass(nativeElement, classes);
|
|
1098
|
+
}
|
|
1099
|
+
if (this.item.wrapper) {
|
|
1100
|
+
const wrapper = this.renderer.createElement(this.item.wrapper.element);
|
|
1101
|
+
this.addAttribs(this.item.wrapper.attributes, wrapper);
|
|
1102
|
+
this.renderer.appendChild(wrapper, name);
|
|
1103
|
+
this.renderer.appendChild(nativeElement, wrapper);
|
|
1104
|
+
}
|
|
1105
|
+
else {
|
|
1106
|
+
this.renderer.appendChild(nativeElement, name);
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
addAttribs(attribs, element) {
|
|
1110
|
+
if (attribs) {
|
|
1111
|
+
for (const attr in attribs) {
|
|
1112
|
+
if (attr === 'style' && typeof (attribs[attr]) === 'object') {
|
|
1113
|
+
this.setStyle(attribs[attr], element);
|
|
1114
|
+
}
|
|
1115
|
+
else if (attr === 'class') {
|
|
1116
|
+
this.addClass(attribs[attr], element);
|
|
1117
|
+
}
|
|
1118
|
+
else {
|
|
1119
|
+
this.setAttrib(attr, attribs[attr], element);
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
setStyle(styles, el) {
|
|
1125
|
+
for (const style in styles) {
|
|
1126
|
+
this.renderer.setStyle(el, style, styles[style]);
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
addClass(classes, el) {
|
|
1130
|
+
const classArray = (Array.isArray(classes) ? classes : classes.split(' '));
|
|
1131
|
+
classArray.filter((element) => element.length > 0).forEach(element => {
|
|
1132
|
+
this.renderer.addClass(el, element);
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
setAttrib(key, value, el) {
|
|
1136
|
+
this.renderer.setAttribute(el, key, value);
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
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 });
|
|
1140
|
+
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 });
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavTitleComponent, decorators: [{
|
|
1142
|
+
type: Component,
|
|
1143
|
+
args: [{
|
|
1144
|
+
selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
|
|
1145
|
+
template: '',
|
|
1146
|
+
}]
|
|
1147
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { item: [{
|
|
1148
|
+
type: Input
|
|
1149
|
+
}] } });
|
|
1150
|
+
|
|
1195
1151
|
class NavDropdownDirective {
|
|
1196
1152
|
constructor(el) {
|
|
1197
1153
|
this.el = el;
|
|
@@ -1200,9 +1156,9 @@ class NavDropdownDirective {
|
|
|
1200
1156
|
this.el.nativeElement.classList.toggle('open');
|
|
1201
1157
|
}
|
|
1202
1158
|
}
|
|
1203
|
-
NavDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1204
|
-
NavDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1159
|
+
NavDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1160
|
+
NavDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NavDropdownDirective, selector: "[appNavDropdown]", ngImport: i0 });
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownDirective, decorators: [{
|
|
1206
1162
|
type: Directive,
|
|
1207
1163
|
args: [{
|
|
1208
1164
|
selector: '[appNavDropdown]'
|
|
@@ -1220,9 +1176,9 @@ class NavDropdownToggleDirective {
|
|
|
1220
1176
|
this.dropdown.toggle();
|
|
1221
1177
|
}
|
|
1222
1178
|
}
|
|
1223
|
-
NavDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1224
|
-
NavDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1179
|
+
NavDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownToggleDirective, deps: [{ token: NavDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1180
|
+
NavDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NavDropdownToggleDirective, selector: "[appNavDropdownToggle]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 });
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NavDropdownToggleDirective, decorators: [{
|
|
1226
1182
|
type: Directive,
|
|
1227
1183
|
args: [{
|
|
1228
1184
|
selector: '[appNavDropdownToggle]'
|
|
@@ -1232,6 +1188,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1232
1188
|
args: ['click', ['$event']]
|
|
1233
1189
|
}] } });
|
|
1234
1190
|
|
|
1191
|
+
class AppSidebarNavLabelComponent {
|
|
1192
|
+
constructor(helper) {
|
|
1193
|
+
this.helper = helper;
|
|
1194
|
+
this.item = {};
|
|
1195
|
+
this.classes = {
|
|
1196
|
+
'nav-label': true,
|
|
1197
|
+
active: true
|
|
1198
|
+
};
|
|
1199
|
+
this.iconClasses = {};
|
|
1200
|
+
}
|
|
1201
|
+
ngOnInit() {
|
|
1202
|
+
this.iconClasses = this.helper.getIconClass(this.item);
|
|
1203
|
+
}
|
|
1204
|
+
getItemClass() {
|
|
1205
|
+
const itemClass = this.item.class;
|
|
1206
|
+
// @ts-ignore
|
|
1207
|
+
this.classes[itemClass] = !!itemClass;
|
|
1208
|
+
return this.classes;
|
|
1209
|
+
}
|
|
1210
|
+
getLabelIconClass() {
|
|
1211
|
+
const variant = `text-${this.item.label?.variant}`;
|
|
1212
|
+
// @ts-ignore
|
|
1213
|
+
this.iconClasses[variant] = !!this.item.label?.variant;
|
|
1214
|
+
const labelClass = this.item.label?.class;
|
|
1215
|
+
// @ts-ignore
|
|
1216
|
+
this.iconClasses[labelClass] = !!labelClass;
|
|
1217
|
+
return this.iconClasses;
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
AppSidebarNavLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1221
|
+
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" }] });
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavLabelComponent, decorators: [{
|
|
1223
|
+
type: Component,
|
|
1224
|
+
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" }]
|
|
1225
|
+
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1226
|
+
type: Input
|
|
1227
|
+
}] } });
|
|
1228
|
+
|
|
1235
1229
|
class AppSidebarNavItemClassPipe {
|
|
1236
1230
|
constructor(helper) {
|
|
1237
1231
|
this.helper = helper;
|
|
@@ -1251,9 +1245,9 @@ class AppSidebarNavItemClassPipe {
|
|
|
1251
1245
|
return item.class ? `${itemClass} ${item.class}` : itemClass;
|
|
1252
1246
|
}
|
|
1253
1247
|
}
|
|
1254
|
-
AppSidebarNavItemClassPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1255
|
-
AppSidebarNavItemClassPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
1256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1248
|
+
AppSidebarNavItemClassPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1249
|
+
AppSidebarNavItemClassPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, name: "appSidebarNavItemClass" });
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemClassPipe, decorators: [{
|
|
1257
1251
|
type: Pipe,
|
|
1258
1252
|
args: [{
|
|
1259
1253
|
name: 'appSidebarNavItemClass'
|
|
@@ -1280,8 +1274,8 @@ class AppSidebarNavItemsComponent {
|
|
|
1280
1274
|
}
|
|
1281
1275
|
}
|
|
1282
1276
|
}
|
|
1283
|
-
AppSidebarNavItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1284
|
-
AppSidebarNavItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1277
|
+
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 });
|
|
1278
|
+
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: `
|
|
1285
1279
|
<ng-container *ngFor="let item of items">
|
|
1286
1280
|
<ng-container [ngSwitch]="helper.itemType(item)">
|
|
1287
1281
|
<app-sidebar-nav-dropdown
|
|
@@ -1323,8 +1317,8 @@ AppSidebarNavItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1323
1317
|
</app-sidebar-nav-link>
|
|
1324
1318
|
</ng-container>
|
|
1325
1319
|
</ng-container>
|
|
1326
|
-
`, isInline: true,
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1320
|
+
`, 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" }] });
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavItemsComponent, decorators: [{
|
|
1328
1322
|
type: Component,
|
|
1329
1323
|
args: [{
|
|
1330
1324
|
selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',
|
|
@@ -1384,8 +1378,8 @@ class AppSidebarNavDropdownComponent {
|
|
|
1384
1378
|
this.item = {};
|
|
1385
1379
|
}
|
|
1386
1380
|
}
|
|
1387
|
-
AppSidebarNavDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1388
|
-
AppSidebarNavDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1381
|
+
AppSidebarNavDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDropdownComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component });
|
|
1382
|
+
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: `
|
|
1389
1383
|
<a class="nav-link nav-dropdown-toggle"
|
|
1390
1384
|
appNavDropdownToggle
|
|
1391
1385
|
[appHtmlAttr]="item.attributes">
|
|
@@ -1397,12 +1391,10 @@ AppSidebarNavDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
1397
1391
|
class="nav-dropdown-items"
|
|
1398
1392
|
[items]="item.children ?? []">
|
|
1399
1393
|
</app-sidebar-nav-items>
|
|
1400
|
-
`, isInline: true, styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"],
|
|
1401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1394
|
+
`, 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" }] });
|
|
1395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavDropdownComponent, decorators: [{
|
|
1402
1396
|
type: Component,
|
|
1403
|
-
args: [{
|
|
1404
|
-
selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',
|
|
1405
|
-
template: `
|
|
1397
|
+
args: [{ selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown', template: `
|
|
1406
1398
|
<a class="nav-link nav-dropdown-toggle"
|
|
1407
1399
|
appNavDropdownToggle
|
|
1408
1400
|
[appHtmlAttr]="item.attributes">
|
|
@@ -1414,13 +1406,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1414
1406
|
class="nav-dropdown-items"
|
|
1415
1407
|
[items]="item.children ?? []">
|
|
1416
1408
|
</app-sidebar-nav-items>
|
|
1417
|
-
`,
|
|
1418
|
-
styles: [
|
|
1419
|
-
'.nav-dropdown-toggle { cursor: pointer; }',
|
|
1420
|
-
'.nav-dropdown-items { display: block; }'
|
|
1421
|
-
],
|
|
1422
|
-
providers: [SidebarNavHelper]
|
|
1423
|
-
}]
|
|
1409
|
+
`, providers: [SidebarNavHelper], styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"] }]
|
|
1424
1410
|
}], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
|
|
1425
1411
|
type: Input
|
|
1426
1412
|
}] } });
|
|
@@ -1437,9 +1423,9 @@ class AppSidebarNavComponent {
|
|
|
1437
1423
|
this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];
|
|
1438
1424
|
}
|
|
1439
1425
|
}
|
|
1440
|
-
AppSidebarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1441
|
-
AppSidebarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1426
|
+
AppSidebarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1427
|
+
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"] }] });
|
|
1428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarNavComponent, decorators: [{
|
|
1443
1429
|
type: Component,
|
|
1444
1430
|
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" }]
|
|
1445
1431
|
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { navItems: [{
|
|
@@ -1465,9 +1451,9 @@ class AppSidebarMinimizerComponent {
|
|
|
1465
1451
|
this.sidebarService.toggle({ minimize: 'toggle' });
|
|
1466
1452
|
}
|
|
1467
1453
|
}
|
|
1468
|
-
AppSidebarMinimizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1469
|
-
AppSidebarMinimizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1454
|
+
AppSidebarMinimizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarMinimizerComponent, deps: [{ token: AppSidebarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1455
|
+
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 });
|
|
1456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarMinimizerComponent, decorators: [{
|
|
1471
1457
|
type: Component,
|
|
1472
1458
|
args: [{
|
|
1473
1459
|
selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',
|
|
@@ -1491,9 +1477,9 @@ class AppSidebarFooterComponent {
|
|
|
1491
1477
|
this.sidebarFooterClass = true;
|
|
1492
1478
|
}
|
|
1493
1479
|
}
|
|
1494
|
-
AppSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1495
|
-
AppSidebarFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1480
|
+
AppSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1481
|
+
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 });
|
|
1482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFooterComponent, decorators: [{
|
|
1497
1483
|
type: Component,
|
|
1498
1484
|
args: [{
|
|
1499
1485
|
selector: 'app-sidebar-footer, cui-sidebar-footer',
|
|
@@ -1509,9 +1495,9 @@ class AppSidebarFormComponent {
|
|
|
1509
1495
|
this.sidebarFormClass = true;
|
|
1510
1496
|
}
|
|
1511
1497
|
}
|
|
1512
|
-
AppSidebarFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1513
|
-
AppSidebarFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1498
|
+
AppSidebarFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1499
|
+
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 });
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarFormComponent, decorators: [{
|
|
1515
1501
|
type: Component,
|
|
1516
1502
|
args: [{
|
|
1517
1503
|
selector: 'app-sidebar-form, cui-sidebar-form',
|
|
@@ -1527,9 +1513,9 @@ class AppSidebarHeaderComponent {
|
|
|
1527
1513
|
this.sidebarHeaderClass = true;
|
|
1528
1514
|
}
|
|
1529
1515
|
}
|
|
1530
|
-
AppSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1531
|
-
AppSidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1516
|
+
AppSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1517
|
+
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 });
|
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarHeaderComponent, decorators: [{
|
|
1533
1519
|
type: Component,
|
|
1534
1520
|
args: [{
|
|
1535
1521
|
selector: 'app-sidebar-header, cui-sidebar-header',
|
|
@@ -1542,8 +1528,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
1542
1528
|
|
|
1543
1529
|
class AppSidebarModule {
|
|
1544
1530
|
}
|
|
1545
|
-
AppSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1546
|
-
AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1531
|
+
AppSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1532
|
+
AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, declarations: [AppSidebarFooterComponent,
|
|
1547
1533
|
AppSidebarFormComponent,
|
|
1548
1534
|
AppSidebarHeaderComponent,
|
|
1549
1535
|
AppSidebarMinimizerComponent,
|
|
@@ -1571,15 +1557,13 @@ AppSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
1571
1557
|
AppSidebarComponent,
|
|
1572
1558
|
// AppSidebarNavItemsComponent,
|
|
1573
1559
|
AppSidebarNavComponent] });
|
|
1574
|
-
AppSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1560
|
+
AppSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, providers: [
|
|
1575
1561
|
SidebarNavHelper,
|
|
1576
1562
|
AppSidebarService
|
|
1577
|
-
], imports: [
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
]] });
|
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppSidebarModule, decorators: [{
|
|
1563
|
+
], imports: [CommonModule,
|
|
1564
|
+
RouterModule,
|
|
1565
|
+
LayoutModule] });
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppSidebarModule, decorators: [{
|
|
1583
1567
|
type: NgModule,
|
|
1584
1568
|
args: [{
|
|
1585
1569
|
imports: [
|