@coreui/angular 2.11.3 → 2.13.1

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 (140) hide show
  1. package/README.md +4 -4
  2. package/coreui-angular.d.ts +1 -19
  3. package/esm2020/coreui-angular.mjs +5 -0
  4. package/esm2020/lib/aside/app-aside.component.mjs +58 -0
  5. package/esm2020/lib/aside/app-aside.module.mjs +30 -0
  6. package/{esm2015/lib/aside/index.js → esm2020/lib/aside/index.mjs} +0 -0
  7. package/{esm2015/lib/aside/public_api.js → esm2020/lib/aside/public_api.mjs} +0 -0
  8. package/esm2020/lib/breadcrumb/app-breadcrumb.component.mjs +62 -0
  9. package/esm2020/lib/breadcrumb/app-breadcrumb.module.mjs +31 -0
  10. package/esm2020/lib/breadcrumb/app-breadcrumb.service.mjs +46 -0
  11. package/esm2020/lib/breadcrumb/cui-breadcrumb.component.mjs +38 -0
  12. package/{esm2015/lib/breadcrumb/index.js → esm2020/lib/breadcrumb/index.mjs} +0 -0
  13. package/{esm2015/lib/breadcrumb/public_api.js → esm2020/lib/breadcrumb/public_api.mjs} +0 -0
  14. package/esm2020/lib/footer/app-footer.component.mjs +40 -0
  15. package/esm2020/lib/footer/app-footer.module.mjs +18 -0
  16. package/{esm2015/lib/footer/index.js → esm2020/lib/footer/index.mjs} +0 -0
  17. package/{esm2015/lib/footer/public_api.js → esm2020/lib/footer/public_api.mjs} +0 -0
  18. package/esm2020/lib/header/app-header.component.mjs +97 -0
  19. package/esm2020/lib/header/app-header.module.mjs +34 -0
  20. package/{esm2015/lib/header/index.js → esm2020/lib/header/index.mjs} +0 -0
  21. package/{esm2015/lib/header/public_api.js → esm2020/lib/header/public_api.mjs} +0 -0
  22. package/{esm2015/lib/shared/classes.js → esm2020/lib/shared/classes.mjs} +0 -0
  23. package/esm2020/lib/shared/index.mjs +2 -0
  24. package/esm2020/lib/shared/layout/layout.directive.mjs +233 -0
  25. package/esm2020/lib/shared/layout/layout.module.mjs +56 -0
  26. package/esm2020/lib/shared/public_api.mjs +5 -0
  27. package/esm2020/lib/shared/replace.mjs +12 -0
  28. package/esm2020/lib/shared/toggle-classes.mjs +46 -0
  29. package/esm2020/lib/sidebar/app-sidebar-footer.component.mjs +20 -0
  30. package/esm2020/lib/sidebar/app-sidebar-form.component.mjs +20 -0
  31. package/esm2020/lib/sidebar/app-sidebar-header.component.mjs +20 -0
  32. package/esm2020/lib/sidebar/app-sidebar-minimizer.component.mjs +35 -0
  33. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.mjs +22 -0
  34. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.mjs +18 -0
  35. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.mjs +21 -0
  36. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.mjs +31 -0
  37. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.mjs +181 -0
  38. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.mjs +44 -0
  39. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.mjs +97 -0
  40. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.mjs +21 -0
  41. package/esm2020/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.mjs +67 -0
  42. package/esm2020/lib/sidebar/app-sidebar-nav.component.mjs +33 -0
  43. package/esm2020/lib/sidebar/app-sidebar-nav.directive.mjs +42 -0
  44. package/esm2020/lib/sidebar/app-sidebar-nav.mjs +2 -0
  45. package/esm2020/lib/sidebar/app-sidebar-nav.service.mjs +53 -0
  46. package/esm2020/lib/sidebar/app-sidebar.component.mjs +112 -0
  47. package/esm2020/lib/sidebar/app-sidebar.module.mjs +119 -0
  48. package/esm2020/lib/sidebar/app-sidebar.service.mjs +21 -0
  49. package/{esm2015/lib/sidebar/index.js → esm2020/lib/sidebar/index.mjs} +0 -0
  50. package/esm2020/lib/sidebar/public_api.mjs +16 -0
  51. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  52. package/fesm2015/coreui-angular.mjs +1680 -0
  53. package/fesm2015/coreui-angular.mjs.map +1 -0
  54. package/fesm2020/coreui-angular.mjs +1655 -0
  55. package/fesm2020/coreui-angular.mjs.map +1 -0
  56. package/lib/aside/app-aside.component.d.ts +7 -4
  57. package/lib/aside/app-aside.module.d.ts +7 -0
  58. package/lib/breadcrumb/app-breadcrumb.component.d.ts +7 -3
  59. package/lib/breadcrumb/app-breadcrumb.module.d.ts +8 -0
  60. package/lib/breadcrumb/app-breadcrumb.service.d.ts +3 -0
  61. package/lib/breadcrumb/cui-breadcrumb.component.d.ts +7 -3
  62. package/lib/footer/app-footer.component.d.ts +5 -2
  63. package/lib/footer/app-footer.module.d.ts +6 -0
  64. package/lib/header/app-header.component.d.ts +8 -5
  65. package/lib/header/app-header.module.d.ts +8 -0
  66. package/lib/shared/index.d.ts +1 -3
  67. package/lib/shared/layout/layout.directive.d.ts +20 -5
  68. package/lib/shared/layout/layout.module.d.ts +6 -0
  69. package/lib/shared/public_api.d.ts +4 -0
  70. package/lib/shared/toggle-classes.d.ts +6 -3
  71. package/lib/sidebar/app-sidebar-footer.component.d.ts +3 -0
  72. package/lib/sidebar/app-sidebar-form.component.d.ts +3 -0
  73. package/lib/sidebar/app-sidebar-header.component.d.ts +3 -0
  74. package/lib/sidebar/app-sidebar-minimizer.component.d.ts +3 -0
  75. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.d.ts +3 -0
  76. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.d.ts +4 -1
  77. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.d.ts +3 -0
  78. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.d.ts +3 -0
  79. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +10 -0
  80. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.d.ts +3 -0
  81. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +7 -2
  82. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.d.ts +3 -0
  83. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.d.ts +3 -0
  84. package/lib/sidebar/app-sidebar-nav.component.d.ts +3 -0
  85. package/lib/sidebar/app-sidebar-nav.d.ts +2 -1
  86. package/lib/sidebar/app-sidebar-nav.directive.d.ts +5 -0
  87. package/lib/sidebar/app-sidebar-nav.service.d.ts +10 -5
  88. package/lib/sidebar/app-sidebar.component.d.ts +9 -6
  89. package/lib/sidebar/app-sidebar.module.d.ts +23 -0
  90. package/lib/sidebar/app-sidebar.service.d.ts +3 -0
  91. package/lib/sidebar/public_api.d.ts +3 -0
  92. package/package.json +24 -12
  93. package/bundles/coreui-angular.umd.js +0 -1820
  94. package/bundles/coreui-angular.umd.js.map +0 -1
  95. package/bundles/coreui-angular.umd.min.js +0 -2
  96. package/bundles/coreui-angular.umd.min.js.map +0 -1
  97. package/coreui-angular.metadata.json +0 -1
  98. package/esm2015/coreui-angular.js +0 -24
  99. package/esm2015/lib/aside/app-aside.component.js +0 -52
  100. package/esm2015/lib/aside/app-aside.module.js +0 -22
  101. package/esm2015/lib/breadcrumb/app-breadcrumb.component.js +0 -51
  102. package/esm2015/lib/breadcrumb/app-breadcrumb.module.js +0 -26
  103. package/esm2015/lib/breadcrumb/app-breadcrumb.service.js +0 -48
  104. package/esm2015/lib/breadcrumb/cui-breadcrumb.component.js +0 -39
  105. package/esm2015/lib/footer/app-footer.component.js +0 -36
  106. package/esm2015/lib/footer/app-footer.module.js +0 -13
  107. package/esm2015/lib/header/app-header.component.js +0 -76
  108. package/esm2015/lib/header/app-header.module.js +0 -24
  109. package/esm2015/lib/shared/index.js +0 -4
  110. package/esm2015/lib/shared/layout/index.js +0 -2
  111. package/esm2015/lib/shared/layout/layout.directive.js +0 -216
  112. package/esm2015/lib/shared/layout/layout.module.js +0 -35
  113. package/esm2015/lib/shared/replace.js +0 -11
  114. package/esm2015/lib/shared/toggle-classes.js +0 -46
  115. package/esm2015/lib/sidebar/app-sidebar-footer.component.js +0 -17
  116. package/esm2015/lib/sidebar/app-sidebar-form.component.js +0 -17
  117. package/esm2015/lib/sidebar/app-sidebar-header.component.js +0 -17
  118. package/esm2015/lib/sidebar/app-sidebar-minimizer.component.js +0 -28
  119. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.js +0 -18
  120. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.js +0 -16
  121. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.js +0 -35
  122. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.js +0 -17
  123. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.js +0 -30
  124. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.js +0 -81
  125. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.js +0 -40
  126. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.js +0 -86
  127. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.js +0 -17
  128. package/esm2015/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.js +0 -67
  129. package/esm2015/lib/sidebar/app-sidebar-nav.component.js +0 -29
  130. package/esm2015/lib/sidebar/app-sidebar-nav.directive.js +0 -41
  131. package/esm2015/lib/sidebar/app-sidebar-nav.js +0 -2
  132. package/esm2015/lib/sidebar/app-sidebar-nav.service.js +0 -49
  133. package/esm2015/lib/sidebar/app-sidebar.component.js +0 -104
  134. package/esm2015/lib/sidebar/app-sidebar.module.js +0 -81
  135. package/esm2015/lib/sidebar/app-sidebar.service.js +0 -20
  136. package/esm2015/lib/sidebar/public_api.js +0 -6
  137. package/fesm2015/coreui-angular.js +0 -1428
  138. package/fesm2015/coreui-angular.js.map +0 -1
  139. package/lib/shared/layout/index.d.ts +0 -1
  140. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.d.ts +0 -7
@@ -1,1820 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@coreui/angular', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators'], factory) :
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';
6
-
7
- var sidebarCssClasses = [
8
- 'sidebar-show',
9
- 'sidebar-sm-show',
10
- 'sidebar-md-show',
11
- 'sidebar-lg-show',
12
- 'sidebar-xl-show'
13
- ];
14
- var asideMenuCssClasses = [
15
- 'aside-menu-show',
16
- 'aside-menu-sm-show',
17
- 'aside-menu-md-show',
18
- 'aside-menu-lg-show',
19
- 'aside-menu-xl-show'
20
- ];
21
-
22
- var RemoveClasses = function (NewClassNames) {
23
- var MatchClasses = NewClassNames.map(function (Class) { return document.body.classList.contains(Class); });
24
- return MatchClasses.indexOf(true) !== -1;
25
- };
26
- var ɵ0 = RemoveClasses;
27
- var ToggleClasses = function (Toggle, ClassNames) {
28
- var Level = ClassNames.indexOf(Toggle);
29
- var NewClassNames = ClassNames.slice(0, Level + 1);
30
- if (RemoveClasses(NewClassNames)) {
31
- NewClassNames.map(function (Class) { return document.body.classList.remove(Class); });
32
- }
33
- else {
34
- document.body.classList.add(Toggle);
35
- }
36
- };
37
- var ClassToggler = /** @class */ (function () {
38
- function ClassToggler(document, renderer) {
39
- this.document = document;
40
- this.renderer = renderer;
41
- }
42
- ClassToggler.prototype.removeClasses = function (NewClassNames) {
43
- var _this = this;
44
- var MatchClasses = NewClassNames.map(function (Class) { return _this.document.body.classList.contains(Class); });
45
- return MatchClasses.indexOf(true) !== -1;
46
- };
47
- ClassToggler.prototype.toggleClasses = function (Toggle, ClassNames) {
48
- var _this = this;
49
- var Level = ClassNames.indexOf(Toggle);
50
- var NewClassNames = ClassNames.slice(0, Level + 1);
51
- if (this.removeClasses(NewClassNames)) {
52
- NewClassNames.map(function (Class) { return _this.renderer.removeClass(_this.document.body, Class); });
53
- }
54
- else {
55
- this.renderer.addClass(this.document.body, Toggle);
56
- }
57
- };
58
- return ClassToggler;
59
- }());
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
- ]; };
67
-
68
- /**
69
- * Allows the sidebar to be toggled via click.
70
- */
71
- var SidebarToggleDirective = /** @class */ (function () {
72
- function SidebarToggleDirective(classToggler) {
73
- this.classToggler = classToggler;
74
- }
75
- SidebarToggleDirective.prototype.ngOnInit = function () {
76
- this.bp = this.breakpoint;
77
- };
78
- SidebarToggleDirective.prototype.toggleOpen = function ($event) {
79
- $event.preventDefault();
80
- var cssClass = this.bp ? "sidebar-" + this.bp + "-show" : sidebarCssClasses[0];
81
- this.classToggler.toggleClasses(cssClass, sidebarCssClasses);
82
- };
83
- return SidebarToggleDirective;
84
- }());
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
- };
98
- var SidebarMinimizeDirective = /** @class */ (function () {
99
- function SidebarMinimizeDirective(document, renderer) {
100
- this.document = document;
101
- this.renderer = renderer;
102
- }
103
- SidebarMinimizeDirective.prototype.toggleOpen = function ($event) {
104
- $event.preventDefault();
105
- var body = this.document.body;
106
- body.classList.contains('sidebar-minimized') ?
107
- this.renderer.removeClass(body, 'sidebar-minimized') :
108
- this.renderer.addClass(body, 'sidebar-minimized');
109
- };
110
- return SidebarMinimizeDirective;
111
- }());
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
- };
124
- var MobileSidebarToggleDirective = /** @class */ (function () {
125
- function MobileSidebarToggleDirective(document, renderer) {
126
- this.document = document;
127
- this.renderer = renderer;
128
- }
129
- MobileSidebarToggleDirective.prototype.toggleOpen = function ($event) {
130
- $event.preventDefault();
131
- var body = this.document.body;
132
- body.classList.contains('sidebar-show') ?
133
- this.renderer.removeClass(body, 'sidebar-show') :
134
- this.renderer.addClass(body, 'sidebar-show');
135
- };
136
- return MobileSidebarToggleDirective;
137
- }());
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
- };
150
- /**
151
- * Allows the off-canvas sidebar to be closed via click.
152
- */
153
- var SidebarOffCanvasCloseDirective = /** @class */ (function () {
154
- function SidebarOffCanvasCloseDirective(document, renderer) {
155
- this.document = document;
156
- this.renderer = renderer;
157
- }
158
- SidebarOffCanvasCloseDirective.prototype.toggleOpen = function ($event) {
159
- $event.preventDefault();
160
- var body = this.document.body;
161
- if (body.classList.contains('sidebar-off-canvas')) {
162
- body.classList.contains('sidebar-show') ?
163
- this.renderer.removeClass(body, 'sidebar-show') :
164
- this.renderer.addClass(body, 'sidebar-show');
165
- }
166
- };
167
- return SidebarOffCanvasCloseDirective;
168
- }());
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
- };
181
- var BrandMinimizeDirective = /** @class */ (function () {
182
- function BrandMinimizeDirective(document, renderer) {
183
- this.document = document;
184
- this.renderer = renderer;
185
- }
186
- BrandMinimizeDirective.prototype.toggleOpen = function ($event) {
187
- $event.preventDefault();
188
- var body = this.document.body;
189
- body.classList.contains('brand-minimized') ?
190
- this.renderer.removeClass(body, 'brand-minimized') :
191
- this.renderer.addClass(body, 'brand-minimized');
192
- };
193
- return BrandMinimizeDirective;
194
- }());
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
- };
207
- /**
208
- * Allows the aside to be toggled via click.
209
- */
210
- var AsideToggleDirective = /** @class */ (function () {
211
- function AsideToggleDirective(classToggler) {
212
- this.classToggler = classToggler;
213
- }
214
- AsideToggleDirective.prototype.ngOnInit = function () {
215
- this.bp = this.breakpoint;
216
- };
217
- AsideToggleDirective.prototype.toggleOpen = function ($event) {
218
- $event.preventDefault();
219
- var cssClass = this.bp ? "aside-menu-" + this.bp + "-show" : asideMenuCssClasses[0];
220
- this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);
221
- };
222
- return AsideToggleDirective;
223
- }());
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
- };
237
- var HtmlAttributesDirective = /** @class */ (function () {
238
- function HtmlAttributesDirective(renderer, el) {
239
- this.renderer = renderer;
240
- this.el = el;
241
- }
242
- HtmlAttributesDirective.prototype.ngOnInit = function () {
243
- var attribs = this.appHtmlAttr;
244
- for (var attr in attribs) {
245
- if (attr === 'style' && typeof (attribs[attr]) === 'object') {
246
- this.setStyle(attribs[attr]);
247
- }
248
- else if (attr === 'class') {
249
- this.addClass(attribs[attr]);
250
- }
251
- else {
252
- this.setAttrib(attr, attribs[attr]);
253
- }
254
- }
255
- };
256
- HtmlAttributesDirective.prototype.setStyle = function (styles) {
257
- for (var style in styles) {
258
- this.renderer.setStyle(this.el.nativeElement, style, styles[style]);
259
- }
260
- };
261
- HtmlAttributesDirective.prototype.addClass = function (classes) {
262
- var _this = this;
263
- var classArray = (Array.isArray(classes) ? classes : classes.split(' '));
264
- classArray.filter(function (element) { return element.length > 0; }).forEach(function (element) {
265
- _this.renderer.addClass(_this.el.nativeElement, element);
266
- });
267
- };
268
- HtmlAttributesDirective.prototype.setAttrib = function (key, value) {
269
- value !== null ?
270
- this.renderer.setAttribute(this.el.nativeElement, key, value) :
271
- this.renderer.removeAttribute(this.el.nativeElement, key);
272
- };
273
- return HtmlAttributesDirective;
274
- }());
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
- };
287
-
288
- var LayoutModule = /** @class */ (function () {
289
- function LayoutModule() {
290
- }
291
- return LayoutModule;
292
- }());
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
- ];
321
-
322
- function Replace(el) {
323
- var nativeElement = el.nativeElement;
324
- var parentElement = nativeElement.parentElement;
325
- // move all children out of the element
326
- while (nativeElement.firstChild) {
327
- parentElement.insertBefore(nativeElement.firstChild, nativeElement);
328
- }
329
- // remove the empty element(the host)
330
- parentElement.removeChild(nativeElement);
331
- }
332
-
333
- var AppAsideComponent = /** @class */ (function () {
334
- function AppAsideComponent(document, renderer) {
335
- this.document = document;
336
- this.renderer = renderer;
337
- this.fixedClass = 'aside-menu-fixed';
338
- this.asideMenuClass = true;
339
- }
340
- AppAsideComponent.prototype.ngOnInit = function () {
341
- this.isFixed(this.fixed);
342
- this.isOffCanvas(this.offCanvas);
343
- this.displayBreakpoint(this.display);
344
- };
345
- AppAsideComponent.prototype.ngOnDestroy = function () {
346
- this.renderer.removeClass(this.document.body, this.fixedClass);
347
- };
348
- AppAsideComponent.prototype.isFixed = function (fixed) {
349
- if (fixed === void 0) { fixed = this.fixed; }
350
- if (fixed) {
351
- this.renderer.addClass(this.document.body, this.fixedClass);
352
- }
353
- };
354
- AppAsideComponent.prototype.isOffCanvas = function (offCanvas) {
355
- if (offCanvas === void 0) { offCanvas = this.offCanvas; }
356
- if (offCanvas) {
357
- this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');
358
- }
359
- };
360
- AppAsideComponent.prototype.displayBreakpoint = function (display) {
361
- if (display === void 0) { display = this.display; }
362
- if (display !== false) {
363
- var cssClass = this.display ? "aside-menu-" + this.display + "-show" : asideMenuCssClasses[0];
364
- this.renderer.addClass(this.document.body, cssClass);
365
- }
366
- };
367
- return AppAsideComponent;
368
- }());
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
- };
385
-
386
- var AppAsideModule = /** @class */ (function () {
387
- function AppAsideModule() {
388
- }
389
- return AppAsideModule;
390
- }());
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
- ];
406
-
407
- var AppBreadcrumbService = /** @class */ (function () {
408
- function AppBreadcrumbService(router, route) {
409
- var _this = this;
410
- this.router = router;
411
- this.route = route;
412
- this.breadcrumbSubject = new rxjs.BehaviorSubject(new Array());
413
- this.breadcrumbs = this.breadcrumbSubject.asObservable();
414
- this.router.events.pipe(operators.filter(function (event) { return event instanceof i1.NavigationEnd; })).subscribe(function (event) {
415
- var breadcrumbs = [];
416
- var currentRoute = _this.route.root;
417
- var url = '';
418
- do {
419
- var childrenRoutes = currentRoute.children;
420
- currentRoute = null;
421
- // tslint:disable-next-line:no-shadowed-variable
422
- childrenRoutes.forEach(function (route) {
423
- if (route.outlet === 'primary') {
424
- var routeSnapshot = route.snapshot;
425
- url += '/' + routeSnapshot.url.map(function (segment) { return segment.path; }).join('/');
426
- breadcrumbs.push({
427
- label: route.snapshot.data,
428
- url: url
429
- });
430
- currentRoute = route;
431
- }
432
- });
433
- } while (currentRoute);
434
- _this.breadcrumbSubject.next(Object.assign([], breadcrumbs));
435
- return breadcrumbs;
436
- });
437
- }
438
- return AppBreadcrumbService;
439
- }());
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
- ]; };
450
-
451
- var AppBreadcrumbComponent = /** @class */ (function () {
452
- function AppBreadcrumbComponent(document, renderer, service, el) {
453
- this.document = document;
454
- this.renderer = renderer;
455
- this.service = service;
456
- this.el = el;
457
- this.fixedClass = 'breadcrumb-fixed';
458
- }
459
- AppBreadcrumbComponent.prototype.ngOnInit = function () {
460
- Replace(this.el);
461
- this.isFixed(this.fixed);
462
- this.breadcrumbs = this.service.breadcrumbs;
463
- };
464
- AppBreadcrumbComponent.prototype.ngOnDestroy = function () {
465
- this.renderer.removeClass(this.document.body, this.fixedClass);
466
- };
467
- AppBreadcrumbComponent.prototype.isFixed = function (fixed) {
468
- if (fixed === void 0) { fixed = this.fixed; }
469
- if (fixed) {
470
- this.renderer.addClass(this.document.body, this.fixedClass);
471
- }
472
- };
473
- return AppBreadcrumbComponent;
474
- }());
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
- };
490
-
491
- var CuiBreadcrumbComponent = /** @class */ (function () {
492
- function CuiBreadcrumbComponent(document, renderer, service) {
493
- this.document = document;
494
- this.renderer = renderer;
495
- this.service = service;
496
- this.fixedClass = 'breadcrumb-fixed';
497
- }
498
- CuiBreadcrumbComponent.prototype.ngOnInit = function () {
499
- this.isFixed(this.fixed);
500
- this.breadcrumbs = this.service.breadcrumbs;
501
- };
502
- CuiBreadcrumbComponent.prototype.ngOnDestroy = function () {
503
- this.renderer.removeClass(this.document.body, this.fixedClass);
504
- };
505
- CuiBreadcrumbComponent.prototype.isFixed = function (fixed) {
506
- if (fixed === void 0) { fixed = this.fixed; }
507
- if (fixed) {
508
- this.renderer.addClass(this.document.body, this.fixedClass);
509
- }
510
- };
511
- return CuiBreadcrumbComponent;
512
- }());
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
- };
528
-
529
- // @dynamic
530
- var AppBreadcrumbModule = /** @class */ (function () {
531
- function AppBreadcrumbModule() {
532
- }
533
- AppBreadcrumbModule.forRoot = function (config) {
534
- return {
535
- ngModule: AppBreadcrumbModule,
536
- providers: [
537
- AppBreadcrumbService
538
- ]
539
- };
540
- };
541
- return AppBreadcrumbModule;
542
- }());
543
- AppBreadcrumbModule.decorators = [
544
- { type: i0.NgModule, args: [{
545
- imports: [common.CommonModule, i1.RouterModule],
546
- exports: [AppBreadcrumbComponent, CuiBreadcrumbComponent],
547
- declarations: [AppBreadcrumbComponent, CuiBreadcrumbComponent]
548
- },] }
549
- ];
550
-
551
- var AppFooterComponent = /** @class */ (function () {
552
- function AppFooterComponent(document, renderer) {
553
- this.document = document;
554
- this.renderer = renderer;
555
- this.fixedClass = 'footer-fixed';
556
- this.appFooterClass = true;
557
- }
558
- AppFooterComponent.prototype.ngOnInit = function () {
559
- this.isFixed(this.fixed);
560
- };
561
- AppFooterComponent.prototype.ngOnDestroy = function () {
562
- this.renderer.removeClass(this.document.body, this.fixedClass);
563
- };
564
- AppFooterComponent.prototype.isFixed = function (fixed) {
565
- if (fixed === void 0) { fixed = this.fixed; }
566
- if (fixed) {
567
- this.renderer.addClass(this.document.body, this.fixedClass);
568
- }
569
- };
570
- return AppFooterComponent;
571
- }());
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
- };
586
-
587
- var AppFooterModule = /** @class */ (function () {
588
- function AppFooterModule() {
589
- }
590
- return AppFooterModule;
591
- }());
592
- AppFooterModule.decorators = [
593
- { type: i0.NgModule, args: [{
594
- imports: [common.CommonModule],
595
- exports: [AppFooterComponent],
596
- declarations: [AppFooterComponent]
597
- },] }
598
- ];
599
-
600
- var AppHeaderComponent = /** @class */ (function () {
601
- function AppHeaderComponent(document, renderer) {
602
- this.document = document;
603
- this.renderer = renderer;
604
- this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' };
605
- this.navbarBrandRouterLink = '';
606
- this.fixedClass = 'header-fixed';
607
- this.appHeaderClass = true;
608
- this.navbarClass = true;
609
- this.breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];
610
- this.sidebarTogglerClass = 'd-none d-md-block';
611
- this.sidebarTogglerMobileClass = 'd-lg-none';
612
- this.asideTogglerClass = 'd-none d-md-block';
613
- this.asideTogglerMobileClass = 'd-lg-none';
614
- }
615
- AppHeaderComponent.prototype.ngOnInit = function () {
616
- this.isFixed(this.fixed);
617
- this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);
618
- 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);
623
- };
624
- AppHeaderComponent.prototype.ngOnDestroy = function () {
625
- this.renderer.removeClass(this.document.body, this.fixedClass);
626
- };
627
- AppHeaderComponent.prototype.isFixed = function (fixed) {
628
- if (fixed === void 0) { fixed = this.fixed; }
629
- if (fixed) {
630
- this.renderer.addClass(this.document.body, this.fixedClass);
631
- }
632
- };
633
- AppHeaderComponent.prototype.setToggerBreakpointClass = function (breakpoint) {
634
- if (breakpoint === void 0) { breakpoint = 'md'; }
635
- var togglerClass = 'd-none d-md-block';
636
- if (this.breakpoints.includes(breakpoint)) {
637
- var breakpointIndex = this.breakpoints.indexOf(breakpoint);
638
- togglerClass = "d-none d-" + breakpoint + "-block";
639
- }
640
- return togglerClass;
641
- };
642
- AppHeaderComponent.prototype.setToggerMobileBreakpointClass = function (breakpoint) {
643
- if (breakpoint === void 0) { breakpoint = 'lg'; }
644
- var togglerClass = 'd-lg-none';
645
- if (this.breakpoints.includes(breakpoint)) {
646
- togglerClass = "d-" + breakpoint + "-none";
647
- }
648
- return togglerClass;
649
- };
650
- return AppHeaderComponent;
651
- }());
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
- };
677
-
678
- var AppHeaderModule = /** @class */ (function () {
679
- function AppHeaderModule() {
680
- }
681
- return AppHeaderModule;
682
- }());
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
- ];
699
-
700
- var AppSidebarService = /** @class */ (function () {
701
- function AppSidebarService() {
702
- this.events = new rxjs.BehaviorSubject({});
703
- this.events$ = this.events.asObservable();
704
- }
705
- AppSidebarService.prototype.toggle = function (action) {
706
- this.events.next(action);
707
- };
708
- return AppSidebarService;
709
- }());
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 []; };
717
-
718
- var AppSidebarComponent = /** @class */ (function () {
719
- function AppSidebarComponent(document, renderer, sidebarService) {
720
- this.document = document;
721
- this.renderer = renderer;
722
- this.sidebarService = sidebarService;
723
- this._minimized = false;
724
- /**
725
- * Emits whenever the minimized state of the sidebar changes.
726
- * Primarily used to facilitate two-way binding.
727
- */
728
- this.minimizedChange = new i0.EventEmitter();
729
- this.sidebarClass = true;
730
- }
731
- Object.defineProperty(AppSidebarComponent.prototype, "minimized", {
732
- get: function () {
733
- return this._minimized;
734
- },
735
- set: function (value) {
736
- // only update / emit events when the value changes
737
- if (this._minimized !== value) {
738
- this._minimized = value;
739
- this._updateMinimized(value);
740
- this.minimizedChange.emit(value);
741
- this.sidebarService.toggle({ minimize: value });
742
- }
743
- },
744
- enumerable: false,
745
- configurable: true
746
- });
747
- AppSidebarComponent.prototype.ngOnInit = function () {
748
- var _this = this;
749
- this.displayBreakpoint(this.display);
750
- this.isCompact(this.compact);
751
- this.isFixed(this.fixed);
752
- this.isOffCanvas(this.offCanvas);
753
- this.sidebarService.toggle({ minimize: this.minimized });
754
- this.subscriptionEvents = this.sidebarService.events$.subscribe(function (action) {
755
- if (action.minimize !== undefined) {
756
- action.minimize === 'toggle' ? _this.toggleMinimized() : _this.minimized = !!action.minimize;
757
- }
758
- });
759
- };
760
- AppSidebarComponent.prototype.ngOnDestroy = function () {
761
- this.subscriptionEvents.unsubscribe();
762
- this.minimizedChange.complete();
763
- this.renderer.removeClass(this.document.body, 'sidebar-fixed');
764
- this._updateMinimized(false);
765
- };
766
- AppSidebarComponent.prototype.isCompact = function (compact) {
767
- if (compact === void 0) { compact = this.compact; }
768
- if (compact) {
769
- this.renderer.addClass(this.document.body, 'sidebar-compact');
770
- }
771
- };
772
- AppSidebarComponent.prototype.isFixed = function (fixed) {
773
- if (fixed === void 0) { fixed = this.fixed; }
774
- if (fixed) {
775
- this.renderer.addClass(this.document.body, 'sidebar-fixed');
776
- }
777
- };
778
- AppSidebarComponent.prototype.toggleMinimized = function () {
779
- this.minimized = !this._minimized;
780
- };
781
- AppSidebarComponent.prototype.isOffCanvas = function (offCanvas) {
782
- if (offCanvas === void 0) { offCanvas = this.offCanvas; }
783
- if (offCanvas) {
784
- this.renderer.addClass(this.document.body, 'sidebar-off-canvas');
785
- }
786
- };
787
- AppSidebarComponent.prototype.displayBreakpoint = function (display) {
788
- if (display === void 0) { display = this.display; }
789
- if (display !== false) {
790
- var cssClass = display ? "sidebar-" + display + "-show" : sidebarCssClasses[0];
791
- this.renderer.addClass(this.document.body, cssClass);
792
- }
793
- };
794
- AppSidebarComponent.prototype._updateMinimized = function (minimized) {
795
- var body = this.document.body;
796
- if (minimized) {
797
- this.renderer.addClass(body, 'sidebar-minimized');
798
- this.renderer.addClass(body, 'brand-minimized');
799
- }
800
- else {
801
- this.renderer.removeClass(body, 'sidebar-minimized');
802
- this.renderer.removeClass(body, 'brand-minimized');
803
- }
804
- };
805
- return AppSidebarComponent;
806
- }());
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
- };
1066
-
1067
- /*! *****************************************************************************
1068
- Copyright (c) Microsoft Corporation.
1069
-
1070
- Permission to use, copy, modify, and/or distribute this software for any
1071
- purpose with or without fee is hereby granted.
1072
-
1073
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1074
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1075
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1076
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1077
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1078
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1079
- PERFORMANCE OF THIS SOFTWARE.
1080
- ***************************************************************************** */
1081
- /* global Reflect, Promise */
1082
- var extendStatics = function (d, b) {
1083
- extendStatics = Object.setPrototypeOf ||
1084
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1085
- function (d, b) { for (var p in b)
1086
- if (Object.prototype.hasOwnProperty.call(b, p))
1087
- d[p] = b[p]; };
1088
- return extendStatics(d, b);
1089
- };
1090
- function __extends(d, b) {
1091
- if (typeof b !== "function" && b !== null)
1092
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
1093
- extendStatics(d, b);
1094
- function __() { this.constructor = d; }
1095
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1096
- }
1097
- var __assign = function () {
1098
- __assign = Object.assign || function __assign(t) {
1099
- for (var s, i = 1, n = arguments.length; i < n; i++) {
1100
- s = arguments[i];
1101
- for (var p in s)
1102
- if (Object.prototype.hasOwnProperty.call(s, p))
1103
- t[p] = s[p];
1104
- }
1105
- return t;
1106
- };
1107
- return __assign.apply(this, arguments);
1108
- };
1109
- function __rest(s, e) {
1110
- var t = {};
1111
- for (var p in s)
1112
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1113
- t[p] = s[p];
1114
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1115
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1116
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1117
- t[p[i]] = s[p[i]];
1118
- }
1119
- return t;
1120
- }
1121
- function __decorate(decorators, target, key, desc) {
1122
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1123
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1124
- r = Reflect.decorate(decorators, target, key, desc);
1125
- else
1126
- for (var i = decorators.length - 1; i >= 0; i--)
1127
- if (d = decorators[i])
1128
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1129
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1130
- }
1131
- function __param(paramIndex, decorator) {
1132
- return function (target, key) { decorator(target, key, paramIndex); };
1133
- }
1134
- function __metadata(metadataKey, metadataValue) {
1135
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1136
- return Reflect.metadata(metadataKey, metadataValue);
1137
- }
1138
- function __awaiter(thisArg, _arguments, P, generator) {
1139
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1140
- return new (P || (P = Promise))(function (resolve, reject) {
1141
- function fulfilled(value) { try {
1142
- step(generator.next(value));
1143
- }
1144
- catch (e) {
1145
- reject(e);
1146
- } }
1147
- function rejected(value) { try {
1148
- step(generator["throw"](value));
1149
- }
1150
- catch (e) {
1151
- reject(e);
1152
- } }
1153
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1154
- step((generator = generator.apply(thisArg, _arguments || [])).next());
1155
- });
1156
- }
1157
- function __generator(thisArg, body) {
1158
- var _ = { label: 0, sent: function () { if (t[0] & 1)
1159
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
1160
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
1161
- function verb(n) { return function (v) { return step([n, v]); }; }
1162
- function step(op) {
1163
- if (f)
1164
- throw new TypeError("Generator is already executing.");
1165
- while (_)
1166
- try {
1167
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
1168
- return t;
1169
- if (y = 0, t)
1170
- op = [op[0] & 2, t.value];
1171
- switch (op[0]) {
1172
- case 0:
1173
- case 1:
1174
- t = op;
1175
- break;
1176
- case 4:
1177
- _.label++;
1178
- return { value: op[1], done: false };
1179
- case 5:
1180
- _.label++;
1181
- y = op[1];
1182
- op = [0];
1183
- continue;
1184
- case 7:
1185
- op = _.ops.pop();
1186
- _.trys.pop();
1187
- continue;
1188
- default:
1189
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
1190
- _ = 0;
1191
- continue;
1192
- }
1193
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
1194
- _.label = op[1];
1195
- break;
1196
- }
1197
- if (op[0] === 6 && _.label < t[1]) {
1198
- _.label = t[1];
1199
- t = op;
1200
- break;
1201
- }
1202
- if (t && _.label < t[2]) {
1203
- _.label = t[2];
1204
- _.ops.push(op);
1205
- break;
1206
- }
1207
- if (t[2])
1208
- _.ops.pop();
1209
- _.trys.pop();
1210
- continue;
1211
- }
1212
- op = body.call(thisArg, _);
1213
- }
1214
- catch (e) {
1215
- op = [6, e];
1216
- y = 0;
1217
- }
1218
- finally {
1219
- f = t = 0;
1220
- }
1221
- if (op[0] & 5)
1222
- throw op[1];
1223
- return { value: op[0] ? op[1] : void 0, done: true };
1224
- }
1225
- }
1226
- var __createBinding = Object.create ? (function (o, m, k, k2) {
1227
- if (k2 === undefined)
1228
- k2 = k;
1229
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
1230
- }) : (function (o, m, k, k2) {
1231
- if (k2 === undefined)
1232
- k2 = k;
1233
- o[k2] = m[k];
1234
- });
1235
- function __exportStar(m, o) {
1236
- for (var p in m)
1237
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
1238
- __createBinding(o, m, p);
1239
- }
1240
- function __values(o) {
1241
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1242
- if (m)
1243
- return m.call(o);
1244
- if (o && typeof o.length === "number")
1245
- return {
1246
- next: function () {
1247
- if (o && i >= o.length)
1248
- o = void 0;
1249
- return { value: o && o[i++], done: !o };
1250
- }
1251
- };
1252
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1253
- }
1254
- function __read(o, n) {
1255
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1256
- if (!m)
1257
- return o;
1258
- var i = m.call(o), r, ar = [], e;
1259
- try {
1260
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1261
- ar.push(r.value);
1262
- }
1263
- catch (error) {
1264
- e = { error: error };
1265
- }
1266
- finally {
1267
- try {
1268
- if (r && !r.done && (m = i["return"]))
1269
- m.call(i);
1270
- }
1271
- finally {
1272
- if (e)
1273
- throw e.error;
1274
- }
1275
- }
1276
- return ar;
1277
- }
1278
- /** @deprecated */
1279
- function __spread() {
1280
- for (var ar = [], i = 0; i < arguments.length; i++)
1281
- ar = ar.concat(__read(arguments[i]));
1282
- return ar;
1283
- }
1284
- /** @deprecated */
1285
- function __spreadArrays() {
1286
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
1287
- s += arguments[i].length;
1288
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
1289
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
1290
- r[k] = a[j];
1291
- return r;
1292
- }
1293
- function __spreadArray(to, from, pack) {
1294
- if (pack || arguments.length === 2)
1295
- for (var i = 0, l = from.length, ar; i < l; i++) {
1296
- if (ar || !(i in from)) {
1297
- if (!ar)
1298
- ar = Array.prototype.slice.call(from, 0, i);
1299
- ar[i] = from[i];
1300
- }
1301
- }
1302
- return to.concat(ar || Array.prototype.slice.call(from));
1303
- }
1304
- function __await(v) {
1305
- return this instanceof __await ? (this.v = v, this) : new __await(v);
1306
- }
1307
- function __asyncGenerator(thisArg, _arguments, generator) {
1308
- if (!Symbol.asyncIterator)
1309
- throw new TypeError("Symbol.asyncIterator is not defined.");
1310
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
1311
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
1312
- function verb(n) { if (g[n])
1313
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
1314
- function resume(n, v) { try {
1315
- step(g[n](v));
1316
- }
1317
- catch (e) {
1318
- settle(q[0][3], e);
1319
- } }
1320
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
1321
- function fulfill(value) { resume("next", value); }
1322
- function reject(value) { resume("throw", value); }
1323
- function settle(f, v) { if (f(v), q.shift(), q.length)
1324
- resume(q[0][0], q[0][1]); }
1325
- }
1326
- function __asyncDelegator(o) {
1327
- var i, p;
1328
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1329
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1330
- }
1331
- function __asyncValues(o) {
1332
- if (!Symbol.asyncIterator)
1333
- throw new TypeError("Symbol.asyncIterator is not defined.");
1334
- var m = o[Symbol.asyncIterator], i;
1335
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
1336
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
1337
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
1338
- }
1339
- function __makeTemplateObject(cooked, raw) {
1340
- if (Object.defineProperty) {
1341
- Object.defineProperty(cooked, "raw", { value: raw });
1342
- }
1343
- else {
1344
- cooked.raw = raw;
1345
- }
1346
- return cooked;
1347
- }
1348
- ;
1349
- var __setModuleDefault = Object.create ? (function (o, v) {
1350
- Object.defineProperty(o, "default", { enumerable: true, value: v });
1351
- }) : function (o, v) {
1352
- o["default"] = v;
1353
- };
1354
- function __importStar(mod) {
1355
- if (mod && mod.__esModule)
1356
- return mod;
1357
- var result = {};
1358
- if (mod != null)
1359
- for (var k in mod)
1360
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
1361
- __createBinding(result, mod, k);
1362
- __setModuleDefault(result, mod);
1363
- return result;
1364
- }
1365
- function __importDefault(mod) {
1366
- return (mod && mod.__esModule) ? mod : { default: mod };
1367
- }
1368
- function __classPrivateFieldGet(receiver, state, kind, f) {
1369
- if (kind === "a" && !f)
1370
- throw new TypeError("Private accessor was defined without a getter");
1371
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1372
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
1373
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1374
- }
1375
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
1376
- if (kind === "m")
1377
- throw new TypeError("Private method is not writable");
1378
- if (kind === "a" && !f)
1379
- throw new TypeError("Private accessor was defined without a setter");
1380
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1381
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
1382
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
1383
- }
1384
-
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;
1428
- }
1429
- AppSidebarNavLinkContentComponent.prototype.ngOnInit = function () { };
1430
- AppSidebarNavLinkContentComponent.prototype.ngOnDestroy = function () { };
1431
- return AppSidebarNavLinkContentComponent;
1432
- }());
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
- }));
1453
- }
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;
1484
- };
1485
- AppSidebarNavLinkComponent.prototype.isExternalLink = function () {
1486
- return !!this.item.href || this.url.substring(0, 4) === 'http';
1487
- };
1488
- AppSidebarNavLinkComponent.prototype.linkClicked = function () {
1489
- this.linkClick.emit();
1490
- };
1491
- return AppSidebarNavLinkComponent;
1492
- }());
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
- };
1507
-
1508
- var AppSidebarNavTitleComponent = /** @class */ (function () {
1509
- function AppSidebarNavTitleComponent(el, renderer) {
1510
- this.el = el;
1511
- this.renderer = renderer;
1512
- }
1513
- AppSidebarNavTitleComponent.prototype.ngOnInit = function () {
1514
- var nativeElement = this.el.nativeElement;
1515
- var name = this.renderer.createText(this.item.name);
1516
- if (this.item.class) {
1517
- var classes = this.item.class;
1518
- this.renderer.addClass(nativeElement, classes);
1519
- }
1520
- if (this.item.wrapper) {
1521
- var wrapper = this.renderer.createElement(this.item.wrapper.element);
1522
- this.addAttribs(this.item.wrapper.attributes, wrapper);
1523
- this.renderer.appendChild(wrapper, name);
1524
- this.renderer.appendChild(nativeElement, wrapper);
1525
- }
1526
- else {
1527
- this.renderer.appendChild(nativeElement, name);
1528
- }
1529
- };
1530
- AppSidebarNavTitleComponent.prototype.addAttribs = function (attribs, element) {
1531
- if (attribs) {
1532
- for (var attr in attribs) {
1533
- if (attr === 'style' && typeof (attribs[attr]) === 'object') {
1534
- this.setStyle(attribs[attr], element);
1535
- }
1536
- else if (attr === 'class') {
1537
- this.addClass(attribs[attr], element);
1538
- }
1539
- else {
1540
- this.setAttrib(attr, attribs[attr], element);
1541
- }
1542
- }
1543
- }
1544
- };
1545
- AppSidebarNavTitleComponent.prototype.setStyle = function (styles, el) {
1546
- for (var style in styles) {
1547
- this.renderer.setStyle(el, style, styles[style]);
1548
- }
1549
- };
1550
- AppSidebarNavTitleComponent.prototype.addClass = function (classes, el) {
1551
- var _this = this;
1552
- var classArray = (Array.isArray(classes) ? classes : classes.split(' '));
1553
- classArray.filter(function (element) { return element.length > 0; }).forEach(function (element) {
1554
- _this.renderer.addClass(el, element);
1555
- });
1556
- };
1557
- AppSidebarNavTitleComponent.prototype.setAttrib = function (key, value, el) {
1558
- this.renderer.setAttribute(el, key, value);
1559
- };
1560
- return AppSidebarNavTitleComponent;
1561
- }());
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
- };
1575
-
1576
- var AppSidebarNavLabelComponent = /** @class */ (function () {
1577
- function AppSidebarNavLabelComponent(helper) {
1578
- this.helper = helper;
1579
- this.classes = {
1580
- 'nav-label': true,
1581
- active: true
1582
- };
1583
- this.iconClasses = {};
1584
- }
1585
- AppSidebarNavLabelComponent.prototype.ngOnInit = function () {
1586
- this.iconClasses = this.helper.getIconClass(this.item);
1587
- };
1588
- AppSidebarNavLabelComponent.prototype.getItemClass = function () {
1589
- var itemClass = this.item.class;
1590
- this.classes[itemClass] = !!itemClass;
1591
- return this.classes;
1592
- };
1593
- 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;
1597
- this.iconClasses[labelClass] = !!labelClass;
1598
- return this.iconClasses;
1599
- };
1600
- return AppSidebarNavLabelComponent;
1601
- }());
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
- };
1614
-
1615
- var AppSidebarNavIconPipe = /** @class */ (function () {
1616
- function AppSidebarNavIconPipe() {
1617
- }
1618
- AppSidebarNavIconPipe.prototype.transform = function (item, args) {
1619
- var classes = {
1620
- 'nav-icon': true
1621
- };
1622
- var icon = item.icon;
1623
- classes[icon] = !!item.icon;
1624
- return classes;
1625
- };
1626
- return AppSidebarNavIconPipe;
1627
- }());
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
- ];
1653
-
1654
- var AppSidebarNavLinkPipe = /** @class */ (function () {
1655
- function AppSidebarNavLinkPipe() {
1656
- }
1657
- AppSidebarNavLinkPipe.prototype.transform = function (item) {
1658
- var classes = { 'nav-link': true };
1659
- var disabled = item.attributes && item.attributes.disabled;
1660
- classes['disabled'] = disabled;
1661
- classes['btn-link'] = disabled;
1662
- classes["nav-link-" + item.variant] = !!item.variant;
1663
- return classes;
1664
- };
1665
- return AppSidebarNavLinkPipe;
1666
- }());
1667
- AppSidebarNavLinkPipe.decorators = [
1668
- { type: i0.Pipe, args: [{
1669
- name: 'appSidebarNavLink'
1670
- },] }
1671
- ];
1672
-
1673
- var AppSidebarNavItemClassPipe = /** @class */ (function () {
1674
- function AppSidebarNavItemClassPipe(helper) {
1675
- this.helper = helper;
1676
- }
1677
- AppSidebarNavItemClassPipe.prototype.transform = function (item) {
1678
- var args = [];
1679
- for (var _i = 1; _i < arguments.length; _i++) {
1680
- args[_i - 1] = arguments[_i];
1681
- }
1682
- var itemType = this.helper.itemType(item);
1683
- var itemClass;
1684
- if (['divider', 'title'].includes(itemType)) {
1685
- itemClass = "nav-" + itemType;
1686
- }
1687
- else if (itemType === 'dropdown') {
1688
- itemClass = 'nav-item nav-dropdown';
1689
- }
1690
- else {
1691
- itemClass = 'nav-item';
1692
- }
1693
- return item.class ? itemClass + " " + item.class : itemClass;
1694
- };
1695
- return AppSidebarNavItemClassPipe;
1696
- }());
1697
- AppSidebarNavItemClassPipe.decorators = [
1698
- { type: i0.Pipe, args: [{
1699
- name: 'appSidebarNavItemClass'
1700
- },] }
1701
- ];
1702
- AppSidebarNavItemClassPipe.ctorParameters = function () { return [
1703
- { type: SidebarNavHelper }
1704
- ]; };
1705
-
1706
- var AppSidebarModule = /** @class */ (function () {
1707
- function AppSidebarModule() {
1708
- }
1709
- return AppSidebarModule;
1710
- }());
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
- ];
1764
-
1765
- /*
1766
- * Public API Surface of @coreui/angular
1767
- */
1768
- // export * from './lib/shared/index';
1769
- // export * from './lib/coreui.module';
1770
-
1771
- /**
1772
- * Generated bundle index. Do not edit.
1773
- */
1774
-
1775
- exports.AppAsideComponent = AppAsideComponent;
1776
- exports.AppAsideModule = AppAsideModule;
1777
- exports.AppBreadcrumbComponent = AppBreadcrumbComponent;
1778
- exports.AppBreadcrumbModule = AppBreadcrumbModule;
1779
- exports.AppFooterComponent = AppFooterComponent;
1780
- exports.AppFooterModule = AppFooterModule;
1781
- exports.AppHeaderComponent = AppHeaderComponent;
1782
- exports.AppHeaderModule = AppHeaderModule;
1783
- exports.AppSidebarComponent = AppSidebarComponent;
1784
- exports.AppSidebarMinimizerComponent = AppSidebarMinimizerComponent;
1785
- exports.AppSidebarModule = AppSidebarModule;
1786
- exports.AppSidebarNavComponent = AppSidebarNavComponent;
1787
- exports.CuiBreadcrumbComponent = CuiBreadcrumbComponent;
1788
- 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
-
1817
- Object.defineProperty(exports, '__esModule', { value: true });
1818
-
1819
- })));
1820
- //# sourceMappingURL=coreui-angular.umd.js.map