@coreui/angular 2.19.1 → 2.20.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 +8 -8
- package/fesm2022/coreui-angular.mjs +293 -263
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/index.d.ts +514 -3
- package/package.json +5 -5
- package/lib/aside/app-aside.component.d.ts +0 -19
- package/lib/aside/app-aside.module.d.ts +0 -7
- package/lib/aside/index.d.ts +0 -1
- package/lib/aside/public_api.d.ts +0 -2
- package/lib/breadcrumb/app-breadcrumb.component.d.ts +0 -19
- package/lib/breadcrumb/app-breadcrumb.module.d.ts +0 -10
- package/lib/breadcrumb/app-breadcrumb.service.d.ts +0 -12
- package/lib/breadcrumb/cui-breadcrumb.component.d.ts +0 -18
- package/lib/breadcrumb/index.d.ts +0 -1
- package/lib/breadcrumb/public_api.d.ts +0 -3
- package/lib/footer/app-footer.component.d.ts +0 -15
- package/lib/footer/app-footer.module.d.ts +0 -7
- package/lib/footer/index.d.ts +0 -1
- package/lib/footer/public_api.d.ts +0 -2
- package/lib/header/app-header.component.d.ts +0 -34
- package/lib/header/app-header.module.d.ts +0 -7
- package/lib/header/index.d.ts +0 -1
- package/lib/header/public_api.d.ts +0 -2
- package/lib/shared/classes.d.ts +0 -2
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/layout/layout.directive.d.ts +0 -78
- package/lib/shared/layout/layout.module.d.ts +0 -7
- package/lib/shared/public_api.d.ts +0 -4
- package/lib/shared/replace.d.ts +0 -1
- package/lib/shared/toggle-classes.d.ts +0 -12
- package/lib/sidebar/app-sidebar-footer.component.d.ts +0 -7
- package/lib/sidebar/app-sidebar-form.component.d.ts +0 -6
- package/lib/sidebar/app-sidebar-header.component.d.ts +0 -6
- package/lib/sidebar/app-sidebar-minimizer.component.d.ts +0 -11
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.d.ts +0 -7
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.d.ts +0 -7
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.d.ts +0 -7
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.d.ts +0 -10
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +0 -27
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.d.ts +0 -19
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +0 -34
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.d.ts +0 -7
- package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.d.ts +0 -16
- package/lib/sidebar/app-sidebar-nav.component.d.ts +0 -15
- package/lib/sidebar/app-sidebar-nav.d.ts +0 -50
- package/lib/sidebar/app-sidebar-nav.directive.d.ts +0 -20
- package/lib/sidebar/app-sidebar-nav.service.d.ts +0 -21
- package/lib/sidebar/app-sidebar.component.d.ts +0 -33
- package/lib/sidebar/app-sidebar.module.d.ts +0 -24
- package/lib/sidebar/app-sidebar.service.d.ts +0 -12
- package/lib/sidebar/index.d.ts +0 -1
- package/lib/sidebar/public_api.d.ts +0 -9
- package/public-api.d.ts +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Inject, Injectable, HostListener, Input, Directive, NgModule, HostBinding, Component, EventEmitter, Output, Pipe, forwardRef } from '@angular/core';
|
|
3
|
-
import {
|
|
2
|
+
import { DOCUMENT, Inject, Injectable, HostListener, Input, Directive, NgModule, HostBinding, Component, EventEmitter, Output, Pipe, forwardRef } from '@angular/core';
|
|
3
|
+
import { NgClass, AsyncPipe } from '@angular/common';
|
|
4
4
|
import * as i1 from '@angular/router';
|
|
5
5
|
import { NavigationEnd, RouterLink, RouterModule } from '@angular/router';
|
|
6
6
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -54,10 +54,10 @@ class ClassToggler {
|
|
|
54
54
|
this.renderer.addClass(this.document.body, Toggle);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClassToggler, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
58
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClassToggler }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClassToggler, decorators: [{
|
|
61
61
|
type: Injectable
|
|
62
62
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
63
63
|
type: Inject,
|
|
@@ -80,10 +80,10 @@ class SidebarToggleDirective {
|
|
|
80
80
|
const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];
|
|
81
81
|
this.classToggler.toggleClasses(cssClass, sidebarCssClasses);
|
|
82
82
|
}
|
|
83
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
84
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
84
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: SidebarToggleDirective, isStandalone: true, selector: "[appSidebarToggler]", inputs: { breakpoint: ["appSidebarToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0 }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarToggleDirective, decorators: [{
|
|
87
87
|
type: Directive,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: '[appSidebarToggler]',
|
|
@@ -109,10 +109,10 @@ class SidebarMinimizeDirective {
|
|
|
109
109
|
this.renderer.removeClass(body, 'sidebar-minimized') :
|
|
110
110
|
this.renderer.addClass(body, 'sidebar-minimized');
|
|
111
111
|
}
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
113
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarMinimizeDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
113
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: SidebarMinimizeDirective, isStandalone: true, selector: "[appSidebarMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 }); }
|
|
114
114
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarMinimizeDirective, decorators: [{
|
|
116
116
|
type: Directive,
|
|
117
117
|
args: [{
|
|
118
118
|
selector: '[appSidebarMinimizer]',
|
|
@@ -137,10 +137,10 @@ class MobileSidebarToggleDirective {
|
|
|
137
137
|
this.renderer.removeClass(body, 'sidebar-show') :
|
|
138
138
|
this.renderer.addClass(body, 'sidebar-show');
|
|
139
139
|
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: MobileSidebarToggleDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
141
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: MobileSidebarToggleDirective, isStandalone: true, selector: "[appMobileSidebarToggler]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 }); }
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: MobileSidebarToggleDirective, decorators: [{
|
|
144
144
|
type: Directive,
|
|
145
145
|
args: [{
|
|
146
146
|
selector: '[appMobileSidebarToggler]',
|
|
@@ -170,10 +170,10 @@ class SidebarOffCanvasCloseDirective {
|
|
|
170
170
|
this.renderer.addClass(body, 'sidebar-show');
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
174
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarOffCanvasCloseDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
174
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: SidebarOffCanvasCloseDirective, isStandalone: true, selector: "[appSidebarClose]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 }); }
|
|
175
175
|
}
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarOffCanvasCloseDirective, decorators: [{
|
|
177
177
|
type: Directive,
|
|
178
178
|
args: [{
|
|
179
179
|
selector: '[appSidebarClose]',
|
|
@@ -198,10 +198,10 @@ class BrandMinimizeDirective {
|
|
|
198
198
|
this.renderer.removeClass(body, 'brand-minimized') :
|
|
199
199
|
this.renderer.addClass(body, 'brand-minimized');
|
|
200
200
|
}
|
|
201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
202
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: BrandMinimizeDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
202
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: BrandMinimizeDirective, isStandalone: true, selector: "[appBrandMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 }); }
|
|
203
203
|
}
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: BrandMinimizeDirective, decorators: [{
|
|
205
205
|
type: Directive,
|
|
206
206
|
args: [{
|
|
207
207
|
selector: '[appBrandMinimizer]',
|
|
@@ -230,10 +230,10 @@ class AsideToggleDirective {
|
|
|
230
230
|
const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];
|
|
231
231
|
this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);
|
|
232
232
|
}
|
|
233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
234
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AsideToggleDirective, deps: [{ token: ClassToggler }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
234
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: AsideToggleDirective, isStandalone: true, selector: "[appAsideMenuToggler]", inputs: { breakpoint: ["appAsideMenuToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0 }); }
|
|
235
235
|
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AsideToggleDirective, decorators: [{
|
|
237
237
|
type: Directive,
|
|
238
238
|
args: [{
|
|
239
239
|
selector: '[appAsideMenuToggler]',
|
|
@@ -285,10 +285,10 @@ class HtmlAttributesDirective {
|
|
|
285
285
|
this.renderer.setAttribute(this.el.nativeElement, key, value) :
|
|
286
286
|
this.renderer.removeAttribute(this.el.nativeElement, key);
|
|
287
287
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
289
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: HtmlAttributesDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: HtmlAttributesDirective, isStandalone: true, selector: "[appHtmlAttr]", inputs: { appHtmlAttr: "appHtmlAttr" }, ngImport: i0 }); }
|
|
290
290
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: HtmlAttributesDirective, decorators: [{
|
|
292
292
|
type: Directive,
|
|
293
293
|
args: [{
|
|
294
294
|
selector: '[appHtmlAttr]',
|
|
@@ -299,8 +299,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
299
299
|
}] } });
|
|
300
300
|
|
|
301
301
|
class LayoutModule {
|
|
302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
303
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
303
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: LayoutModule, imports: [AsideToggleDirective,
|
|
304
304
|
BrandMinimizeDirective,
|
|
305
305
|
SidebarToggleDirective,
|
|
306
306
|
SidebarMinimizeDirective,
|
|
@@ -313,11 +313,11 @@ class LayoutModule {
|
|
|
313
313
|
SidebarMinimizeDirective,
|
|
314
314
|
SidebarOffCanvasCloseDirective,
|
|
315
315
|
HtmlAttributesDirective] }); }
|
|
316
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
316
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: LayoutModule, providers: [
|
|
317
317
|
ClassToggler
|
|
318
318
|
] }); }
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: LayoutModule, decorators: [{
|
|
321
321
|
type: NgModule,
|
|
322
322
|
args: [{
|
|
323
323
|
imports: [
|
|
@@ -387,10 +387,10 @@ class AppAsideComponent {
|
|
|
387
387
|
this.renderer.addClass(this.document.body, cssClass);
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
391
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppAsideComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
391
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppAsideComponent, isStandalone: true, selector: "app-aside, cui-aside", inputs: { display: "display", fixed: "fixed", offCanvas: "offCanvas" }, host: { properties: { "class.aside-menu": "this.asideMenuClass" } }, ngImport: i0, template: `<ng-content />`, isInline: true }); }
|
|
392
392
|
}
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppAsideComponent, decorators: [{
|
|
394
394
|
type: Component,
|
|
395
395
|
args: [{
|
|
396
396
|
selector: 'app-aside, cui-aside',
|
|
@@ -412,11 +412,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
412
412
|
}] } });
|
|
413
413
|
|
|
414
414
|
class AppAsideModule {
|
|
415
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
416
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
417
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppAsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
416
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppAsideModule, imports: [AppAsideComponent], exports: [AppAsideComponent] }); }
|
|
417
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppAsideModule }); }
|
|
418
418
|
}
|
|
419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppAsideModule, decorators: [{
|
|
420
420
|
type: NgModule,
|
|
421
421
|
args: [{
|
|
422
422
|
imports: [
|
|
@@ -458,10 +458,10 @@ class AppBreadcrumbService {
|
|
|
458
458
|
return breadcrumbs;
|
|
459
459
|
});
|
|
460
460
|
}
|
|
461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
462
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbService, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbService, providedIn: 'root' }); }
|
|
463
463
|
}
|
|
464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbService, decorators: [{
|
|
465
465
|
type: Injectable,
|
|
466
466
|
args: [{
|
|
467
467
|
providedIn: 'root'
|
|
@@ -489,33 +489,43 @@ class AppBreadcrumbComponent {
|
|
|
489
489
|
this.renderer.addClass(this.document.body, this.fixedClass);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
493
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppBreadcrumbService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppBreadcrumbComponent, isStandalone: true, selector: "app-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0, template: `
|
|
494
|
+
@for (breadcrumb of breadcrumbs | async; track breadcrumb; let last = $last) {
|
|
495
|
+
@if (breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)) {
|
|
496
|
+
<li class="breadcrumb-item"
|
|
497
497
|
[ngClass]="{active: last}">
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
498
|
+
@if (!last) {
|
|
499
|
+
<a [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</a>
|
|
500
|
+
}
|
|
501
|
+
@if (last) {
|
|
502
|
+
<span [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</span>
|
|
503
|
+
}
|
|
504
|
+
</li>
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
503
508
|
}
|
|
504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbComponent, decorators: [{
|
|
505
510
|
type: Component,
|
|
506
511
|
args: [{
|
|
507
512
|
selector: 'app-breadcrumb',
|
|
508
513
|
template: `
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
514
|
+
@for (breadcrumb of breadcrumbs | async; track breadcrumb; let last = $last) {
|
|
515
|
+
@if (breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)) {
|
|
516
|
+
<li class="breadcrumb-item"
|
|
512
517
|
[ngClass]="{active: last}">
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
@if (!last) {
|
|
519
|
+
<a [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</a>
|
|
520
|
+
}
|
|
521
|
+
@if (last) {
|
|
522
|
+
<span [routerLink]="breadcrumb.url">{{breadcrumb.label.title}}</span>
|
|
523
|
+
}
|
|
524
|
+
</li>
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
`,
|
|
528
|
+
imports: [NgClass, RouterLink, AsyncPipe]
|
|
519
529
|
}]
|
|
520
530
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
521
531
|
type: Inject,
|
|
@@ -543,12 +553,12 @@ class CuiBreadcrumbComponent {
|
|
|
543
553
|
this.renderer.addClass(this.document.body, this.fixedClass);
|
|
544
554
|
}
|
|
545
555
|
}
|
|
546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
547
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
556
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: CuiBreadcrumbComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppBreadcrumbService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
557
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: CuiBreadcrumbComponent, isStandalone: true, selector: "cui-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\n @for (breadcrumb of breadcrumbs | async; track breadcrumb; let last = $last) {\n @if (breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)) {\n <li class=\"breadcrumb-item\"\n [ngClass]=\"{active: last}\">\n @if (!last) {\n <a [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\n }\n @if (last) {\n <span [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\n }\n </li>\n }\n }\n <ng-content />\n</ol>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
548
558
|
}
|
|
549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: CuiBreadcrumbComponent, decorators: [{
|
|
550
560
|
type: Component,
|
|
551
|
-
args: [{ selector: 'cui-breadcrumb', imports: [
|
|
561
|
+
args: [{ selector: 'cui-breadcrumb', imports: [NgClass, RouterLink, AsyncPipe], template: "<ol class=\"breadcrumb\">\n @for (breadcrumb of breadcrumbs | async; track breadcrumb; let last = $last) {\n @if (breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)) {\n <li class=\"breadcrumb-item\"\n [ngClass]=\"{active: last}\">\n @if (!last) {\n <a [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\n }\n @if (last) {\n <span [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\n }\n </li>\n }\n }\n <ng-content />\n</ol>\n" }]
|
|
552
562
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
553
563
|
type: Inject,
|
|
554
564
|
args: [DOCUMENT]
|
|
@@ -566,11 +576,11 @@ class AppBreadcrumbModule {
|
|
|
566
576
|
]
|
|
567
577
|
};
|
|
568
578
|
}
|
|
569
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
570
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
571
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
580
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbModule, imports: [AppBreadcrumbComponent, CuiBreadcrumbComponent], exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent] }); }
|
|
581
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbModule }); }
|
|
572
582
|
}
|
|
573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppBreadcrumbModule, decorators: [{
|
|
574
584
|
type: NgModule,
|
|
575
585
|
args: [{
|
|
576
586
|
imports: [AppBreadcrumbComponent, CuiBreadcrumbComponent],
|
|
@@ -596,10 +606,10 @@ class AppFooterComponent {
|
|
|
596
606
|
this.renderer.addClass(this.document.body, this.fixedClass);
|
|
597
607
|
}
|
|
598
608
|
}
|
|
599
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
600
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
609
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppFooterComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
610
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppFooterComponent, isStandalone: true, selector: "app-footer, cui-footer", inputs: { fixed: "fixed" }, host: { properties: { "class.app-footer": "this.appFooterClass" } }, ngImport: i0, template: `<ng-content />`, isInline: true }); }
|
|
601
611
|
}
|
|
602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppFooterComponent, decorators: [{
|
|
603
613
|
type: Component,
|
|
604
614
|
args: [{
|
|
605
615
|
selector: 'app-footer, cui-footer',
|
|
@@ -617,11 +627,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
617
627
|
}] } });
|
|
618
628
|
|
|
619
629
|
class AppFooterModule {
|
|
620
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
621
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
622
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
630
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
631
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppFooterModule, imports: [AppFooterComponent], exports: [AppFooterComponent] }); }
|
|
632
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppFooterModule }); }
|
|
623
633
|
}
|
|
624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppFooterModule, decorators: [{
|
|
625
635
|
type: NgModule,
|
|
626
636
|
args: [{
|
|
627
637
|
imports: [AppFooterComponent],
|
|
@@ -681,12 +691,12 @@ class AppHeaderComponent {
|
|
|
681
691
|
}
|
|
682
692
|
return togglerClass;
|
|
683
693
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
685
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
695
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppHeaderComponent, isStandalone: true, 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: "@if (mobileSidebarToggler != false) {\n <button class=\"navbar-toggler {{sidebarTogglerMobileClass}}\" type=\"button\" appSidebarToggler>\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n<a class=\"navbar-brand\" [routerLink]=\"navbarBrandRouterLink\">\n @if (navbarBrandImg) {\n @if (navbarBrand) {\n <img\n [appHtmlAttr]=\"navbarBrand\"\n [ngClass]=\"'navbar-brand'\">\n }\n @if (navbarBrandFull) {\n <img\n [appHtmlAttr]=\"navbarBrandFull\"\n [ngClass]=\"'navbar-brand-full'\">\n }\n @if (navbarBrandMinimized) {\n <img\n [appHtmlAttr]=\"navbarBrandMinimized\"\n [ngClass]=\"'navbar-brand-minimized'\">\n }\n }\n @if (!navbarBrandImg) {\n <div class=\"navbar-brand-full\" [innerHTML]=\"navbarBrandText.text\"></div>\n <div class=\"navbar-brand-minimized\" [innerHTML]=\"navbarBrandText.icon\"></div>\n }\n</a>\n@if (sidebarToggler != false) {\n <button class=\"navbar-toggler {{sidebarTogglerClass}}\" type=\"button\" [appSidebarToggler]=\"sidebarToggler\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n<ng-content />\n@if (asideMenuToggler != false) {\n <button class=\"navbar-toggler {{asideTogglerClass}}\" type=\"button\" [appAsideMenuToggler]=\"asideMenuToggler\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n@if (mobileAsideMenuToggler != false) {\n <button class=\"navbar-toggler {{asideTogglerMobileClass}}\" type=\"button\" appAsideMenuToggler>\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: SidebarToggleDirective, selector: "[appSidebarToggler]", inputs: ["appSidebarToggler"] }, { kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "directive", type: AsideToggleDirective, selector: "[appAsideMenuToggler]", inputs: ["appAsideMenuToggler"] }] }); }
|
|
686
696
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderComponent, decorators: [{
|
|
688
698
|
type: Component,
|
|
689
|
-
args: [{ selector: 'app-header, cui-header', standalone: true, imports: [RouterLink,
|
|
699
|
+
args: [{ selector: 'app-header, cui-header', standalone: true, imports: [RouterLink, NgClass, SidebarToggleDirective, HtmlAttributesDirective, AsideToggleDirective], template: "@if (mobileSidebarToggler != false) {\n <button class=\"navbar-toggler {{sidebarTogglerMobileClass}}\" type=\"button\" appSidebarToggler>\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n<a class=\"navbar-brand\" [routerLink]=\"navbarBrandRouterLink\">\n @if (navbarBrandImg) {\n @if (navbarBrand) {\n <img\n [appHtmlAttr]=\"navbarBrand\"\n [ngClass]=\"'navbar-brand'\">\n }\n @if (navbarBrandFull) {\n <img\n [appHtmlAttr]=\"navbarBrandFull\"\n [ngClass]=\"'navbar-brand-full'\">\n }\n @if (navbarBrandMinimized) {\n <img\n [appHtmlAttr]=\"navbarBrandMinimized\"\n [ngClass]=\"'navbar-brand-minimized'\">\n }\n }\n @if (!navbarBrandImg) {\n <div class=\"navbar-brand-full\" [innerHTML]=\"navbarBrandText.text\"></div>\n <div class=\"navbar-brand-minimized\" [innerHTML]=\"navbarBrandText.icon\"></div>\n }\n</a>\n@if (sidebarToggler != false) {\n <button class=\"navbar-toggler {{sidebarTogglerClass}}\" type=\"button\" [appSidebarToggler]=\"sidebarToggler\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n<ng-content />\n@if (asideMenuToggler != false) {\n <button class=\"navbar-toggler {{asideTogglerClass}}\" type=\"button\" [appAsideMenuToggler]=\"asideMenuToggler\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n@if (mobileAsideMenuToggler != false) {\n <button class=\"navbar-toggler {{asideTogglerMobileClass}}\" type=\"button\" appAsideMenuToggler>\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n}\n" }]
|
|
690
700
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
691
701
|
type: Inject,
|
|
692
702
|
args: [DOCUMENT]
|
|
@@ -721,11 +731,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
721
731
|
}] } });
|
|
722
732
|
|
|
723
733
|
class AppHeaderModule {
|
|
724
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
725
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
726
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
735
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderModule, imports: [AppHeaderComponent], exports: [AppHeaderComponent] }); }
|
|
736
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderModule }); }
|
|
727
737
|
}
|
|
728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppHeaderModule, decorators: [{
|
|
729
739
|
type: NgModule,
|
|
730
740
|
args: [{
|
|
731
741
|
imports: [
|
|
@@ -745,10 +755,10 @@ class AppSidebarService {
|
|
|
745
755
|
toggle(action) {
|
|
746
756
|
this.events.next(action);
|
|
747
757
|
}
|
|
748
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
749
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
759
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarService, providedIn: 'root' }); }
|
|
750
760
|
}
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarService, decorators: [{
|
|
752
762
|
type: Injectable,
|
|
753
763
|
args: [{
|
|
754
764
|
providedIn: 'root'
|
|
@@ -833,10 +843,10 @@ class AppSidebarComponent {
|
|
|
833
843
|
this.renderer.removeClass(body, 'brand-minimized');
|
|
834
844
|
}
|
|
835
845
|
}
|
|
836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
837
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: AppSidebarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
847
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarComponent, isStandalone: true, 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 />`, isInline: true }); }
|
|
838
848
|
}
|
|
839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarComponent, decorators: [{
|
|
840
850
|
type: Component,
|
|
841
851
|
args: [{
|
|
842
852
|
selector: 'app-sidebar, cui-sidebar',
|
|
@@ -864,10 +874,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
864
874
|
}] } });
|
|
865
875
|
|
|
866
876
|
class SidebarNavService {
|
|
867
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
868
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
877
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
878
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavService }); }
|
|
869
879
|
}
|
|
870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavService, decorators: [{
|
|
871
881
|
type: Injectable
|
|
872
882
|
}] });
|
|
873
883
|
class SidebarNavHelper {
|
|
@@ -907,10 +917,10 @@ class SidebarNavHelper {
|
|
|
907
917
|
}
|
|
908
918
|
return classes;
|
|
909
919
|
}
|
|
910
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
911
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
921
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavHelper }); }
|
|
912
922
|
}
|
|
913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SidebarNavHelper, decorators: [{
|
|
914
924
|
type: Injectable
|
|
915
925
|
}] });
|
|
916
926
|
|
|
@@ -932,10 +942,10 @@ class AppSidebarNavItemClassPipe {
|
|
|
932
942
|
}
|
|
933
943
|
return item.class ? `${itemClass} ${item.class}` : itemClass;
|
|
934
944
|
}
|
|
935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
936
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavItemClassPipe, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
946
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavItemClassPipe, isStandalone: true, name: "appSidebarNavItemClass" }); }
|
|
937
947
|
}
|
|
938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavItemClassPipe, decorators: [{
|
|
939
949
|
type: Pipe,
|
|
940
950
|
args: [{
|
|
941
951
|
name: 'appSidebarNavItemClass',
|
|
@@ -953,10 +963,10 @@ class AppSidebarNavBadgePipe {
|
|
|
953
963
|
classes[item.badge.class] = !!item.badge.class;
|
|
954
964
|
return classes;
|
|
955
965
|
}
|
|
956
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
957
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavBadgePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
967
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavBadgePipe, isStandalone: true, name: "appSidebarNavBadge" }); }
|
|
958
968
|
}
|
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavBadgePipe, decorators: [{
|
|
960
970
|
type: Pipe,
|
|
961
971
|
args: [{
|
|
962
972
|
name: 'appSidebarNavBadge',
|
|
@@ -973,10 +983,10 @@ class AppSidebarNavIconPipe {
|
|
|
973
983
|
classes[icon] = !!item.icon;
|
|
974
984
|
return classes;
|
|
975
985
|
}
|
|
976
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
977
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
987
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavIconPipe, isStandalone: true, name: "appSidebarNavIcon" }); }
|
|
978
988
|
}
|
|
979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavIconPipe, decorators: [{
|
|
980
990
|
type: Pipe,
|
|
981
991
|
args: [{
|
|
982
992
|
name: 'appSidebarNavIcon',
|
|
@@ -993,10 +1003,10 @@ class AppSidebarNavLinkPipe {
|
|
|
993
1003
|
classes[`nav-link-${item.variant}`] = !!item.variant;
|
|
994
1004
|
return classes;
|
|
995
1005
|
}
|
|
996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
997
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1007
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkPipe, isStandalone: true, name: "appSidebarNavLink" }); }
|
|
998
1008
|
}
|
|
999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkPipe, decorators: [{
|
|
1000
1010
|
type: Pipe,
|
|
1001
1011
|
args: [{
|
|
1002
1012
|
name: 'appSidebarNavLink',
|
|
@@ -1009,29 +1019,37 @@ class AppSidebarNavLinkContentComponent {
|
|
|
1009
1019
|
this.helper = helper;
|
|
1010
1020
|
this.item = {};
|
|
1011
1021
|
}
|
|
1012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1013
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1014
|
-
|
|
1015
|
-
|
|
1022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkContentComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1023
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppSidebarNavLinkContentComponent, isStandalone: true, selector: "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0, template: `
|
|
1024
|
+
@if (true) {
|
|
1025
|
+
@if (helper.hasIcon(item)) {
|
|
1026
|
+
<i [ngClass]="item | appSidebarNavIcon"></i>
|
|
1027
|
+
}
|
|
1016
1028
|
<ng-container>{{item.name}}</ng-container>
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1029
|
+
@if (helper.hasBadge(item)) {
|
|
1030
|
+
<span [ngClass]="item | appSidebarNavBadge">{{ item.badge?.text }}</span>
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" }, { kind: "pipe", type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }] }); }
|
|
1020
1034
|
}
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkContentComponent, decorators: [{
|
|
1022
1036
|
type: Component,
|
|
1023
1037
|
args: [{
|
|
1024
1038
|
selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
|
|
1025
1039
|
template: `
|
|
1026
|
-
|
|
1027
|
-
|
|
1040
|
+
@if (true) {
|
|
1041
|
+
@if (helper.hasIcon(item)) {
|
|
1042
|
+
<i [ngClass]="item | appSidebarNavIcon"></i>
|
|
1043
|
+
}
|
|
1028
1044
|
<ng-container>{{item.name}}</ng-container>
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1045
|
+
@if (helper.hasBadge(item)) {
|
|
1046
|
+
<span [ngClass]="item | appSidebarNavBadge">{{ item.badge?.text }}</span>
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
`,
|
|
1032
1050
|
providers: [SidebarNavHelper],
|
|
1033
1051
|
standalone: true,
|
|
1034
|
-
imports: [
|
|
1052
|
+
imports: [NgClass, AppSidebarNavIconPipe, AppSidebarNavBadgePipe]
|
|
1035
1053
|
}]
|
|
1036
1054
|
}], ctorParameters: () => [{ type: SidebarNavHelper }], propDecorators: { item: [{
|
|
1037
1055
|
type: Input
|
|
@@ -1077,12 +1095,12 @@ class AppSidebarNavLinkComponent {
|
|
|
1077
1095
|
linkClicked() {
|
|
1078
1096
|
this.linkClick.emit();
|
|
1079
1097
|
}
|
|
1080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1081
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1099
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppSidebarNavLinkComponent, isStandalone: true, selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: { item: "item" }, outputs: { linkClick: "linkClick" }, providers: [SidebarNavHelper], ngImport: i0, template: "\n@switch (linkType) {\n @case ('disabled') {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [appHtmlAttr]=\"item.attributes\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n @case ('external') {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [href]=\"href\"\n [appHtmlAttr]=\"item.attributes\"\n (click)=\"linkClicked()\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n @default {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [appHtmlAttr]=\"item.attributes\"\n [target]=\"item.attributes?.target\"\n [queryParams]=\"item.linkProps?.queryParams\"\n [fragment]=\"item.linkProps?.fragment\"\n [queryParamsHandling]=\"item.linkProps?.queryParamsHandling\"\n [preserveFragment]=\"!!item.linkProps?.preserveFragment\"\n [skipLocationChange]=\"!!item.linkProps?.skipLocationChange\"\n [replaceUrl]=\"!!item.linkProps?.replaceUrl\"\n [state]=\"item.linkProps?.state\"\n [routerLink]=\"item.url\"\n [routerLinkActive]=\"item.linkProps?.routerLinkActive || 'active'\"\n [routerLinkActiveOptions]=\"item.linkProps?.routerLinkActiveOptions ?? {exact: false}\"\n [class.active]=\"linkActive && !item.linkProps?.routerLinkActiveOptions\"\n (click)=\"linkClicked()\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "pipe", type: AppSidebarNavLinkPipe, name: "appSidebarNavLink" }] }); }
|
|
1082
1100
|
}
|
|
1083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLinkComponent, decorators: [{
|
|
1084
1102
|
type: Component,
|
|
1085
|
-
args: [{ selector: 'app-sidebar-nav-link, cui-sidebar-nav-link', providers: [SidebarNavHelper], standalone: true, imports: [
|
|
1103
|
+
args: [{ selector: 'app-sidebar-nav-link, cui-sidebar-nav-link', providers: [SidebarNavHelper], standalone: true, imports: [NgClass, AppSidebarNavLinkPipe, HtmlAttributesDirective, AppSidebarNavLinkContentComponent, RouterModule], template: "\n@switch (linkType) {\n @case ('disabled') {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [appHtmlAttr]=\"item.attributes\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n @case ('external') {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [href]=\"href\"\n [appHtmlAttr]=\"item.attributes\"\n (click)=\"linkClicked()\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n @default {\n <a\n [ngClass]=\"item | appSidebarNavLink\"\n [appHtmlAttr]=\"item.attributes\"\n [target]=\"item.attributes?.target\"\n [queryParams]=\"item.linkProps?.queryParams\"\n [fragment]=\"item.linkProps?.fragment\"\n [queryParamsHandling]=\"item.linkProps?.queryParamsHandling\"\n [preserveFragment]=\"!!item.linkProps?.preserveFragment\"\n [skipLocationChange]=\"!!item.linkProps?.skipLocationChange\"\n [replaceUrl]=\"!!item.linkProps?.replaceUrl\"\n [state]=\"item.linkProps?.state\"\n [routerLink]=\"item.url\"\n [routerLinkActive]=\"item.linkProps?.routerLinkActive || 'active'\"\n [routerLinkActiveOptions]=\"item.linkProps?.routerLinkActiveOptions ?? {exact: false}\"\n [class.active]=\"linkActive && !item.linkProps?.routerLinkActiveOptions\"\n (click)=\"linkClicked()\"\n >\n <app-sidebar-nav-link-content [item]=\"item\" />\n </a>\n }\n}\n" }]
|
|
1086
1104
|
}], ctorParameters: () => [{ type: i1.Router }], propDecorators: { item: [{
|
|
1087
1105
|
type: Input
|
|
1088
1106
|
}], linkClick: [{
|
|
@@ -1117,12 +1135,12 @@ class AppSidebarNavLabelComponent {
|
|
|
1117
1135
|
this.iconClasses[labelClass] = !!labelClass;
|
|
1118
1136
|
return this.iconClasses;
|
|
1119
1137
|
}
|
|
1120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1121
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppSidebarNavLabelComponent, isStandalone: true, selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: { item: "item" }, ngImport: i0, template: "<a [ngClass]=\"getItemClass()\"\n href=\"{{item.url}}\"\n [appHtmlAttr]=\"item.attributes\">\n @if (helper.hasIcon(item)) {\n <i [ngClass]=\"getLabelIconClass()\"></i>\n }\n <ng-container>{{item.name}}</ng-container>\n @if (helper.hasBadge(item)) {\n <span [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\n }\n</a>\n", dependencies: [{ kind: "directive", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }] }); }
|
|
1122
1140
|
}
|
|
1123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavLabelComponent, decorators: [{
|
|
1124
1142
|
type: Component,
|
|
1125
|
-
args: [{ selector: 'app-sidebar-nav-label, cui-sidebar-nav-label', standalone: true, imports: [AppSidebarNavBadgePipe, HtmlAttributesDirective,
|
|
1143
|
+
args: [{ selector: 'app-sidebar-nav-label, cui-sidebar-nav-label', standalone: true, imports: [AppSidebarNavBadgePipe, HtmlAttributesDirective, NgClass], template: "<a [ngClass]=\"getItemClass()\"\n href=\"{{item.url}}\"\n [appHtmlAttr]=\"item.attributes\">\n @if (helper.hasIcon(item)) {\n <i [ngClass]=\"getLabelIconClass()\"></i>\n }\n <ng-container>{{item.name}}</ng-container>\n @if (helper.hasBadge(item)) {\n <span [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\n }\n</a>\n" }]
|
|
1126
1144
|
}], ctorParameters: () => [{ type: SidebarNavHelper }], propDecorators: { item: [{
|
|
1127
1145
|
type: Input
|
|
1128
1146
|
}] } });
|
|
@@ -1179,10 +1197,10 @@ class AppSidebarNavTitleComponent {
|
|
|
1179
1197
|
setAttrib(key, value, el) {
|
|
1180
1198
|
this.renderer.setAttribute(el, key, value);
|
|
1181
1199
|
}
|
|
1182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1183
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1201
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarNavTitleComponent, isStandalone: true, selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: { item: "item" }, ngImport: i0, template: '', isInline: true }); }
|
|
1184
1202
|
}
|
|
1185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavTitleComponent, decorators: [{
|
|
1186
1204
|
type: Component,
|
|
1187
1205
|
args: [{
|
|
1188
1206
|
selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
|
|
@@ -1194,10 +1212,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
1194
1212
|
}] } });
|
|
1195
1213
|
|
|
1196
1214
|
class AppSidebarNavDividerComponent {
|
|
1197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1198
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1216
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarNavDividerComponent, isStandalone: true, selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: { item: "item" }, ngImport: i0, template: ``, isInline: true }); }
|
|
1199
1217
|
}
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavDividerComponent, decorators: [{
|
|
1201
1219
|
type: Component,
|
|
1202
1220
|
args: [{
|
|
1203
1221
|
selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',
|
|
@@ -1218,10 +1236,10 @@ class NavDropdownDirective {
|
|
|
1218
1236
|
this.renderer.removeClass(this.elementRef.nativeElement, 'open') :
|
|
1219
1237
|
this.renderer.addClass(this.elementRef.nativeElement, 'open');
|
|
1220
1238
|
}
|
|
1221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1222
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NavDropdownDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1240
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: NavDropdownDirective, isStandalone: true, selector: "[appNavDropdown]", ngImport: i0 }); }
|
|
1223
1241
|
}
|
|
1224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NavDropdownDirective, decorators: [{
|
|
1225
1243
|
type: Directive,
|
|
1226
1244
|
args: [{
|
|
1227
1245
|
selector: '[appNavDropdown]',
|
|
@@ -1239,10 +1257,10 @@ class NavDropdownToggleDirective {
|
|
|
1239
1257
|
$event.preventDefault();
|
|
1240
1258
|
this.dropdown.toggle();
|
|
1241
1259
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1243
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NavDropdownToggleDirective, deps: [{ token: NavDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1261
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: NavDropdownToggleDirective, isStandalone: true, selector: "[appNavDropdownToggle]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0 }); }
|
|
1244
1262
|
}
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NavDropdownToggleDirective, decorators: [{
|
|
1246
1264
|
type: Directive,
|
|
1247
1265
|
args: [{
|
|
1248
1266
|
selector: '[appNavDropdownToggle]',
|
|
@@ -1275,103 +1293,107 @@ class AppSidebarNavItemsComponent {
|
|
|
1275
1293
|
this.renderer.removeClass(this.document.body, 'sidebar-show');
|
|
1276
1294
|
}
|
|
1277
1295
|
}
|
|
1278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1279
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavItemsComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i1.Router }, { token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1297
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppSidebarNavItemsComponent, isStandalone: true, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: { items: "items" }, ngImport: i0, template: `
|
|
1298
|
+
@for (item of items; track item) {
|
|
1299
|
+
@switch (helper.itemType(item)) {
|
|
1300
|
+
@case ('dropdown') {
|
|
1301
|
+
<app-sidebar-nav-dropdown
|
|
1302
|
+
[item]="item"
|
|
1303
|
+
[class.open]="helper.isActive(router, item)"
|
|
1304
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1305
|
+
appNavDropdown>
|
|
1306
|
+
</app-sidebar-nav-dropdown>
|
|
1307
|
+
}
|
|
1308
|
+
@case ('divider') {
|
|
1309
|
+
<app-sidebar-nav-divider
|
|
1310
|
+
[item]="item"
|
|
1311
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1312
|
+
[appHtmlAttr]="item.attributes">
|
|
1313
|
+
</app-sidebar-nav-divider>
|
|
1314
|
+
}
|
|
1315
|
+
@case ('title') {
|
|
1316
|
+
<app-sidebar-nav-title
|
|
1317
|
+
[item]="item"
|
|
1318
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1319
|
+
[appHtmlAttr]="item.attributes">
|
|
1320
|
+
</app-sidebar-nav-title>
|
|
1321
|
+
}
|
|
1322
|
+
@case ('label') {
|
|
1323
|
+
<app-sidebar-nav-label
|
|
1324
|
+
[item]="item"
|
|
1325
|
+
class="nav-item"
|
|
1326
|
+
[ngClass]="item | appSidebarNavItemClass">
|
|
1327
|
+
</app-sidebar-nav-label>
|
|
1328
|
+
}
|
|
1329
|
+
@case ('empty') {
|
|
1330
|
+
}
|
|
1331
|
+
@default {
|
|
1332
|
+
<app-sidebar-nav-link
|
|
1333
|
+
[item]="item"
|
|
1334
|
+
class="nav-item"
|
|
1335
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1336
|
+
(linkClick)="hideMobile()"
|
|
1337
|
+
>
|
|
1338
|
+
</app-sidebar-nav-link>
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => HtmlAttributesDirective), selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { kind: "component", type: i0.forwardRef(() => AppSidebarNavDropdownComponent), selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: ["item"] }, { kind: "component", type: i0.forwardRef(() => AppSidebarNavLinkComponent), selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: ["item"], outputs: ["linkClick"] }, { kind: "component", type: i0.forwardRef(() => AppSidebarNavLabelComponent), selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: ["item"] }, { kind: "component", type: i0.forwardRef(() => AppSidebarNavTitleComponent), selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: ["item"] }, { kind: "component", type: i0.forwardRef(() => AppSidebarNavDividerComponent), selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: ["item"] }, { kind: "directive", type: i0.forwardRef(() => NavDropdownDirective), selector: "[appNavDropdown]" }, { kind: "pipe", type: i0.forwardRef(() => AppSidebarNavItemClassPipe), name: "appSidebarNavItemClass" }] }); }
|
|
1321
1343
|
}
|
|
1322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavItemsComponent, decorators: [{
|
|
1323
1345
|
type: Component,
|
|
1324
1346
|
args: [{
|
|
1325
1347
|
selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',
|
|
1326
1348
|
template: `
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1349
|
+
@for (item of items; track item) {
|
|
1350
|
+
@switch (helper.itemType(item)) {
|
|
1351
|
+
@case ('dropdown') {
|
|
1352
|
+
<app-sidebar-nav-dropdown
|
|
1353
|
+
[item]="item"
|
|
1354
|
+
[class.open]="helper.isActive(router, item)"
|
|
1355
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1356
|
+
appNavDropdown>
|
|
1357
|
+
</app-sidebar-nav-dropdown>
|
|
1358
|
+
}
|
|
1359
|
+
@case ('divider') {
|
|
1360
|
+
<app-sidebar-nav-divider
|
|
1361
|
+
[item]="item"
|
|
1362
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1363
|
+
[appHtmlAttr]="item.attributes">
|
|
1364
|
+
</app-sidebar-nav-divider>
|
|
1365
|
+
}
|
|
1366
|
+
@case ('title') {
|
|
1367
|
+
<app-sidebar-nav-title
|
|
1368
|
+
[item]="item"
|
|
1369
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1370
|
+
[appHtmlAttr]="item.attributes">
|
|
1371
|
+
</app-sidebar-nav-title>
|
|
1372
|
+
}
|
|
1373
|
+
@case ('label') {
|
|
1374
|
+
<app-sidebar-nav-label
|
|
1375
|
+
[item]="item"
|
|
1376
|
+
class="nav-item"
|
|
1377
|
+
[ngClass]="item | appSidebarNavItemClass">
|
|
1378
|
+
</app-sidebar-nav-label>
|
|
1379
|
+
}
|
|
1380
|
+
@case ('empty') {
|
|
1381
|
+
}
|
|
1382
|
+
@default {
|
|
1383
|
+
<app-sidebar-nav-link
|
|
1384
|
+
[item]="item"
|
|
1385
|
+
class="nav-item"
|
|
1386
|
+
[ngClass]="item | appSidebarNavItemClass"
|
|
1387
|
+
(linkClick)="hideMobile()"
|
|
1388
|
+
>
|
|
1389
|
+
</app-sidebar-nav-link>
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
`,
|
|
1368
1394
|
standalone: true,
|
|
1369
1395
|
// providers: [{provide: DropdownToken, useExisting: forwardRef(()=> AppSidebarNavDropdownComponent)}],
|
|
1370
1396
|
imports: [
|
|
1371
|
-
NgFor,
|
|
1372
|
-
NgSwitch,
|
|
1373
|
-
NgSwitchCase,
|
|
1374
|
-
NgSwitchDefault,
|
|
1375
1397
|
NgClass,
|
|
1376
1398
|
HtmlAttributesDirective,
|
|
1377
1399
|
AppSidebarNavItemClassPipe,
|
|
@@ -1380,7 +1402,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
1380
1402
|
AppSidebarNavLabelComponent,
|
|
1381
1403
|
AppSidebarNavTitleComponent,
|
|
1382
1404
|
AppSidebarNavDividerComponent,
|
|
1383
|
-
NavDropdownDirective
|
|
1405
|
+
NavDropdownDirective
|
|
1384
1406
|
]
|
|
1385
1407
|
}]
|
|
1386
1408
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
@@ -1394,36 +1416,44 @@ class AppSidebarNavDropdownComponent {
|
|
|
1394
1416
|
this.helper = helper;
|
|
1395
1417
|
this.item = {};
|
|
1396
1418
|
}
|
|
1397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1398
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavDropdownComponent, deps: [{ token: SidebarNavHelper }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1420
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.2", type: AppSidebarNavDropdownComponent, isStandalone: true, selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0, template: `
|
|
1399
1421
|
<a class="nav-link nav-dropdown-toggle"
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1422
|
+
appNavDropdownToggle
|
|
1423
|
+
[appHtmlAttr]="item.attributes">
|
|
1424
|
+
@if (helper.hasIcon(item)) {
|
|
1425
|
+
<i [ngClass]="item | appSidebarNavIcon"></i>
|
|
1426
|
+
}
|
|
1403
1427
|
<ng-container>{{item.name}}</ng-container>
|
|
1404
|
-
|
|
1428
|
+
@if (helper.hasBadge(item)) {
|
|
1429
|
+
<span [ngClass]="item | appSidebarNavBadge">{{ item.badge?.text }}</span>
|
|
1430
|
+
}
|
|
1405
1431
|
</a>
|
|
1406
1432
|
<app-sidebar-nav-items
|
|
1407
1433
|
class="nav-dropdown-items"
|
|
1408
1434
|
[items]="item.children ?? []">
|
|
1409
1435
|
</app-sidebar-nav-items>
|
|
1410
|
-
|
|
1436
|
+
`, isInline: true, styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" }, { kind: "pipe", type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" }] }); }
|
|
1411
1437
|
}
|
|
1412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavDropdownComponent, decorators: [{
|
|
1413
1439
|
type: Component,
|
|
1414
1440
|
args: [{ selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown', template: `
|
|
1415
1441
|
<a class="nav-link nav-dropdown-toggle"
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1442
|
+
appNavDropdownToggle
|
|
1443
|
+
[appHtmlAttr]="item.attributes">
|
|
1444
|
+
@if (helper.hasIcon(item)) {
|
|
1445
|
+
<i [ngClass]="item | appSidebarNavIcon"></i>
|
|
1446
|
+
}
|
|
1419
1447
|
<ng-container>{{item.name}}</ng-container>
|
|
1420
|
-
|
|
1448
|
+
@if (helper.hasBadge(item)) {
|
|
1449
|
+
<span [ngClass]="item | appSidebarNavBadge">{{ item.badge?.text }}</span>
|
|
1450
|
+
}
|
|
1421
1451
|
</a>
|
|
1422
1452
|
<app-sidebar-nav-items
|
|
1423
1453
|
class="nav-dropdown-items"
|
|
1424
1454
|
[items]="item.children ?? []">
|
|
1425
1455
|
</app-sidebar-nav-items>
|
|
1426
|
-
|
|
1456
|
+
`, providers: [SidebarNavHelper], standalone: true, imports: [NgClass, HtmlAttributesDirective, AppSidebarNavBadgePipe, AppSidebarNavIconPipe, AppSidebarNavItemsComponent, NavDropdownToggleDirective], styles: [".nav-dropdown-toggle{cursor:pointer}\n", ".nav-dropdown-items{display:block}\n"] }]
|
|
1427
1457
|
}], ctorParameters: () => [{ type: SidebarNavHelper }], propDecorators: { item: [{
|
|
1428
1458
|
type: Input
|
|
1429
1459
|
}] } });
|
|
@@ -1439,10 +1469,10 @@ class AppSidebarNavComponent {
|
|
|
1439
1469
|
ngOnChanges(changes) {
|
|
1440
1470
|
this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];
|
|
1441
1471
|
}
|
|
1442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1443
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1472
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1473
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarNavComponent, isStandalone: true, 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"] }] }); }
|
|
1444
1474
|
}
|
|
1445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarNavComponent, decorators: [{
|
|
1446
1476
|
type: Component,
|
|
1447
1477
|
args: [{ selector: 'app-sidebar-nav, cui-sidebar-nav', standalone: true, imports: [AppSidebarNavItemsComponent], template: "<app-sidebar-nav-items\n class=\"nav\"\n [items]=\"navItemsArray\">\n</app-sidebar-nav-items>\n" }]
|
|
1448
1478
|
}], ctorParameters: () => [{ type: i1.Router }], propDecorators: { navItems: [{
|
|
@@ -1467,10 +1497,10 @@ class AppSidebarMinimizerComponent {
|
|
|
1467
1497
|
this.role = 'button';
|
|
1468
1498
|
this.sidebarMinimizerClass = true;
|
|
1469
1499
|
}
|
|
1470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1471
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarMinimizerComponent, deps: [{ token: AppSidebarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1501
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarMinimizerComponent, isStandalone: true, 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 }); }
|
|
1472
1502
|
}
|
|
1473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarMinimizerComponent, decorators: [{
|
|
1474
1504
|
type: Component,
|
|
1475
1505
|
args: [{
|
|
1476
1506
|
selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',
|
|
@@ -1494,10 +1524,10 @@ class AppSidebarFooterComponent {
|
|
|
1494
1524
|
constructor() {
|
|
1495
1525
|
this.sidebarFooterClass = true;
|
|
1496
1526
|
}
|
|
1497
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1498
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1528
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarFooterComponent, isStandalone: true, selector: "app-sidebar-footer, cui-sidebar-footer", host: { properties: { "class.sidebar-footer": "this.sidebarFooterClass" } }, ngImport: i0, template: `<ng-content />`, isInline: true }); }
|
|
1499
1529
|
}
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarFooterComponent, decorators: [{
|
|
1501
1531
|
type: Component,
|
|
1502
1532
|
args: [{
|
|
1503
1533
|
selector: 'app-sidebar-footer, cui-sidebar-footer',
|
|
@@ -1513,10 +1543,10 @@ class AppSidebarFormComponent {
|
|
|
1513
1543
|
constructor() {
|
|
1514
1544
|
this.sidebarFormClass = true;
|
|
1515
1545
|
}
|
|
1516
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1517
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1546
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1547
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarFormComponent, isStandalone: true, selector: "app-sidebar-form, cui-sidebar-form", host: { properties: { "class.sidebar-form": "this.sidebarFormClass" } }, ngImport: i0, template: `<ng-content />`, isInline: true }); }
|
|
1518
1548
|
}
|
|
1519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarFormComponent, decorators: [{
|
|
1520
1550
|
type: Component,
|
|
1521
1551
|
args: [{
|
|
1522
1552
|
selector: 'app-sidebar-form, cui-sidebar-form',
|
|
@@ -1532,10 +1562,10 @@ class AppSidebarHeaderComponent {
|
|
|
1532
1562
|
constructor() {
|
|
1533
1563
|
this.sidebarHeaderClass = true;
|
|
1534
1564
|
}
|
|
1535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1536
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1566
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", type: AppSidebarHeaderComponent, isStandalone: true, selector: "app-sidebar-header, cui-sidebar-header", host: { properties: { "class.sidebar-header": "this.sidebarHeaderClass" } }, ngImport: i0, template: `<ng-content />`, isInline: true }); }
|
|
1537
1567
|
}
|
|
1538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarHeaderComponent, decorators: [{
|
|
1539
1569
|
type: Component,
|
|
1540
1570
|
args: [{
|
|
1541
1571
|
selector: 'app-sidebar-header, cui-sidebar-header',
|
|
@@ -1548,8 +1578,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
1548
1578
|
}] } });
|
|
1549
1579
|
|
|
1550
1580
|
class AppSidebarModule {
|
|
1551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1552
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1581
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1582
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarModule, imports: [RouterModule,
|
|
1553
1583
|
AppSidebarComponent,
|
|
1554
1584
|
AppSidebarFooterComponent,
|
|
1555
1585
|
AppSidebarFormComponent,
|
|
@@ -1577,7 +1607,7 @@ class AppSidebarModule {
|
|
|
1577
1607
|
AppSidebarComponent,
|
|
1578
1608
|
// AppSidebarNavItemsComponent,
|
|
1579
1609
|
AppSidebarNavComponent] }); }
|
|
1580
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1610
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarModule, providers: [
|
|
1581
1611
|
SidebarNavHelper,
|
|
1582
1612
|
AppSidebarService
|
|
1583
1613
|
], imports: [RouterModule,
|
|
@@ -1587,7 +1617,7 @@ class AppSidebarModule {
|
|
|
1587
1617
|
AppSidebarNavLinkComponent,
|
|
1588
1618
|
LayoutModule] }); }
|
|
1589
1619
|
}
|
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AppSidebarModule, decorators: [{
|
|
1591
1621
|
type: NgModule,
|
|
1592
1622
|
args: [{
|
|
1593
1623
|
imports: [
|