@coreui/angular 2.11.3 → 2.12.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.
Files changed (88) hide show
  1. package/README.md +4 -4
  2. package/bundles/coreui-angular.umd.js +993 -798
  3. package/bundles/coreui-angular.umd.js.map +1 -1
  4. package/coreui-angular.d.ts +1 -19
  5. package/esm2015/coreui-angular.js +1 -20
  6. package/esm2015/lib/aside/app-aside.component.js +24 -18
  7. package/esm2015/lib/aside/app-aside.module.js +24 -16
  8. package/esm2015/lib/breadcrumb/app-breadcrumb.component.js +37 -26
  9. package/esm2015/lib/breadcrumb/app-breadcrumb.module.js +13 -8
  10. package/esm2015/lib/breadcrumb/app-breadcrumb.service.js +10 -12
  11. package/esm2015/lib/breadcrumb/cui-breadcrumb.component.js +21 -18
  12. package/esm2015/lib/footer/app-footer.component.js +20 -16
  13. package/esm2015/lib/footer/app-footer.module.js +13 -8
  14. package/esm2015/lib/header/app-header.component.js +57 -33
  15. package/esm2015/lib/header/app-header.module.js +27 -17
  16. package/esm2015/lib/shared/index.js +2 -4
  17. package/esm2015/lib/shared/layout/layout.directive.js +106 -89
  18. package/esm2015/lib/shared/layout/layout.module.js +50 -29
  19. package/esm2015/lib/shared/public_api.js +5 -0
  20. package/esm2015/lib/shared/replace.js +2 -1
  21. package/esm2015/lib/shared/toggle-classes.js +11 -11
  22. package/esm2015/lib/sidebar/app-sidebar-footer.component.js +14 -11
  23. package/esm2015/lib/sidebar/app-sidebar-form.component.js +14 -11
  24. package/esm2015/lib/sidebar/app-sidebar-header.component.js +14 -11
  25. package/esm2015/lib/sidebar/app-sidebar-minimizer.component.js +23 -16
  26. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.js +10 -6
  27. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.js +13 -11
  28. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.js +10 -6
  29. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.js +11 -10
  30. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.js +118 -18
  31. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.js +25 -17
  32. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.js +46 -31
  33. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.js +10 -6
  34. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.js +15 -15
  35. package/esm2015/lib/sidebar/app-sidebar-nav.component.js +23 -16
  36. package/esm2015/lib/sidebar/app-sidebar-nav.directive.js +22 -21
  37. package/esm2015/lib/sidebar/app-sidebar-nav.js +1 -1
  38. package/esm2015/lib/sidebar/app-sidebar-nav.service.js +14 -10
  39. package/esm2015/lib/sidebar/app-sidebar.component.js +31 -23
  40. package/esm2015/lib/sidebar/app-sidebar.module.js +94 -56
  41. package/esm2015/lib/sidebar/app-sidebar.service.js +9 -8
  42. package/esm2015/lib/sidebar/public_api.js +11 -1
  43. package/fesm2015/coreui-angular.js +1021 -776
  44. package/fesm2015/coreui-angular.js.map +1 -1
  45. package/lib/aside/app-aside.component.d.ts +7 -4
  46. package/lib/aside/app-aside.module.d.ts +7 -0
  47. package/lib/breadcrumb/app-breadcrumb.component.d.ts +7 -3
  48. package/lib/breadcrumb/app-breadcrumb.module.d.ts +8 -0
  49. package/lib/breadcrumb/app-breadcrumb.service.d.ts +3 -0
  50. package/lib/breadcrumb/cui-breadcrumb.component.d.ts +7 -3
  51. package/lib/footer/app-footer.component.d.ts +5 -2
  52. package/lib/footer/app-footer.module.d.ts +6 -0
  53. package/lib/header/app-header.component.d.ts +8 -5
  54. package/lib/header/app-header.module.d.ts +8 -0
  55. package/lib/shared/index.d.ts +1 -3
  56. package/lib/shared/layout/layout.directive.d.ts +20 -5
  57. package/lib/shared/layout/layout.module.d.ts +6 -0
  58. package/lib/shared/public_api.d.ts +4 -0
  59. package/lib/shared/toggle-classes.d.ts +6 -3
  60. package/lib/sidebar/app-sidebar-footer.component.d.ts +3 -0
  61. package/lib/sidebar/app-sidebar-form.component.d.ts +3 -0
  62. package/lib/sidebar/app-sidebar-header.component.d.ts +3 -0
  63. package/lib/sidebar/app-sidebar-minimizer.component.d.ts +3 -0
  64. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.d.ts +3 -0
  65. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.d.ts +4 -1
  66. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.d.ts +3 -0
  67. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.d.ts +3 -0
  68. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +10 -0
  69. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.d.ts +3 -0
  70. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +7 -2
  71. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.d.ts +3 -0
  72. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.d.ts +3 -0
  73. package/lib/sidebar/app-sidebar-nav.component.d.ts +3 -0
  74. package/lib/sidebar/app-sidebar-nav.d.ts +2 -1
  75. package/lib/sidebar/app-sidebar-nav.directive.d.ts +5 -0
  76. package/lib/sidebar/app-sidebar-nav.service.d.ts +10 -5
  77. package/lib/sidebar/app-sidebar.component.d.ts +9 -6
  78. package/lib/sidebar/app-sidebar.module.d.ts +23 -0
  79. package/lib/sidebar/app-sidebar.service.d.ts +3 -0
  80. package/lib/sidebar/public_api.d.ts +3 -0
  81. package/package.json +6 -7
  82. package/bundles/coreui-angular.umd.min.js +0 -2
  83. package/bundles/coreui-angular.umd.min.js.map +0 -1
  84. package/coreui-angular.metadata.json +0 -1
  85. package/esm2015/lib/shared/layout/index.js +0 -2
  86. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.js +0 -35
  87. package/lib/shared/layout/index.d.ts +0 -1
  88. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.d.ts +0 -7
@@ -2,7 +2,29 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators')) :
3
3
  typeof define === 'function' && define.amd ? define('@coreui/angular', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.coreui = global.coreui || {}, global.coreui.angular = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators));
5
- }(this, (function (exports, i0, common, i1, rxjs, operators) { 'use strict';
5
+ })(this, (function (exports, i0, i2, i1, rxjs, operators) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
6
28
 
7
29
  var sidebarCssClasses = [
8
30
  'sidebar-show',
@@ -23,7 +45,6 @@
23
45
  var MatchClasses = NewClassNames.map(function (Class) { return document.body.classList.contains(Class); });
24
46
  return MatchClasses.indexOf(true) !== -1;
25
47
  };
26
- var ɵ0 = RemoveClasses;
27
48
  var ToggleClasses = function (Toggle, ClassNames) {
28
49
  var Level = ClassNames.indexOf(Toggle);
29
50
  var NewClassNames = ClassNames.slice(0, Level + 1);
@@ -57,13 +78,16 @@
57
78
  };
58
79
  return ClassToggler;
59
80
  }());
60
- ClassToggler.decorators = [
61
- { type: i0.Injectable }
62
- ];
63
- ClassToggler.ctorParameters = function () { return [
64
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
65
- { type: i0.Renderer2 }
66
- ]; };
81
+ ClassToggler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClassToggler, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
82
+ ClassToggler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClassToggler });
83
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClassToggler, decorators: [{
84
+ type: i0.Injectable
85
+ }], ctorParameters: function () {
86
+ return [{ type: undefined, decorators: [{
87
+ type: i0.Inject,
88
+ args: [i2.DOCUMENT]
89
+ }] }, { type: i0__namespace.Renderer2 }];
90
+ } });
67
91
 
68
92
  /**
69
93
  * Allows the sidebar to be toggled via click.
@@ -71,6 +95,7 @@
71
95
  var SidebarToggleDirective = /** @class */ (function () {
72
96
  function SidebarToggleDirective(classToggler) {
73
97
  this.classToggler = classToggler;
98
+ this.breakpoint = false;
74
99
  }
75
100
  SidebarToggleDirective.prototype.ngOnInit = function () {
76
101
  this.bp = this.breakpoint;
@@ -82,19 +107,21 @@
82
107
  };
83
108
  return SidebarToggleDirective;
84
109
  }());
85
- SidebarToggleDirective.decorators = [
86
- { type: i0.Directive, args: [{
87
- selector: '[appSidebarToggler]',
88
- providers: [ClassToggler]
89
- },] }
90
- ];
91
- SidebarToggleDirective.ctorParameters = function () { return [
92
- { type: ClassToggler }
93
- ]; };
94
- SidebarToggleDirective.propDecorators = {
95
- breakpoint: [{ type: i0.Input, args: ['appSidebarToggler',] }],
96
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
97
- };
110
+ SidebarToggleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarToggleDirective, deps: [{ token: ClassToggler }], target: i0__namespace.ɵɵFactoryTarget.Directive });
111
+ SidebarToggleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SidebarToggleDirective, selector: "[appSidebarToggler]", inputs: { breakpoint: ["appSidebarToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0__namespace });
112
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarToggleDirective, decorators: [{
113
+ type: i0.Directive,
114
+ args: [{
115
+ selector: '[appSidebarToggler]',
116
+ providers: [ClassToggler]
117
+ }]
118
+ }], ctorParameters: function () { return [{ type: ClassToggler }]; }, propDecorators: { breakpoint: [{
119
+ type: i0.Input,
120
+ args: ['appSidebarToggler']
121
+ }], toggleOpen: [{
122
+ type: i0.HostListener,
123
+ args: ['click', ['$event']]
124
+ }] } });
98
125
  var SidebarMinimizeDirective = /** @class */ (function () {
99
126
  function SidebarMinimizeDirective(document, renderer) {
100
127
  this.document = document;
@@ -109,18 +136,22 @@
109
136
  };
110
137
  return SidebarMinimizeDirective;
111
138
  }());
112
- SidebarMinimizeDirective.decorators = [
113
- { type: i0.Directive, args: [{
114
- selector: '[appSidebarMinimizer]'
115
- },] }
116
- ];
117
- SidebarMinimizeDirective.ctorParameters = function () { return [
118
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
119
- { type: i0.Renderer2 }
120
- ]; };
121
- SidebarMinimizeDirective.propDecorators = {
122
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
123
- };
139
+ SidebarMinimizeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarMinimizeDirective, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
140
+ SidebarMinimizeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SidebarMinimizeDirective, selector: "[appSidebarMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0__namespace });
141
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarMinimizeDirective, decorators: [{
142
+ type: i0.Directive,
143
+ args: [{
144
+ selector: '[appSidebarMinimizer]'
145
+ }]
146
+ }], ctorParameters: function () {
147
+ return [{ type: undefined, decorators: [{
148
+ type: i0.Inject,
149
+ args: [i2.DOCUMENT]
150
+ }] }, { type: i0__namespace.Renderer2 }];
151
+ }, propDecorators: { toggleOpen: [{
152
+ type: i0.HostListener,
153
+ args: ['click', ['$event']]
154
+ }] } });
124
155
  var MobileSidebarToggleDirective = /** @class */ (function () {
125
156
  function MobileSidebarToggleDirective(document, renderer) {
126
157
  this.document = document;
@@ -135,18 +166,22 @@
135
166
  };
136
167
  return MobileSidebarToggleDirective;
137
168
  }());
138
- MobileSidebarToggleDirective.decorators = [
139
- { type: i0.Directive, args: [{
140
- selector: '[appMobileSidebarToggler]'
141
- },] }
142
- ];
143
- MobileSidebarToggleDirective.ctorParameters = function () { return [
144
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
145
- { type: i0.Renderer2 }
146
- ]; };
147
- MobileSidebarToggleDirective.propDecorators = {
148
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
149
- };
169
+ MobileSidebarToggleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MobileSidebarToggleDirective, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
170
+ MobileSidebarToggleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MobileSidebarToggleDirective, selector: "[appMobileSidebarToggler]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0__namespace });
171
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MobileSidebarToggleDirective, decorators: [{
172
+ type: i0.Directive,
173
+ args: [{
174
+ selector: '[appMobileSidebarToggler]'
175
+ }]
176
+ }], ctorParameters: function () {
177
+ return [{ type: undefined, decorators: [{
178
+ type: i0.Inject,
179
+ args: [i2.DOCUMENT]
180
+ }] }, { type: i0__namespace.Renderer2 }];
181
+ }, propDecorators: { toggleOpen: [{
182
+ type: i0.HostListener,
183
+ args: ['click', ['$event']]
184
+ }] } });
150
185
  /**
151
186
  * Allows the off-canvas sidebar to be closed via click.
152
187
  */
@@ -166,18 +201,22 @@
166
201
  };
167
202
  return SidebarOffCanvasCloseDirective;
168
203
  }());
169
- SidebarOffCanvasCloseDirective.decorators = [
170
- { type: i0.Directive, args: [{
171
- selector: '[appSidebarClose]'
172
- },] }
173
- ];
174
- SidebarOffCanvasCloseDirective.ctorParameters = function () { return [
175
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
176
- { type: i0.Renderer2 }
177
- ]; };
178
- SidebarOffCanvasCloseDirective.propDecorators = {
179
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
180
- };
204
+ SidebarOffCanvasCloseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarOffCanvasCloseDirective, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
205
+ SidebarOffCanvasCloseDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SidebarOffCanvasCloseDirective, selector: "[appSidebarClose]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0__namespace });
206
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarOffCanvasCloseDirective, decorators: [{
207
+ type: i0.Directive,
208
+ args: [{
209
+ selector: '[appSidebarClose]'
210
+ }]
211
+ }], ctorParameters: function () {
212
+ return [{ type: undefined, decorators: [{
213
+ type: i0.Inject,
214
+ args: [i2.DOCUMENT]
215
+ }] }, { type: i0__namespace.Renderer2 }];
216
+ }, propDecorators: { toggleOpen: [{
217
+ type: i0.HostListener,
218
+ args: ['click', ['$event']]
219
+ }] } });
181
220
  var BrandMinimizeDirective = /** @class */ (function () {
182
221
  function BrandMinimizeDirective(document, renderer) {
183
222
  this.document = document;
@@ -192,24 +231,29 @@
192
231
  };
193
232
  return BrandMinimizeDirective;
194
233
  }());
195
- BrandMinimizeDirective.decorators = [
196
- { type: i0.Directive, args: [{
197
- selector: '[appBrandMinimizer]'
198
- },] }
199
- ];
200
- BrandMinimizeDirective.ctorParameters = function () { return [
201
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
202
- { type: i0.Renderer2 }
203
- ]; };
204
- BrandMinimizeDirective.propDecorators = {
205
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
206
- };
234
+ BrandMinimizeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BrandMinimizeDirective, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
235
+ BrandMinimizeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BrandMinimizeDirective, selector: "[appBrandMinimizer]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0__namespace });
236
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BrandMinimizeDirective, decorators: [{
237
+ type: i0.Directive,
238
+ args: [{
239
+ selector: '[appBrandMinimizer]'
240
+ }]
241
+ }], ctorParameters: function () {
242
+ return [{ type: undefined, decorators: [{
243
+ type: i0.Inject,
244
+ args: [i2.DOCUMENT]
245
+ }] }, { type: i0__namespace.Renderer2 }];
246
+ }, propDecorators: { toggleOpen: [{
247
+ type: i0.HostListener,
248
+ args: ['click', ['$event']]
249
+ }] } });
207
250
  /**
208
251
  * Allows the aside to be toggled via click.
209
252
  */
210
253
  var AsideToggleDirective = /** @class */ (function () {
211
254
  function AsideToggleDirective(classToggler) {
212
255
  this.classToggler = classToggler;
256
+ this.breakpoint = false;
213
257
  }
214
258
  AsideToggleDirective.prototype.ngOnInit = function () {
215
259
  this.bp = this.breakpoint;
@@ -221,23 +265,26 @@
221
265
  };
222
266
  return AsideToggleDirective;
223
267
  }());
224
- AsideToggleDirective.decorators = [
225
- { type: i0.Directive, args: [{
226
- selector: '[appAsideMenuToggler]',
227
- providers: [ClassToggler]
228
- },] }
229
- ];
230
- AsideToggleDirective.ctorParameters = function () { return [
231
- { type: ClassToggler }
232
- ]; };
233
- AsideToggleDirective.propDecorators = {
234
- breakpoint: [{ type: i0.Input, args: ['appAsideMenuToggler',] }],
235
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
236
- };
268
+ AsideToggleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AsideToggleDirective, deps: [{ token: ClassToggler }], target: i0__namespace.ɵɵFactoryTarget.Directive });
269
+ AsideToggleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AsideToggleDirective, selector: "[appAsideMenuToggler]", inputs: { breakpoint: ["appAsideMenuToggler", "breakpoint"] }, host: { listeners: { "click": "toggleOpen($event)" } }, providers: [ClassToggler], ngImport: i0__namespace });
270
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AsideToggleDirective, decorators: [{
271
+ type: i0.Directive,
272
+ args: [{
273
+ selector: '[appAsideMenuToggler]',
274
+ providers: [ClassToggler]
275
+ }]
276
+ }], ctorParameters: function () { return [{ type: ClassToggler }]; }, propDecorators: { breakpoint: [{
277
+ type: i0.Input,
278
+ args: ['appAsideMenuToggler']
279
+ }], toggleOpen: [{
280
+ type: i0.HostListener,
281
+ args: ['click', ['$event']]
282
+ }] } });
237
283
  var HtmlAttributesDirective = /** @class */ (function () {
238
284
  function HtmlAttributesDirective(renderer, el) {
239
285
  this.renderer = renderer;
240
286
  this.el = el;
287
+ this.appHtmlAttr = {};
241
288
  }
242
289
  HtmlAttributesDirective.prototype.ngOnInit = function () {
243
290
  var attribs = this.appHtmlAttr;
@@ -255,7 +302,9 @@
255
302
  };
256
303
  HtmlAttributesDirective.prototype.setStyle = function (styles) {
257
304
  for (var style in styles) {
258
- this.renderer.setStyle(this.el.nativeElement, style, styles[style]);
305
+ if (style) {
306
+ this.renderer.setStyle(this.el.nativeElement, style, styles[style]);
307
+ }
259
308
  }
260
309
  };
261
310
  HtmlAttributesDirective.prototype.addClass = function (classes) {
@@ -272,55 +321,74 @@
272
321
  };
273
322
  return HtmlAttributesDirective;
274
323
  }());
275
- HtmlAttributesDirective.decorators = [
276
- { type: i0.Directive, args: [{
277
- selector: '[appHtmlAttr]'
278
- },] }
279
- ];
280
- HtmlAttributesDirective.ctorParameters = function () { return [
281
- { type: i0.Renderer2 },
282
- { type: i0.ElementRef }
283
- ]; };
284
- HtmlAttributesDirective.propDecorators = {
285
- appHtmlAttr: [{ type: i0.Input }]
286
- };
324
+ HtmlAttributesDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HtmlAttributesDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
325
+ HtmlAttributesDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: { appHtmlAttr: "appHtmlAttr" }, ngImport: i0__namespace });
326
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HtmlAttributesDirective, decorators: [{
327
+ type: i0.Directive,
328
+ args: [{
329
+ selector: '[appHtmlAttr]'
330
+ }]
331
+ }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { appHtmlAttr: [{
332
+ type: i0.Input
333
+ }] } });
287
334
 
288
335
  var LayoutModule = /** @class */ (function () {
289
336
  function LayoutModule() {
290
337
  }
291
338
  return LayoutModule;
292
339
  }());
293
- LayoutModule.decorators = [
294
- { type: i0.NgModule, args: [{
295
- imports: [
296
- common.CommonModule
297
- ],
298
- exports: [
299
- AsideToggleDirective,
300
- BrandMinimizeDirective,
301
- MobileSidebarToggleDirective,
302
- SidebarToggleDirective,
303
- SidebarMinimizeDirective,
304
- SidebarOffCanvasCloseDirective,
305
- HtmlAttributesDirective
306
- ],
307
- declarations: [
308
- AsideToggleDirective,
309
- BrandMinimizeDirective,
310
- MobileSidebarToggleDirective,
311
- SidebarToggleDirective,
312
- SidebarMinimizeDirective,
313
- SidebarOffCanvasCloseDirective,
314
- HtmlAttributesDirective
315
- ],
316
- providers: [
317
- ClassToggler
318
- ]
319
- },] }
320
- ];
340
+ LayoutModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
341
+ LayoutModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutModule, declarations: [AsideToggleDirective,
342
+ BrandMinimizeDirective,
343
+ MobileSidebarToggleDirective,
344
+ SidebarToggleDirective,
345
+ SidebarMinimizeDirective,
346
+ SidebarOffCanvasCloseDirective,
347
+ HtmlAttributesDirective], imports: [i2.CommonModule], exports: [AsideToggleDirective,
348
+ BrandMinimizeDirective,
349
+ MobileSidebarToggleDirective,
350
+ SidebarToggleDirective,
351
+ SidebarMinimizeDirective,
352
+ SidebarOffCanvasCloseDirective,
353
+ HtmlAttributesDirective] });
354
+ LayoutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutModule, providers: [
355
+ ClassToggler
356
+ ], imports: [[
357
+ i2.CommonModule
358
+ ]] });
359
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutModule, decorators: [{
360
+ type: i0.NgModule,
361
+ args: [{
362
+ imports: [
363
+ i2.CommonModule
364
+ ],
365
+ exports: [
366
+ AsideToggleDirective,
367
+ BrandMinimizeDirective,
368
+ MobileSidebarToggleDirective,
369
+ SidebarToggleDirective,
370
+ SidebarMinimizeDirective,
371
+ SidebarOffCanvasCloseDirective,
372
+ HtmlAttributesDirective
373
+ ],
374
+ declarations: [
375
+ AsideToggleDirective,
376
+ BrandMinimizeDirective,
377
+ MobileSidebarToggleDirective,
378
+ SidebarToggleDirective,
379
+ SidebarMinimizeDirective,
380
+ SidebarOffCanvasCloseDirective,
381
+ HtmlAttributesDirective
382
+ ],
383
+ providers: [
384
+ ClassToggler
385
+ ]
386
+ }]
387
+ }] });
321
388
 
322
389
  function Replace(el) {
323
390
  var nativeElement = el.nativeElement;
391
+ // @ts-ignore
324
392
  var parentElement = nativeElement.parentElement;
325
393
  // move all children out of the element
326
394
  while (nativeElement.firstChild) {
@@ -366,43 +434,57 @@
366
434
  };
367
435
  return AppAsideComponent;
368
436
  }());
369
- AppAsideComponent.decorators = [
370
- { type: i0.Component, args: [{
371
- selector: 'app-aside, cui-aside',
372
- template: "<ng-content></ng-content>"
373
- },] }
374
- ];
375
- AppAsideComponent.ctorParameters = function () { return [
376
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
377
- { type: i0.Renderer2 }
378
- ]; };
379
- AppAsideComponent.propDecorators = {
380
- display: [{ type: i0.Input }],
381
- fixed: [{ type: i0.Input }],
382
- offCanvas: [{ type: i0.Input }],
383
- asideMenuClass: [{ type: i0.HostBinding, args: ['class.aside-menu',] }]
384
- };
437
+ AppAsideComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
438
+ AppAsideComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppAsideComponent, selector: "app-aside, cui-aside", inputs: { display: "display", fixed: "fixed", offCanvas: "offCanvas" }, host: { properties: { "class.aside-menu": "this.asideMenuClass" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>", isInline: true });
439
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideComponent, decorators: [{
440
+ type: i0.Component,
441
+ args: [{
442
+ selector: 'app-aside, cui-aside',
443
+ template: "<ng-content></ng-content>"
444
+ }]
445
+ }], ctorParameters: function () {
446
+ return [{ type: undefined, decorators: [{
447
+ type: i0.Inject,
448
+ args: [i2.DOCUMENT]
449
+ }] }, { type: i0__namespace.Renderer2 }];
450
+ }, propDecorators: { display: [{
451
+ type: i0.Input
452
+ }], fixed: [{
453
+ type: i0.Input
454
+ }], offCanvas: [{
455
+ type: i0.Input
456
+ }], asideMenuClass: [{
457
+ type: i0.HostBinding,
458
+ args: ['class.aside-menu']
459
+ }] } });
385
460
 
386
461
  var AppAsideModule = /** @class */ (function () {
387
462
  function AppAsideModule() {
388
463
  }
389
464
  return AppAsideModule;
390
465
  }());
391
- AppAsideModule.decorators = [
392
- { type: i0.NgModule, args: [{
393
- imports: [
394
- common.CommonModule,
395
- LayoutModule
396
- ],
397
- exports: [
398
- AppAsideComponent,
399
- LayoutModule
400
- ],
401
- declarations: [
402
- AppAsideComponent
403
- ]
404
- },] }
405
- ];
466
+ AppAsideModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
467
+ AppAsideModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideModule, declarations: [AppAsideComponent], imports: [i2.CommonModule,
468
+ LayoutModule], exports: [AppAsideComponent] });
469
+ AppAsideModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideModule, imports: [[
470
+ i2.CommonModule,
471
+ LayoutModule
472
+ ]] });
473
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppAsideModule, decorators: [{
474
+ type: i0.NgModule,
475
+ args: [{
476
+ imports: [
477
+ i2.CommonModule,
478
+ LayoutModule
479
+ ],
480
+ exports: [
481
+ AppAsideComponent
482
+ ],
483
+ declarations: [
484
+ AppAsideComponent
485
+ ]
486
+ }]
487
+ }] });
406
488
 
407
489
  var AppBreadcrumbService = /** @class */ (function () {
408
490
  function AppBreadcrumbService(router, route) {
@@ -437,16 +519,14 @@
437
519
  }
438
520
  return AppBreadcrumbService;
439
521
  }());
440
- AppBreadcrumbService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AppBreadcrumbService_Factory() { return new AppBreadcrumbService(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i1.ActivatedRoute)); }, token: AppBreadcrumbService, providedIn: "root" });
441
- AppBreadcrumbService.decorators = [
442
- { type: i0.Injectable, args: [{
443
- providedIn: 'root'
444
- },] }
445
- ];
446
- AppBreadcrumbService.ctorParameters = function () { return [
447
- { type: i1.Router },
448
- { type: i1.ActivatedRoute }
449
- ]; };
522
+ AppBreadcrumbService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbService, deps: [{ token: i1__namespace.Router }, { token: i1__namespace.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
523
+ AppBreadcrumbService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbService, providedIn: 'root' });
524
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbService, decorators: [{
525
+ type: i0.Injectable,
526
+ args: [{
527
+ providedIn: 'root'
528
+ }]
529
+ }], ctorParameters: function () { return [{ type: i1__namespace.Router }, { type: i1__namespace.ActivatedRoute }]; } });
450
530
 
451
531
  var AppBreadcrumbComponent = /** @class */ (function () {
452
532
  function AppBreadcrumbComponent(document, renderer, service, el) {
@@ -472,21 +552,22 @@
472
552
  };
473
553
  return AppBreadcrumbComponent;
474
554
  }());
475
- AppBreadcrumbComponent.decorators = [
476
- { type: i0.Component, args: [{
477
- selector: 'app-breadcrumb',
478
- template: "\n <ng-template ngFor let-breadcrumb [ngForOf]=\"breadcrumbs | async\" let-last = last>\n <li class=\"breadcrumb-item\"\n *ngIf=\"breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)\"\n [ngClass]=\"{active: last}\">\n <a *ngIf=\"!last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\n <span *ngIf=\"last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\n </li>\n </ng-template>\n "
479
- },] }
480
- ];
481
- AppBreadcrumbComponent.ctorParameters = function () { return [
482
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
483
- { type: i0.Renderer2 },
484
- { type: AppBreadcrumbService },
485
- { type: i0.ElementRef }
486
- ]; };
487
- AppBreadcrumbComponent.propDecorators = {
488
- fixed: [{ type: i0.Input }]
489
- };
555
+ AppBreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }, { token: AppBreadcrumbService }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
556
+ AppBreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppBreadcrumbComponent, selector: "app-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0__namespace, template: "\n <ng-template ngFor let-breadcrumb [ngForOf]=\"breadcrumbs | async\" let-last = last>\n <li class=\"breadcrumb-item\"\n *ngIf=\"breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)\"\n [ngClass]=\"{active: last}\">\n <a *ngIf=\"!last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\n <span *ngIf=\"last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\n </li>\n </ng-template>\n ", isInline: true, directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "async": i2__namespace.AsyncPipe } });
557
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbComponent, decorators: [{
558
+ type: i0.Component,
559
+ args: [{
560
+ selector: 'app-breadcrumb',
561
+ template: "\n <ng-template ngFor let-breadcrumb [ngForOf]=\"breadcrumbs | async\" let-last = last>\n <li class=\"breadcrumb-item\"\n *ngIf=\"breadcrumb.label.title && (breadcrumb.url.slice(-1) == '/' || last)\"\n [ngClass]=\"{active: last}\">\n <a *ngIf=\"!last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</a>\n <span *ngIf=\"last\" [routerLink]=\"breadcrumb.url\">{{breadcrumb.label.title}}</span>\n </li>\n </ng-template>\n "
562
+ }]
563
+ }], ctorParameters: function () {
564
+ return [{ type: undefined, decorators: [{
565
+ type: i0.Inject,
566
+ args: [i2.DOCUMENT]
567
+ }] }, { type: i0__namespace.Renderer2 }, { type: AppBreadcrumbService }, { type: i0__namespace.ElementRef }];
568
+ }, propDecorators: { fixed: [{
569
+ type: i0.Input
570
+ }] } });
490
571
 
491
572
  var CuiBreadcrumbComponent = /** @class */ (function () {
492
573
  function CuiBreadcrumbComponent(document, renderer, service) {
@@ -510,21 +591,23 @@
510
591
  };
511
592
  return CuiBreadcrumbComponent;
512
593
  }());
513
- CuiBreadcrumbComponent.decorators = [
514
- { type: i0.Component, args: [{
515
- // tslint:disable-next-line:component-selector
516
- selector: 'cui-breadcrumb',
517
- 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"
518
- },] }
519
- ];
520
- CuiBreadcrumbComponent.ctorParameters = function () { return [
521
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
522
- { type: i0.Renderer2 },
523
- { type: AppBreadcrumbService }
524
- ]; };
525
- CuiBreadcrumbComponent.propDecorators = {
526
- fixed: [{ type: i0.Input }]
527
- };
594
+ CuiBreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CuiBreadcrumbComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }, { token: AppBreadcrumbService }], target: i0__namespace.ɵɵFactoryTarget.Component });
595
+ CuiBreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CuiBreadcrumbComponent, selector: "cui-breadcrumb", inputs: { fixed: "fixed" }, ngImport: i0__namespace, 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", directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "async": i2__namespace.AsyncPipe } });
596
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CuiBreadcrumbComponent, decorators: [{
597
+ type: i0.Component,
598
+ args: [{
599
+ // tslint:disable-next-line:component-selector
600
+ selector: 'cui-breadcrumb',
601
+ templateUrl: './cui-breadcrumb.component.html'
602
+ }]
603
+ }], ctorParameters: function () {
604
+ return [{ type: undefined, decorators: [{
605
+ type: i0.Inject,
606
+ args: [i2.DOCUMENT]
607
+ }] }, { type: i0__namespace.Renderer2 }, { type: AppBreadcrumbService }];
608
+ }, propDecorators: { fixed: [{
609
+ type: i0.Input
610
+ }] } });
528
611
 
529
612
  // @dynamic
530
613
  var AppBreadcrumbModule = /** @class */ (function () {
@@ -540,13 +623,17 @@
540
623
  };
541
624
  return AppBreadcrumbModule;
542
625
  }());
543
- AppBreadcrumbModule.decorators = [
544
- { type: i0.NgModule, args: [{
545
- imports: [common.CommonModule, i1.RouterModule],
546
- exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent],
547
- declarations: [AppBreadcrumbComponent, CuiBreadcrumbComponent]
548
- },] }
549
- ];
626
+ AppBreadcrumbModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
627
+ AppBreadcrumbModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbModule, declarations: [AppBreadcrumbComponent, CuiBreadcrumbComponent], imports: [i2.CommonModule, i1.RouterModule], exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent] });
628
+ AppBreadcrumbModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbModule, imports: [[i2.CommonModule, i1.RouterModule]] });
629
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppBreadcrumbModule, decorators: [{
630
+ type: i0.NgModule,
631
+ args: [{
632
+ imports: [i2.CommonModule, i1.RouterModule],
633
+ exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent],
634
+ declarations: [AppBreadcrumbComponent, CuiBreadcrumbComponent]
635
+ }]
636
+ }] });
550
637
 
551
638
  var AppFooterComponent = /** @class */ (function () {
552
639
  function AppFooterComponent(document, renderer) {
@@ -569,40 +656,54 @@
569
656
  };
570
657
  return AppFooterComponent;
571
658
  }());
572
- AppFooterComponent.decorators = [
573
- { type: i0.Component, args: [{
574
- selector: 'app-footer, cui-footer',
575
- template: "<ng-content></ng-content>"
576
- },] }
577
- ];
578
- AppFooterComponent.ctorParameters = function () { return [
579
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
580
- { type: i0.Renderer2 }
581
- ]; };
582
- AppFooterComponent.propDecorators = {
583
- fixed: [{ type: i0.Input }],
584
- appFooterClass: [{ type: i0.HostBinding, args: ['class.app-footer',] }]
585
- };
659
+ AppFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
660
+ AppFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppFooterComponent, selector: "app-footer, cui-footer", inputs: { fixed: "fixed" }, host: { properties: { "class.app-footer": "this.appFooterClass" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>", isInline: true });
661
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterComponent, decorators: [{
662
+ type: i0.Component,
663
+ args: [{
664
+ selector: 'app-footer, cui-footer',
665
+ template: "<ng-content></ng-content>"
666
+ }]
667
+ }], ctorParameters: function () {
668
+ return [{ type: undefined, decorators: [{
669
+ type: i0.Inject,
670
+ args: [i2.DOCUMENT]
671
+ }] }, { type: i0__namespace.Renderer2 }];
672
+ }, propDecorators: { fixed: [{
673
+ type: i0.Input
674
+ }], appFooterClass: [{
675
+ type: i0.HostBinding,
676
+ args: ['class.app-footer']
677
+ }] } });
586
678
 
587
679
  var AppFooterModule = /** @class */ (function () {
588
680
  function AppFooterModule() {
589
681
  }
590
682
  return AppFooterModule;
591
683
  }());
592
- AppFooterModule.decorators = [
593
- { type: i0.NgModule, args: [{
594
- imports: [common.CommonModule],
595
- exports: [AppFooterComponent],
596
- declarations: [AppFooterComponent]
597
- },] }
598
- ];
684
+ AppFooterModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
685
+ AppFooterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterModule, declarations: [AppFooterComponent], imports: [i2.CommonModule], exports: [AppFooterComponent] });
686
+ AppFooterModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterModule, imports: [[i2.CommonModule]] });
687
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppFooterModule, decorators: [{
688
+ type: i0.NgModule,
689
+ args: [{
690
+ imports: [i2.CommonModule],
691
+ exports: [AppFooterComponent],
692
+ declarations: [AppFooterComponent]
693
+ }]
694
+ }] });
599
695
 
600
696
  var AppHeaderComponent = /** @class */ (function () {
601
697
  function AppHeaderComponent(document, renderer) {
602
698
  this.document = document;
603
699
  this.renderer = renderer;
604
700
  this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' };
701
+ this.navbarBrandHref = ''; // deprecated, use navbarBrandRouterLink instead
605
702
  this.navbarBrandRouterLink = '';
703
+ this.sidebarToggler = 'lg';
704
+ this.mobileSidebarToggler = true;
705
+ this.asideMenuToggler = 'lg';
706
+ this.mobileAsideMenuToggler = true;
606
707
  this.fixedClass = 'header-fixed';
607
708
  this.appHeaderClass = true;
608
709
  this.navbarClass = true;
@@ -616,10 +717,10 @@
616
717
  this.isFixed(this.fixed);
617
718
  this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);
618
719
  this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;
619
- this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler);
620
- this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler);
621
- this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler);
622
- this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler);
720
+ this.sidebarTogglerClass = this.setTogglerBreakpointClass(this.sidebarToggler);
721
+ this.sidebarTogglerMobileClass = this.setTogglerMobileBreakpointClass(this.sidebarToggler);
722
+ this.asideTogglerClass = this.setTogglerBreakpointClass(this.asideMenuToggler);
723
+ this.asideTogglerMobileClass = this.setTogglerMobileBreakpointClass(this.asideMenuToggler);
623
724
  };
624
725
  AppHeaderComponent.prototype.ngOnDestroy = function () {
625
726
  this.renderer.removeClass(this.document.body, this.fixedClass);
@@ -630,7 +731,7 @@
630
731
  this.renderer.addClass(this.document.body, this.fixedClass);
631
732
  }
632
733
  };
633
- AppHeaderComponent.prototype.setToggerBreakpointClass = function (breakpoint) {
734
+ AppHeaderComponent.prototype.setTogglerBreakpointClass = function (breakpoint) {
634
735
  if (breakpoint === void 0) { breakpoint = 'md'; }
635
736
  var togglerClass = 'd-none d-md-block';
636
737
  if (this.breakpoints.includes(breakpoint)) {
@@ -639,7 +740,7 @@
639
740
  }
640
741
  return togglerClass;
641
742
  };
642
- AppHeaderComponent.prototype.setToggerMobileBreakpointClass = function (breakpoint) {
743
+ AppHeaderComponent.prototype.setTogglerMobileBreakpointClass = function (breakpoint) {
643
744
  if (breakpoint === void 0) { breakpoint = 'lg'; }
644
745
  var togglerClass = 'd-lg-none';
645
746
  if (this.breakpoints.includes(breakpoint)) {
@@ -649,53 +750,79 @@
649
750
  };
650
751
  return AppHeaderComponent;
651
752
  }());
652
- AppHeaderComponent.decorators = [
653
- { type: i0.Component, args: [{
654
- selector: 'app-header, cui-header',
655
- 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"
656
- },] }
657
- ];
658
- AppHeaderComponent.ctorParameters = function () { return [
659
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
660
- { type: i0.Renderer2 }
661
- ]; };
662
- AppHeaderComponent.propDecorators = {
663
- fixed: [{ type: i0.Input }],
664
- navbarBrand: [{ type: i0.Input }],
665
- navbarBrandFull: [{ type: i0.Input }],
666
- navbarBrandMinimized: [{ type: i0.Input }],
667
- navbarBrandText: [{ type: i0.Input }],
668
- navbarBrandHref: [{ type: i0.Input }],
669
- navbarBrandRouterLink: [{ type: i0.Input }],
670
- sidebarToggler: [{ type: i0.Input }],
671
- mobileSidebarToggler: [{ type: i0.Input }],
672
- asideMenuToggler: [{ type: i0.Input }],
673
- mobileAsideMenuToggler: [{ type: i0.Input }],
674
- appHeaderClass: [{ type: i0.HostBinding, args: ['class.app-header',] }],
675
- navbarClass: [{ type: i0.HostBinding, args: ['class.navbar',] }]
676
- };
753
+ AppHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
754
+ AppHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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__namespace, 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", directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SidebarToggleDirective, selector: "[appSidebarToggler]", inputs: ["appSidebarToggler"] }, { type: i1__namespace.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: AsideToggleDirective, selector: "[appAsideMenuToggler]", inputs: ["appAsideMenuToggler"] }] });
755
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderComponent, decorators: [{
756
+ type: i0.Component,
757
+ args: [{
758
+ selector: 'app-header, cui-header',
759
+ templateUrl: './app-header.component.html'
760
+ }]
761
+ }], ctorParameters: function () {
762
+ return [{ type: undefined, decorators: [{
763
+ type: i0.Inject,
764
+ args: [i2.DOCUMENT]
765
+ }] }, { type: i0__namespace.Renderer2 }];
766
+ }, propDecorators: { fixed: [{
767
+ type: i0.Input
768
+ }], navbarBrand: [{
769
+ type: i0.Input
770
+ }], navbarBrandFull: [{
771
+ type: i0.Input
772
+ }], navbarBrandMinimized: [{
773
+ type: i0.Input
774
+ }], navbarBrandText: [{
775
+ type: i0.Input
776
+ }], navbarBrandHref: [{
777
+ type: i0.Input
778
+ }], navbarBrandRouterLink: [{
779
+ type: i0.Input
780
+ }], sidebarToggler: [{
781
+ type: i0.Input
782
+ }], mobileSidebarToggler: [{
783
+ type: i0.Input
784
+ }], asideMenuToggler: [{
785
+ type: i0.Input
786
+ }], mobileAsideMenuToggler: [{
787
+ type: i0.Input
788
+ }], appHeaderClass: [{
789
+ type: i0.HostBinding,
790
+ args: ['class.app-header']
791
+ }], navbarClass: [{
792
+ type: i0.HostBinding,
793
+ args: ['class.navbar']
794
+ }] } });
677
795
 
678
796
  var AppHeaderModule = /** @class */ (function () {
679
797
  function AppHeaderModule() {
680
798
  }
681
799
  return AppHeaderModule;
682
800
  }());
683
- AppHeaderModule.decorators = [
684
- { type: i0.NgModule, args: [{
685
- imports: [
686
- common.CommonModule,
687
- i1.RouterModule,
688
- LayoutModule
689
- ],
690
- exports: [
691
- AppHeaderComponent,
692
- LayoutModule
693
- ],
694
- declarations: [
695
- AppHeaderComponent
696
- ]
697
- },] }
698
- ];
801
+ AppHeaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
802
+ AppHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderModule, declarations: [AppHeaderComponent], imports: [i2.CommonModule,
803
+ i1.RouterModule,
804
+ LayoutModule], exports: [AppHeaderComponent] });
805
+ AppHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderModule, imports: [[
806
+ i2.CommonModule,
807
+ i1.RouterModule,
808
+ LayoutModule
809
+ ]] });
810
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppHeaderModule, decorators: [{
811
+ type: i0.NgModule,
812
+ args: [{
813
+ imports: [
814
+ i2.CommonModule,
815
+ i1.RouterModule,
816
+ LayoutModule
817
+ ],
818
+ exports: [
819
+ AppHeaderComponent,
820
+ ],
821
+ declarations: [
822
+ AppHeaderComponent
823
+ ]
824
+ }]
825
+ }] });
699
826
 
700
827
  var AppSidebarService = /** @class */ (function () {
701
828
  function AppSidebarService() {
@@ -707,13 +834,14 @@
707
834
  };
708
835
  return AppSidebarService;
709
836
  }());
710
- AppSidebarService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AppSidebarService_Factory() { return new AppSidebarService(); }, token: AppSidebarService, providedIn: "root" });
711
- AppSidebarService.decorators = [
712
- { type: i0.Injectable, args: [{
713
- providedIn: 'root'
714
- },] }
715
- ];
716
- AppSidebarService.ctorParameters = function () { return []; };
837
+ AppSidebarService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
838
+ AppSidebarService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarService, providedIn: 'root' });
839
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarService, decorators: [{
840
+ type: i0.Injectable,
841
+ args: [{
842
+ providedIn: 'root'
843
+ }]
844
+ }], ctorParameters: function () { return []; } });
717
845
 
718
846
  var AppSidebarComponent = /** @class */ (function () {
719
847
  function AppSidebarComponent(document, renderer, sidebarService) {
@@ -804,265 +932,35 @@
804
932
  };
805
933
  return AppSidebarComponent;
806
934
  }());
807
- AppSidebarComponent.decorators = [
808
- { type: i0.Component, args: [{
809
- selector: 'app-sidebar, cui-sidebar',
810
- template: "<ng-content></ng-content>"
811
- },] }
812
- ];
813
- AppSidebarComponent.ctorParameters = function () { return [
814
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
815
- { type: i0.Renderer2 },
816
- { type: AppSidebarService }
817
- ]; };
818
- AppSidebarComponent.propDecorators = {
819
- compact: [{ type: i0.Input }],
820
- display: [{ type: i0.Input }],
821
- fixed: [{ type: i0.Input }],
822
- offCanvas: [{ type: i0.Input }],
823
- minimized: [{ type: i0.Input }],
824
- minimizedChange: [{ type: i0.Output }],
825
- sidebarClass: [{ type: i0.HostBinding, args: ['class.sidebar',] }]
826
- };
827
-
828
- var AppSidebarNavComponent = /** @class */ (function () {
829
- function AppSidebarNavComponent(router) {
830
- this.router = router;
831
- this.navItems = [];
832
- this.sidebarNavClass = true;
833
- this.role = 'nav';
834
- this.navItemsArray = [];
835
- }
836
- AppSidebarNavComponent.prototype.ngOnChanges = function (changes) {
837
- this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];
838
- };
839
- return AppSidebarNavComponent;
840
- }());
841
- AppSidebarNavComponent.decorators = [
842
- { type: i0.Component, args: [{
843
- selector: 'app-sidebar-nav, cui-sidebar-nav',
844
- template: "<app-sidebar-nav-items\n class=\"nav\"\n [items]=\"navItemsArray\">\n</app-sidebar-nav-items>\n"
845
- },] }
846
- ];
847
- AppSidebarNavComponent.ctorParameters = function () { return [
848
- { type: i1.Router }
849
- ]; };
850
- AppSidebarNavComponent.propDecorators = {
851
- navItems: [{ type: i0.Input }],
852
- sidebarNavClass: [{ type: i0.HostBinding, args: ['class.sidebar-nav',] }],
853
- role: [{ type: i0.HostBinding, args: ['attr.role',] }, { type: i0.Input }]
854
- };
855
-
856
- var AppSidebarMinimizerComponent = /** @class */ (function () {
857
- function AppSidebarMinimizerComponent(sidebarService) {
858
- this.sidebarService = sidebarService;
859
- this.role = 'button';
860
- this.sidebarMinimizerClass = true;
861
- }
862
- AppSidebarMinimizerComponent.prototype.toggleOpen = function ($event) {
863
- $event.preventDefault();
864
- this.sidebarService.toggle({ minimize: 'toggle' });
865
- };
866
- return AppSidebarMinimizerComponent;
867
- }());
868
- AppSidebarMinimizerComponent.decorators = [
869
- { type: i0.Component, args: [{
870
- selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',
871
- template: ""
872
- },] }
873
- ];
874
- AppSidebarMinimizerComponent.ctorParameters = function () { return [
875
- { type: AppSidebarService }
876
- ]; };
877
- AppSidebarMinimizerComponent.propDecorators = {
878
- role: [{ type: i0.HostBinding, args: ['attr.role',] }, { type: i0.Input }],
879
- sidebarMinimizerClass: [{ type: i0.HostBinding, args: ['class.sidebar-minimizer',] }],
880
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
881
- };
882
-
883
- var SidebarNavService = /** @class */ (function () {
884
- function SidebarNavService() {
885
- }
886
- return SidebarNavService;
887
- }());
888
- SidebarNavService.decorators = [
889
- { type: i0.Injectable }
890
- ];
891
- var SidebarNavHelper = /** @class */ (function () {
892
- function SidebarNavHelper() {
893
- this.hasBadge = function (item) { return Boolean(item.badge); };
894
- this.hasIcon = function (item) { return Boolean(item.icon); };
895
- }
896
- SidebarNavHelper.prototype.itemType = function (item) {
897
- if (item.divider) {
898
- return 'divider';
899
- }
900
- else if (item.title) {
901
- return 'title';
902
- }
903
- else if (item.children) {
904
- return 'dropdown';
905
- }
906
- else if (item.label) {
907
- return 'label';
908
- }
909
- else if (!Object.keys(item).length) {
910
- return 'empty';
911
- }
912
- else {
913
- return 'link';
914
- }
915
- };
916
- SidebarNavHelper.prototype.isActive = function (router, item) {
917
- return router.isActive(item.url, false);
918
- };
919
- SidebarNavHelper.prototype.getIconClass = function (item) {
920
- var classes = {
921
- 'nav-icon': true
922
- };
923
- if (this.hasIcon(item)) {
924
- var icon = item.icon;
925
- classes[icon] = this.hasIcon(item);
926
- }
927
- return classes;
928
- };
929
- return SidebarNavHelper;
930
- }());
931
- SidebarNavHelper.decorators = [
932
- { type: i0.Injectable }
933
- ];
934
-
935
- var AppSidebarFooterComponent = /** @class */ (function () {
936
- function AppSidebarFooterComponent() {
937
- this.sidebarFooterClass = true;
938
- }
939
- return AppSidebarFooterComponent;
940
- }());
941
- AppSidebarFooterComponent.decorators = [
942
- { type: i0.Component, args: [{
943
- selector: 'app-sidebar-footer, cui-sidebar-footer',
944
- template: "<ng-content></ng-content>"
945
- },] }
946
- ];
947
- AppSidebarFooterComponent.ctorParameters = function () { return []; };
948
- AppSidebarFooterComponent.propDecorators = {
949
- sidebarFooterClass: [{ type: i0.HostBinding, args: ['class.sidebar-footer',] }]
950
- };
951
-
952
- var AppSidebarFormComponent = /** @class */ (function () {
953
- function AppSidebarFormComponent() {
954
- this.sidebarFormClass = true;
955
- }
956
- return AppSidebarFormComponent;
957
- }());
958
- AppSidebarFormComponent.decorators = [
959
- { type: i0.Component, args: [{
960
- selector: 'app-sidebar-form, cui-sidebar-form',
961
- template: "<ng-content></ng-content>"
962
- },] }
963
- ];
964
- AppSidebarFormComponent.ctorParameters = function () { return []; };
965
- AppSidebarFormComponent.propDecorators = {
966
- sidebarFormClass: [{ type: i0.HostBinding, args: ['class.sidebar-form',] }]
967
- };
968
-
969
- var AppSidebarHeaderComponent = /** @class */ (function () {
970
- function AppSidebarHeaderComponent() {
971
- this.sidebarHeaderClass = true;
972
- }
973
- return AppSidebarHeaderComponent;
974
- }());
975
- AppSidebarHeaderComponent.decorators = [
976
- { type: i0.Component, args: [{
977
- selector: 'app-sidebar-header, cui-sidebar-header',
978
- template: "<ng-content></ng-content>"
979
- },] }
980
- ];
981
- AppSidebarHeaderComponent.ctorParameters = function () { return []; };
982
- AppSidebarHeaderComponent.propDecorators = {
983
- sidebarHeaderClass: [{ type: i0.HostBinding, args: ['class.sidebar-header',] }]
984
- };
985
-
986
- var NavDropdownDirective = /** @class */ (function () {
987
- function NavDropdownDirective(el) {
988
- this.el = el;
989
- }
990
- NavDropdownDirective.prototype.toggle = function () {
991
- this.el.nativeElement.classList.toggle('open');
992
- };
993
- return NavDropdownDirective;
994
- }());
995
- NavDropdownDirective.decorators = [
996
- { type: i0.Directive, args: [{
997
- selector: '[appNavDropdown]'
998
- },] }
999
- ];
1000
- NavDropdownDirective.ctorParameters = function () { return [
1001
- { type: i0.ElementRef }
1002
- ]; };
1003
- /**
1004
- * Allows the dropdown to be toggled via click.
1005
- */
1006
- var NavDropdownToggleDirective = /** @class */ (function () {
1007
- function NavDropdownToggleDirective(dropdown) {
1008
- this.dropdown = dropdown;
1009
- }
1010
- NavDropdownToggleDirective.prototype.toggleOpen = function ($event) {
1011
- $event.preventDefault();
1012
- this.dropdown.toggle();
1013
- };
1014
- return NavDropdownToggleDirective;
1015
- }());
1016
- NavDropdownToggleDirective.decorators = [
1017
- { type: i0.Directive, args: [{
1018
- selector: '[appNavDropdownToggle]'
1019
- },] }
1020
- ];
1021
- NavDropdownToggleDirective.ctorParameters = function () { return [
1022
- { type: NavDropdownDirective }
1023
- ]; };
1024
- NavDropdownToggleDirective.propDecorators = {
1025
- toggleOpen: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
1026
- };
1027
-
1028
- var AppSidebarNavDividerComponent = /** @class */ (function () {
1029
- function AppSidebarNavDividerComponent() {
1030
- }
1031
- AppSidebarNavDividerComponent.prototype.ngOnInit = function () { };
1032
- return AppSidebarNavDividerComponent;
1033
- }());
1034
- AppSidebarNavDividerComponent.decorators = [
1035
- { type: i0.Component, args: [{
1036
- selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',
1037
- template: ""
1038
- },] }
1039
- ];
1040
- AppSidebarNavDividerComponent.ctorParameters = function () { return []; };
1041
- AppSidebarNavDividerComponent.propDecorators = {
1042
- item: [{ type: i0.Input }]
1043
- };
1044
-
1045
- var AppSidebarNavDropdownComponent = /** @class */ (function () {
1046
- function AppSidebarNavDropdownComponent(helper) {
1047
- this.helper = helper;
1048
- }
1049
- return AppSidebarNavDropdownComponent;
1050
- }());
1051
- AppSidebarNavDropdownComponent.decorators = [
1052
- { type: i0.Component, args: [{
1053
- selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',
1054
- template: "\n <a class=\"nav-link nav-dropdown-toggle\"\n appNavDropdownToggle\n [appHtmlAttr]=\"item.attributes\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge.text }}</span>\n </a>\n <app-sidebar-nav-items\n class=\"nav-dropdown-items\"\n [items]=\"item.children\">\n </app-sidebar-nav-items>\n ",
1055
- providers: [SidebarNavHelper],
1056
- styles: ['.nav-dropdown-toggle { cursor: pointer; }',
1057
- '.nav-dropdown-items { display: block; }']
1058
- },] }
1059
- ];
1060
- AppSidebarNavDropdownComponent.ctorParameters = function () { return [
1061
- { type: SidebarNavHelper }
1062
- ]; };
1063
- AppSidebarNavDropdownComponent.propDecorators = {
1064
- item: [{ type: i0.Input }]
1065
- };
935
+ AppSidebarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }, { token: AppSidebarService }], target: i0__namespace.ɵɵFactoryTarget.Component });
936
+ AppSidebarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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__namespace, template: "<ng-content></ng-content>", isInline: true });
937
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarComponent, decorators: [{
938
+ type: i0.Component,
939
+ args: [{
940
+ selector: 'app-sidebar, cui-sidebar',
941
+ template: "<ng-content></ng-content>"
942
+ }]
943
+ }], ctorParameters: function () {
944
+ return [{ type: undefined, decorators: [{
945
+ type: i0.Inject,
946
+ args: [i2.DOCUMENT]
947
+ }] }, { type: i0__namespace.Renderer2 }, { type: AppSidebarService }];
948
+ }, propDecorators: { compact: [{
949
+ type: i0.Input
950
+ }], display: [{
951
+ type: i0.Input
952
+ }], fixed: [{
953
+ type: i0.Input
954
+ }], offCanvas: [{
955
+ type: i0.Input
956
+ }], minimized: [{
957
+ type: i0.Input
958
+ }], minimizedChange: [{
959
+ type: i0.Output
960
+ }], sidebarClass: [{
961
+ type: i0.HostBinding,
962
+ args: ['class.sidebar']
963
+ }] } });
1066
964
 
1067
965
  /*! *****************************************************************************
1068
966
  Copyright (c) Microsoft Corporation.
@@ -1382,133 +1280,84 @@
1382
1280
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
1383
1281
  }
1384
1282
 
1385
- var AppSidebarNavItemsComponent = /** @class */ (function () {
1386
- function AppSidebarNavItemsComponent(document, renderer, router, helper) {
1387
- this.document = document;
1388
- this.renderer = renderer;
1389
- this.router = router;
1390
- this.helper = helper;
1391
- }
1392
- Object.defineProperty(AppSidebarNavItemsComponent.prototype, "items", {
1393
- get: function () {
1394
- return this._items;
1395
- },
1396
- set: function (items) {
1397
- this._items = __spread(items);
1398
- },
1399
- enumerable: false,
1400
- configurable: true
1401
- });
1402
- AppSidebarNavItemsComponent.prototype.hideMobile = function () {
1403
- if (this.document.body.classList.contains('sidebar-show')) {
1404
- this.renderer.removeClass(this.document.body, 'sidebar-show');
1405
- }
1406
- };
1407
- return AppSidebarNavItemsComponent;
1408
- }());
1409
- AppSidebarNavItemsComponent.decorators = [
1410
- { type: i0.Component, args: [{
1411
- selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',
1412
- template: "\n <ng-container *ngFor=\"let item of items\">\n <ng-container [ngSwitch]=\"helper.itemType(item)\">\n <app-sidebar-nav-dropdown\n *ngSwitchCase=\"'dropdown'\"\n [item]=\"item\"\n [class.open]=\"helper.isActive(router, item)\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n appNavDropdown\n routerLinkActive=\"open\">\n </app-sidebar-nav-dropdown>\n <app-sidebar-nav-divider\n *ngSwitchCase=\"'divider'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-divider>\n <app-sidebar-nav-title\n *ngSwitchCase=\"'title'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-title>\n <app-sidebar-nav-label\n *ngSwitchCase=\"'label'\"\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\">\n </app-sidebar-nav-label>\n <ng-container\n *ngSwitchCase=\"'empty'\">\n </ng-container>\n <app-sidebar-nav-link\n *ngSwitchDefault\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n (linkClick)=\"hideMobile()\"\n >\n </app-sidebar-nav-link>\n </ng-container>\n </ng-container>\n "
1413
- },] }
1414
- ];
1415
- AppSidebarNavItemsComponent.ctorParameters = function () { return [
1416
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
1417
- { type: i0.Renderer2 },
1418
- { type: i1.Router },
1419
- { type: SidebarNavHelper }
1420
- ]; };
1421
- AppSidebarNavItemsComponent.propDecorators = {
1422
- items: [{ type: i0.Input }]
1423
- };
1424
-
1425
- var AppSidebarNavLinkContentComponent = /** @class */ (function () {
1426
- function AppSidebarNavLinkContentComponent(helper) {
1427
- this.helper = helper;
1283
+ var SidebarNavService = /** @class */ (function () {
1284
+ function SidebarNavService() {
1428
1285
  }
1429
- AppSidebarNavLinkContentComponent.prototype.ngOnInit = function () { };
1430
- AppSidebarNavLinkContentComponent.prototype.ngOnDestroy = function () { };
1431
- return AppSidebarNavLinkContentComponent;
1286
+ return SidebarNavService;
1432
1287
  }());
1433
- AppSidebarNavLinkContentComponent.decorators = [
1434
- { type: i0.Component, args: [{
1435
- selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
1436
- template: "\n <ng-container *ngIf=\"true\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge.text }}</span>\n </ng-container>\n ",
1437
- providers: [SidebarNavHelper]
1438
- },] }
1439
- ];
1440
- AppSidebarNavLinkContentComponent.ctorParameters = function () { return [
1441
- { type: SidebarNavHelper }
1442
- ]; };
1443
- AppSidebarNavLinkContentComponent.propDecorators = {
1444
- item: [{ type: i0.Input }]
1445
- };
1446
- var AppSidebarNavLinkComponent = /** @class */ (function () {
1447
- function AppSidebarNavLinkComponent(router) {
1448
- this.router = router;
1449
- this.linkClick = new i0.EventEmitter();
1450
- this.navigationEndObservable = router.events.pipe(operators.filter(function (event) {
1451
- return event instanceof i1.NavigationEnd;
1452
- }));
1288
+ SidebarNavService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1289
+ SidebarNavService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavService });
1290
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavService, decorators: [{
1291
+ type: i0.Injectable
1292
+ }] });
1293
+ var SidebarNavHelper = /** @class */ (function () {
1294
+ function SidebarNavHelper() {
1295
+ this.hasBadge = function (item) { return Boolean(item.badge); };
1296
+ this.hasIcon = function (item) { return Boolean(item.icon); };
1453
1297
  }
1454
- Object.defineProperty(AppSidebarNavLinkComponent.prototype, "item", {
1455
- get: function () {
1456
- return this._Item;
1457
- },
1458
- set: function (item) {
1459
- this._Item = JSON.parse(JSON.stringify(item));
1460
- },
1461
- enumerable: false,
1462
- configurable: true
1463
- });
1464
- AppSidebarNavLinkComponent.prototype.ngOnInit = function () {
1465
- var _this = this;
1466
- this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url));
1467
- this.linkType = this.getLinkType();
1468
- this.href = this.isDisabled() ? '' : (this.item.href || this.url);
1469
- this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];
1470
- this.navSubscription = this.navigationEndObservable.subscribe(function (event) {
1471
- var itemUrlArray = _this.href.split(/[?#(;]/)[0].split('/');
1472
- var urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');
1473
- _this.linkActive = itemUrlArray.every(function (value, index) { return value === urlArray[index]; });
1474
- });
1475
- };
1476
- AppSidebarNavLinkComponent.prototype.ngOnDestroy = function () {
1477
- this.navSubscription.unsubscribe();
1478
- };
1479
- AppSidebarNavLinkComponent.prototype.getLinkType = function () {
1480
- return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';
1481
- };
1482
- AppSidebarNavLinkComponent.prototype.isDisabled = function () {
1483
- return (this.item.attributes && this.item.attributes.disabled) ? true : null;
1298
+ SidebarNavHelper.prototype.itemType = function (item) {
1299
+ if (item.divider) {
1300
+ return 'divider';
1301
+ }
1302
+ else if (item.title) {
1303
+ return 'title';
1304
+ }
1305
+ else if (item.children) {
1306
+ return 'dropdown';
1307
+ }
1308
+ else if (item.label) {
1309
+ return 'label';
1310
+ }
1311
+ else if (!Object.keys(item).length) {
1312
+ return 'empty';
1313
+ }
1314
+ return 'link';
1484
1315
  };
1485
- AppSidebarNavLinkComponent.prototype.isExternalLink = function () {
1486
- return !!this.item.href || this.url.substring(0, 4) === 'http';
1316
+ SidebarNavHelper.prototype.isActive = function (router, item) {
1317
+ return router.isActive(item.url, false);
1487
1318
  };
1488
- AppSidebarNavLinkComponent.prototype.linkClicked = function () {
1489
- this.linkClick.emit();
1319
+ SidebarNavHelper.prototype.getIconClass = function (item) {
1320
+ var classes = {
1321
+ 'nav-icon': true
1322
+ };
1323
+ if (this.hasIcon(item)) {
1324
+ var icon = item.icon;
1325
+ // @ts-ignore
1326
+ classes[icon] = this.hasIcon(item);
1327
+ }
1328
+ return classes;
1490
1329
  };
1491
- return AppSidebarNavLinkComponent;
1330
+ return SidebarNavHelper;
1492
1331
  }());
1493
- AppSidebarNavLinkComponent.decorators = [
1494
- { type: i0.Component, args: [{
1495
- selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',
1496
- 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 ? 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",
1497
- providers: [SidebarNavHelper]
1498
- },] }
1499
- ];
1500
- AppSidebarNavLinkComponent.ctorParameters = function () { return [
1501
- { type: i1.Router }
1502
- ]; };
1503
- AppSidebarNavLinkComponent.propDecorators = {
1504
- item: [{ type: i0.Input }],
1505
- linkClick: [{ type: i0.Output }]
1506
- };
1332
+ SidebarNavHelper.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavHelper, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1333
+ SidebarNavHelper.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavHelper });
1334
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SidebarNavHelper, decorators: [{
1335
+ type: i0.Injectable
1336
+ }] });
1337
+
1338
+ var AppSidebarNavDividerComponent = /** @class */ (function () {
1339
+ function AppSidebarNavDividerComponent() {
1340
+ }
1341
+ AppSidebarNavDividerComponent.prototype.ngOnInit = function () { };
1342
+ return AppSidebarNavDividerComponent;
1343
+ }());
1344
+ AppSidebarNavDividerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavDividerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1345
+ AppSidebarNavDividerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavDividerComponent, selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: { item: "item" }, ngImport: i0__namespace, template: "", isInline: true });
1346
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavDividerComponent, decorators: [{
1347
+ type: i0.Component,
1348
+ args: [{
1349
+ selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',
1350
+ template: ""
1351
+ }]
1352
+ }], ctorParameters: function () { return []; }, propDecorators: { item: [{
1353
+ type: i0.Input
1354
+ }] } });
1507
1355
 
1508
1356
  var AppSidebarNavTitleComponent = /** @class */ (function () {
1509
1357
  function AppSidebarNavTitleComponent(el, renderer) {
1510
1358
  this.el = el;
1511
1359
  this.renderer = renderer;
1360
+ this.item = {};
1512
1361
  }
1513
1362
  AppSidebarNavTitleComponent.prototype.ngOnInit = function () {
1514
1363
  var nativeElement = this.el.nativeElement;
@@ -1559,23 +1408,45 @@
1559
1408
  };
1560
1409
  return AppSidebarNavTitleComponent;
1561
1410
  }());
1562
- AppSidebarNavTitleComponent.decorators = [
1563
- { type: i0.Component, args: [{
1564
- selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
1565
- template: ''
1566
- },] }
1567
- ];
1568
- AppSidebarNavTitleComponent.ctorParameters = function () { return [
1569
- { type: i0.ElementRef },
1570
- { type: i0.Renderer2 }
1571
- ]; };
1572
- AppSidebarNavTitleComponent.propDecorators = {
1573
- item: [{ type: i0.Input }]
1574
- };
1411
+ AppSidebarNavTitleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavTitleComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
1412
+ AppSidebarNavTitleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavTitleComponent, selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: { item: "item" }, ngImport: i0__namespace, template: '', isInline: true });
1413
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavTitleComponent, decorators: [{
1414
+ type: i0.Component,
1415
+ args: [{
1416
+ selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',
1417
+ template: '',
1418
+ }]
1419
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { item: [{
1420
+ type: i0.Input
1421
+ }] } });
1422
+
1423
+ var AppSidebarNavBadgePipe = /** @class */ (function () {
1424
+ function AppSidebarNavBadgePipe() {
1425
+ }
1426
+ AppSidebarNavBadgePipe.prototype.transform = function (item, args) {
1427
+ var classes = {
1428
+ badge: true
1429
+ };
1430
+ var variant = "badge-" + item.badge.variant;
1431
+ classes[variant] = !!item.badge.variant;
1432
+ classes[item.badge.class] = !!item.badge.class;
1433
+ return classes;
1434
+ };
1435
+ return AppSidebarNavBadgePipe;
1436
+ }());
1437
+ AppSidebarNavBadgePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavBadgePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1438
+ AppSidebarNavBadgePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavBadgePipe, name: "appSidebarNavBadge" });
1439
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavBadgePipe, decorators: [{
1440
+ type: i0.Pipe,
1441
+ args: [{
1442
+ name: 'appSidebarNavBadge'
1443
+ }]
1444
+ }] });
1575
1445
 
1576
1446
  var AppSidebarNavLabelComponent = /** @class */ (function () {
1577
1447
  function AppSidebarNavLabelComponent(helper) {
1578
1448
  this.helper = helper;
1449
+ this.item = {};
1579
1450
  this.classes = {
1580
1451
  'nav-label': true,
1581
1452
  active: true
@@ -1587,30 +1458,33 @@
1587
1458
  };
1588
1459
  AppSidebarNavLabelComponent.prototype.getItemClass = function () {
1589
1460
  var itemClass = this.item.class;
1461
+ // @ts-ignore
1590
1462
  this.classes[itemClass] = !!itemClass;
1591
1463
  return this.classes;
1592
1464
  };
1593
1465
  AppSidebarNavLabelComponent.prototype.getLabelIconClass = function () {
1594
- var variant = "text-" + this.item.label.variant;
1595
- this.iconClasses[variant] = !!this.item.label.variant;
1596
- var labelClass = this.item.label.class;
1466
+ var _a, _b, _c;
1467
+ var variant = "text-" + ((_a = this.item.label) === null || _a === void 0 ? void 0 : _a.variant);
1468
+ // @ts-ignore
1469
+ this.iconClasses[variant] = !!((_b = this.item.label) === null || _b === void 0 ? void 0 : _b.variant);
1470
+ var labelClass = (_c = this.item.label) === null || _c === void 0 ? void 0 : _c.class;
1471
+ // @ts-ignore
1597
1472
  this.iconClasses[labelClass] = !!labelClass;
1598
1473
  return this.iconClasses;
1599
1474
  };
1600
1475
  return AppSidebarNavLabelComponent;
1601
1476
  }());
1602
- AppSidebarNavLabelComponent.decorators = [
1603
- { type: i0.Component, args: [{
1604
- selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',
1605
- 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"
1606
- },] }
1607
- ];
1608
- AppSidebarNavLabelComponent.ctorParameters = function () { return [
1609
- { type: SidebarNavHelper }
1610
- ]; };
1611
- AppSidebarNavLabelComponent.propDecorators = {
1612
- item: [{ type: i0.Input }]
1613
- };
1477
+ AppSidebarNavLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLabelComponent, deps: [{ token: SidebarNavHelper }], target: i0__namespace.ɵɵFactoryTarget.Component });
1478
+ AppSidebarNavLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavLabelComponent, selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: { item: "item" }, ngImport: i0__namespace, 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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "appSidebarNavBadge": AppSidebarNavBadgePipe } });
1479
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLabelComponent, decorators: [{
1480
+ type: i0.Component,
1481
+ args: [{
1482
+ selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',
1483
+ templateUrl: './app-sidebar-nav-label.component.html'
1484
+ }]
1485
+ }], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
1486
+ type: i0.Input
1487
+ }] } });
1614
1488
 
1615
1489
  var AppSidebarNavIconPipe = /** @class */ (function () {
1616
1490
  function AppSidebarNavIconPipe() {
@@ -1625,31 +1499,14 @@
1625
1499
  };
1626
1500
  return AppSidebarNavIconPipe;
1627
1501
  }());
1628
- AppSidebarNavIconPipe.decorators = [
1629
- { type: i0.Pipe, args: [{
1630
- name: 'appSidebarNavIcon'
1631
- },] }
1632
- ];
1633
-
1634
- var AppSidebarNavBadgePipe = /** @class */ (function () {
1635
- function AppSidebarNavBadgePipe() {
1636
- }
1637
- AppSidebarNavBadgePipe.prototype.transform = function (item, args) {
1638
- var classes = {
1639
- badge: true
1640
- };
1641
- var variant = "badge-" + item.badge.variant;
1642
- classes[variant] = !!item.badge.variant;
1643
- classes[item.badge.class] = !!item.badge.class;
1644
- return classes;
1645
- };
1646
- return AppSidebarNavBadgePipe;
1647
- }());
1648
- AppSidebarNavBadgePipe.decorators = [
1649
- { type: i0.Pipe, args: [{
1650
- name: 'appSidebarNavBadge'
1651
- },] }
1652
- ];
1502
+ AppSidebarNavIconPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavIconPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1503
+ AppSidebarNavIconPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavIconPipe, name: "appSidebarNavIcon" });
1504
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavIconPipe, decorators: [{
1505
+ type: i0.Pipe,
1506
+ args: [{
1507
+ name: 'appSidebarNavIcon'
1508
+ }]
1509
+ }] });
1653
1510
 
1654
1511
  var AppSidebarNavLinkPipe = /** @class */ (function () {
1655
1512
  function AppSidebarNavLinkPipe() {
@@ -1664,11 +1521,140 @@
1664
1521
  };
1665
1522
  return AppSidebarNavLinkPipe;
1666
1523
  }());
1667
- AppSidebarNavLinkPipe.decorators = [
1668
- { type: i0.Pipe, args: [{
1669
- name: 'appSidebarNavLink'
1670
- },] }
1671
- ];
1524
+ AppSidebarNavLinkPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1525
+ AppSidebarNavLinkPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkPipe, name: "appSidebarNavLink" });
1526
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkPipe, decorators: [{
1527
+ type: i0.Pipe,
1528
+ args: [{
1529
+ name: 'appSidebarNavLink'
1530
+ }]
1531
+ }] });
1532
+
1533
+ var AppSidebarNavLinkContentComponent = /** @class */ (function () {
1534
+ function AppSidebarNavLinkContentComponent(helper) {
1535
+ this.helper = helper;
1536
+ this.item = {};
1537
+ }
1538
+ AppSidebarNavLinkContentComponent.prototype.ngOnInit = function () { };
1539
+ AppSidebarNavLinkContentComponent.prototype.ngOnDestroy = function () { };
1540
+ return AppSidebarNavLinkContentComponent;
1541
+ }());
1542
+ AppSidebarNavLinkContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkContentComponent, deps: [{ token: SidebarNavHelper }], target: i0__namespace.ɵɵFactoryTarget.Component });
1543
+ AppSidebarNavLinkContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavLinkContentComponent, selector: "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0__namespace, template: "\n <ng-container *ngIf=\"true\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item?.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item?.badge?.text }}</span>\n </ng-container>\n ", isInline: true, directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "appSidebarNavIcon": AppSidebarNavIconPipe, "appSidebarNavBadge": AppSidebarNavBadgePipe } });
1544
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkContentComponent, decorators: [{
1545
+ type: i0.Component,
1546
+ args: [{
1547
+ selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
1548
+ template: "\n <ng-container *ngIf=\"true\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item?.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item?.badge?.text }}</span>\n </ng-container>\n ",
1549
+ providers: [SidebarNavHelper]
1550
+ }]
1551
+ }], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
1552
+ type: i0.Input
1553
+ }] } });
1554
+ var AppSidebarNavLinkComponent = /** @class */ (function () {
1555
+ function AppSidebarNavLinkComponent(router) {
1556
+ this.router = router;
1557
+ this.linkClick = new i0.EventEmitter();
1558
+ this.navigationEndObservable = router.events.pipe(operators.filter(function (event) {
1559
+ return event instanceof i1.NavigationEnd;
1560
+ }));
1561
+ }
1562
+ Object.defineProperty(AppSidebarNavLinkComponent.prototype, "item", {
1563
+ get: function () {
1564
+ return this._Item;
1565
+ },
1566
+ set: function (item) {
1567
+ this._Item = JSON.parse(JSON.stringify(item));
1568
+ },
1569
+ enumerable: false,
1570
+ configurable: true
1571
+ });
1572
+ AppSidebarNavLinkComponent.prototype.ngOnInit = function () {
1573
+ var _this = this;
1574
+ // @ts-ignore
1575
+ this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url));
1576
+ this.linkType = this.getLinkType();
1577
+ this.href = this.isDisabled() ? '' : (this.item.href || this.url);
1578
+ this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];
1579
+ this.navSubscription = this.navigationEndObservable.subscribe(function (event) {
1580
+ var itemUrlArray = _this.href.split(/[?#(;]/)[0].split('/');
1581
+ var urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');
1582
+ _this.linkActive = itemUrlArray.every(function (value, index) { return value === urlArray[index]; });
1583
+ });
1584
+ };
1585
+ AppSidebarNavLinkComponent.prototype.ngOnDestroy = function () {
1586
+ this.navSubscription.unsubscribe();
1587
+ };
1588
+ AppSidebarNavLinkComponent.prototype.getLinkType = function () {
1589
+ return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';
1590
+ };
1591
+ AppSidebarNavLinkComponent.prototype.isDisabled = function () {
1592
+ return (this.item.attributes && this.item.attributes.disabled) ? true : null;
1593
+ };
1594
+ AppSidebarNavLinkComponent.prototype.isExternalLink = function () {
1595
+ return !!this.item.href || this.url.substring(0, 4) === 'http';
1596
+ };
1597
+ AppSidebarNavLinkComponent.prototype.linkClicked = function () {
1598
+ this.linkClick.emit();
1599
+ };
1600
+ return AppSidebarNavLinkComponent;
1601
+ }());
1602
+ AppSidebarNavLinkComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkComponent, deps: [{ token: i1__namespace.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
1603
+ AppSidebarNavLinkComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavLinkComponent, selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: { item: "item" }, outputs: { linkClick: "linkClick" }, providers: [SidebarNavHelper], ngImport: i0__namespace, 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", components: [{ type: AppSidebarNavLinkContentComponent, selector: "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", inputs: ["item"] }], directives: [{ type: i2__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i2__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1__namespace.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }], pipes: { "appSidebarNavLink": AppSidebarNavLinkPipe } });
1604
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavLinkComponent, decorators: [{
1605
+ type: i0.Component,
1606
+ args: [{
1607
+ selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',
1608
+ templateUrl: './app-sidebar-nav-link.component.html',
1609
+ providers: [SidebarNavHelper]
1610
+ }]
1611
+ }], ctorParameters: function () { return [{ type: i1__namespace.Router }]; }, propDecorators: { item: [{
1612
+ type: i0.Input
1613
+ }], linkClick: [{
1614
+ type: i0.Output
1615
+ }] } });
1616
+
1617
+ var NavDropdownDirective = /** @class */ (function () {
1618
+ function NavDropdownDirective(el) {
1619
+ this.el = el;
1620
+ }
1621
+ NavDropdownDirective.prototype.toggle = function () {
1622
+ this.el.nativeElement.classList.toggle('open');
1623
+ };
1624
+ return NavDropdownDirective;
1625
+ }());
1626
+ NavDropdownDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NavDropdownDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1627
+ NavDropdownDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NavDropdownDirective, selector: "[appNavDropdown]", ngImport: i0__namespace });
1628
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NavDropdownDirective, decorators: [{
1629
+ type: i0.Directive,
1630
+ args: [{
1631
+ selector: '[appNavDropdown]'
1632
+ }]
1633
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
1634
+ /**
1635
+ * Allows the dropdown to be toggled via click.
1636
+ */
1637
+ var NavDropdownToggleDirective = /** @class */ (function () {
1638
+ function NavDropdownToggleDirective(dropdown) {
1639
+ this.dropdown = dropdown;
1640
+ }
1641
+ NavDropdownToggleDirective.prototype.toggleOpen = function ($event) {
1642
+ $event.preventDefault();
1643
+ this.dropdown.toggle();
1644
+ };
1645
+ return NavDropdownToggleDirective;
1646
+ }());
1647
+ NavDropdownToggleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NavDropdownToggleDirective, deps: [{ token: NavDropdownDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1648
+ NavDropdownToggleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NavDropdownToggleDirective, selector: "[appNavDropdownToggle]", host: { listeners: { "click": "toggleOpen($event)" } }, ngImport: i0__namespace });
1649
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NavDropdownToggleDirective, decorators: [{
1650
+ type: i0.Directive,
1651
+ args: [{
1652
+ selector: '[appNavDropdownToggle]'
1653
+ }]
1654
+ }], ctorParameters: function () { return [{ type: NavDropdownDirective }]; }, propDecorators: { toggleOpen: [{
1655
+ type: i0.HostListener,
1656
+ args: ['click', ['$event']]
1657
+ }] } });
1672
1658
 
1673
1659
  var AppSidebarNavItemClassPipe = /** @class */ (function () {
1674
1660
  function AppSidebarNavItemClassPipe(helper) {
@@ -1694,73 +1680,306 @@
1694
1680
  };
1695
1681
  return AppSidebarNavItemClassPipe;
1696
1682
  }());
1697
- AppSidebarNavItemClassPipe.decorators = [
1698
- { type: i0.Pipe, args: [{
1699
- name: 'appSidebarNavItemClass'
1700
- },] }
1701
- ];
1702
- AppSidebarNavItemClassPipe.ctorParameters = function () { return [
1703
- { type: SidebarNavHelper }
1704
- ]; };
1683
+ AppSidebarNavItemClassPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavItemClassPipe, deps: [{ token: SidebarNavHelper }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1684
+ AppSidebarNavItemClassPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavItemClassPipe, name: "appSidebarNavItemClass" });
1685
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavItemClassPipe, decorators: [{
1686
+ type: i0.Pipe,
1687
+ args: [{
1688
+ name: 'appSidebarNavItemClass'
1689
+ }]
1690
+ }], ctorParameters: function () { return [{ type: SidebarNavHelper }]; } });
1691
+
1692
+ var AppSidebarNavItemsComponent = /** @class */ (function () {
1693
+ function AppSidebarNavItemsComponent(document, renderer, router, helper) {
1694
+ this.document = document;
1695
+ this.renderer = renderer;
1696
+ this.router = router;
1697
+ this.helper = helper;
1698
+ this._items = [];
1699
+ }
1700
+ Object.defineProperty(AppSidebarNavItemsComponent.prototype, "items", {
1701
+ get: function () {
1702
+ return this._items;
1703
+ },
1704
+ set: function (items) {
1705
+ this._items = __spreadArray([], __read(items));
1706
+ },
1707
+ enumerable: false,
1708
+ configurable: true
1709
+ });
1710
+ AppSidebarNavItemsComponent.prototype.hideMobile = function () {
1711
+ if (this.document.body.classList.contains('sidebar-show')) {
1712
+ this.renderer.removeClass(this.document.body, 'sidebar-show');
1713
+ }
1714
+ };
1715
+ return AppSidebarNavItemsComponent;
1716
+ }());
1717
+ AppSidebarNavItemsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavItemsComponent, deps: [{ token: i2.DOCUMENT }, { token: i0__namespace.Renderer2 }, { token: i1__namespace.Router }, { token: SidebarNavHelper }], target: i0__namespace.ɵɵFactoryTarget.Component });
1718
+ AppSidebarNavItemsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: { items: "items" }, ngImport: i0__namespace, template: "\n <ng-container *ngFor=\"let item of items\">\n <ng-container [ngSwitch]=\"helper.itemType(item)\">\n <app-sidebar-nav-dropdown\n *ngSwitchCase=\"'dropdown'\"\n [item]=\"item\"\n [class.open]=\"helper.isActive(router, item)\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n appNavDropdown\n routerLinkActive=\"open\">\n </app-sidebar-nav-dropdown>\n <app-sidebar-nav-divider\n *ngSwitchCase=\"'divider'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-divider>\n <app-sidebar-nav-title\n *ngSwitchCase=\"'title'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-title>\n <app-sidebar-nav-label\n *ngSwitchCase=\"'label'\"\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\">\n </app-sidebar-nav-label>\n <ng-container\n *ngSwitchCase=\"'empty'\">\n </ng-container>\n <app-sidebar-nav-link\n *ngSwitchDefault\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n (linkClick)=\"hideMobile()\"\n >\n </app-sidebar-nav-link>\n </ng-container>\n </ng-container>\n ", isInline: true, components: [{ type: i0__namespace.forwardRef(function () { return AppSidebarNavDropdownComponent; }), selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: ["item"] }, { type: i0__namespace.forwardRef(function () { return AppSidebarNavDividerComponent; }), selector: "app-sidebar-nav-divider, cui-sidebar-nav-divider", inputs: ["item"] }, { type: i0__namespace.forwardRef(function () { return AppSidebarNavTitleComponent; }), selector: "app-sidebar-nav-title, cui-sidebar-nav-title", inputs: ["item"] }, { type: i0__namespace.forwardRef(function () { return AppSidebarNavLabelComponent; }), selector: "app-sidebar-nav-label, cui-sidebar-nav-label", inputs: ["item"] }, { type: i0__namespace.forwardRef(function () { return AppSidebarNavLinkComponent; }), selector: "app-sidebar-nav-link, cui-sidebar-nav-link", inputs: ["item"], outputs: ["linkClick"] }], directives: [{ type: i0__namespace.forwardRef(function () { return i2__namespace.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i0__namespace.forwardRef(function () { return i2__namespace.NgSwitch; }), selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i0__namespace.forwardRef(function () { return i2__namespace.NgSwitchCase; }), selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i0__namespace.forwardRef(function () { return NavDropdownDirective; }), selector: "[appNavDropdown]" }, { type: i0__namespace.forwardRef(function () { return i1__namespace.RouterLinkActive; }), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i0__namespace.forwardRef(function () { return i2__namespace.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0__namespace.forwardRef(function () { return HtmlAttributesDirective; }), selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i0__namespace.forwardRef(function () { return i2__namespace.NgSwitchDefault; }), selector: "[ngSwitchDefault]" }], pipes: { "appSidebarNavItemClass": i0__namespace.forwardRef(function () { return AppSidebarNavItemClassPipe; }) } });
1719
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavItemsComponent, decorators: [{
1720
+ type: i0.Component,
1721
+ args: [{
1722
+ selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',
1723
+ template: "\n <ng-container *ngFor=\"let item of items\">\n <ng-container [ngSwitch]=\"helper.itemType(item)\">\n <app-sidebar-nav-dropdown\n *ngSwitchCase=\"'dropdown'\"\n [item]=\"item\"\n [class.open]=\"helper.isActive(router, item)\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n appNavDropdown\n routerLinkActive=\"open\">\n </app-sidebar-nav-dropdown>\n <app-sidebar-nav-divider\n *ngSwitchCase=\"'divider'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-divider>\n <app-sidebar-nav-title\n *ngSwitchCase=\"'title'\"\n [item]=\"item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n [appHtmlAttr]=\"item.attributes\">\n </app-sidebar-nav-title>\n <app-sidebar-nav-label\n *ngSwitchCase=\"'label'\"\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\">\n </app-sidebar-nav-label>\n <ng-container\n *ngSwitchCase=\"'empty'\">\n </ng-container>\n <app-sidebar-nav-link\n *ngSwitchDefault\n [item]=\"item\"\n class=\"nav-item\"\n [ngClass]=\"item | appSidebarNavItemClass\"\n (linkClick)=\"hideMobile()\"\n >\n </app-sidebar-nav-link>\n </ng-container>\n </ng-container>\n "
1724
+ }]
1725
+ }], ctorParameters: function () {
1726
+ return [{ type: undefined, decorators: [{
1727
+ type: i0.Inject,
1728
+ args: [i2.DOCUMENT]
1729
+ }] }, { type: i0__namespace.Renderer2 }, { type: i1__namespace.Router }, { type: SidebarNavHelper }];
1730
+ }, propDecorators: { items: [{
1731
+ type: i0.Input
1732
+ }] } });
1733
+ var AppSidebarNavDropdownComponent = /** @class */ (function () {
1734
+ function AppSidebarNavDropdownComponent(helper) {
1735
+ this.helper = helper;
1736
+ this.item = {};
1737
+ }
1738
+ return AppSidebarNavDropdownComponent;
1739
+ }());
1740
+ AppSidebarNavDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavDropdownComponent, deps: [{ token: SidebarNavHelper }], target: i0__namespace.ɵɵFactoryTarget.Component });
1741
+ AppSidebarNavDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarNavDropdownComponent, selector: "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", inputs: { item: "item" }, providers: [SidebarNavHelper], ngImport: i0__namespace, template: "\n <a class=\"nav-link nav-dropdown-toggle\"\n appNavDropdownToggle\n [appHtmlAttr]=\"item.attributes\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\n </a>\n <app-sidebar-nav-items\n class=\"nav-dropdown-items\"\n [items]=\"item.children ?? []\">\n </app-sidebar-nav-items>\n ", isInline: true, styles: [".nav-dropdown-toggle { cursor: pointer; }", ".nav-dropdown-items { display: block; }"], components: [{ type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: ["items"] }], directives: [{ type: NavDropdownToggleDirective, selector: "[appNavDropdownToggle]" }, { type: HtmlAttributesDirective, selector: "[appHtmlAttr]", inputs: ["appHtmlAttr"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "appSidebarNavIcon": AppSidebarNavIconPipe, "appSidebarNavBadge": AppSidebarNavBadgePipe } });
1742
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavDropdownComponent, decorators: [{
1743
+ type: i0.Component,
1744
+ args: [{
1745
+ selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',
1746
+ template: "\n <a class=\"nav-link nav-dropdown-toggle\"\n appNavDropdownToggle\n [appHtmlAttr]=\"item.attributes\">\n <i *ngIf=\"helper.hasIcon(item)\" [ngClass]=\"item | appSidebarNavIcon\"></i>\n <ng-container>{{item.name}}</ng-container>\n <span *ngIf=\"helper.hasBadge(item)\" [ngClass]=\"item | appSidebarNavBadge\">{{ item.badge?.text }}</span>\n </a>\n <app-sidebar-nav-items\n class=\"nav-dropdown-items\"\n [items]=\"item.children ?? []\">\n </app-sidebar-nav-items>\n ",
1747
+ styles: [
1748
+ '.nav-dropdown-toggle { cursor: pointer; }',
1749
+ '.nav-dropdown-items { display: block; }'
1750
+ ],
1751
+ providers: [SidebarNavHelper]
1752
+ }]
1753
+ }], ctorParameters: function () { return [{ type: SidebarNavHelper }]; }, propDecorators: { item: [{
1754
+ type: i0.Input
1755
+ }] } });
1756
+
1757
+ var AppSidebarNavComponent = /** @class */ (function () {
1758
+ function AppSidebarNavComponent(router) {
1759
+ this.router = router;
1760
+ this.navItems = [];
1761
+ this.sidebarNavClass = true;
1762
+ this.role = 'nav';
1763
+ this.navItemsArray = [];
1764
+ }
1765
+ AppSidebarNavComponent.prototype.ngOnChanges = function (changes) {
1766
+ this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];
1767
+ };
1768
+ return AppSidebarNavComponent;
1769
+ }());
1770
+ AppSidebarNavComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavComponent, deps: [{ token: i1__namespace.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
1771
+ AppSidebarNavComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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__namespace, template: "<app-sidebar-nav-items\n class=\"nav\"\n [items]=\"navItemsArray\">\n</app-sidebar-nav-items>\n", components: [{ type: AppSidebarNavItemsComponent, selector: "app-sidebar-nav-items, cui-sidebar-nav-items", inputs: ["items"] }] });
1772
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarNavComponent, decorators: [{
1773
+ type: i0.Component,
1774
+ args: [{
1775
+ selector: 'app-sidebar-nav, cui-sidebar-nav',
1776
+ templateUrl: './app-sidebar-nav.component.html'
1777
+ }]
1778
+ }], ctorParameters: function () { return [{ type: i1__namespace.Router }]; }, propDecorators: { navItems: [{
1779
+ type: i0.Input
1780
+ }], sidebarNavClass: [{
1781
+ type: i0.HostBinding,
1782
+ args: ['class.sidebar-nav']
1783
+ }], role: [{
1784
+ type: i0.HostBinding,
1785
+ args: ['attr.role']
1786
+ }, {
1787
+ type: i0.Input
1788
+ }] } });
1789
+
1790
+ var AppSidebarMinimizerComponent = /** @class */ (function () {
1791
+ function AppSidebarMinimizerComponent(sidebarService) {
1792
+ this.sidebarService = sidebarService;
1793
+ this.role = 'button';
1794
+ this.sidebarMinimizerClass = true;
1795
+ }
1796
+ AppSidebarMinimizerComponent.prototype.toggleOpen = function ($event) {
1797
+ $event.preventDefault();
1798
+ this.sidebarService.toggle({ minimize: 'toggle' });
1799
+ };
1800
+ return AppSidebarMinimizerComponent;
1801
+ }());
1802
+ AppSidebarMinimizerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarMinimizerComponent, deps: [{ token: AppSidebarService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1803
+ AppSidebarMinimizerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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__namespace, template: "", isInline: true });
1804
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarMinimizerComponent, decorators: [{
1805
+ type: i0.Component,
1806
+ args: [{
1807
+ selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',
1808
+ template: ""
1809
+ }]
1810
+ }], ctorParameters: function () { return [{ type: AppSidebarService }]; }, propDecorators: { role: [{
1811
+ type: i0.HostBinding,
1812
+ args: ['attr.role']
1813
+ }, {
1814
+ type: i0.Input
1815
+ }], sidebarMinimizerClass: [{
1816
+ type: i0.HostBinding,
1817
+ args: ['class.sidebar-minimizer']
1818
+ }], toggleOpen: [{
1819
+ type: i0.HostListener,
1820
+ args: ['click', ['$event']]
1821
+ }] } });
1822
+
1823
+ var AppSidebarFooterComponent = /** @class */ (function () {
1824
+ function AppSidebarFooterComponent() {
1825
+ this.sidebarFooterClass = true;
1826
+ }
1827
+ return AppSidebarFooterComponent;
1828
+ }());
1829
+ AppSidebarFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarFooterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1830
+ AppSidebarFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarFooterComponent, selector: "app-sidebar-footer, cui-sidebar-footer", host: { properties: { "class.sidebar-footer": "this.sidebarFooterClass" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>", isInline: true });
1831
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarFooterComponent, decorators: [{
1832
+ type: i0.Component,
1833
+ args: [{
1834
+ selector: 'app-sidebar-footer, cui-sidebar-footer',
1835
+ template: "<ng-content></ng-content>"
1836
+ }]
1837
+ }], ctorParameters: function () { return []; }, propDecorators: { sidebarFooterClass: [{
1838
+ type: i0.HostBinding,
1839
+ args: ['class.sidebar-footer']
1840
+ }] } });
1841
+
1842
+ var AppSidebarFormComponent = /** @class */ (function () {
1843
+ function AppSidebarFormComponent() {
1844
+ this.sidebarFormClass = true;
1845
+ }
1846
+ return AppSidebarFormComponent;
1847
+ }());
1848
+ AppSidebarFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarFormComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1849
+ AppSidebarFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarFormComponent, selector: "app-sidebar-form, cui-sidebar-form", host: { properties: { "class.sidebar-form": "this.sidebarFormClass" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>", isInline: true });
1850
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarFormComponent, decorators: [{
1851
+ type: i0.Component,
1852
+ args: [{
1853
+ selector: 'app-sidebar-form, cui-sidebar-form',
1854
+ template: "<ng-content></ng-content>"
1855
+ }]
1856
+ }], ctorParameters: function () { return []; }, propDecorators: { sidebarFormClass: [{
1857
+ type: i0.HostBinding,
1858
+ args: ['class.sidebar-form']
1859
+ }] } });
1860
+
1861
+ var AppSidebarHeaderComponent = /** @class */ (function () {
1862
+ function AppSidebarHeaderComponent() {
1863
+ this.sidebarHeaderClass = true;
1864
+ }
1865
+ return AppSidebarHeaderComponent;
1866
+ }());
1867
+ AppSidebarHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1868
+ AppSidebarHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppSidebarHeaderComponent, selector: "app-sidebar-header, cui-sidebar-header", host: { properties: { "class.sidebar-header": "this.sidebarHeaderClass" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>", isInline: true });
1869
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarHeaderComponent, decorators: [{
1870
+ type: i0.Component,
1871
+ args: [{
1872
+ selector: 'app-sidebar-header, cui-sidebar-header',
1873
+ template: "<ng-content></ng-content>"
1874
+ }]
1875
+ }], ctorParameters: function () { return []; }, propDecorators: { sidebarHeaderClass: [{
1876
+ type: i0.HostBinding,
1877
+ args: ['class.sidebar-header']
1878
+ }] } });
1705
1879
 
1706
1880
  var AppSidebarModule = /** @class */ (function () {
1707
1881
  function AppSidebarModule() {
1708
1882
  }
1709
1883
  return AppSidebarModule;
1710
1884
  }());
1711
- AppSidebarModule.decorators = [
1712
- { type: i0.NgModule, args: [{
1713
- imports: [
1714
- common.CommonModule,
1715
- i1.RouterModule,
1716
- LayoutModule
1717
- ],
1718
- exports: [
1719
- AppSidebarFooterComponent,
1720
- AppSidebarFormComponent,
1721
- AppSidebarHeaderComponent,
1722
- AppSidebarMinimizerComponent,
1723
- AppSidebarComponent,
1724
- AppSidebarNavItemsComponent,
1725
- AppSidebarNavComponent,
1726
- AppSidebarNavDividerComponent,
1727
- AppSidebarNavDropdownComponent,
1728
- AppSidebarNavLabelComponent,
1729
- AppSidebarNavLinkComponent,
1730
- AppSidebarNavLinkContentComponent,
1731
- AppSidebarNavTitleComponent,
1732
- NavDropdownDirective,
1733
- NavDropdownToggleDirective,
1734
- LayoutModule
1735
- ],
1736
- declarations: [
1737
- AppSidebarFooterComponent,
1738
- AppSidebarFormComponent,
1739
- AppSidebarHeaderComponent,
1740
- AppSidebarMinimizerComponent,
1741
- AppSidebarMinimizerComponent,
1742
- AppSidebarComponent,
1743
- AppSidebarNavItemsComponent,
1744
- AppSidebarNavComponent,
1745
- AppSidebarNavDividerComponent,
1746
- AppSidebarNavDropdownComponent,
1747
- AppSidebarNavLinkComponent,
1748
- AppSidebarNavLinkContentComponent,
1749
- AppSidebarNavTitleComponent,
1750
- NavDropdownDirective,
1751
- NavDropdownToggleDirective,
1752
- AppSidebarNavLabelComponent,
1753
- AppSidebarNavIconPipe,
1754
- AppSidebarNavBadgePipe,
1755
- AppSidebarNavLinkPipe,
1756
- AppSidebarNavItemClassPipe
1757
- ],
1758
- providers: [
1759
- SidebarNavHelper,
1760
- AppSidebarService
1761
- ]
1762
- },] }
1763
- ];
1885
+ AppSidebarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1886
+ AppSidebarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarModule, declarations: [AppSidebarFooterComponent,
1887
+ AppSidebarFormComponent,
1888
+ AppSidebarHeaderComponent,
1889
+ AppSidebarMinimizerComponent,
1890
+ AppSidebarMinimizerComponent,
1891
+ AppSidebarComponent,
1892
+ AppSidebarNavItemsComponent,
1893
+ AppSidebarNavComponent,
1894
+ AppSidebarNavDividerComponent,
1895
+ AppSidebarNavDropdownComponent,
1896
+ AppSidebarNavLinkComponent,
1897
+ AppSidebarNavLinkContentComponent,
1898
+ AppSidebarNavTitleComponent,
1899
+ NavDropdownDirective,
1900
+ NavDropdownToggleDirective,
1901
+ AppSidebarNavLabelComponent,
1902
+ AppSidebarNavIconPipe,
1903
+ AppSidebarNavBadgePipe,
1904
+ AppSidebarNavLinkPipe,
1905
+ AppSidebarNavItemClassPipe], imports: [i2.CommonModule,
1906
+ i1.RouterModule,
1907
+ LayoutModule], exports: [AppSidebarFooterComponent,
1908
+ AppSidebarFormComponent,
1909
+ AppSidebarHeaderComponent,
1910
+ AppSidebarMinimizerComponent,
1911
+ AppSidebarComponent,
1912
+ // AppSidebarNavItemsComponent,
1913
+ AppSidebarNavComponent] });
1914
+ AppSidebarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarModule, providers: [
1915
+ SidebarNavHelper,
1916
+ AppSidebarService
1917
+ ], imports: [[
1918
+ i2.CommonModule,
1919
+ i1.RouterModule,
1920
+ LayoutModule
1921
+ ]] });
1922
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppSidebarModule, decorators: [{
1923
+ type: i0.NgModule,
1924
+ args: [{
1925
+ imports: [
1926
+ i2.CommonModule,
1927
+ i1.RouterModule,
1928
+ LayoutModule
1929
+ ],
1930
+ exports: [
1931
+ AppSidebarFooterComponent,
1932
+ AppSidebarFormComponent,
1933
+ AppSidebarHeaderComponent,
1934
+ AppSidebarMinimizerComponent,
1935
+ AppSidebarComponent,
1936
+ // AppSidebarNavItemsComponent,
1937
+ AppSidebarNavComponent,
1938
+ // AppSidebarNavDividerComponent,
1939
+ // AppSidebarNavDropdownComponent,
1940
+ // AppSidebarNavLabelComponent,
1941
+ // AppSidebarNavLinkComponent,
1942
+ // AppSidebarNavLinkContentComponent,
1943
+ // AppSidebarNavTitleComponent,
1944
+ // NavDropdownDirective,
1945
+ // NavDropdownToggleDirective,
1946
+ ],
1947
+ declarations: [
1948
+ AppSidebarFooterComponent,
1949
+ AppSidebarFormComponent,
1950
+ AppSidebarHeaderComponent,
1951
+ AppSidebarMinimizerComponent,
1952
+ AppSidebarMinimizerComponent,
1953
+ AppSidebarComponent,
1954
+ AppSidebarNavItemsComponent,
1955
+ AppSidebarNavComponent,
1956
+ AppSidebarNavDividerComponent,
1957
+ AppSidebarNavDropdownComponent,
1958
+ AppSidebarNavLinkComponent,
1959
+ AppSidebarNavLinkContentComponent,
1960
+ AppSidebarNavTitleComponent,
1961
+ NavDropdownDirective,
1962
+ NavDropdownToggleDirective,
1963
+ AppSidebarNavLabelComponent,
1964
+ AppSidebarNavIconPipe,
1965
+ AppSidebarNavBadgePipe,
1966
+ AppSidebarNavLinkPipe,
1967
+ AppSidebarNavItemClassPipe
1968
+ ],
1969
+ providers: [
1970
+ SidebarNavHelper,
1971
+ AppSidebarService
1972
+ ]
1973
+ }]
1974
+ }] });
1975
+
1976
+ // export { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';
1977
+ // export { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';
1978
+ // export { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';
1979
+ // export { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';
1980
+ // export { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';
1981
+ // export { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';
1982
+ // export { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';
1764
1983
 
1765
1984
  /*
1766
1985
  * Public API Surface of @coreui/angular
@@ -1781,40 +2000,16 @@
1781
2000
  exports.AppHeaderComponent = AppHeaderComponent;
1782
2001
  exports.AppHeaderModule = AppHeaderModule;
1783
2002
  exports.AppSidebarComponent = AppSidebarComponent;
2003
+ exports.AppSidebarFooterComponent = AppSidebarFooterComponent;
2004
+ exports.AppSidebarFormComponent = AppSidebarFormComponent;
2005
+ exports.AppSidebarHeaderComponent = AppSidebarHeaderComponent;
1784
2006
  exports.AppSidebarMinimizerComponent = AppSidebarMinimizerComponent;
1785
2007
  exports.AppSidebarModule = AppSidebarModule;
1786
2008
  exports.AppSidebarNavComponent = AppSidebarNavComponent;
1787
2009
  exports.CuiBreadcrumbComponent = CuiBreadcrumbComponent;
1788
2010
  exports.SidebarNavHelper = SidebarNavHelper;
1789
- exports.ɵa = LayoutModule;
1790
- exports.ɵb = SidebarToggleDirective;
1791
- exports.ɵba = AppSidebarNavItemClassPipe;
1792
- exports.ɵc = SidebarMinimizeDirective;
1793
- exports.ɵd = MobileSidebarToggleDirective;
1794
- exports.ɵe = SidebarOffCanvasCloseDirective;
1795
- exports.ɵf = BrandMinimizeDirective;
1796
- exports.ɵg = AsideToggleDirective;
1797
- exports.ɵh = HtmlAttributesDirective;
1798
- exports.ɵi = ClassToggler;
1799
- exports.ɵj = AppBreadcrumbService;
1800
- exports.ɵk = AppSidebarService;
1801
- exports.ɵl = AppSidebarFooterComponent;
1802
- exports.ɵm = AppSidebarFormComponent;
1803
- exports.ɵn = AppSidebarHeaderComponent;
1804
- exports.ɵo = AppSidebarNavItemsComponent;
1805
- exports.ɵp = AppSidebarNavDividerComponent;
1806
- exports.ɵq = AppSidebarNavDropdownComponent;
1807
- exports.ɵr = AppSidebarNavLabelComponent;
1808
- exports.ɵs = AppSidebarNavLinkContentComponent;
1809
- exports.ɵt = AppSidebarNavLinkComponent;
1810
- exports.ɵu = AppSidebarNavTitleComponent;
1811
- exports.ɵv = NavDropdownDirective;
1812
- exports.ɵw = NavDropdownToggleDirective;
1813
- exports.ɵx = AppSidebarNavIconPipe;
1814
- exports.ɵy = AppSidebarNavBadgePipe;
1815
- exports.ɵz = AppSidebarNavLinkPipe;
1816
2011
 
1817
2012
  Object.defineProperty(exports, '__esModule', { value: true });
1818
2013
 
1819
- })));
2014
+ }));
1820
2015
  //# sourceMappingURL=coreui-angular.umd.js.map