diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a175b85..d227214a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ ### [@coreui/angular](https://coreui.io/) changelog +##### `v2.7.5` +- chore: update to `Angular 9.0.0-rc.12` + +###### dependencies update +- update `@angular/animations` to `~9.0.0-rc.12` +- update `@angular/common` to `~9.0.0-rc.12` +- update `@angular/compiler` to `~9.0.0-rc.12` +- update `@angular/core` to `~9.0.0-rc.12` +- update `@angular/forms` to `~9.0.0-rc.12` +- update `@angular/localize` to `^9.0.0-rc.12` +- update `@angular/platform-browser` to `~9.0.0-rc.12` +- update `@angular/platform-browser-dynamic` to `~9.0.0-rc.12` +- update `@angular/router` to `~9.0.0-rc.12` +- update `@angular-devkit/build-angular` to `~0.900.0-rc.12` +- update `@angular-devkit/build-ng-packagr` to `~0.900.0-rc.12` +- update `@angular/cli` to `~9.0.0-rc.12` +- update `@angular/compiler-cli` to `~9.0.0-rc.12` +- update `@angular/language-service` to `~9.0.0-rc.12` + ##### `v2.7.4` - fix: add `SidebarNavHelper` to public-api surface - see: #67 diff --git a/README.md b/README.md index da6fcd7f..f6deeda7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![@coreui coreui](https://img.shields.io/badge/@coreui%20-coreui-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui) [![npm package][npm-coreui-badge]][npm-coreui] [![NPM downloads][npm-coreui-download]][npm-coreui] -![angular](https://img.shields.io/badge/angular-^9.0.0--rc.9-lightgrey.svg?style=flat-square&logo=angular) +![angular](https://img.shields.io/badge/angular-^9.0.0--rc.12-lightgrey.svg?style=flat-square&logo=angular) [npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular [npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=red diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.js b/dist/@coreui/angular/bundles/coreui-angular.umd.js index b5307bee..af7ebc9c 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.js +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.js @@ -1193,8 +1193,10 @@ var classes = { 'nav-icon': true }; - var icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + var icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; }; SidebarNavHelper = __decorate([ diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.js.map b/dist/@coreui/angular/bundles/coreui-angular.umd.js.map index 5b1fdd61..e065136e 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.js.map +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.js.map @@ -1 +1 @@ -{"version":3,"file":"coreui-angular.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":["Inject","DOCUMENT","Renderer2","Injectable","Input","HostListener","Directive","ElementRef","NgModule","CommonModule","HostBinding","Component","router","BehaviorSubject","filter","NavigationEnd","Router","ActivatedRoute","RouterModule","EventEmitter","Output","Pipe"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;AACA;IACA;IACA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"version":3,"file":"coreui-angular.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n if (this.hasIcon(item)) {\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n }\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":["Inject","DOCUMENT","Renderer2","Injectable","Input","HostListener","Directive","ElementRef","NgModule","CommonModule","HostBinding","Component","router","BehaviorSubject","filter","NavigationEnd","Router","ActivatedRoute","RouterModule","EventEmitter","Output","Pipe"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,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5Bb,aAAQ,CAAC;gBACR,OAAO,EAAE;oBACPC,mBAAY;oBACZS,mBAAY;oBACZ,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,yBAAyB;oBACzB,uBAAuB;oBACvB,yBAAyB;oBACzB,4BAA4B;oBAC5B,mBAAmB;oBACnB,2BAA2B;oBAC3B,sBAAsB;oBACtB,6BAA6B;oBAC7B,8BAA8B;oBAC9B,2BAA2B;oBAC3B,0BAA0B;oBAC1B,iCAAiC;oBACjC,2BAA2B;oBAC3B,oBAAoB;oBACpB,0BAA0B;oBAC1B,YAAY;iBACb;gBACD,YAAY,EAAE;oBACZ,yBAAyB;oBACzB,uBAAuB;oBACvB,yBAAyB;oBACzB,4BAA4B;oBAC5B,4BAA4B;oBAC5B,mBAAmB;oBACnB,2BAA2B;oBAC3B,sBAAsB;oBACtB,6BAA6B;oBAC7B,8BAA8B;oBAC9B,0BAA0B;oBAC1B,iCAAiC;oBACjC,2BAA2B;oBAC3B,oBAAoB;oBACpB,0BAA0B;oBAC1B,2BAA2B;oBAC3B,qBAAqB;oBACrB,sBAAsB;oBACtB,qBAAqB;oBACrB,0BAA0B;iBAC3B;gBACD,SAAS,EAAE;oBACT,gBAAgB;oBAChB,iBAAiB;iBAClB;aACF,CAAC;WACW,gBAAgB,CAAI;QAAD,uBAAC;KAAjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.min.js b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js index a62e874f..cc4ab6a7 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.min.js +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js @@ -12,5 +12,5 @@ See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. - ***************************************************************************** */function o(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function a(e,t){return function(n,r){t(n,r,e)}}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}var l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.removeClasses=function(e){var t=this;return-1!==e.map((function(e){return t.document.body.classList.contains(e)})).indexOf(!0)},e.prototype.toggleClasses=function(e,t){var n=this,r=t.indexOf(e),i=t.slice(0,r+1);this.removeClasses(i)?i.map((function(e){return n.renderer.removeClass(n.document.body,e)})):this.renderer.addClass(this.document.body,e)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},e=o([t.Injectable(),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),m=function(){function e(e){this.classToggler=e}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.bp?"sidebar-"+this.bp+"-show":l[0];this.classToggler.toggleClasses(t,l)},e.ctorParameters=function(){return[{type:u}]},o([t.Input("appSidebarToggler"),p("design:type",String)],e.prototype,"breakpoint",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarToggler]",providers:[u]}),p("design:paramtypes",[u])],e)}(),g=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-minimized")?this.renderer.removeClass(t,"sidebar-minimized"):this.renderer.addClass(t,"sidebar-minimized")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarMinimizer]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),b=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appMobileSidebarToggler]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),h=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-off-canvas")&&(t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show"))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarClose]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),f=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("brand-minimized")?this.renderer.removeClass(t,"brand-minimized"):this.renderer.addClass(t,"brand-minimized")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appBrandMinimizer]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),y=function(){function e(e){this.classToggler=e}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.bp?"aside-menu-"+this.bp+"-show":c[0];this.classToggler.toggleClasses(t,c)},e.ctorParameters=function(){return[{type:u}]},o([t.Input("appAsideMenuToggler"),p("design:type",String)],e.prototype,"breakpoint",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appAsideMenuToggler]",providers:[u]}),p("design:paramtypes",[u])],e)}(),v=function(){function e(e,t){this.renderer=e,this.el=t}return e.prototype.ngOnInit=function(){var e=this.appHtmlAttr;for(var t in e)"style"===t&&"object"==typeof e[t]?this.setStyle(e[t]):"class"===t?this.addClass(e[t]):this.setAttrib(t,e[t])},e.prototype.setStyle=function(e){for(var t in e)this.renderer.setStyle(this.el.nativeElement,t,e[t])},e.prototype.addClass=function(e){var t=this;(Array.isArray(e)?e:e.split(" ")).filter((function(e){return e.length>0})).forEach((function(e){t.renderer.addClass(t.el.nativeElement,e)}))},e.prototype.setAttrib=function(e,t){null!==t?this.renderer.setAttribute(this.el.nativeElement,e,t):this.renderer.removeAttribute(this.el.nativeElement,e)},e.ctorParameters=function(){return[{type:t.Renderer2},{type:t.ElementRef}]},o([t.Input(),p("design:type",Object)],e.prototype,"appHtmlAttr",void 0),e=o([t.Directive({selector:"[appHtmlAttr]"}),p("design:paramtypes",[t.Renderer2,t.ElementRef])],e)}(),C=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule],exports:[y,f,b,m,g,h,v],declarations:[y,f,b,m,g,h,v],providers:[u]})],e)}();var O=function(){function e(e,t){this.document=e,this.renderer=t,this.fixedClass="aside-menu-fixed",this.asideMenuClass=!0}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.displayBreakpoint(this.display)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"aside-menu-off-canvas")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=this.display?"aside-menu-"+this.display+"-show":c[0];this.renderer.addClass(this.document.body,t)}},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Object)],e.prototype,"display",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"offCanvas",void 0),o([t.HostBinding("class.aside-menu"),p("design:type",Object)],e.prototype,"asideMenuClass",void 0),e=o([t.Component({selector:"app-aside, cui-aside",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),I=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule,C],exports:[O,C],declarations:[O]})],e)}(),j=function(){function e(e,t){var n=this;this.router=e,this.route=t,this.breadcrumbSubject=new i.BehaviorSubject(new Array),this.breadcrumbs=this.breadcrumbSubject.asObservable(),this.router.events.pipe(s.filter((function(e){return e instanceof r.NavigationEnd}))).subscribe((function(e){var t=[],r=n.route.root,i="";do{var s=r.children;r=null,s.forEach((function(e){if("primary"===e.outlet){var n=e.snapshot;i+="/"+n.url.map((function(e){return e.path})).join("/"),t.push({label:e.snapshot.data,url:i}),r=e}}))}while(r);return n.breadcrumbSubject.next(Object.assign([],t)),t}))}return e.ctorParameters=function(){return[{type:r.Router},{type:r.ActivatedRoute}]},e.ɵprov=t["ɵɵdefineInjectable"]({factory:function(){return new e(t["ɵɵinject"](r.Router),t["ɵɵinject"](r.ActivatedRoute))},token:e,providedIn:"root"}),e=o([t.Injectable({providedIn:"root"}),p("design:paramtypes",[r.Router,r.ActivatedRoute])],e)}(),k=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.service=n,this.el=r,this.fixedClass="breadcrumb-fixed"}return e.prototype.ngOnInit=function(){!function(e){for(var t=e.nativeElement,n=t.parentElement;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}(this.el),this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:j},{type:t.ElementRef}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),e=o([t.Component({selector:"app-breadcrumb",template:'\n \n \n \n '}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,j,t.ElementRef])],e)}(),x=function(){function e(e,t,n){this.document=e,this.renderer=t,this.service=n,this.fixedClass="breadcrumb-fixed"}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:j}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),e=o([t.Component({selector:"cui-breadcrumb",template:'\r\n'}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,j])],e)}(),M=function(){function e(){}var i;return i=e,e.forRoot=function(e){return{ngModule:i,providers:[j]}},e=i=o([t.NgModule({imports:[n.CommonModule,r.RouterModule],exports:[k,x],declarations:[k,x]})],e)}(),T=function(){function e(e,t){this.document=e,this.renderer=t,this.fixedClass="footer-fixed",this.appFooterClass=!0}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.HostBinding("class.app-footer"),p("design:type",Object)],e.prototype,"appFooterClass",void 0),e=o([t.Component({selector:"app-footer, cui-footer",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),B=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule],exports:[T],declarations:[T]})],e)}(),S=function(){function e(e,t){this.document=e,this.renderer=t,this.navbarBrandText={icon:"🅲",text:"🅲 CoreUI"},this.navbarBrandRouterLink="",this.fixedClass="header-fixed",this.appHeaderClass=!0,this.navbarClass=!0,this.breakpoints=["xl","lg","md","sm","xs"],this.sidebarTogglerClass="d-none d-md-block",this.sidebarTogglerMobileClass="d-lg-none",this.asideTogglerClass="d-none d-md-block",this.asideTogglerMobileClass="d-lg-none"}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.navbarBrandImg=Boolean(this.navbarBrand||this.navbarBrandFull||this.navbarBrandMinimized),this.navbarBrandRouterLink=this.navbarBrandRouterLink[0]?this.navbarBrandRouterLink:this.navbarBrandHref,this.sidebarTogglerClass=this.setToggerBreakpointClass(this.sidebarToggler),this.sidebarTogglerMobileClass=this.setToggerMobileBreakpointClass(this.sidebarToggler),this.asideTogglerClass=this.setToggerBreakpointClass(this.asideMenuToggler),this.asideTogglerMobileClass=this.setToggerMobileBreakpointClass(this.asideMenuToggler)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.prototype.setToggerBreakpointClass=function(e){void 0===e&&(e="md");var t="d-none d-md-block";if(this.breakpoints.includes(e)){this.breakpoints.indexOf(e);t="d-none d-"+e+"-block"}return t},e.prototype.setToggerMobileBreakpointClass=function(e){void 0===e&&(e="lg");var t="d-lg-none";return this.breakpoints.includes(e)&&(t="d-"+e+"-none"),t},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrand",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandFull",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandMinimized",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandText",void 0),o([t.Input(),p("design:type",String)],e.prototype,"navbarBrandHref",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandRouterLink",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"sidebarToggler",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"mobileSidebarToggler",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"asideMenuToggler",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"mobileAsideMenuToggler",void 0),o([t.HostBinding("class.app-header"),p("design:type",Object)],e.prototype,"appHeaderClass",void 0),o([t.HostBinding("class.navbar"),p("design:type",Object)],e.prototype,"navbarClass",void 0),e=o([t.Component({selector:"app-header, cui-header",template:'\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n'}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),w=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule,r.RouterModule,C],exports:[S,C],declarations:[S]})],e)}(),R=function(){function e(){this.events=new i.BehaviorSubject({}),this.events$=this.events.asObservable()}return e.prototype.toggle=function(e){this.events.next(e)},e.ɵprov=t["ɵɵdefineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e=o([t.Injectable({providedIn:"root"}),p("design:paramtypes",[])],e)}(),A=function(){function e(e,n,r){this.document=e,this.renderer=n,this.sidebarService=r,this._minimized=!1,this.minimizedChange=new t.EventEmitter,this.sidebarClass=!0}return Object.defineProperty(e.prototype,"minimized",{get:function(){return this._minimized},set:function(e){this._minimized!==e&&(this._minimized=e,this._updateMinimized(e),this.minimizedChange.emit(e),this.sidebarService.toggle({minimize:e}))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.displayBreakpoint(this.display),this.isCompact(this.compact),this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.sidebarService.toggle({minimize:this.minimized}),this.subscriptionEvents=this.sidebarService.events$.subscribe((function(t){void 0!==t.minimize&&("toggle"===t.minimize?e.toggleMinimized():e.minimized=!!t.minimize)}))},e.prototype.ngOnDestroy=function(){this.subscriptionEvents.unsubscribe(),this.minimizedChange.complete(),this.renderer.removeClass(this.document.body,"sidebar-fixed"),this._updateMinimized(!1)},e.prototype.isCompact=function(e){void 0===e&&(e=this.compact),e&&this.renderer.addClass(this.document.body,"sidebar-compact")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"sidebar-fixed")},e.prototype.toggleMinimized=function(){this.minimized=!this._minimized},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"sidebar-off-canvas")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=e?"sidebar-"+e+"-show":l[0];this.renderer.addClass(this.document.body,t)}},e.prototype._updateMinimized=function(e){var t=this.document.body;e?(this.renderer.addClass(t,"sidebar-minimized"),this.renderer.addClass(t,"brand-minimized")):(this.renderer.removeClass(t,"sidebar-minimized"),this.renderer.removeClass(t,"brand-minimized"))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:R}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"compact",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"display",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"offCanvas",void 0),o([t.Input(),p("design:type",Boolean),p("design:paramtypes",[Boolean])],e.prototype,"minimized",null),o([t.Output(),p("design:type",Object)],e.prototype,"minimizedChange",void 0),o([t.HostBinding("class.sidebar"),p("design:type",Object)],e.prototype,"sidebarClass",void 0),e=o([t.Component({selector:"app-sidebar, cui-sidebar",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,R])],e)}(),D=(function(){function e(){}e=o([t.Injectable()],e)}(),function(){function e(){this.hasBadge=function(e){return Boolean(e.badge)},this.hasIcon=function(e){return Boolean(e.icon)}}return e.prototype.itemType=function(e){return e.divider?"divider":e.title?"title":e.children?"dropdown":e.label?"label":Object.keys(e).length?"link":"empty"},e.prototype.isActive=function(e,t){return e.isActive(t.url,!1)},e.prototype.getIconClass=function(e){var t={"nav-icon":!0};return t[e.icon]=this.hasIcon(e),t},e=o([t.Injectable()],e)}()),N=function(){function e(){this.sidebarFooterClass=!0}return o([t.HostBinding("class.sidebar-footer"),p("design:type",Object)],e.prototype,"sidebarFooterClass",void 0),e=o([t.Component({selector:"app-sidebar-footer, cui-sidebar-footer",template:""}),p("design:paramtypes",[])],e)}(),E=function(){function e(){this.sidebarFormClass=!0}return o([t.HostBinding("class.sidebar-form"),p("design:type",Object)],e.prototype,"sidebarFormClass",void 0),e=o([t.Component({selector:"app-sidebar-form, cui-sidebar-form",template:""}),p("design:paramtypes",[])],e)}(),z=function(){function e(){this.sidebarHeaderClass=!0}return o([t.HostBinding("class.sidebar-header"),p("design:type",Object)],e.prototype,"sidebarHeaderClass",void 0),e=o([t.Component({selector:"app-sidebar-header, cui-sidebar-header",template:""}),p("design:paramtypes",[])],e)}(),P=function(){function e(e){this.sidebarService=e,this.role="button",this.sidebarMinimizerClass=!0}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.sidebarService.toggle({minimize:"toggle"})},e.ctorParameters=function(){return[{type:R}]},o([t.HostBinding("attr.role"),t.Input(),p("design:type",Object)],e.prototype,"role",void 0),o([t.HostBinding("class.sidebar-minimizer"),p("design:type",Object)],e.prototype,"sidebarMinimizerClass",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Component({selector:"app-sidebar-minimizer, cui-sidebar-minimizer",template:""}),p("design:paramtypes",[R])],e)}(),H=function(){function e(e){this.el=e}return e.prototype.toggle=function(){this.el.nativeElement.classList.toggle("open")},e.ctorParameters=function(){return[{type:t.ElementRef}]},e=o([t.Directive({selector:"[appNavDropdown]"}),p("design:paramtypes",[t.ElementRef])],e)}(),L=function(){function e(e){this.dropdown=e}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.dropdown.toggle()},e.ctorParameters=function(){return[{type:H}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appNavDropdownToggle]"}),p("design:paramtypes",[H])],e)}(),F=function(){function e(e){this.router=e,this.navItems=[],this.sidebarNavClass=!0,this.role="nav",this.navItemsArray=[]}return e.prototype.ngOnChanges=function(e){this.navItemsArray=Array.isArray(this.navItems)?this.navItems.slice():[]},e.ctorParameters=function(){return[{type:r.Router}]},o([t.Input(),p("design:type",Array)],e.prototype,"navItems",void 0),o([t.HostBinding("class.sidebar-nav"),p("design:type",Object)],e.prototype,"sidebarNavClass",void 0),o([t.HostBinding("attr.role"),t.Input(),p("design:type",Object)],e.prototype,"role",void 0),e=o([t.Component({selector:"app-sidebar-nav, cui-sidebar-nav",template:'\n\n'}),p("design:paramtypes",[r.Router])],e)}(),U=function(){function e(){}return e.prototype.ngOnInit=function(){},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-divider, cui-sidebar-nav-divider",template:""}),p("design:paramtypes",[])],e)}(),_=function(){function e(e){this.helper=e}return e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown",template:'\n \n \n {{item.name}}\n {{ item.badge.text }}\n \n \n \n ',providers:[D],styles:[".nav-dropdown-toggle { cursor: pointer; }",".nav-dropdown-items { display: block; }"]}),p("design:paramtypes",[D])],e)}(),q=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.router=n,this.helper=r}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(e){this._items=function(){for(var e=[],t=0;t\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,r.Router,D])],e)}(),$=function(){function e(e){this.helper=e}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-link-content, cui-sidebar-nav-link-content",template:'\n \n \n {{item.name}}\n {{ item.badge.text }}\n \n ',providers:[D]}),p("design:paramtypes",[D])],e)}(),J=function(){function e(e){this.router=e,this.linkClick=new t.EventEmitter,this.navigationEndObservable=e.events.pipe(s.filter((function(e){return e instanceof r.NavigationEnd})))}return Object.defineProperty(e.prototype,"item",{get:function(){return this._Item},set:function(e){this._Item=JSON.parse(JSON.stringify(e))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.url="string"==typeof this.item.url?this.item.url:this.router.serializeUrl(this.router.createUrlTree(this.item.url)),this.linkType=this.getLinkType(),this.href=this.isDisabled()?"":this.item.href||this.url,this.linkActive=this.router.url.split(/[?#(;]/)[0]===this.href.split(/[?#(;]/)[0],this.navSubscription=this.navigationEndObservable.subscribe((function(t){var n=e.href.split(/[?#(;]/)[0].split("/"),r=t.urlAfterRedirects.split(/[?#(;]/)[0].split("/");e.linkActive=n.every((function(e,t){return e===r[t]}))}))},e.prototype.ngOnDestroy=function(){this.navSubscription.unsubscribe()},e.prototype.getLinkType=function(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":"link"},e.prototype.isDisabled=function(){return!(!this.item.attributes||!this.item.attributes.disabled)||null},e.prototype.isExternalLink=function(){return!!this.item.href||"http"===this.url.substring(0,4)},e.prototype.linkClicked=function(){this.linkClick.emit()},e.ctorParameters=function(){return[{type:r.Router}]},o([t.Input(),p("design:type",Object),p("design:paramtypes",[Object])],e.prototype,"item",null),o([t.Output(),p("design:type",Object)],e.prototype,"linkClick",void 0),e=o([t.Component({selector:"app-sidebar-nav-link, cui-sidebar-nav-link",template:'\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n',providers:[D]}),p("design:paramtypes",[r.Router])],e)}(),G=function(){function e(e,t){this.el=e,this.renderer=t}return e.prototype.ngOnInit=function(){var e=this.el.nativeElement,t=this.renderer.createText(this.item.name);if(this.item.class){var n=this.item.class;this.renderer.addClass(e,n)}if(this.item.wrapper){var r=this.renderer.createElement(this.item.wrapper.element);this.addAttribs(this.item.wrapper.attributes,r),this.renderer.appendChild(r,t),this.renderer.appendChild(e,r)}else this.renderer.appendChild(e,t)},e.prototype.addAttribs=function(e,t){if(e)for(var n in e)"style"===n&&"object"==typeof e[n]?this.setStyle(e[n],t):"class"===n?this.addClass(e[n],t):this.setAttrib(n,e[n],t)},e.prototype.setStyle=function(e,t){for(var n in e)this.renderer.setStyle(t,n,e[n])},e.prototype.addClass=function(e,t){var n=this;(Array.isArray(e)?e:e.split(" ")).filter((function(e){return e.length>0})).forEach((function(e){n.renderer.addClass(t,e)}))},e.prototype.setAttrib=function(e,t,n){this.renderer.setAttribute(n,e,t)},e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-title, cui-sidebar-nav-title",template:""}),p("design:paramtypes",[t.ElementRef,t.Renderer2])],e)}(),K=function(){function e(e){this.helper=e,this.classes={"nav-label":!0,active:!0},this.iconClasses={}}return e.prototype.ngOnInit=function(){this.iconClasses=this.helper.getIconClass(this.item)},e.prototype.getItemClass=function(){var e=this.item.class;return this.classes[e]=!!e,this.classes},e.prototype.getLabelIconClass=function(){var e="text-"+this.item.label.variant;this.iconClasses[e]=!!this.item.label.variant;var t=this.item.label.class;return this.iconClasses[t]=!!t,this.iconClasses},e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-label, cui-sidebar-nav-label",template:'\r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n\r\n'}),p("design:paramtypes",[D])],e)}(),Q=function(){function e(){}return e.prototype.transform=function(e,t){var n={"nav-icon":!0};return n[e.icon]=!!e.icon,n},e=o([t.Pipe({name:"appSidebarNavIcon"})],e)}(),V=function(){function e(){}return e.prototype.transform=function(e,t){var n={badge:!0};return n["badge-"+e.badge.variant]=!!e.badge.variant,n[e.badge.class]=!!e.badge.class,n},e=o([t.Pipe({name:"appSidebarNavBadge"})],e)}(),W=function(){function e(){}return e.prototype.transform=function(e){var t={"nav-link":!0},n=e.attributes&&e.attributes.disabled;return t.disabled=n,t["btn-link"]=n,t["nav-link-"+e.variant]=!!e.variant,t},e=o([t.Pipe({name:"appSidebarNavLink"})],e)}(),X=function(){function e(e){this.helper=e}return e.prototype.transform=function(e){for(var t=[],n=1;n=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function a(e,t){return function(n,r){t(n,r,e)}}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}var l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.removeClasses=function(e){var t=this;return-1!==e.map((function(e){return t.document.body.classList.contains(e)})).indexOf(!0)},e.prototype.toggleClasses=function(e,t){var n=this,r=t.indexOf(e),i=t.slice(0,r+1);this.removeClasses(i)?i.map((function(e){return n.renderer.removeClass(n.document.body,e)})):this.renderer.addClass(this.document.body,e)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},e=o([t.Injectable(),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),m=function(){function e(e){this.classToggler=e}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.bp?"sidebar-"+this.bp+"-show":l[0];this.classToggler.toggleClasses(t,l)},e.ctorParameters=function(){return[{type:u}]},o([t.Input("appSidebarToggler"),p("design:type",String)],e.prototype,"breakpoint",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarToggler]",providers:[u]}),p("design:paramtypes",[u])],e)}(),g=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-minimized")?this.renderer.removeClass(t,"sidebar-minimized"):this.renderer.addClass(t,"sidebar-minimized")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarMinimizer]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),b=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appMobileSidebarToggler]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),h=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-off-canvas")&&(t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show"))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appSidebarClose]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),f=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("brand-minimized")?this.renderer.removeClass(t,"brand-minimized"):this.renderer.addClass(t,"brand-minimized")},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appBrandMinimizer]"}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),y=function(){function e(e){this.classToggler=e}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.bp?"aside-menu-"+this.bp+"-show":c[0];this.classToggler.toggleClasses(t,c)},e.ctorParameters=function(){return[{type:u}]},o([t.Input("appAsideMenuToggler"),p("design:type",String)],e.prototype,"breakpoint",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appAsideMenuToggler]",providers:[u]}),p("design:paramtypes",[u])],e)}(),v=function(){function e(e,t){this.renderer=e,this.el=t}return e.prototype.ngOnInit=function(){var e=this.appHtmlAttr;for(var t in e)"style"===t&&"object"==typeof e[t]?this.setStyle(e[t]):"class"===t?this.addClass(e[t]):this.setAttrib(t,e[t])},e.prototype.setStyle=function(e){for(var t in e)this.renderer.setStyle(this.el.nativeElement,t,e[t])},e.prototype.addClass=function(e){var t=this;(Array.isArray(e)?e:e.split(" ")).filter((function(e){return e.length>0})).forEach((function(e){t.renderer.addClass(t.el.nativeElement,e)}))},e.prototype.setAttrib=function(e,t){null!==t?this.renderer.setAttribute(this.el.nativeElement,e,t):this.renderer.removeAttribute(this.el.nativeElement,e)},e.ctorParameters=function(){return[{type:t.Renderer2},{type:t.ElementRef}]},o([t.Input(),p("design:type",Object)],e.prototype,"appHtmlAttr",void 0),e=o([t.Directive({selector:"[appHtmlAttr]"}),p("design:paramtypes",[t.Renderer2,t.ElementRef])],e)}(),C=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule],exports:[y,f,b,m,g,h,v],declarations:[y,f,b,m,g,h,v],providers:[u]})],e)}();var I=function(){function e(e,t){this.document=e,this.renderer=t,this.fixedClass="aside-menu-fixed",this.asideMenuClass=!0}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.displayBreakpoint(this.display)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"aside-menu-off-canvas")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=this.display?"aside-menu-"+this.display+"-show":c[0];this.renderer.addClass(this.document.body,t)}},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Object)],e.prototype,"display",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"offCanvas",void 0),o([t.HostBinding("class.aside-menu"),p("design:type",Object)],e.prototype,"asideMenuClass",void 0),e=o([t.Component({selector:"app-aside, cui-aside",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),O=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule,C],exports:[I,C],declarations:[I]})],e)}(),j=function(){function e(e,t){var n=this;this.router=e,this.route=t,this.breadcrumbSubject=new i.BehaviorSubject(new Array),this.breadcrumbs=this.breadcrumbSubject.asObservable(),this.router.events.pipe(s.filter((function(e){return e instanceof r.NavigationEnd}))).subscribe((function(e){var t=[],r=n.route.root,i="";do{var s=r.children;r=null,s.forEach((function(e){if("primary"===e.outlet){var n=e.snapshot;i+="/"+n.url.map((function(e){return e.path})).join("/"),t.push({label:e.snapshot.data,url:i}),r=e}}))}while(r);return n.breadcrumbSubject.next(Object.assign([],t)),t}))}return e.ctorParameters=function(){return[{type:r.Router},{type:r.ActivatedRoute}]},e.ɵprov=t["ɵɵdefineInjectable"]({factory:function(){return new e(t["ɵɵinject"](r.Router),t["ɵɵinject"](r.ActivatedRoute))},token:e,providedIn:"root"}),e=o([t.Injectable({providedIn:"root"}),p("design:paramtypes",[r.Router,r.ActivatedRoute])],e)}(),k=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.service=n,this.el=r,this.fixedClass="breadcrumb-fixed"}return e.prototype.ngOnInit=function(){!function(e){for(var t=e.nativeElement,n=t.parentElement;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}(this.el),this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:j},{type:t.ElementRef}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),e=o([t.Component({selector:"app-breadcrumb",template:'\n \n \n \n '}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,j,t.ElementRef])],e)}(),x=function(){function e(e,t,n){this.document=e,this.renderer=t,this.service=n,this.fixedClass="breadcrumb-fixed"}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:j}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),e=o([t.Component({selector:"cui-breadcrumb",template:'\r\n'}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,j])],e)}(),M=function(){function e(){}var i;return i=e,e.forRoot=function(e){return{ngModule:i,providers:[j]}},e=i=o([t.NgModule({imports:[n.CommonModule,r.RouterModule],exports:[k,x],declarations:[k,x]})],e)}(),T=function(){function e(e,t){this.document=e,this.renderer=t,this.fixedClass="footer-fixed",this.appFooterClass=!0}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.HostBinding("class.app-footer"),p("design:type",Object)],e.prototype,"appFooterClass",void 0),e=o([t.Component({selector:"app-footer, cui-footer",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),B=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule],exports:[T],declarations:[T]})],e)}(),S=function(){function e(e,t){this.document=e,this.renderer=t,this.navbarBrandText={icon:"🅲",text:"🅲 CoreUI"},this.navbarBrandRouterLink="",this.fixedClass="header-fixed",this.appHeaderClass=!0,this.navbarClass=!0,this.breakpoints=["xl","lg","md","sm","xs"],this.sidebarTogglerClass="d-none d-md-block",this.sidebarTogglerMobileClass="d-lg-none",this.asideTogglerClass="d-none d-md-block",this.asideTogglerMobileClass="d-lg-none"}return e.prototype.ngOnInit=function(){this.isFixed(this.fixed),this.navbarBrandImg=Boolean(this.navbarBrand||this.navbarBrandFull||this.navbarBrandMinimized),this.navbarBrandRouterLink=this.navbarBrandRouterLink[0]?this.navbarBrandRouterLink:this.navbarBrandHref,this.sidebarTogglerClass=this.setToggerBreakpointClass(this.sidebarToggler),this.sidebarTogglerMobileClass=this.setToggerMobileBreakpointClass(this.sidebarToggler),this.asideTogglerClass=this.setToggerBreakpointClass(this.asideMenuToggler),this.asideTogglerMobileClass=this.setToggerMobileBreakpointClass(this.asideMenuToggler)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,this.fixedClass)},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,this.fixedClass)},e.prototype.setToggerBreakpointClass=function(e){void 0===e&&(e="md");var t="d-none d-md-block";if(this.breakpoints.includes(e)){this.breakpoints.indexOf(e);t="d-none d-"+e+"-block"}return t},e.prototype.setToggerMobileBreakpointClass=function(e){void 0===e&&(e="lg");var t="d-lg-none";return this.breakpoints.includes(e)&&(t="d-"+e+"-none"),t},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrand",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandFull",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandMinimized",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandText",void 0),o([t.Input(),p("design:type",String)],e.prototype,"navbarBrandHref",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"navbarBrandRouterLink",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"sidebarToggler",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"mobileSidebarToggler",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"asideMenuToggler",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"mobileAsideMenuToggler",void 0),o([t.HostBinding("class.app-header"),p("design:type",Object)],e.prototype,"appHeaderClass",void 0),o([t.HostBinding("class.navbar"),p("design:type",Object)],e.prototype,"navbarClass",void 0),e=o([t.Component({selector:"app-header, cui-header",template:'\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n'}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2])],e)}(),w=function(){function e(){}return e=o([t.NgModule({imports:[n.CommonModule,r.RouterModule,C],exports:[S,C],declarations:[S]})],e)}(),R=function(){function e(){this.events=new i.BehaviorSubject({}),this.events$=this.events.asObservable()}return e.prototype.toggle=function(e){this.events.next(e)},e.ɵprov=t["ɵɵdefineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e=o([t.Injectable({providedIn:"root"}),p("design:paramtypes",[])],e)}(),A=function(){function e(e,n,r){this.document=e,this.renderer=n,this.sidebarService=r,this._minimized=!1,this.minimizedChange=new t.EventEmitter,this.sidebarClass=!0}return Object.defineProperty(e.prototype,"minimized",{get:function(){return this._minimized},set:function(e){this._minimized!==e&&(this._minimized=e,this._updateMinimized(e),this.minimizedChange.emit(e),this.sidebarService.toggle({minimize:e}))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.displayBreakpoint(this.display),this.isCompact(this.compact),this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.sidebarService.toggle({minimize:this.minimized}),this.subscriptionEvents=this.sidebarService.events$.subscribe((function(t){void 0!==t.minimize&&("toggle"===t.minimize?e.toggleMinimized():e.minimized=!!t.minimize)}))},e.prototype.ngOnDestroy=function(){this.subscriptionEvents.unsubscribe(),this.minimizedChange.complete(),this.renderer.removeClass(this.document.body,"sidebar-fixed"),this._updateMinimized(!1)},e.prototype.isCompact=function(e){void 0===e&&(e=this.compact),e&&this.renderer.addClass(this.document.body,"sidebar-compact")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"sidebar-fixed")},e.prototype.toggleMinimized=function(){this.minimized=!this._minimized},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"sidebar-off-canvas")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=e?"sidebar-"+e+"-show":l[0];this.renderer.addClass(this.document.body,t)}},e.prototype._updateMinimized=function(e){var t=this.document.body;e?(this.renderer.addClass(t,"sidebar-minimized"),this.renderer.addClass(t,"brand-minimized")):(this.renderer.removeClass(t,"sidebar-minimized"),this.renderer.removeClass(t,"brand-minimized"))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[n.DOCUMENT]}]},{type:t.Renderer2},{type:R}]},o([t.Input(),p("design:type",Boolean)],e.prototype,"compact",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"display",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"fixed",void 0),o([t.Input(),p("design:type",Boolean)],e.prototype,"offCanvas",void 0),o([t.Input(),p("design:type",Boolean),p("design:paramtypes",[Boolean])],e.prototype,"minimized",null),o([t.Output(),p("design:type",Object)],e.prototype,"minimizedChange",void 0),o([t.HostBinding("class.sidebar"),p("design:type",Object)],e.prototype,"sidebarClass",void 0),e=o([t.Component({selector:"app-sidebar, cui-sidebar",template:""}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,R])],e)}(),D=(function(){function e(){}e=o([t.Injectable()],e)}(),function(){function e(){this.hasBadge=function(e){return Boolean(e.badge)},this.hasIcon=function(e){return Boolean(e.icon)}}return e.prototype.itemType=function(e){return e.divider?"divider":e.title?"title":e.children?"dropdown":e.label?"label":Object.keys(e).length?"link":"empty"},e.prototype.isActive=function(e,t){return e.isActive(t.url,!1)},e.prototype.getIconClass=function(e){var t={"nav-icon":!0};this.hasIcon(e)&&(t[e.icon]=this.hasIcon(e));return t},e=o([t.Injectable()],e)}()),N=function(){function e(){this.sidebarFooterClass=!0}return o([t.HostBinding("class.sidebar-footer"),p("design:type",Object)],e.prototype,"sidebarFooterClass",void 0),e=o([t.Component({selector:"app-sidebar-footer, cui-sidebar-footer",template:""}),p("design:paramtypes",[])],e)}(),E=function(){function e(){this.sidebarFormClass=!0}return o([t.HostBinding("class.sidebar-form"),p("design:type",Object)],e.prototype,"sidebarFormClass",void 0),e=o([t.Component({selector:"app-sidebar-form, cui-sidebar-form",template:""}),p("design:paramtypes",[])],e)}(),z=function(){function e(){this.sidebarHeaderClass=!0}return o([t.HostBinding("class.sidebar-header"),p("design:type",Object)],e.prototype,"sidebarHeaderClass",void 0),e=o([t.Component({selector:"app-sidebar-header, cui-sidebar-header",template:""}),p("design:paramtypes",[])],e)}(),P=function(){function e(e){this.sidebarService=e,this.role="button",this.sidebarMinimizerClass=!0}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.sidebarService.toggle({minimize:"toggle"})},e.ctorParameters=function(){return[{type:R}]},o([t.HostBinding("attr.role"),t.Input(),p("design:type",Object)],e.prototype,"role",void 0),o([t.HostBinding("class.sidebar-minimizer"),p("design:type",Object)],e.prototype,"sidebarMinimizerClass",void 0),o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Component({selector:"app-sidebar-minimizer, cui-sidebar-minimizer",template:""}),p("design:paramtypes",[R])],e)}(),H=function(){function e(e){this.el=e}return e.prototype.toggle=function(){this.el.nativeElement.classList.toggle("open")},e.ctorParameters=function(){return[{type:t.ElementRef}]},e=o([t.Directive({selector:"[appNavDropdown]"}),p("design:paramtypes",[t.ElementRef])],e)}(),L=function(){function e(e){this.dropdown=e}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.dropdown.toggle()},e.ctorParameters=function(){return[{type:H}]},o([t.HostListener("click",["$event"]),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e.prototype,"toggleOpen",null),e=o([t.Directive({selector:"[appNavDropdownToggle]"}),p("design:paramtypes",[H])],e)}(),F=function(){function e(e){this.router=e,this.navItems=[],this.sidebarNavClass=!0,this.role="nav",this.navItemsArray=[]}return e.prototype.ngOnChanges=function(e){this.navItemsArray=Array.isArray(this.navItems)?this.navItems.slice():[]},e.ctorParameters=function(){return[{type:r.Router}]},o([t.Input(),p("design:type",Array)],e.prototype,"navItems",void 0),o([t.HostBinding("class.sidebar-nav"),p("design:type",Object)],e.prototype,"sidebarNavClass",void 0),o([t.HostBinding("attr.role"),t.Input(),p("design:type",Object)],e.prototype,"role",void 0),e=o([t.Component({selector:"app-sidebar-nav, cui-sidebar-nav",template:'\n\n'}),p("design:paramtypes",[r.Router])],e)}(),U=function(){function e(){}return e.prototype.ngOnInit=function(){},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-divider, cui-sidebar-nav-divider",template:""}),p("design:paramtypes",[])],e)}(),_=function(){function e(e){this.helper=e}return e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown",template:'\n \n \n {{item.name}}\n {{ item.badge.text }}\n \n \n \n ',providers:[D],styles:[".nav-dropdown-toggle { cursor: pointer; }",".nav-dropdown-items { display: block; }"]}),p("design:paramtypes",[D])],e)}(),q=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.router=n,this.helper=r}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(e){this._items=function(){for(var e=[],t=0;t\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '}),a(0,t.Inject(n.DOCUMENT)),p("design:paramtypes",[Object,t.Renderer2,r.Router,D])],e)}(),$=function(){function e(e){this.helper=e}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-link-content, cui-sidebar-nav-link-content",template:'\n \n \n {{item.name}}\n {{ item.badge.text }}\n \n ',providers:[D]}),p("design:paramtypes",[D])],e)}(),J=function(){function e(e){this.router=e,this.linkClick=new t.EventEmitter,this.navigationEndObservable=e.events.pipe(s.filter((function(e){return e instanceof r.NavigationEnd})))}return Object.defineProperty(e.prototype,"item",{get:function(){return this._Item},set:function(e){this._Item=JSON.parse(JSON.stringify(e))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.url="string"==typeof this.item.url?this.item.url:this.router.serializeUrl(this.router.createUrlTree(this.item.url)),this.linkType=this.getLinkType(),this.href=this.isDisabled()?"":this.item.href||this.url,this.linkActive=this.router.url.split(/[?#(;]/)[0]===this.href.split(/[?#(;]/)[0],this.navSubscription=this.navigationEndObservable.subscribe((function(t){var n=e.href.split(/[?#(;]/)[0].split("/"),r=t.urlAfterRedirects.split(/[?#(;]/)[0].split("/");e.linkActive=n.every((function(e,t){return e===r[t]}))}))},e.prototype.ngOnDestroy=function(){this.navSubscription.unsubscribe()},e.prototype.getLinkType=function(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":"link"},e.prototype.isDisabled=function(){return!(!this.item.attributes||!this.item.attributes.disabled)||null},e.prototype.isExternalLink=function(){return!!this.item.href||"http"===this.url.substring(0,4)},e.prototype.linkClicked=function(){this.linkClick.emit()},e.ctorParameters=function(){return[{type:r.Router}]},o([t.Input(),p("design:type",Object),p("design:paramtypes",[Object])],e.prototype,"item",null),o([t.Output(),p("design:type",Object)],e.prototype,"linkClick",void 0),e=o([t.Component({selector:"app-sidebar-nav-link, cui-sidebar-nav-link",template:'\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n',providers:[D]}),p("design:paramtypes",[r.Router])],e)}(),G=function(){function e(e,t){this.el=e,this.renderer=t}return e.prototype.ngOnInit=function(){var e=this.el.nativeElement,t=this.renderer.createText(this.item.name);if(this.item.class){var n=this.item.class;this.renderer.addClass(e,n)}if(this.item.wrapper){var r=this.renderer.createElement(this.item.wrapper.element);this.addAttribs(this.item.wrapper.attributes,r),this.renderer.appendChild(r,t),this.renderer.appendChild(e,r)}else this.renderer.appendChild(e,t)},e.prototype.addAttribs=function(e,t){if(e)for(var n in e)"style"===n&&"object"==typeof e[n]?this.setStyle(e[n],t):"class"===n?this.addClass(e[n],t):this.setAttrib(n,e[n],t)},e.prototype.setStyle=function(e,t){for(var n in e)this.renderer.setStyle(t,n,e[n])},e.prototype.addClass=function(e,t){var n=this;(Array.isArray(e)?e:e.split(" ")).filter((function(e){return e.length>0})).forEach((function(e){n.renderer.addClass(t,e)}))},e.prototype.setAttrib=function(e,t,n){this.renderer.setAttribute(n,e,t)},e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-title, cui-sidebar-nav-title",template:""}),p("design:paramtypes",[t.ElementRef,t.Renderer2])],e)}(),K=function(){function e(e){this.helper=e,this.classes={"nav-label":!0,active:!0},this.iconClasses={}}return e.prototype.ngOnInit=function(){this.iconClasses=this.helper.getIconClass(this.item)},e.prototype.getItemClass=function(){var e=this.item.class;return this.classes[e]=!!e,this.classes},e.prototype.getLabelIconClass=function(){var e="text-"+this.item.label.variant;this.iconClasses[e]=!!this.item.label.variant;var t=this.item.label.class;return this.iconClasses[t]=!!t,this.iconClasses},e.ctorParameters=function(){return[{type:D}]},o([t.Input(),p("design:type",Object)],e.prototype,"item",void 0),e=o([t.Component({selector:"app-sidebar-nav-label, cui-sidebar-nav-label",template:'\r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n\r\n'}),p("design:paramtypes",[D])],e)}(),Q=function(){function e(){}return e.prototype.transform=function(e,t){var n={"nav-icon":!0};return n[e.icon]=!!e.icon,n},e=o([t.Pipe({name:"appSidebarNavIcon"})],e)}(),V=function(){function e(){}return e.prototype.transform=function(e,t){var n={badge:!0};return n["badge-"+e.badge.variant]=!!e.badge.variant,n[e.badge.class]=!!e.badge.class,n},e=o([t.Pipe({name:"appSidebarNavBadge"})],e)}(),W=function(){function e(){}return e.prototype.transform=function(e){var t={"nav-link":!0},n=e.attributes&&e.attributes.disabled;return t.disabled=n,t["btn-link"]=n,t["nav-link-"+e.variant]=!!e.variant,t},e=o([t.Pipe({name:"appSidebarNavLink"})],e)}(),X=function(){function e(e){this.helper=e}return e.prototype.transform=function(e){for(var t=[],n=1;n= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"]} \ No newline at end of file +{"version":3,"sources":["../../../../node_modules/tslib/tslib.es6.js","ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","__metadata","metadataKey","metadataValue","metadata","__read","o","n","m","Symbol","iterator","e","call","ar","next","done","push","value","error","sidebarCssClasses","asideMenuCssClasses","ClassToggler","document","renderer","this","prototype","removeClasses","NewClassNames","_this","map","Class","body","classList","contains","indexOf","toggleClasses","Toggle","ClassNames","Level","slice","removeClass","addClass","Inject","args","DOCUMENT","Renderer2","Injectable","SidebarToggleDirective","classToggler","ngOnInit","bp","breakpoint","toggleOpen","$event","preventDefault","cssClass","Input","HostListener","Directive","selector","providers","SidebarMinimizeDirective","MobileSidebarToggleDirective","SidebarOffCanvasCloseDirective","BrandMinimizeDirective","AsideToggleDirective","HtmlAttributesDirective","el","attribs","appHtmlAttr","attr","setStyle","setAttrib","styles","style","nativeElement","classes","Array","isArray","split","filter","element","forEach","setAttribute","removeAttribute","ElementRef","LayoutModule","NgModule","imports","CommonModule","exports","declarations","AppAsideComponent","fixedClass","asideMenuClass","isFixed","fixed","isOffCanvas","offCanvas","displayBreakpoint","display","ngOnDestroy","HostBinding","Component","template","AppAsideModule","AppBreadcrumbService","router","route","breadcrumbSubject","BehaviorSubject","breadcrumbs","asObservable","events","pipe","event","NavigationEnd","subscribe","currentRoute","root","url","childrenRoutes","children","outlet","routeSnapshot","snapshot","segment","path","join","label","data","assign","Router","ActivatedRoute","providedIn","AppBreadcrumbComponent","service","parentElement","firstChild","insertBefore","removeChild","Replace","CuiBreadcrumbComponent","AppBreadcrumbModule","forRoot","config","ngModule","AppBreadcrumbModule_1","RouterModule","AppFooterComponent","appFooterClass","AppFooterModule","AppHeaderComponent","navbarBrandText","icon","text","navbarBrandRouterLink","appHeaderClass","navbarClass","breakpoints","sidebarTogglerClass","sidebarTogglerMobileClass","asideTogglerClass","asideTogglerMobileClass","navbarBrandImg","Boolean","navbarBrand","navbarBrandFull","navbarBrandMinimized","navbarBrandHref","setToggerBreakpointClass","sidebarToggler","setToggerMobileBreakpointClass","asideMenuToggler","togglerClass","includes","AppHeaderModule","AppSidebarService","events$","toggle","action","AppSidebarComponent","sidebarService","_minimized","minimizedChange","EventEmitter","sidebarClass","_updateMinimized","emit","minimize","isCompact","compact","minimized","subscriptionEvents","undefined","toggleMinimized","unsubscribe","complete","Output","SidebarNavService","SidebarNavHelper","hasBadge","item","badge","hasIcon","itemType","divider","title","keys","isActive","getIconClass","nav-icon","AppSidebarFooterComponent","sidebarFooterClass","AppSidebarFormComponent","sidebarFormClass","AppSidebarHeaderComponent","sidebarHeaderClass","AppSidebarMinimizerComponent","role","sidebarMinimizerClass","NavDropdownDirective","NavDropdownToggleDirective","dropdown","AppSidebarNavComponent","navItems","sidebarNavClass","navItemsArray","ngOnChanges","changes","AppSidebarNavDividerComponent","AppSidebarNavDropdownComponent","helper","AppSidebarNavItemsComponent","_items","items","concat","__spread","hideMobile","AppSidebarNavLinkContentComponent","AppSidebarNavLinkComponent","linkClick","navigationEndObservable","_Item","JSON","parse","stringify","serializeUrl","createUrlTree","linkType","getLinkType","href","isDisabled","linkActive","navSubscription","itemUrlArray","urlArray","urlAfterRedirects","every","index","isExternalLink","attributes","disabled","substring","linkClicked","AppSidebarNavTitleComponent","name","createText","class","wrapper","createElement","addAttribs","appendChild","AppSidebarNavLabelComponent","nav-label","active","iconClasses","getItemClass","itemClass","getLabelIconClass","variant","labelClass","AppSidebarNavIconPipe","transform","Pipe","AppSidebarNavBadgePipe","AppSidebarNavLinkPipe","nav-link","AppSidebarNavItemClassPipe","_i","AppSidebarModule"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EA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Q,YAAc0L,EACtB1L,EAAQ,YAAY8H,EAAK8E,WAAe9E,EAAK8E,QACtC5M,GAVEkN,EAAqBhT,EAAA,CAHjC8S,EAAAA,KAAK,CACJlB,KAAM,uBAEKoB,mBCIX,SAAAE,EACSxD,GAAAhN,KAAAgN,OAAAA,EAeX,OAZEwD,EAAAvQ,UAAAkQ,UAAA,SAAUjF,OAAW,IAAA/J,EAAA,GAAAsP,EAAA,EAAAA,EAAA5S,UAAAC,OAAA2S,IAAAtP,EAAAsP,EAAA,GAAA5S,UAAA4S,GACjB,IACIX,EADEzE,EAAWrL,KAAKgN,OAAO3B,SAASH,GAStC,OANE4E,EADE,CAAC,UAAW,SAASvG,SAAS8B,GACpB,OAAOA,EACG,aAAbA,EACG,wBAEA,WAEPH,EAAKkE,MAAWU,EAAS,IAAI5E,EAAKkE,MAAUU,4CAbtC9E,KAHNwF,EAA0BlT,EAAA,CAHtC8S,EAAAA,KAAK,CACJlB,KAAM,kDAKWlE,KAHNwF,mBCwEb,SAAAE,KAAgC,OAAnBA,EAAgBpT,EAAA,CAnD5ByG,EAAAA,SAAS,CACRC,QAAS,CACPC,EAAAA,aACA2D,EAAAA,aACA9D,GAEFI,QAAS,CACP0H,EACAE,EACAE,EACAE,EACArC,EACAoD,EACAT,EACAM,EACAC,EACA0C,EACAjC,EACAD,EACA0B,EACA5C,EACAC,EACAxI,GAEFK,aAAc,CACZyH,EACAE,EACAE,EACAE,EACAA,EACArC,EACAoD,EACAT,EACAM,EACAC,EACAS,EACAD,EACA0B,EACA5C,EACAC,EACAmD,EACAS,EACAG,EACAC,EACAE,GAEFpO,UAAW,CACT4I,EACAvB,MAGSiH","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n if (this.hasIcon(item)) {\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n }\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"]} \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.service.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.service.js index 16e08292..bf2f0eed 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.service.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.service.js @@ -38,8 +38,10 @@ let SidebarNavHelper = class SidebarNavHelper { const classes = { 'nav-icon': true }; - const icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + const icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; } }; @@ -47,4 +49,4 @@ SidebarNavHelper = __decorate([ Injectable() ], SidebarNavHelper); export { SidebarNavHelper }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUszQyxJQUFzQixpQkFBaUIsR0FBdkMsTUFBc0IsaUJBQWlCO0NBS3RDLENBQUE7QUFMcUIsaUJBQWlCO0lBRHRDLFVBQVUsRUFBRTtHQUNTLGlCQUFpQixDQUt0QztTQUxxQixpQkFBaUI7QUFRdkMsSUFBYSxnQkFBZ0IsR0FBN0IsTUFBYSxnQkFBZ0I7SUFBN0I7UUFzQlMsYUFBUSxHQUFHLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUF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MgaXNBY3RpdmUocm91dGVyLCBpdGVtKSB7XG4gICAgcmV0dXJuIHJvdXRlci5pc0FjdGl2ZShpdGVtLnVybCwgZmFsc2UpO1xuICB9XG5cbiAgcHVibGljIGhhc0JhZGdlID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5iYWRnZSk7XG4gIHB1YmxpYyBoYXNJY29uID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5pY29uKTtcblxuICBwdWJsaWMgZ2V0SWNvbkNsYXNzKGl0ZW0pIHtcbiAgICBjb25zdCBjbGFzc2VzID0ge1xuICAgICAgJ25hdi1pY29uJzogdHJ1ZVxuICAgIH07XG4gICAgaWYgKHRoaXMuaGFzSWNvbihpdGVtKSkge1xuICAgICAgY29uc3QgaWNvbiA9IGl0ZW0uaWNvbjtcbiAgICAgIGNsYXNzZXNbaWNvbl0gPSB0aGlzLmhhc0ljb24oaXRlbSk7XG4gICAgfVxuICAgIHJldHVybiBjbGFzc2VzO1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/public_api.js b/dist/@coreui/angular/esm2015/lib/sidebar/public_api.js index a4789121..326020bf 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/public_api.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/public_api.js @@ -1,4 +1,4 @@ export { AppSidebarComponent } from './app-sidebar.component'; export { SidebarNavHelper } from './app-sidebar-nav.service'; export { AppSidebarModule } from './app-sidebar.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJTmF2RGF0YSB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2JztcbmV4cG9ydCB7IEFwcFNpZGViYXJDb21wb25lbnQgfSBmcm9tICcuL2FwcC1zaWRlYmFyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBTaWRlYmFyTmF2SGVscGVyIH0gZnJvbSAnLi9hcHAtc2lkZWJhci1uYXYuc2VydmljZSc7XG5leHBvcnQgeyBBcHBTaWRlYmFyTW9kdWxlIH0gZnJvbSAnLi9hcHAtc2lkZWJhci5tb2R1bGUnO1xuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJTmF2RGF0YSB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2JztcclxuZXhwb3J0IHsgQXBwU2lkZWJhckNvbXBvbmVudCB9IGZyb20gJy4vYXBwLXNpZGViYXIuY29tcG9uZW50JztcclxuZXhwb3J0IHsgU2lkZWJhck5hdkhlbHBlciB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2LnNlcnZpY2UnO1xyXG5leHBvcnQgeyBBcHBTaWRlYmFyTW9kdWxlIH0gZnJvbSAnLi9hcHAtc2lkZWJhci5tb2R1bGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.service.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.service.js index 404a9f52..74e73b20 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.service.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.service.js @@ -41,8 +41,10 @@ var SidebarNavHelper = /** @class */ (function () { var classes = { 'nav-icon': true }; - var icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + var icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; }; SidebarNavHelper = __decorate([ @@ -51,4 +53,4 @@ var SidebarNavHelper = /** @class */ (function () { return SidebarNavHelper; }()); export { SidebarNavHelper }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUszQztJQUFBO0lBS0EsQ0FBQztJQUxxQixpQkFBaUI7UUFEdEMsVUFBVSxFQUFFO09BQ1MsaUJBQWlCLENBS3RDO0lBQUQsd0JBQUM7Q0FBQSxBQUxELElBS0M7U0FMcUIsaUJBQWlCO0FBUXZDO0lBQUE7UUFzQlMsYUFBUSxHQUFHLFVBQUMsSUFBSSxJQUFLLE9BQUEsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQU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XR1cm4gJ2VtcHR5JztcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuICdsaW5rJztcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgaXNBY3RpdmUocm91dGVyLCBpdGVtKSB7XG4gICAgcmV0dXJuIHJvdXRlci5pc0FjdGl2ZShpdGVtLnVybCwgZmFsc2UpO1xuICB9XG5cbiAgcHVibGljIGhhc0JhZGdlID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5iYWRnZSk7XG4gIHB1YmxpYyBoYXNJY29uID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5pY29uKTtcblxuICBwdWJsaWMgZ2V0SWNvbkNsYXNzKGl0ZW0pIHtcbiAgICBjb25zdCBjbGFzc2VzID0ge1xuICAgICAgJ25hdi1pY29uJzogdHJ1ZVxuICAgIH07XG4gICAgaWYgKHRoaXMuaGFzSWNvbihpdGVtKSkge1xuICAgICAgY29uc3QgaWNvbiA9IGl0ZW0uaWNvbjtcbiAgICAgIGNsYXNzZXNbaWNvbl0gPSB0aGlzLmhhc0ljb24oaXRlbSk7XG4gICAgfVxuICAgIHJldHVybiBjbGFzc2VzO1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/public_api.js b/dist/@coreui/angular/esm5/lib/sidebar/public_api.js index a4789121..326020bf 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/public_api.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/public_api.js @@ -1,4 +1,4 @@ export { AppSidebarComponent } from './app-sidebar.component'; export { SidebarNavHelper } from './app-sidebar-nav.service'; export { AppSidebarModule } from './app-sidebar.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJTmF2RGF0YSB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2JztcbmV4cG9ydCB7IEFwcFNpZGViYXJDb21wb25lbnQgfSBmcm9tICcuL2FwcC1zaWRlYmFyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBTaWRlYmFyTmF2SGVscGVyIH0gZnJvbSAnLi9hcHAtc2lkZWJhci1uYXYuc2VydmljZSc7XG5leHBvcnQgeyBBcHBTaWRlYmFyTW9kdWxlIH0gZnJvbSAnLi9hcHAtc2lkZWJhci5tb2R1bGUnO1xuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJTmF2RGF0YSB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2JztcclxuZXhwb3J0IHsgQXBwU2lkZWJhckNvbXBvbmVudCB9IGZyb20gJy4vYXBwLXNpZGViYXIuY29tcG9uZW50JztcclxuZXhwb3J0IHsgU2lkZWJhck5hdkhlbHBlciB9IGZyb20gJy4vYXBwLXNpZGViYXItbmF2LnNlcnZpY2UnO1xyXG5leHBvcnQgeyBBcHBTaWRlYmFyTW9kdWxlIH0gZnJvbSAnLi9hcHAtc2lkZWJhci5tb2R1bGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/fesm2015/coreui-angular.js b/dist/@coreui/angular/fesm2015/coreui-angular.js index 0b55a5a2..09b27d07 100644 --- a/dist/@coreui/angular/fesm2015/coreui-angular.js +++ b/dist/@coreui/angular/fesm2015/coreui-angular.js @@ -949,8 +949,10 @@ let SidebarNavHelper = class SidebarNavHelper { const classes = { 'nav-icon': true }; - const icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + const icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; } }; diff --git a/dist/@coreui/angular/fesm2015/coreui-angular.js.map b/dist/@coreui/angular/fesm2015/coreui-angular.js.map index 2f820c64..50d9ee3f 100644 --- a/dist/@coreui/angular/fesm2015/coreui-angular.js.map +++ b/dist/@coreui/angular/fesm2015/coreui-angular.js.map @@ -1 +1 @@ -{"version":3,"file":"coreui-angular.js","sources":["ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts","ng://@coreui/angular/public-api.ts","ng://@coreui/angular/coreui-angular.ts"],"sourcesContent":["export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n","/*\r\n * Public API Surface of @coreui/angular\r\n */\r\n\r\nexport * from './lib/aside/index';\r\nexport * from './lib/breadcrumb/index';\r\nexport * from './lib/footer/index';\r\nexport * from './lib/header/index';\r\nexport * from './lib/sidebar/index';\r\n// export * from './lib/shared/index';\r\n// export * from './lib/coreui.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {AppBreadcrumbService as ɵj} from './lib/breadcrumb/app-breadcrumb.service';\nexport {AsideToggleDirective as ɵg,BrandMinimizeDirective as ɵf,HtmlAttributesDirective as ɵh,MobileSidebarToggleDirective as ɵd,SidebarMinimizeDirective as ɵc,SidebarOffCanvasCloseDirective as ɵe,SidebarToggleDirective as ɵb} from './lib/shared/layout/layout.directive';\nexport {LayoutModule as ɵa} from './lib/shared/layout/layout.module';\nexport {ClassToggler as ɵi} from './lib/shared/toggle-classes';\nexport {AppSidebarFooterComponent as ɵl} from './lib/sidebar/app-sidebar-footer.component';\nexport {AppSidebarFormComponent as ɵm} from './lib/sidebar/app-sidebar-form.component';\nexport {AppSidebarHeaderComponent as ɵn} from './lib/sidebar/app-sidebar-header.component';\nexport {AppSidebarMinimizerComponent as ɵo} from './lib/sidebar/app-sidebar-minimizer.component';\nexport {AppSidebarNavComponent as ɵq} from './lib/sidebar/app-sidebar-nav.component';\nexport {NavDropdownDirective as ɵx,NavDropdownToggleDirective as ɵy} from './lib/sidebar/app-sidebar-nav.directive';\nexport {AppSidebarNavBadgePipe as ɵba} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe';\nexport {AppSidebarNavDividerComponent as ɵr} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component';\nexport {AppSidebarNavDropdownComponent as ɵs} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component';\nexport {AppSidebarNavIconPipe as ɵz} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe';\nexport {AppSidebarNavItemClassPipe as ɵbc} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe';\nexport {AppSidebarNavItemsComponent as ɵp} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component';\nexport {AppSidebarNavLabelComponent as ɵt} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component';\nexport {AppSidebarNavLinkComponent as ɵv,AppSidebarNavLinkContentComponent as ɵu} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component';\nexport {AppSidebarNavLinkPipe as ɵbb} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe';\nexport {AppSidebarNavTitleComponent as ɵw} from './lib/sidebar/app-sideb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S,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,SAAS,CAAC;KAC9D;CACJ,CAAA;;YAfkB,gBAAgB;;AAHtB,0BAA0B;IAHtC,IAAI,CAAC;QACJ,IAAI,EAAE,wBAAwB;KAC/B,CAAC;qCAIiB,gBAAgB;GAHtB,0BAA0B,CAkBtC;;ICsDY,gBAAgB,GAA7B,MAAa,gBAAgB;CAAI,CAAA;AAApB,gBAAgB;IAnD5B,QAAQ,CAAC;QACR,OAAO,EAAE;YACP,YAAY;YACZ,YAAY;YACZ,YAAY;SACb;QACD,OAAO,EAAE;YACP,yBAAyB;YACzB,uBAAuB;YACvB,yBAAyB;YACzB,4BAA4B;YAC5B,mBAAmB;YACnB,2BAA2B;YAC3B,sBAAsB;YACtB,6BAA6B;YAC7B,8BAA8B;YAC9B,2BAA2B;YAC3B,0BAA0B;YAC1B,iCAAiC;YACjC,2BAA2B;YAC3B,oBAAoB;YACpB,0BAA0B;YAC1B,YAAY;SACb;QACD,YAAY,EAAE;YACZ,yBAAyB;YACzB,uBAAuB;YACvB,yBAAyB;YACzB,4BAA4B;YAC5B,4BAA4B;YAC5B,mBAAmB;YACnB,2BAA2B;YAC3B,sBAAsB;YACtB,6BAA6B;YAC7B,8BAA8B;YAC9B,0BAA0B;YAC1B,iCAAiC;YACjC,2BAA2B;YAC3B,oBAAoB;YACpB,0BAA0B;YAC1B,2BAA2B;YAC3B,qBAAqB;YACrB,sBAAsB;YACtB,qBAAqB;YACrB,0BAA0B;SAC3B;QACD,SAAS,EAAE;YACT,gBAAgB;YAChB,iBAAiB;SAClB;KACF,CAAC;GACW,gBAAgB,CAAI;;AC/EjC;;;AAIA,AAKA;AACA,uCAAuC;;ACVvC;;GAEG;;;;"} \ No newline at end of file +{"version":3,"file":"coreui-angular.js","sources":["ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts","ng://@coreui/angular/public-api.ts","ng://@coreui/angular/coreui-angular.ts"],"sourcesContent":["export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n if (this.hasIcon(item)) {\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n }\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n","/*\r\n * Public API Surface of @coreui/angular\r\n */\r\n\r\nexport * from './lib/aside/index';\r\nexport * from './lib/breadcrumb/index';\r\nexport * from './lib/footer/index';\r\nexport * from './lib/header/index';\r\nexport * from './lib/sidebar/index';\r\n// export * from './lib/shared/index';\r\n// export * from './lib/coreui.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {AppBreadcrumbService as ɵj} from './lib/breadcrumb/app-breadcrumb.service';\nexport {AsideToggleDirective as ɵg,BrandMinimizeDirective as ɵf,HtmlAttributesDirective as ɵh,MobileSidebarToggleDirective as ɵd,SidebarMinimizeDirective as ɵc,SidebarOffCanvasCloseDirective as ɵe,SidebarToggleDirective as ɵb} from './lib/shared/layout/layout.directive';\nexport {LayoutModule as ɵa} from './lib/shared/layout/layout.module';\nexport {ClassToggler as ɵi} from './lib/shared/toggle-classes';\nexport {AppSidebarFooterComponent as ɵl} from './lib/sidebar/app-sidebar-footer.component';\nexport {AppSidebarFormComponent as ɵm} from './lib/sidebar/app-sidebar-form.component';\nexport {AppSidebarHeaderComponent as ɵn} from './lib/sidebar/app-sidebar-header.component';\nexport {AppSidebarMinimizerComponent as ɵo} from './lib/sidebar/app-sidebar-minimizer.component';\nexport {AppSidebarNavComponent as ɵq} from './lib/sidebar/app-sidebar-nav.component';\nexport {NavDropdownDirective as ɵx,NavDropdownToggleDirective as ɵy} from './lib/sidebar/app-sidebar-nav.directive';\nexport {AppSidebarNavBadgePipe as ɵba} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe';\nexport {AppSidebarNavDividerComponent as ɵr} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component';\nexport {AppSidebarNavDropdownComponent as ɵs} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component';\nexport {AppSidebarNavIconPipe as ɵz} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe';\nexport {AppSidebarNavItemClassPipe as ɵbc} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe';\nexport {AppSidebarNavItemsComponent as ɵp} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component';\nexport {AppSidebarNavLabelComponent as ɵt} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component';\nexport {AppSidebarNavLinkComponent as ɵv,AppSidebarNavLinkContentComponent as ɵu} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component';\nexport {AppSidebarNavLinkPipe as ɵbb} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe';\nexport {AppSidebarNavTitleComponent as ɵw} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component';\nexport {AppSidebarService as ɵk} from './lib/sidebar/app-sidebar.service';"],"names":[],"mappings":";;;;;;;AAAO,MAAM,iBAAiB,GAAkB;IAC9C,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB,CAAC;AAEK,MAAM,mBAAmB,GAAkB;IAChD,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB;;ACXD,MAAM,aAAa,GAAG,CAAC,aAAa;IAClC,MAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3F,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3C,CAAC,CAAC;;AAEF,AAAO,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,UAAU;IAC9C,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACzC,MAAM,aAAa,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;IAErD,IAAI,aAAa,CAAC,aAAa,CAAC,EAAE;QAChC,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,QAAQ,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AoB;YACpB,0BAA0B;YAC1B,2BAA2B;YAC3B,qBAAqB;YACrB,sBAAsB;YACtB,qBAAqB;YACrB,0BAA0B;SAC3B;QACD,SAAS,EAAE;YACT,gBAAgB;YAChB,iBAAiB;SAClB;KACF,CAAC;GACW,gBAAgB,CAAI;;AC/EjC;;;AAIA,AAKA;AACA,uCAAuC;;ACVvC;;GAEG;;;;"} \ No newline at end of file diff --git a/dist/@coreui/angular/fesm5/coreui-angular.js b/dist/@coreui/angular/fesm5/coreui-angular.js index a046b004..5d81ddb4 100644 --- a/dist/@coreui/angular/fesm5/coreui-angular.js +++ b/dist/@coreui/angular/fesm5/coreui-angular.js @@ -997,8 +997,10 @@ var SidebarNavHelper = /** @class */ (function () { var classes = { 'nav-icon': true }; - var icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + var icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; }; SidebarNavHelper = __decorate([ diff --git a/dist/@coreui/angular/fesm5/coreui-angular.js.map b/dist/@coreui/angular/fesm5/coreui-angular.js.map index 037b0af8..b86f19cd 100644 --- a/dist/@coreui/angular/fesm5/coreui-angular.js.map +++ b/dist/@coreui/angular/fesm5/coreui-angular.js.map @@ -1 +1 @@ -{"version":3,"file":"coreui-angular.js","sources":["ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts","ng://@coreui/angular/public-api.ts","ng://@coreui/angular/coreui-angular.ts"],"sourcesContent":["export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n","/*\r\n * Public API Surface of @coreui/angular\r\n */\r\n\r\nexport * from './lib/aside/index';\r\nexport * from './lib/breadcrumb/index';\r\nexport * from './lib/footer/index';\r\nexport * from './lib/header/index';\r\nexport * from './lib/sidebar/index';\r\n// export * from './lib/shared/index';\r\n// export * from './lib/coreui.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {AppBreadcrumbService as ɵj} from './lib/breadcrumb/app-breadcrumb.service';\nexport {AsideToggleDirective as ɵg,BrandMinimizeDirective as ɵf,HtmlAttributesDirective as ɵh,MobileSidebarToggleDirective as ɵd,SidebarMinimizeDirective as ɵc,SidebarOffCanvasCloseDirective as ɵe,SidebarToggleDirective as ɵb} from './lib/shared/layout/layout.directive';\nexport {LayoutModule as ɵa} from './lib/shared/layout/layout.module';\nexport {ClassToggler as ɵi} from './lib/shared/toggle-classes';\nexport {AppSidebarFooterComponent as ɵl} from './lib/sidebar/app-sidebar-footer.component';\nexport {AppSidebarFormComponent as ɵm} from './lib/sidebar/app-sidebar-form.component';\nexport {AppSidebarHeaderComponent as ɵn} from './lib/sidebar/app-sidebar-header.component';\nexport {AppSidebarMinimizerComponent as ɵo} from './lib/sidebar/app-sidebar-minimizer.component';\nexport {AppSidebarNavComponent as ɵq} from './lib/sidebar/app-sidebar-nav.component';\nexport {NavDropdownDirective as ɵx,NavDropdownToggleDirective as ɵy} from './lib/sidebar/app-sidebar-nav.directive';\nexport {AppSidebarNavBadgePipe as ɵba} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe';\nexport {AppSidebarNavDividerComponent as ɵr} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component';\nexport {AppSidebarNavDropdownComponent as ɵs} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component';\nexport {AppSidebarNavIconPipe as ɵz} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe';\nexport {AppSidebarNavItemClassPipe as ɵbc} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe';\nexport {AppSidebarNavItemsComponent as ɵp} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component';\nexport {AppSidebarNavLabelComponent as ɵt} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component';\nexport {AppSidebarNavLinkComponent as ɵv,AppSidebarNavLinkContentComponent as ɵu} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component';\nexport {AppSidebarNavLinkPipe as ɵbb} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe';\nexport {AppSidebarNavTitleComponent as ɵw} from './lib/s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gBACT,gBAAgB;gBAChB,iBAAiB;aAClB;SACF,CAAC;OACW,gBAAgB,CAAI;IAAD,uBAAC;CAAjC;;AC/EA;;;AAIA,AAKA;AACA,uCAAuC;;ACVvC;;GAEG;;;;"} \ No newline at end of file +{"version":3,"file":"coreui-angular.js","sources":["ng://@coreui/angular/lib/shared/classes.ts","ng://@coreui/angular/lib/shared/toggle-classes.ts","ng://@coreui/angular/lib/shared/layout/layout.directive.ts","ng://@coreui/angular/lib/shared/layout/layout.module.ts","ng://@coreui/angular/lib/shared/replace.ts","ng://@coreui/angular/lib/aside/app-aside.component.ts","ng://@coreui/angular/lib/aside/app-aside.module.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.service.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/cui-breadcrumb.component.ts","ng://@coreui/angular/lib/breadcrumb/app-breadcrumb.module.ts","ng://@coreui/angular/lib/footer/app-footer.component.ts","ng://@coreui/angular/lib/footer/app-footer.module.ts","ng://@coreui/angular/lib/header/app-header.component.ts","ng://@coreui/angular/lib/header/app-header.module.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.service.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-footer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-form.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-header.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-minimizer.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.directive.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts","ng://@coreui/angular/public-api.ts","ng://@coreui/angular/coreui-angular.ts"],"sourcesContent":["export const sidebarCssClasses: Array = [\r\n 'sidebar-show',\r\n 'sidebar-sm-show',\r\n 'sidebar-md-show',\r\n 'sidebar-lg-show',\r\n 'sidebar-xl-show'\r\n];\r\n\r\nexport const asideMenuCssClasses: Array = [\r\n 'aside-menu-show',\r\n 'aside-menu-sm-show',\r\n 'aside-menu-md-show',\r\n 'aside-menu-lg-show',\r\n 'aside-menu-xl-show'\r\n];\r\n","import {Inject, Injectable, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nconst RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n};\r\n\r\nexport const ToggleClasses = (Toggle, ClassNames) => {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (RemoveClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => document.body.classList.remove(Class));\r\n } else {\r\n document.body.classList.add(Toggle);\r\n }\r\n};\r\n\r\n@Injectable()\r\nexport class ClassToggler {\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n removeClasses(NewClassNames) {\r\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\r\n return MatchClasses.indexOf(true) !== -1;\r\n }\r\n\r\n toggleClasses(Toggle, ClassNames) {\r\n const Level = ClassNames.indexOf(Toggle);\r\n const NewClassNames = ClassNames.slice(0, Level + 1);\r\n\r\n if (this.removeClasses(NewClassNames)) {\r\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\r\n } else {\r\n this.renderer.addClass(this.document.body, Toggle);\r\n }\r\n }\r\n}\r\n","import {Directive, ElementRef, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n/**\r\n * Allows the sidebar to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `sidebar-${this.bp}-show` : sidebarCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, sidebarCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appSidebarMinimizer]'\r\n})\r\nexport class SidebarMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-minimized') ?\r\n this.renderer.removeClass(body, 'sidebar-minimized') :\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appMobileSidebarToggler]'\r\n})\r\nexport class MobileSidebarToggleDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the off-canvas sidebar to be closed via click.\r\n */\r\n@Directive({\r\n selector: '[appSidebarClose]'\r\n})\r\nexport class SidebarOffCanvasCloseDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n const body = this.document.body;\r\n if (body.classList.contains('sidebar-off-canvas')) {\r\n body.classList.contains('sidebar-show') ?\r\n this.renderer.removeClass(body, 'sidebar-show') :\r\n this.renderer.addClass(body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appBrandMinimizer]'\r\n})\r\nexport class BrandMinimizeDirective {\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const body = this.document.body;\r\n body.classList.contains('brand-minimized') ?\r\n this.renderer.removeClass(body, 'brand-minimized') :\r\n this.renderer.addClass(body, 'brand-minimized');\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Allows the aside to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appAsideMenuToggler]',\r\n providers: [ClassToggler]\r\n})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor(private classToggler: ClassToggler) {}\r\n ngOnInit(): void {\r\n this.bp = this.breakpoint;\r\n }\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\r\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[appHtmlAttr]'\r\n})\r\nexport class HtmlAttributesDirective implements OnInit {\r\n @Input() appHtmlAttr: {[key: string]: string };\r\n\r\n constructor(\r\n private renderer: Renderer2,\r\n private el: ElementRef\r\n ) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appHtmlAttr;\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr]);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr]);\r\n } else {\r\n this.setAttrib(attr, attribs[attr]);\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(this.el.nativeElement, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value) {\r\n value !== null ?\r\n this.renderer.setAttribute(this.el.nativeElement, key, value ) :\r\n this.renderer.removeAttribute(this.el.nativeElement, key);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport {\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n} from './layout.directive';\r\nimport { ClassToggler } from '../toggle-classes';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective,\r\n HtmlAttributesDirective\r\n ],\r\n providers: [\r\n ClassToggler\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","export function Replace(el: any): any {\r\n const nativeElement: HTMLElement = el.nativeElement;\r\n const parentElement: HTMLElement = nativeElement.parentElement;\r\n // move all children out of the element\r\n while (nativeElement.firstChild) {\r\n parentElement.insertBefore(nativeElement.firstChild, nativeElement);\r\n }\r\n // remove the empty element(the host)\r\n parentElement.removeChild(nativeElement);\r\n}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport { asideMenuCssClasses } from '../shared';\r\n\r\n@Component({\r\n selector: 'app-aside, cui-aside',\r\n template: ``\r\n})\r\nexport class AppAsideComponent implements OnInit, OnDestroy {\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n private readonly fixedClass = 'aside-menu-fixed';\r\n\r\n @HostBinding('class.aside-menu') asideMenuClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.displayBreakpoint(this.display);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false ) {\r\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppAsideComponent } from './app-aside.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppAsideComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppAsideComponent\r\n ]\r\n})\r\nexport class AppAsideModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n }\r\n)\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private breadcrumbSubject: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this.breadcrumbSubject = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this.breadcrumbSubject.asObservable();\r\n\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\r\n const breadcrumbs = [];\r\n let currentRoute = this.route.root;\r\n let url = '';\r\n do {\r\n const childrenRoutes = currentRoute.children;\r\n currentRoute = null;\r\n // tslint:disable-next-line:no-shadowed-variable\r\n childrenRoutes.forEach(route => {\r\n if (route.outlet === 'primary') {\r\n const routeSnapshot = route.snapshot;\r\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\r\n breadcrumbs.push({\r\n label: route.snapshot.data,\r\n url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this.breadcrumbSubject.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-breadcrumb',\n template: `\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n `\n})\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n public breadcrumbs;\n private readonly fixedClass = 'breadcrumb-fixed';\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n public service: AppBreadcrumbService,\n public el: ElementRef\n ) { }\n\n public ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.breadcrumbs = this.service.breadcrumbs;\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, this.fixedClass);\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, this.fixedClass);\n }\n }\n}\n","import {Component, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {AppBreadcrumbService} from './app-breadcrumb.service';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'cui-breadcrumb',\r\n templateUrl: './cui-breadcrumb.component.html'\r\n})\r\nexport class CuiBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n public breadcrumbs;\r\n private readonly fixedClass = 'breadcrumb-fixed';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public service: AppBreadcrumbService,\r\n ) { }\r\n\r\n public ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule, ModuleWithProviders} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n// App Breadcrumb Component\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\nimport { AppBreadcrumbComponent } from './app-breadcrumb.component';\r\nimport { CuiBreadcrumbComponent } from './cui-breadcrumb.component';\r\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent, CuiBreadcrumbComponent ]\r\n})\r\nexport class AppBreadcrumbModule {\r\n static forRoot(config?: any): ModuleWithProviders {\r\n return {\r\n ngModule: AppBreadcrumbModule,\r\n providers: [\r\n AppBreadcrumbService\r\n ]\r\n };\r\n }\r\n}\r\n","import {Component, HostBinding, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-footer, cui-footer',\r\n template: ``\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n private readonly fixedClass = 'footer-fixed';\r\n\r\n @HostBinding('class.app-footer') appFooterClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n}\r\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { AppFooterComponent } from './app-footer.component';\r\n\r\n@NgModule({\r\n imports: [ CommonModule ],\r\n exports: [ AppFooterComponent ],\r\n declarations: [ AppFooterComponent ]\r\n})\r\nexport class AppFooterModule {}\r\n","import {Component, Input, OnInit, OnDestroy, Inject, Renderer2, HostBinding} from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-header, cui-header',\r\n templateUrl: './app-header.component.html'\r\n})\r\nexport class AppHeaderComponent implements OnInit, OnDestroy {\r\n\r\n @Input() fixed: boolean;\r\n\r\n @Input() navbarBrand: any;\r\n @Input() navbarBrandFull: any;\r\n @Input() navbarBrandMinimized: any;\r\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\r\n @Input() navbarBrandHref: ''; // deprecated, use navbarBrandRouterLink instead\r\n @Input() navbarBrandRouterLink: any[] | string = '';\r\n\r\n @Input() sidebarToggler: string | boolean;\r\n @Input() mobileSidebarToggler: boolean;\r\n\r\n @Input() asideMenuToggler: string | boolean;\r\n @Input() mobileAsideMenuToggler: boolean;\r\n\r\n private readonly fixedClass = 'header-fixed';\r\n\r\n @HostBinding('class.app-header') appHeaderClass = true;\r\n @HostBinding('class.navbar') navbarClass = true;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n private readonly breakpoints = ['xl', 'lg', 'md', 'sm', 'xs'];\r\n sidebarTogglerClass = 'd-none d-md-block';\r\n sidebarTogglerMobileClass = 'd-lg-none';\r\n asideTogglerClass = 'd-none d-md-block';\r\n asideTogglerMobileClass = 'd-lg-none';\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n this.navbarBrandRouterLink = this.navbarBrandRouterLink[0] ? this.navbarBrandRouterLink : this.navbarBrandHref;\r\n this.sidebarTogglerClass = this.setToggerBreakpointClass(this.sidebarToggler as string);\r\n this.sidebarTogglerMobileClass = this.setToggerMobileBreakpointClass(this.sidebarToggler as string);\r\n this.asideTogglerClass = this.setToggerBreakpointClass(this.asideMenuToggler as string);\r\n this.asideTogglerMobileClass = this.setToggerMobileBreakpointClass(this.asideMenuToggler as string);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.renderer.removeClass(this.document.body, this.fixedClass);\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, this.fixedClass);\r\n }\r\n }\r\n\r\n setToggerBreakpointClass(breakpoint = 'md') {\r\n let togglerClass = 'd-none d-md-block';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n const breakpointIndex = this.breakpoints.indexOf(breakpoint);\r\n togglerClass = `d-none d-${breakpoint}-block`;\r\n }\r\n return togglerClass;\r\n }\r\n\r\n setToggerMobileBreakpointClass(breakpoint = 'lg') {\r\n let togglerClass = 'd-lg-none';\r\n if (this.breakpoints.includes(breakpoint)) {\r\n togglerClass = `d-${breakpoint}-none`;\r\n }\r\n return togglerClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppHeaderComponent,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppHeaderComponent\r\n ]\r\n})\r\nexport class AppHeaderModule {}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ISidebarAction {\r\n minimize?: boolean | 'toggle';\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSidebarService {\r\n\r\n private events = new BehaviorSubject({});\r\n events$ = this.events.asObservable();\r\n\r\n constructor() {}\r\n\r\n toggle(action: ISidebarAction) {\r\n this.events.next(action);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Component, EventEmitter, HostBinding, Inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { sidebarCssClasses } from '../shared';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar, cui-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n\r\n private subscriptionEvents: Subscription;\r\n private _minimized = false;\r\n\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @Input()\r\n get minimized() {\r\n return this._minimized;\r\n }\r\n set minimized(value: boolean) {\r\n // only update / emit events when the value changes\r\n if (this._minimized !== value) {\r\n this._minimized = value;\r\n this._updateMinimized(value);\r\n this.minimizedChange.emit(value);\r\n this.sidebarService.toggle({ minimize: value } );\r\n }\r\n }\r\n\r\n /**\r\n * Emits whenever the minimized state of the sidebar changes.\r\n * Primarily used to facilitate two-way binding.\r\n */\r\n @Output() minimizedChange = new EventEmitter();\r\n\r\n @HostBinding('class.sidebar') sidebarClass = true;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.displayBreakpoint(this.display);\r\n this.isCompact(this.compact);\r\n this.isFixed(this.fixed);\r\n this.isOffCanvas(this.offCanvas);\r\n this.sidebarService.toggle({ minimize: this.minimized } );\r\n this.subscriptionEvents = this.sidebarService.events$.subscribe(action => {\r\n if (action.minimize !== undefined) {\r\n action.minimize === 'toggle' ? this.toggleMinimized() : this.minimized = !!action.minimize;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionEvents.unsubscribe();\r\n this.minimizedChange.complete();\r\n this.renderer.removeClass(this.document.body, 'sidebar-fixed');\r\n this._updateMinimized(false);\r\n }\r\n\r\n isCompact(compact: boolean = this.compact): void {\r\n if (compact) {\r\n this.renderer.addClass(this.document.body, 'sidebar-compact');\r\n }\r\n }\r\n\r\n isFixed(fixed: boolean = this.fixed): void {\r\n if (fixed) {\r\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\r\n }\r\n }\r\n\r\n toggleMinimized(): void {\r\n this.minimized = !this._minimized;\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\r\n if (offCanvas) {\r\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\r\n }\r\n }\r\n\r\n displayBreakpoint(display: any = this.display): void {\r\n if (display !== false) {\r\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\r\n this.renderer.addClass(this.document.body, cssClass);\r\n }\r\n }\r\n\r\n private _updateMinimized(minimized: boolean): void {\r\n const body = this.document.body;\r\n\r\n if (minimized) {\r\n this.renderer.addClass(body, 'sidebar-minimized');\r\n this.renderer.addClass(body, 'brand-minimized');\r\n } else {\r\n this.renderer.removeClass(body, 'sidebar-minimized');\r\n this.renderer.removeClass(body, 'brand-minimized');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\n\nimport { INavData } from './app-sidebar-nav';\n\n@Injectable()\nexport abstract class SidebarNavService {\n /**\n * Returns a sidebar-nav items config NavData\n */\n abstract getSidebarNavItemsConfig(): INavData[];\n}\n\n@Injectable()\nexport class SidebarNavHelper {\n\n public itemType(item) {\n if (item.divider) {\n return 'divider';\n } else if (item.title) {\n return 'title';\n } else if (item.children) {\n return 'dropdown';\n } else if (item.label) {\n return 'label';\n } else if (!Object.keys(item).length) {\n return 'empty';\n } else {\n return 'link';\n }\n }\n\n public isActive(router, item) {\n return router.isActive(item.url, false);\n }\n\n public hasBadge = (item) => Boolean(item.badge);\n public hasIcon = (item) => Boolean(item.icon);\n\n public getIconClass(item) {\n const classes = {\n 'nav-icon': true\n };\n if (this.hasIcon(item)) {\n const icon = item.icon;\n classes[icon] = this.hasIcon(item);\n }\n return classes;\n }\n}\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer, cui-sidebar-footer',\r\n template: ``\r\n})\r\nexport class AppSidebarFooterComponent {\r\n\r\n @HostBinding('class.sidebar-footer') sidebarFooterClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form, cui-sidebar-form',\r\n template: ``\r\n})\r\nexport class AppSidebarFormComponent {\r\n\r\n @HostBinding('class.sidebar-form') sidebarFormClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header, cui-sidebar-header',\r\n template: ``\r\n})\r\nexport class AppSidebarHeaderComponent {\r\n\r\n @HostBinding('class.sidebar-header') sidebarHeaderClass = true;\r\n\r\n constructor() { }\r\n}\r\n","import {Component, HostBinding, HostListener, Input} from '@angular/core';\r\n\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer, cui-sidebar-minimizer',\r\n template: ``\r\n})\r\nexport class AppSidebarMinimizerComponent {\r\n\r\n @HostBinding('attr.role') @Input() role = 'button';\r\n @HostBinding('class.sidebar-minimizer') sidebarMinimizerClass = true;\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.sidebarService.toggle({minimize: 'toggle'});\r\n }\r\n\r\n constructor(\r\n private sidebarService: AppSidebarService\r\n ) { }\r\n}\r\n","import {Directive, ElementRef, HostListener} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appNavDropdown]'\r\n})\r\nexport class NavDropdownDirective {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n toggle() {\r\n this.el.nativeElement.classList.toggle('open');\r\n }\r\n}\r\n\r\n/**\r\n * Allows the dropdown to be toggled via click.\r\n */\r\n@Directive({\r\n selector: '[appNavDropdownToggle]'\r\n})\r\nexport class NavDropdownToggleDirective {\r\n constructor(private dropdown: NavDropdownDirective) {}\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n this.dropdown.toggle();\r\n }\r\n}\r\n","import { Component, HostBinding, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav, cui-sidebar-nav',\r\n templateUrl: './app-sidebar-nav.component.html'\r\n})\r\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: INavData[] = [];\r\n\r\n @HostBinding('class.sidebar-nav') sidebarNavClass = true;\r\n @HostBinding('attr.role') @Input() role = 'nav';\r\n\r\n public navItemsArray: INavData[] = [];\r\n\r\n constructor(\r\n public router: Router,\r\n ) { }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = Array.isArray(this.navItems) ? this.navItems.slice() : [];\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-divider, cui-sidebar-nav-divider',\r\n template: ``\r\n})\r\nexport class AppSidebarNavDividerComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import {Component, Input} from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n \r\n \r\n `,\r\n styles: [\r\n '.nav-dropdown-toggle { cursor: pointer; }',\r\n '.nav-dropdown-items { display: block; }'\r\n ],\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavDropdownComponent {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n}\r\n","import {Component, Inject, Input, Renderer2} from '@angular/core';\r\nimport {Router} from '@angular/router';\r\nimport {DOCUMENT} from '@angular/common';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-items, cui-sidebar-nav-items',\r\n template: `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavItemsComponent {\r\n\r\n protected _items: INavData[];\r\n\r\n @Input()\r\n set items(items: INavData[]) {\r\n this._items = [...items];\r\n }\r\n get items(): INavData[] {\r\n return this._items;\r\n }\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: any,\r\n private renderer: Renderer2,\r\n public router: Router,\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n public hideMobile() {\r\n if (this.document.body.classList.contains('sidebar-show')) {\r\n this.renderer.removeClass(this.document.body, 'sidebar-show');\r\n }\r\n }\r\n}\r\n","import {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';\r\nimport {NavigationEnd, Router} from '@angular/router';\r\nimport {Observable, Subscription} from 'rxjs';\r\nimport {filter} from 'rxjs/operators';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\nimport {INavData} from '../app-sidebar-nav';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',\r\n template: `\r\n \r\n \r\n {{item.name}}\r\n {{ item.badge.text }}\r\n \r\n `,\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkContentComponent implements OnInit, OnDestroy {\r\n @Input() item: any;\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {}\r\n ngOnDestroy() {}\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link, cui-sidebar-nav-link',\r\n templateUrl: './app-sidebar-nav-link.component.html',\r\n providers: [ SidebarNavHelper ]\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit, OnDestroy {\r\n\r\n protected _Item: INavData;\r\n\r\n @Input()\r\n set item(item: INavData) {\r\n this._Item = JSON.parse(JSON.stringify(item));\r\n }\r\n get item(): INavData {\r\n return this._Item;\r\n }\r\n\r\n @Output() linkClick = new EventEmitter();\r\n\r\n public linkType: string;\r\n public href: string;\r\n public linkActive: boolean;\r\n private url: string;\r\n\r\n private navigationEndObservable: Observable;\r\n private navSubscription: Subscription;\r\n\r\n constructor(\r\n public router: Router,\r\n ) {\r\n this.navigationEndObservable = router.events.pipe(\r\n filter(event => {\r\n return event instanceof NavigationEnd;\r\n })\r\n ) as Observable;\r\n }\r\n\r\n ngOnInit() {\r\n this.url = typeof this.item.url === 'string' ? this.item.url : this.router.serializeUrl(this.router.createUrlTree(this.item.url)) ;\r\n this.linkType = this.getLinkType();\r\n this.href = this.isDisabled() ? '' : (this.item.href || this.url);\r\n this.linkActive = this.router.url.split(/[?#(;]/)[0] === this.href.split(/[?#(;]/)[0];\r\n this.navSubscription = this.navigationEndObservable.subscribe(event => {\r\n const itemUrlArray = this.href.split(/[?#(;]/)[0].split('/');\r\n const urlArray = event.urlAfterRedirects.split(/[?#(;]/)[0].split('/');\r\n this.linkActive = itemUrlArray.every((value, index) => value === urlArray[index]);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.navSubscription.unsubscribe();\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';\r\n }\r\n\r\n public isDisabled() {\r\n return (this.item.attributes && this.item.attributes.disabled) ? true : null;\r\n }\r\n\r\n public isExternalLink() {\r\n return !!this.item.href || this.url.substring(0, 4) === 'http';\r\n }\r\n\r\n linkClicked() {\r\n this.linkClick.emit();\r\n }\r\n}\r\n","import {Component, ElementRef, Input, OnInit, Renderer2} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title, cui-sidebar-nav-title',\r\n template: '',\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2,\r\n ) {}\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const name = this.renderer.createText(this.item.name);\r\n\r\n if ( this.item.class ) {\r\n const classes = this.item.class;\r\n this.renderer.addClass(nativeElement, classes);\r\n }\r\n\r\n if ( this.item.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.item.wrapper.element);\r\n this.addAttribs(this.item.wrapper.attributes, wrapper);\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(nativeElement, wrapper);\r\n } else {\r\n this.renderer.appendChild(nativeElement, name);\r\n }\r\n }\r\n\r\n private addAttribs(attribs, element) {\r\n if (attribs) {\r\n for (const attr in attribs) {\r\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\r\n this.setStyle(attribs[attr], element);\r\n } else if (attr === 'class') {\r\n this.addClass(attribs[attr], element);\r\n } else {\r\n this.setAttrib(attr, attribs[attr], element);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setStyle(styles, el) {\r\n for (const style in styles) {\r\n this.renderer.setStyle(el, style, styles[style] );\r\n }\r\n }\r\n\r\n private addClass(classes, el) {\r\n const classArray = (Array.isArray(classes) ? classes : classes.split(' '));\r\n classArray.filter((element) => element.length > 0).forEach(element => {\r\n this.renderer.addClass(el, element );\r\n });\r\n }\r\n\r\n private setAttrib(key, value, el) {\r\n this.renderer.setAttribute(el, key, value );\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-label, cui-sidebar-nav-label',\r\n templateUrl: './app-sidebar-nav-label.component.html'\r\n})\r\nexport class AppSidebarNavLabelComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n private classes = {\r\n 'nav-label': true,\r\n active: true\r\n };\r\n private iconClasses = {};\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.iconClasses = this.helper.getIconClass(this.item);\r\n }\r\n\r\n getItemClass() {\r\n const itemClass = this.item.class;\r\n this.classes[itemClass] = !!itemClass;\r\n return this.classes;\r\n }\r\n getLabelIconClass() {\r\n const variant = `text-${this.item.label.variant}`;\r\n this.iconClasses[variant] = !!this.item.label.variant;\r\n const labelClass = this.item.label.class;\r\n this.iconClasses[labelClass] = !!labelClass;\r\n return this.iconClasses;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavIcon'\r\n})\r\nexport class AppSidebarNavIconPipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n const icon = item.icon;\r\n classes[icon] = !!item.icon;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavBadge'\r\n})\r\nexport class AppSidebarNavBadgePipe implements PipeTransform {\r\n\r\n transform(item: any, args?: any): any {\r\n const classes = {\r\n badge: true\r\n };\r\n const variant = `badge-${item.badge.variant}`;\r\n classes[variant] = !!item.badge.variant;\r\n classes[item.badge.class] = !!item.badge.class;\r\n return classes;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavLink'\r\n})\r\nexport class AppSidebarNavLinkPipe implements PipeTransform {\r\n\r\n transform(item: any): any {\r\n\r\n const classes = { 'nav-link': true };\r\n\r\n const disabled = item.attributes && item.attributes.disabled;\r\n classes['disabled'] = disabled;\r\n classes['btn-link'] = disabled;\r\n classes[`nav-link-${item.variant}`] = !!item.variant;\r\n return classes;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport {SidebarNavHelper} from '../app-sidebar-nav.service';\r\n\r\n@Pipe({\r\n name: 'appSidebarNavItemClass'\r\n})\r\nexport class AppSidebarNavItemClassPipe implements PipeTransform {\r\n\r\n constructor(\r\n public helper: SidebarNavHelper\r\n ) {}\r\n\r\n transform(item: any, ...args: any[]): any {\r\n const itemType = this.helper.itemType(item);\r\n let itemClass;\r\n if (['divider', 'title'].includes(itemType)) {\r\n itemClass = `nav-${itemType}`;\r\n } else if (itemType === 'dropdown') {\r\n itemClass = 'nav-item nav-dropdown' ;\r\n } else {\r\n itemClass = 'nav-item';\r\n }\r\n return item.class ? `${itemClass} ${item.class}` : itemClass;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { LayoutModule } from '../shared/layout/layout.module';\r\n// App Sidebar Component\r\nimport { AppSidebarComponent } from './app-sidebar.component';\r\nimport { AppSidebarFooterComponent } from './app-sidebar-footer.component';\r\nimport { AppSidebarFormComponent } from './app-sidebar-form.component';\r\nimport { AppSidebarHeaderComponent } from './app-sidebar-header.component';\r\nimport { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';\r\nimport { AppSidebarService } from './app-sidebar.service';\r\n\r\n// App SidebarNav Component\r\nimport { NavDropdownDirective, NavDropdownToggleDirective } from './app-sidebar-nav.directive';\r\nimport { AppSidebarNavComponent } from './app-sidebar-nav.component';\r\nimport { AppSidebarNavDividerComponent } from './app-sidebar-nav/app-sidebar-nav-divider.component';\r\nimport { AppSidebarNavDropdownComponent } from './app-sidebar-nav/app-sidebar-nav-dropdown.component';\r\nimport { AppSidebarNavItemsComponent } from './app-sidebar-nav/app-sidebar-nav-items.component';\r\nimport { AppSidebarNavLinkComponent, AppSidebarNavLinkContentComponent } from './app-sidebar-nav/app-sidebar-nav-link.component';\r\nimport { AppSidebarNavTitleComponent } from './app-sidebar-nav/app-sidebar-nav-title.component';\r\nimport { SidebarNavHelper } from './app-sidebar-nav.service';\r\nimport { AppSidebarNavLabelComponent } from './app-sidebar-nav/app-sidebar-nav-label.component';\r\nimport { AppSidebarNavIconPipe } from './app-sidebar-nav/app-sidebar-nav-icon.pipe';\r\nimport { AppSidebarNavBadgePipe } from './app-sidebar-nav/app-sidebar-nav-badge.pipe';\r\nimport { AppSidebarNavLinkPipe } from './app-sidebar-nav/app-sidebar-nav-link.pipe';\r\nimport { AppSidebarNavItemClassPipe } from './app-sidebar-nav/app-sidebar-nav-item-class.pipe';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n LayoutModule\r\n ],\r\n exports: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LayoutModule\r\n ],\r\n declarations: [\r\n AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavItemsComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDividerComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavLinkContentComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n AppSidebarNavLabelComponent,\r\n AppSidebarNavIconPipe,\r\n AppSidebarNavBadgePipe,\r\n AppSidebarNavLinkPipe,\r\n AppSidebarNavItemClassPipe\r\n ],\r\n providers: [\r\n SidebarNavHelper,\r\n AppSidebarService\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n","/*\r\n * Public API Surface of @coreui/angular\r\n */\r\n\r\nexport * from './lib/aside/index';\r\nexport * from './lib/breadcrumb/index';\r\nexport * from './lib/footer/index';\r\nexport * from './lib/header/index';\r\nexport * from './lib/sidebar/index';\r\n// export * from './lib/shared/index';\r\n// export * from './lib/coreui.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {AppBreadcrumbService as ɵj} from './lib/breadcrumb/app-breadcrumb.service';\nexport {AsideToggleDirective as ɵg,BrandMinimizeDirective as ɵf,HtmlAttributesDirective as ɵh,MobileSidebarToggleDirective as ɵd,SidebarMinimizeDirective as ɵc,SidebarOffCanvasCloseDirective as ɵe,SidebarToggleDirective as ɵb} from './lib/shared/layout/layout.directive';\nexport {LayoutModule as ɵa} from './lib/shared/layout/layout.module';\nexport {ClassToggler as ɵi} from './lib/shared/toggle-classes';\nexport {AppSidebarFooterComponent as ɵl} from './lib/sidebar/app-sidebar-footer.component';\nexport {AppSidebarFormComponent as ɵm} from './lib/sidebar/app-sidebar-form.component';\nexport {AppSidebarHeaderComponent as ɵn} from './lib/sidebar/app-sidebar-header.component';\nexport {AppSidebarMinimizerComponent as ɵo} from './lib/sidebar/app-sidebar-minimizer.component';\nexport {AppSidebarNavComponent as ɵq} from './lib/sidebar/app-sidebar-nav.component';\nexport {NavDropdownDirective as ɵx,NavDropdownToggleDirective as ɵy} from './lib/sidebar/app-sidebar-nav.directive';\nexport {AppSidebarNavBadgePipe as ɵba} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe';\nexport {AppSidebarNavDividerComponent as ɵr} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component';\nexport {AppSidebarNavDropdownComponent as ɵs} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-dropdown.component';\nexport {AppSidebarNavIconPipe as ɵz} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe';\nexport {AppSidebarNavItemClassPipe as ɵbc} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe';\nexport {AppSidebarNavItemsComponent as ɵp} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component';\nexport {AppSidebarNavLabelComponent as ɵt} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component';\nexport {AppSidebarNavLinkComponent as ɵv,AppSidebarNavLinkContentComponent as ɵu} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component';\nexport {AppSidebarNavLinkPipe as ɵbb} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe';\nexport {AppSidebarNavTitleComponent as ɵw} from './lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component';\nexport {AppSidebarService as ɵk} from './lib/sidebar/app-sidebar.service';"],"names":[],"mappings":";;;;;;;AAAO,IAAM,iBAAiB,GAAkB;IAC9C,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB,CAAC;AAEK,IAAM,mBAAmB,GAAkB;IAChD,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB;;ACXD,IAAM,aAAa,GAAG,UAAC,aAAa;IAClC,IAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAA,CAAC,CAAC;IAC3F,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3C,CA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ACR,OAAO,EAAE;gBACP,YAAY;gBACZ,YAAY;gBACZ,YAAY;aACb;YACD,OAAO,EAAE;gBACP,yBAAyB;gBACzB,uBAAuB;gBACvB,yBAAyB;gBACzB,4BAA4B;gBAC5B,mBAAmB;gBACnB,2BAA2B;gBAC3B,sBAAsB;gBACtB,6BAA6B;gBAC7B,8BAA8B;gBAC9B,2BAA2B;gBAC3B,0BAA0B;gBAC1B,iCAAiC;gBACjC,2BAA2B;gBAC3B,oBAAoB;gBACpB,0BAA0B;gBAC1B,YAAY;aACb;YACD,YAAY,EAAE;gBACZ,yBAAyB;gBACzB,uBAAuB;gBACvB,yBAAyB;gBACzB,4BAA4B;gBAC5B,4BAA4B;gBAC5B,mBAAmB;gBACnB,2BAA2B;gBAC3B,sBAAsB;gBACtB,6BAA6B;gBAC7B,8BAA8B;gBAC9B,0BAA0B;gBAC1B,iCAAiC;gBACjC,2BAA2B;gBAC3B,oBAAoB;gBACpB,0BAA0B;gBAC1B,2BAA2B;gBAC3B,qBAAqB;gBACrB,sBAAsB;gBACtB,qBAAqB;gBACrB,0BAA0B;aAC3B;YACD,SAAS,EAAE;gBACT,gBAAgB;gBAChB,iBAAiB;aAClB;SACF,CAAC;OACW,gBAAgB,CAAI;IAAD,uBAAC;CAAjC;;AC/EA;;;AAIA,AAKA;AACA,uCAAuC;;ACVvC;;GAEG;;;;"} \ No newline at end of file diff --git a/dist/@coreui/angular/package.json b/dist/@coreui/angular/package.json index dda79f45..a457ddf3 100644 --- a/dist/@coreui/angular/package.json +++ b/dist/@coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.7.4", + "version": "2.7.5", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular", @@ -17,9 +17,9 @@ } ], "peerDependencies": { - "@angular/common": "^9.0.0-rc.9", - "@angular/core": "^9.0.0-rc.9", - "@angular/router": "^9.0.0-rc.9", + "@angular/common": "^9.0.0-rc.12", + "@angular/core": "^9.0.0-rc.12", + "@angular/router": "^9.0.0-rc.12", "tslib": "^1.10.0", "@coreui/coreui": "^2.1.16" }, diff --git a/package-lock.json b/package-lock.json index d2d5a610..36d56d82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@coreui/angular-dev", - "version": "2.7.4", + "version": "2.7.5", "lockfileVersion": 1, "requires": true, "dependencies": { "@angular-devkit/architect": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.900.0-rc.9.tgz", - "integrity": "sha512-BbOyISigspJolSvlDa2ZkpO3ciifwUkiIdkka/VgKPc1Tvo1jBsTfsA3e4DpoJWTeP/9DXgmXjkIk7Avof0jiA==", + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.900.0-rc.12.tgz", + "integrity": "sha512-JscaHONGpvHca8ZsErQ0LQj1r0BB2eNMOEMINTDCLQoSQwOZvZaQsL3xZXwW4Uq2C9MGkWBnw2FsCxPY300NFA==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.9", + "@angular-devkit/core": "9.0.0-rc.12", "rxjs": "6.5.3" }, "dependencies": { @@ -26,19 +26,19 @@ } }, "@angular-devkit/build-angular": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.900.0-rc.9.tgz", - "integrity": "sha512-Kh7ULqZD0U29+zac/hlb0Kyc4YBz60nfZ97cMwDbyOxQGfjua0VxbXlvHX3qYo6uiJkgeV6CvQQay4J6R5DSAg==", + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.900.0-rc.12.tgz", + "integrity": "sha512-g+f3RJ4ATKbcQj3T9ZZAWkp+y4A/PWaUOXS7CuhoOgue0WJbmM1wAoWwtQylEgIggcf0EhByOn3QJSzF0L8m0A==", "dev": true, "requires": { - "@angular-devkit/architect": "0.900.0-rc.9", - "@angular-devkit/build-optimizer": "0.900.0-rc.9", - "@angular-devkit/build-webpack": "0.900.0-rc.9", - "@angular-devkit/core": "9.0.0-rc.9", + "@angular-devkit/architect": "0.900.0-rc.12", + "@angular-devkit/build-optimizer": "0.900.0-rc.12", + "@angular-devkit/build-webpack": "0.900.0-rc.12", + "@angular-devkit/core": "9.0.0-rc.12", "@babel/core": "7.7.7", "@babel/generator": "7.7.7", "@babel/preset-env": "7.7.7", - "@ngtools/webpack": "9.0.0-rc.9", + "@ngtools/webpack": "9.0.0-rc.12", "ajv": "6.10.2", "autoprefixer": "9.7.1", "babel-loader": "8.0.6", @@ -83,7 +83,7 @@ "stylus": "0.54.7", "stylus-loader": "3.0.2", "terser": "4.5.1", - "terser-webpack-plugin": "2.2.1", + "terser-webpack-plugin": "2.3.3", "tree-kill": "1.2.2", "webpack": "4.41.2", "webpack-dev-middleware": "3.7.2", @@ -188,12 +188,12 @@ } }, "@angular-devkit/build-ng-packagr": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-ng-packagr/-/build-ng-packagr-0.900.0-rc.9.tgz", - "integrity": "sha512-2VFbbtgVA5qA4rBZo39xqVJqPN1OdToCR1Y1Y/6at6U3WxHb+lr/GWGPQAuz39cr6T4EUVtaf50BXnfebKJvYQ==", + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-ng-packagr/-/build-ng-packagr-0.900.0-rc.12.tgz", + "integrity": "sha512-yjj8Qbw16kp59TGWMT1FJNlm+ln9VJeUKfBPfNI4fxxx45sS4s6fmv61gfh/9laHRvtfgiT3j+1DxVDeXWG1/g==", "dev": true, "requires": { - "@angular-devkit/architect": "0.900.0-rc.9", + "@angular-devkit/architect": "0.900.0-rc.12", "rxjs": "6.5.3" }, "dependencies": { @@ -209,9 +209,9 @@ } }, "@angular-devkit/build-optimizer": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.900.0-rc.9.tgz", - "integrity": "sha512-1b68UheGtQEqiUks4G2cgCnt71yWc9MkLjElrvlxamKeJu/7dN8V4yvk0slHZtF1xkAhHFZZzDcwCi2TlZApTw==", + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.900.0-rc.12.tgz", + "integrity": "sha512-8qIMlxsN5MhjsEJcGEaQ4IRgaxdbQIz0mr0yez8B7sJbhTeoy11iZayunEdPHqtGc9mpyVHGJIoDA0+SJUtbNQ==", "dev": true, "requires": { "loader-utils": "1.2.3", @@ -226,840 +226,164 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", "dev": true - } - } - }, - "@angular-devkit/build-webpack": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.900.0-rc.9.tgz", - "integrity": "sha512-HlYU08YqnXqxn3Xq89MwLfyz2UfmATc7FzMo0x1gKkLnSEnVCbzdhtHLjOhHITiMvIc0N1DK2g4ygPIWrgwQgA==", - "dev": true, - "requires": { - "@angular-devkit/architect": "0.900.0-rc.9", - "@angular-devkit/core": "9.0.0-rc.9", - "rxjs": "6.5.3" - }, - "dependencies": { - "rxjs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", - "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - } - } - }, - "@angular-devkit/core": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-9.0.0-rc.9.tgz", - "integrity": "sha512-rU41RXDiMumxl9ra7ZDTt/UI5RJFdy3jIgHidsxIdy0YcSWn1k4XKzfYpNeKDf9GQPuHf00htdSOljWmZo4Jfg==", - "dev": true, - "requires": { - "ajv": "6.10.2", - "fast-json-stable-stringify": "2.0.0", - "magic-string": "0.25.4", - "rxjs": "6.5.3", - "source-map": "0.7.3" - }, - "dependencies": { - "rxjs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", - "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "@angular-devkit/schematics": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-9.0.0-rc.9.tgz", - "integrity": "sha512-EU6+FwICgHty8hCaTl+k0jU3OF4IZ688oZjz3K3dkdO3fTfWFtUN7BF5D/wHWTmU3F2xZcREVGNzUEBDX8ipRQ==", - "dev": true, - "requires": { - "@angular-devkit/core": "9.0.0-rc.9", - "ora": "4.0.2", - "rxjs": "6.5.3" - }, - "dependencies": { - "rxjs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", - "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - } - } - }, - "@angular/animations": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-9.0.0-rc.9.tgz", - "integrity": "sha512-JuLyMn2NYwBc8hN130bn42oaQROmzWXLku3QhrEtf5VBJkyo9fdkj/00UWMHWnOiJygh4oMC04jL9p10iTtVzw==" - }, - "@angular/cli": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-9.0.0-rc.9.tgz", - "integrity": "sha512-TprMYroBCsjaBVx8oOKynZyCMkI6XdMqC/sWJzZmBSSqbi4YmB7jeydxL1S5qqKrYLk5cemcMIt+Xf0RuK9/wA==", - "dev": true, - "requires": { - "@angular-devkit/architect": "0.900.0-rc.9", - "@angular-devkit/core": "9.0.0-rc.9", - "@angular-devkit/schematics": "9.0.0-rc.9", - "@schematics/angular": "9.0.0-rc.9", - "@schematics/update": "0.900.0-rc.9", - "@yarnpkg/lockfile": "1.1.0", - "ansi-colors": "4.1.1", - "debug": "^4.1.1", - "ini": "1.3.5", - "inquirer": "7.0.0", - "npm-package-arg": "6.1.1", - "npm-pick-manifest": "3.0.2", - "open": "7.0.0", - "pacote": "9.5.8", - "read-package-tree": "5.3.1", - "rimraf": "3.0.0", - "semver": "6.3.0", - "symbol-observable": "1.2.0", - "universal-analytics": "^0.4.20", - "uuid": "^3.3.2" - }, - "dependencies": { - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "typescript": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz", + "integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==", "dev": true } } }, - "@angular/common": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-9.0.0-rc.9.tgz", - "integrity": "sha512-HzR6AX0THLks88E1+LLsWW1N+kChKUh1gmx7e2Y4Zxl3BntdqA0FhrhR03sEfwzP7Wvd7nfZzncKNp94Z4tjhg==" - }, - "@angular/compiler": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.0.0-rc.9.tgz", - "integrity": "sha512-g8Z2tBB5KGF5WTJTnR02f3TZ+yBlkxdOT1vbrPOlPby2nR5a0+W9f/km0d9lPcQ/yYZcoG5EPlSecPoorI7qgQ==" - }, - "@angular/compiler-cli": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-9.0.0-rc.9.tgz", - "integrity": "sha512-2Cotthl+EnrofJVPMB7zbmLwd7N+FQEHIS9voUaZiY+XoAZGn5FdArSdaKDOfpLei85OUdq4rnKkn6kdvQZFHA==", + "@angular-devkit/build-webpack": { + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.900.0-rc.12.tgz", + "integrity": "sha512-FGW8R6rO6Wf1Z93drKDuf87UcQgcqCnkh+3zdzQgACnjqs3wGqR7NCtkrKLlkSPTF98nK6q0wYlOeY3LN3fZAA==", "dev": true, - "requires": { - "canonical-path": "1.0.0", - "chokidar": "^2.1.1", - "convert-source-map": "^1.5.1", - "dependency-graph": "^0.7.2", - "magic-string": "^0.25.0", - "minimist": "^1.2.0", - "reflect-metadata": "^0.1.2", - "semver": "^6.3.0", - "source-map": "^0.6.1", - "yargs": "13.1.0" - }, - "dependencies": { - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "dev": true, - "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } - } - }, - "binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", - "dev": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - } - }, - "chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", - "dev": true, - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - } - }, - "fsevents": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz", - "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==", - "dev": true, - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1", - "node-pre-gyp": "*" - }, - "dependencies": { - "abbrev": { - "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "aproba": { - "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true - }, - "are-we-there-yet": { - "version": "1.1.5", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "balanced-match": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "brace-expansion": { - "version": "1.1.11", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "chownr": { - "version": "1.1.3", - "bundled": true, - "dev": true, - "optional": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "concat-map": { - "version": "0.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "debug": { - "version": "3.2.6", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ms": "^2.1.1" - } - }, - "deep-extend": { - "version": "0.6.0", - "bundled": true, - "dev": true, - "optional": true - }, - "delegates": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "detect-libc": { - "version": "1.0.3", - "bundled": true, - "dev": true, - "optional": true - }, - "fs-minipass": { - "version": "1.2.7", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "minipass": "^2.6.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "gauge": { - "version": "2.7.4", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "glob": { - "version": "7.1.6", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "has-unicode": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "iconv-lite": { - "version": "0.4.24", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ignore-walk": { - "version": "3.0.3", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "minimatch": "^3.0.4" - } - }, - "inflight": { - "version": "1.0.6", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "bundled": true, - "dev": true, - "optional": true - }, - "ini": { - "version": "1.3.5", - "bundled": true, - "dev": true, - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "isarray": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "minimatch": { - "version": "3.0.4", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "bundled": true, - "dev": true, - "optional": true - }, - "minipass": { - "version": "2.9.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - }, - "minizlib": { - "version": "1.3.3", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "minipass": "^2.9.0" - } - }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "minimist": "0.0.8" - } - }, - "ms": { - "version": "2.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "needle": { - "version": "2.4.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - } - }, - "node-pre-gyp": { - "version": "0.14.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.1", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.2.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4.4.2" - } - }, - "nopt": { - "version": "4.0.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "abbrev": "1", - "osenv": "^0.1.4" - } - }, - "npm-bundled": { - "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "npm-packlist": { - "version": "1.4.7", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" - } - }, - "npmlog": { - "version": "4.1.2", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "once": { - "version": "1.4.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "wrappy": "1" - } - }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "osenv": { - "version": "0.1.5", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "process-nextick-args": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "rc": { - "version": "1.2.8", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true - } - } - }, - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "rimraf": { - "version": "2.7.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "glob": "^7.1.3" - } - }, - "safe-buffer": { - "version": "5.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "safer-buffer": { - "version": "2.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "sax": { - "version": "1.2.4", - "bundled": true, - "dev": true, - "optional": true - }, - "semver": { - "version": "5.7.1", - "bundled": true, - "dev": true, - "optional": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "string-width": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "tar": { - "version": "4.4.13", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" - } - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "wide-align": { - "version": "1.1.3", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "yallist": { - "version": "3.1.1", - "bundled": true, - "dev": true, - "optional": true - } - } - }, - "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "dev": true, - "requires": { - "binary-extensions": "^1.0.0" - } - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "@angular-devkit/architect": "0.900.0-rc.12", + "@angular-devkit/core": "9.0.0-rc.12", + "rxjs": "6.5.3" + }, + "dependencies": { + "rxjs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", + "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "dev": true, "requires": { - "kind-of": "^3.0.2" + "tslib": "^1.9.0" } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + } + } + }, + "@angular-devkit/core": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-9.0.0-rc.12.tgz", + "integrity": "sha512-uZEYlZSiYLk0R1ISN35np8yfRCDCk1lZMWn/FNXSRWpGBvoEoFkcbnJUfQIJJda56cyoG9tJKqgeGXdopkkyLQ==", + "dev": true, + "requires": { + "ajv": "6.10.2", + "fast-json-stable-stringify": "2.0.0", + "magic-string": "0.25.4", + "rxjs": "6.5.3", + "source-map": "0.7.3" + }, + "dependencies": { + "rxjs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", + "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "tslib": "^1.9.0" } }, - "readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, + "@angular-devkit/schematics": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-9.0.0-rc.12.tgz", + "integrity": "sha512-SLyuJgLWgBQLZyGUzOaKMB82fnUmiQbjTMeHtBllhDZaf7bJYVuRkdyOrIyDMCaxN/87o7t7idXj8vP+hFRd1A==", + "dev": true, + "requires": { + "@angular-devkit/core": "9.0.0-rc.12", + "ora": "4.0.2", + "rxjs": "6.5.3" + }, + "dependencies": { + "rxjs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", + "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "dev": true, "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" + "tslib": "^1.9.0" } + } + } + }, + "@angular/animations": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-9.0.0-rc.12.tgz", + "integrity": "sha512-fsTxlCptaVlwGD8B2H3ke2bRLKzSDCMwEWxf9O/rjQhUSaIVRMGMTTy8rW8OvxF2ysZatU+ademROxBaUsO/sw==" + }, + "@angular/cli": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-9.0.0-rc.12.tgz", + "integrity": "sha512-L8ywRdVPLIfBJ7TkTVQ48KQoqm3ATjM1fU4X8c2NxC1Qry2Pp3FdZOnlRld73qwR9qcaXjGef323DFqQE6N3Ag==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.900.0-rc.12", + "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/schematics": "9.0.0-rc.12", + "@schematics/angular": "9.0.0-rc.12", + "@schematics/update": "0.900.0-rc.12", + "@yarnpkg/lockfile": "1.1.0", + "ansi-colors": "4.1.1", + "debug": "^4.1.1", + "ini": "1.3.5", + "inquirer": "7.0.0", + "npm-package-arg": "6.1.1", + "npm-pick-manifest": "3.0.2", + "open": "7.0.0", + "pacote": "9.5.8", + "read-package-tree": "5.3.1", + "rimraf": "3.0.0", + "semver": "6.3.0", + "symbol-observable": "1.2.0", + "universal-analytics": "^0.4.20", + "uuid": "^3.3.2" + }, + "dependencies": { + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@angular/common": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-9.0.0-rc.12.tgz", + "integrity": "sha512-bSNwXjaSH52slnTVqNEAXz0H+VCBLjc5Qzq4e0Urfr4qacE6kKD0dYnXZH/iGeaZHL/kw0nl8c0Pe1WCzoF3kg==" + }, + "@angular/compiler": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.0.0-rc.12.tgz", + "integrity": "sha512-mX9VavzWr1b4URP/M287I73ibgL+T+eU7xZg56FEvUYa7km9W6jmM2xomvaumPlwGtZfw2HKPCgSimOIA6eP8Q==" + }, + "@angular/compiler-cli": { + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-9.0.0-rc.12.tgz", + "integrity": "sha512-vA/UpUWttJALXnmE+eJ0x2LAi+Gm5P3l1uj0gdoK14OyARUWhm+Oc0Dj8e5mXpy/pIVrsL4S/FL4tsNUSGynBQ==", + "dev": true, + "requires": { + "canonical-path": "1.0.0", + "chokidar": "^3.0.0", + "convert-source-map": "^1.5.1", + "dependency-graph": "^0.7.2", + "magic-string": "^0.25.0", + "minimist": "^1.2.0", + "reflect-metadata": "^0.1.2", + "semver": "^6.3.0", + "source-map": "^0.6.1", + "yargs": "13.1.0" + }, + "dependencies": { "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -1071,59 +395,49 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } } } }, "@angular/core": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-9.0.0-rc.9.tgz", - "integrity": "sha512-roC9wykbRv+n+Uen1KbdHS8xpaCEAFAemZXj9ClsIAcx1t6S2Wiw6QsgyhZZg4BKxKrqQc3eMG4bd+xY/XcKrw==" + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-9.0.0-rc.12.tgz", + "integrity": "sha512-MRPk98VHIJqpHoeHBtYtXGoGs+T1DpRAUpSzl7mprdKgfBKoFhtgsrNNj3JSD1XYLPamSH7vrKYBsP+E0xu88Q==" }, "@angular/forms": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-9.0.0-rc.9.tgz", - "integrity": "sha512-7cJd0ROkRyoA1TwHJ31tbvrJEMVTysuNjT3MTgutYV9oMKp10/M5qqqUvQdXfeLxu1a9qknN/8yNRTqn3h6j3A==" + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-9.0.0-rc.12.tgz", + "integrity": "sha512-n4ch/2NJf4MS+oybQ77tQFMS6/3Gjx8PqzFxRf0rXuNEKbs/5Nd+KxKuPV5jbKJTFDA+PLXdmq0Kb+l2h/LAMA==" }, "@angular/language-service": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-9.0.0-rc.9.tgz", - "integrity": "sha512-sJUH8vpZzx4rxCSsa0wPaI0K2VWWvRb7F4ZRsLoUw6ee83AbZkj5eEQQcWvKT0RkGPlWr/0T4M/PxqG4SSzonA==", + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-9.0.0-rc.12.tgz", + "integrity": "sha512-acqLnmL4/AcpSp09u/PUzMQ6KNlusrBzOA3AKGuc4j75/eB2AWUwb7iTR9VFxdY20quH2G1JiG5mBMxeHxGSLg==", "dev": true }, "@angular/localize": { - "version": "9.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-9.0.0-rc.0.tgz", - "integrity": "sha512-u9il64ZW55YJ4mAWF1wHdF4NLAFik9eNckKRVekIMK3b/jM+SD94u9vhgIfJxP9WhZNaYyr9G4o2HVZzCYiY9w==", + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-9.0.0-rc.12.tgz", + "integrity": "sha512-ipTn+Z/4Sc4af7x50XsvuZRXFh4hxnsrhjGqoKXPHDSj6cWlQ2ZOOVKC+bj/E51n3SAWt87QQlgb9wIU+7zxHA==", "requires": { - "@babel/core": "^7.5.5", + "@babel/core": "7.8.3", "glob": "7.1.2", "yargs": "13.1.0" } }, "@angular/platform-browser": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-9.0.0-rc.9.tgz", - "integrity": "sha512-v9K1wNtJqdAMtSi2wI1kxyf1AtkKVO899CUinK/gFY+Hx0xA15rzxOJHlJ/B4XUzIHdU+jMEJlpO/59Z+jnD6Q==" + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-9.0.0-rc.12.tgz", + "integrity": "sha512-Un+p/8tDp4GlfRhc+uUlsT4pfDRWJk3ndQ+MmpTWV0FFQUnomtRiips/rVkFUbghDzKLHnStmfHG+qyrSjknCw==" }, "@angular/platform-browser-dynamic": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-rc.9.tgz", - "integrity": "sha512-SLpUU4V0Hotzi/cI29aclKJp/1L45S+Zq04jEAs5YXQcFlGdETAbmsNEsxt6G+EC/RXPrLpf6jxSuE1wbcQk3A==" + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-rc.12.tgz", + "integrity": "sha512-dI9fjeXQUvY/MQpMvsbx0nyGL0VPPtad0xUH/VqN4qzuYTGs7U6wtCxcjfAM4lNDdZ2rZ4hpm6db6tJJ7mo42w==" }, "@angular/router": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-9.0.0-rc.9.tgz", - "integrity": "sha512-LBatklBYMx8z+2pmFqxknAgGZ/XYwatICWa4dFE9Ghrn+oPf+tUrHCIH34yqlaHxQvyQUnPP5pxBswINaX3fvA==" + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-9.0.0-rc.12.tgz", + "integrity": "sha512-8rJm/NKiU6Rpj+KtY9NedJNFJgN85r107y5LtClCJ3QMzOuoG5y6UYaba7jZfKFzOMiK11yQmKj63LMNz4wEjQ==" }, "@babel/code-frame": { "version": "7.8.3", @@ -1156,9 +470,9 @@ } }, "@babel/generator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.3.tgz", - "integrity": "sha512-WjoPk8hRpDRqqzRpvaR8/gDUPkrnOOeuT2m8cNICJtZH6mwaCo3v0OKMI7Y6SM1pBtyijnLtAL0HDi41pf41ug==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", "requires": { "@babel/types": "^7.8.3", "jsesc": "^2.5.1", @@ -1366,12 +680,12 @@ } }, "@babel/helpers": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.8.3.tgz", - "integrity": "sha512-LmU3q9Pah/XyZU89QvBgGt+BCsTPoQa+73RxAQh8fb8qkDyIfeQnmgs+hvzhTCKTzqOyk7JTkS3MS1S8Mq5yrQ==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.8.4.tgz", + "integrity": "sha512-VPbe7wcQ4chu4TDQjimHv/5tj73qz88o12EPkO2ValS2QiQS/1F2SsjyIGNnAD0vF/nZS6Cf9i+vW6HIlnaR8w==", "requires": { "@babel/template": "^7.8.3", - "@babel/traverse": "^7.8.3", + "@babel/traverse": "^7.8.4", "@babel/types": "^7.8.3" } }, @@ -1386,9 +700,9 @@ } }, "@babel/parser": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.3.tgz", - "integrity": "sha512-/V72F4Yp/qmHaTALizEm9Gf2eQHV3QyTL3K0cNfijwnMnb1L+LDlAubb/ZnSdGAVzVSWakujHYs1I26x66sMeQ==" + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==" }, "@babel/plugin-proposal-async-generator-functions": { "version": "7.8.3", @@ -1608,9 +922,9 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.3.tgz", - "integrity": "sha512-ZjXznLNTxhpf4Q5q3x1NsngzGA38t9naWH8Gt+0qYZEJAcvPI9waSStSh56u19Ofjr7QmD0wUsQ8hw8s/p1VnA==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz", + "integrity": "sha512-iAXNlOWvcYUYoV8YIxwS7TxGRJcxyl8eQCfT+A5j8sKUzRFvJdcyjp97jL2IghWSRDaL2PU2O2tX8Cu9dTBq5A==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.8.3" @@ -1718,9 +1032,9 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.3.tgz", - "integrity": "sha512-/pqngtGb54JwMBZ6S/D3XYylQDFtGjWrnoCF4gXZOUpFV/ujbxnoNGNvDGu6doFWRPBveE72qTx/RRU44j5I/Q==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.4.tgz", + "integrity": "sha512-IsS3oTxeTsZlE5KqzTbcC2sV0P9pXdec53SU+Yxv7o/6dvGM5AkTotQKhoSffhNgZ/dftsSiOoxy7evCYJXzVA==", "dev": true, "requires": { "@babel/helper-call-delegate": "^7.8.3", @@ -1794,9 +1108,9 @@ } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.3.tgz", - "integrity": "sha512-3TrkKd4LPqm4jHs6nPtSDI/SV9Cm5PRJkHLUgTcqRQQTMAZ44ZaAdDZJtvWFSaRcvT0a1rTmJ5ZA5tDKjleF3g==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz", + "integrity": "sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.8.3" @@ -1882,15 +1196,15 @@ } }, "@babel/traverse": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.3.tgz", - "integrity": "sha512-we+a2lti+eEImHmEXp7bM9cTxGzxPmBiVJlLVD+FuuQMeeO7RaDbutbgeheDkw+Xe3mCfJHnGOWLswT74m2IPg==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", "requires": { "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.8.3", + "@babel/generator": "^7.8.4", "@babel/helper-function-name": "^7.8.3", "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/parser": "^7.8.3", + "@babel/parser": "^7.8.4", "@babel/types": "^7.8.3", "debug": "^4.1.0", "globals": "^11.1.0", @@ -1932,12 +1246,12 @@ "dev": true }, "@ngtools/webpack": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-9.0.0-rc.9.tgz", - "integrity": "sha512-SG7PrFTs2+xNw+IUeu/0U94gUbhKbhIltQy/EsgC4R00ZdwMOqK7BaFoKBu0nO2tUyI1x1AW0Jfr5ROkuVk4IA==", + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-9.0.0-rc.12.tgz", + "integrity": "sha512-bMAVTIS0oe2mTfIC2FWM1lcdMkvjLe1no47Yu/Eimz6N/HDVPDd0B1TkimDf0gjn9/UuJIhsgkbYinIFy8Ss0Q==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.9", + "@angular-devkit/core": "9.0.0-rc.12", "enhanced-resolve": "4.1.1", "rxjs": "6.5.3", "webpack-sources": "1.4.3" @@ -1955,23 +1269,23 @@ } }, "@schematics/angular": { - "version": "9.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-9.0.0-rc.9.tgz", - "integrity": "sha512-afrFXRy76MmlCMxdK5yRjcRrAHsyABLxfpkLsbbonPTExDkWi040Ai5Qaxbf+S/GZPOpGtl2StLY2wEmWXGJ+w==", + "version": "9.0.0-rc.12", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-9.0.0-rc.12.tgz", + "integrity": "sha512-OhF2ebzRWnY3E0k2yAYEpAa4z5Ww0sC4Di0uYtkleSfUdaqe68ntXzV1tBZgScsSKwanDxerHwrzGK91TN+IIQ==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.9", - "@angular-devkit/schematics": "9.0.0-rc.9" + "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/schematics": "9.0.0-rc.12" } }, "@schematics/update": { - "version": "0.900.0-rc.9", - "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.900.0-rc.9.tgz", - "integrity": "sha512-N7i4FGdhAcI40V61jejzrkd3C9lMgqwIc5uI+3LrfKJdFkBGi+V9HiU9e93LILJiNn0SfxB8rHutFY63JkoUxA==", + "version": "0.900.0-rc.12", + "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.900.0-rc.12.tgz", + "integrity": "sha512-Wkp8MINr/BoEsyBTPdUrQJpt3s235lfrDtZw75w3+h+c7iHkhczXTox1LJkt8t/YH5YkuDjAWJiaT2DNVaOJow==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.9", - "@angular-devkit/schematics": "9.0.0-rc.9", + "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/schematics": "9.0.0-rc.12", "@yarnpkg/lockfile": "1.1.0", "ini": "1.3.5", "npm-package-arg": "^7.0.0", @@ -2063,9 +1377,9 @@ } }, "@types/jasmine": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.5.1.tgz", - "integrity": "sha512-5ZxOWKc0AgTeMcYCnV4RxTZZAClWaHKPR6n14LvUj8ywKDhOfI+YgdtNLXiW4kQmtxS3i1HXVbfAot+pqpJE2A==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.5.2.tgz", + "integrity": "sha512-7hrdBDFWlTb4EhrXYRyC7i3L2kKCV0TqYbzuV+gwyPNF2V4SSHw2Vs223ai26W4tEg+t4e9Wfi1vW6JLubYPiw==", "dev": true }, "@types/jasminewd2": { @@ -2084,9 +1398,9 @@ "dev": true }, "@types/node": { - "version": "12.12.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.25.tgz", - "integrity": "sha512-nf1LMGZvgFX186geVZR1xMZKKblJiRfiASTHw85zED2kI1yDKHDwTKMdkaCbTlXoRKlGKaDfYywt+V0As30q3w==", + "version": "12.12.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz", + "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA==", "dev": true }, "@types/normalize-package-data": { @@ -3568,9 +2882,9 @@ } }, "clean-css": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", - "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", + "integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==", "dev": true, "requires": { "source-map": "~0.6.0" @@ -4523,9 +3837,9 @@ "dev": true }, "damerau-levenshtein": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz", - "integrity": "sha512-CBCRqFnpu715iPmw1KrdOrzRqbdFwQTwAWyyyYS42+iAgHCuXZ+/TdMgQkUENPomxEz9z1BEzuQU2Xw0kUuAgA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", + "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==", "dev": true }, "dashdash": { @@ -4634,9 +3948,9 @@ } }, "defer-to-connect": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.1.tgz", - "integrity": "sha512-J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", "dev": true }, "define-properties": { @@ -4961,9 +4275,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.336", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.336.tgz", - "integrity": "sha512-FtazvnXAizSVMxQNPqUcTv2UElY5r3uRPQwiU1Tyg/Yc2UFr+/3wqDoLIV9ES6ablW3IrCcR8uEK2ppxaNPWhw==", + "version": "1.3.344", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.344.tgz", + "integrity": "sha512-tvbx2Wl8WBR+ym3u492D0L6/jH+8NoQXqe46+QhbWH3voVPauGuZYeb1QAXYoOAWuiP2dbSvlBx0kQ1F3hu/Mw==", "dev": true }, "elliptic": { @@ -5177,9 +4491,9 @@ } }, "es-abstract": { - "version": "1.17.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.2.tgz", - "integrity": "sha512-YoKuru3Lyoy7yVTBSH2j7UxTqe/je3dWAruC0sHvZX1GNd5zX8SSLvQqEgO9b3Ex8IW+goFI9arEEsFIbulhOw==", + "version": "1.17.4", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", + "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", @@ -5781,9 +5095,9 @@ } }, "follow-redirects": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.9.0.tgz", - "integrity": "sha512-CRcPzsSIbXyVDl0QI01muNDu69S8trU4jArW9LpOt2WtC6LyUJetcIrmfHsRBx7/Jb6GHJUiuqyYxPooFfNt6A==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.10.0.tgz", + "integrity": "sha512-4eyLK6s6lH32nOvLLwlIOnr9zrL8Sm+OvW4pVTJNoXeGzYIkHVf+pADQi+OJ0E67hiuSLezPVPyBcIZO50TmmQ==", "dev": true, "requires": { "debug": "^3.0.0" @@ -5866,9 +5180,9 @@ } }, "fs-minipass": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.0.0.tgz", - "integrity": "sha512-40Qz+LFXmd9tzYVnnBmZvFfvAADfUA14TXPK1s7IfElJTIZ97rA8w4Kin7Wt5JBrC3ShnnFJO/5vPjPEeJIq9A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -8545,9 +7859,9 @@ } }, "node-releases": { - "version": "1.1.45", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.45.tgz", - "integrity": "sha512-cXvGSfhITKI8qsV116u2FTzH5EWZJfgG7d4cpqwF8I8+1tWpD6AsvvGRKq2onR0DNj1jfqsjkXZsm14JMS7Cyg==", + "version": "1.1.47", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.47.tgz", + "integrity": "sha512-k4xjVPx5FpwBUj0Gw7uvFOTF4Ep8Hok1I6qjwL3pLfwe7Y0REQSAqOwwv9TWBCUtMHxcXfY4PgRLRozcChvTcA==", "dev": true, "requires": { "semver": "^6.3.0" @@ -8644,13 +7958,14 @@ } }, "npm-packlist": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz", - "integrity": "sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==", + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", "dev": true, "requires": { "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" } }, "npm-pick-manifest": { @@ -9186,9 +8501,9 @@ } }, "pako": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", - "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "dev": true }, "parallel-transform": { @@ -10060,9 +9375,9 @@ } }, "protractor": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.4.2.tgz", - "integrity": "sha512-zlIj64Cr6IOWP7RwxVeD8O4UskLYPoyIcg0HboWJL9T79F1F0VWtKkGTr/9GN6BKL+/Q/GmM7C9kFVCfDbP5sA==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.4.3.tgz", + "integrity": "sha512-7pMAolv8Ah1yJIqaorDTzACtn3gk7BamVKPTeO5lqIGOrfosjPgXFx/z1dqSI+m5EeZc2GMJHPr5DYlodujDNA==", "dev": true, "requires": { "@types/q": "^0.0.32", @@ -10652,13 +9967,12 @@ } }, "registry-auth-token": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.0.0.tgz", - "integrity": "sha512-lpQkHxd9UL6tb3k/aHAVfnVtn+Bcs9ob5InuFLLEDqSqeq+AljB8GZW9xY0x7F+xYwEcjKe07nyoxzEYz6yvkw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.1.tgz", + "integrity": "sha512-9bKS7nTl9+/A1s7tnPeGrUpRcVY+LUh7bfFgzpndALdPfXQBfQV77rQVtqgUV3ti4vc/Ik81Ex8UJDWDQ12zQA==", "dev": true, "requires": { - "rc": "^1.2.8", - "safe-buffer": "^5.0.1" + "rc": "^1.2.8" } }, "registry-url": { @@ -10762,9 +10076,9 @@ "dev": true }, "resolve": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", - "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz", + "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==", "requires": { "path-parse": "^1.0.6" } @@ -12297,9 +11611,9 @@ } }, "term-size": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.1.1.tgz", - "integrity": "sha512-UqvQSch04R+69g4RDhrslmGvGL3ucDRX/U+snYW0Mab4uCAyKSndUksaoqlJ81QKSpRnIsuOYQCbC2ZWx2896A==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.0.tgz", + "integrity": "sha512-a6sumDlzyHVJWb8+YofY4TW112G6p2FCPEAFk+59gIYHv3XHRhm9ltVQ9kli4hNWeQBwSpe8cRN25x0ROunMOw==", "dev": true }, "terser": { @@ -12322,21 +11636,101 @@ } }, "terser-webpack-plugin": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.2.1.tgz", - "integrity": "sha512-jwdauV5Al7zopR6OAYvIIRcxXCSvLjZjr7uZE8l2tIWb/ryrGN48sJftqGf5k9z09tWhajx53ldp0XPI080YnA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.3.tgz", + "integrity": "sha512-gWHkaGzGYjmDoYxksFZynWTzvXOAjQ5dd7xuTMYlv4zpWlLSb6v0QLSZjELzP5dMs1ox30O1BIPs9dgqlMHuLQ==", "dev": true, "requires": { "cacache": "^13.0.1", - "find-cache-dir": "^3.0.0", - "jest-worker": "^24.9.0", - "schema-utils": "^2.5.0", - "serialize-javascript": "^2.1.0", + "find-cache-dir": "^3.2.0", + "jest-worker": "^25.1.0", + "p-limit": "^2.2.2", + "schema-utils": "^2.6.4", + "serialize-javascript": "^2.1.2", "source-map": "^0.6.1", - "terser": "^4.3.9", + "terser": "^4.4.3", "webpack-sources": "^1.4.3" }, "dependencies": { + "find-cache-dir": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.2.0.tgz", + "integrity": "sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.0", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "jest-worker": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.1.0.tgz", + "integrity": "sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "make-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz", + "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==", + "dev": true, + "requires": { + "semver": "^6.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, "schema-utils": { "version": "2.6.4", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.4.tgz", @@ -12347,11 +11741,26 @@ "ajv-keywords": "^3.4.1" } }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } } } }, @@ -12610,9 +12019,9 @@ } }, "typescript": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz", - "integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==", + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.5.tgz", + "integrity": "sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ==", "dev": true }, "ultron": { @@ -13034,9 +12443,9 @@ "dev": true }, "vendors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz", - "integrity": "sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", + "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==", "dev": true }, "verror": { diff --git a/package.json b/package.json index 28d2a395..a0c4268b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular-dev", - "version": "2.7.4", + "version": "2.7.5", "license": "MIT", "author": { "name": "Łukasz Holeczek", @@ -17,6 +17,7 @@ "scripts": { "ng": "ng", "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points", + "build-lib:dev": "ng build @coreui/angular --watch", "build-lib": "ng build @coreui/angular --prod", "test-lib": "ng test @coreui/angular", "start": "ng serve", @@ -29,25 +30,25 @@ }, "private": true, "dependencies": { - "@angular/animations": "~9.0.0-rc.9", - "@angular/common": "~9.0.0-rc.9", - "@angular/compiler": "~9.0.0-rc.9", - "@angular/core": "~9.0.0-rc.9", - "@angular/forms": "~9.0.0-rc.9", - "@angular/localize": "^9.0.0-rc.0", - "@angular/platform-browser": "~9.0.0-rc.9", - "@angular/platform-browser-dynamic": "~9.0.0-rc.9", - "@angular/router": "~9.0.0-rc.9", + "@angular/animations": "~9.0.0-rc.12", + "@angular/common": "~9.0.0-rc.12", + "@angular/compiler": "~9.0.0-rc.12", + "@angular/core": "~9.0.0-rc.12", + "@angular/forms": "~9.0.0-rc.12", + "@angular/localize": "^9.0.0-rc.12", + "@angular/platform-browser": "~9.0.0-rc.12", + "@angular/platform-browser-dynamic": "~9.0.0-rc.12", + "@angular/router": "~9.0.0-rc.12", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.900.0-rc.9", - "@angular-devkit/build-ng-packagr": "~0.900.0-rc.9", - "@angular/cli": "~9.0.0-rc.9", - "@angular/compiler-cli": "~9.0.0-rc.9", - "@angular/language-service": "~9.0.0-rc.9", + "@angular-devkit/build-angular": "~0.900.0-rc.12", + "@angular-devkit/build-ng-packagr": "~0.900.0-rc.12", + "@angular/cli": "~9.0.0-rc.12", + "@angular/compiler-cli": "~9.0.0-rc.12", + "@angular/language-service": "~9.0.0-rc.12", "@coreui/coreui": "^2.1.16", "@types/node": "^12.11.1", "@types/jasmine": "~3.5.0", @@ -68,5 +69,9 @@ "ts-node": "~8.3.0", "tslint": "~5.18.0", "typescript": "~3.6.4" + }, + "engines": { + "node": ">= 10", + "npm": ">= 6" } } diff --git a/projects/coreui/angular/package.json b/projects/coreui/angular/package.json index 6672cee4..3c9ee5f5 100644 --- a/projects/coreui/angular/package.json +++ b/projects/coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.7.4", + "version": "2.7.5", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular", @@ -17,9 +17,9 @@ } ], "peerDependencies": { - "@angular/common": "^9.0.0-rc.9", - "@angular/core": "^9.0.0-rc.9", - "@angular/router": "^9.0.0-rc.9", + "@angular/common": "^9.0.0-rc.12", + "@angular/core": "^9.0.0-rc.12", + "@angular/router": "^9.0.0-rc.12", "tslib": "^1.10.0", "@coreui/coreui": "^2.1.16" }, diff --git a/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.spec.ts b/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.spec.ts new file mode 100644 index 00000000..4f123d4a --- /dev/null +++ b/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.spec.ts @@ -0,0 +1,62 @@ +import { TestBed } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import {Router, Routes} from '@angular/router'; + +import { SidebarNavHelper } from './app-sidebar-nav.service'; + +describe('SidebarNavHelper', () => { + let service: SidebarNavHelper; + let router: RouterTestingModule; + const routes: Routes = [ + {path: 'dashboard', redirectTo: 'home', pathMatch: 'full'}, + {path: '', redirectTo: 'dashboard', pathMatch: 'full'} + ]; + + beforeEach(() => { + TestBed.configureTestingModule({ + imports: [RouterTestingModule.withRoutes(routes)], + providers: [SidebarNavHelper], + }); + + router = TestBed.inject(Router); + service = TestBed.inject(SidebarNavHelper); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); + it('should return itemType', () => { + expect(service.itemType({divider: true})).toEqual('divider'); + expect(service.itemType({title: true})).toEqual('title'); + expect(service.itemType({children: []})).toEqual('dropdown'); + expect(service.itemType({label: true})).toEqual('label'); + expect(service.itemType({})).toEqual('empty'); + expect(service.itemType({ + name: 'Disabled', + url: '/dashboard', + icon: 'icon-ban', + attributes: { disabled: true }, + } + )).toEqual('link'); + }); + + it('should be active', () => { + expect(service.isActive(router, {url: ''})).toBeTrue(); + expect(service.isActive(router, {url: 'dashboard'})).toBeFalse(); + }); + + it('item hasBadge', () => { + expect(service.hasBadge({badge: {}})).toBeTruthy(); + expect(service.hasBadge({})).toBeFalsy(); + }); + it('item hasIcon', () => { + expect(service.hasIcon({icon: 'icon-ban'})).toBeTruthy(); + expect(service.hasIcon({})).toBeFalsy(); + }); + + it('should return icon class object', () => { + expect(service.getIconClass({icon: 'icon-ban'})).toEqual(jasmine.objectContaining({ 'nav-icon': true, 'icon-ban': true})); + expect(service.getIconClass({icon: 'icon-ban'})).toEqual(jasmine.objectContaining({ 'nav-icon': true })); + expect(service.getIconClass({icon: ''})).toEqual(jasmine.objectContaining({ 'nav-icon': true })); + }); +}); diff --git a/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.ts b/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.ts index 00361187..02e7d963 100644 --- a/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.ts +++ b/projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.service.ts @@ -40,8 +40,10 @@ export class SidebarNavHelper { const classes = { 'nav-icon': true }; - const icon = item.icon; - classes[icon] = this.hasIcon(item); + if (this.hasIcon(item)) { + const icon = item.icon; + classes[icon] = this.hasIcon(item); + } return classes; } } diff --git a/src/index.html b/src/index.html index c901d231..e4a4b76e 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,6 @@