From a5eccaa633b90ac5acd2238e07f54edd90b8e545 Mon Sep 17 00:00:00 2001 From: xidedix Date: Fri, 7 Feb 2020 12:55:35 +0100 Subject: [PATCH 1/2] chore: update to Angular 9 and TypeScript 3.7 - update `@angular/animations` to `~9.0.0` - update `@angular/common` to `~9.0.0` - update `@angular/compiler` to `~9.0.0` - update `@angular/core` to `~9.0.0` - update `@angular/forms` to `~9.0.0` - update `@angular/localize` to `^9.0.0` - update `@angular/platform-browser` to `~9.0.0` - update `@angular/platform-browser-dynamic` to `~9.0.0` - update `@angular/router` to `~9.0.0` - update `@angular-devkit/build-angular` to `~0.900.1` - update `@angular-devkit/build-ng-packagr` to `~0.900.1` - update `@angular/cli` to `~9.0.1` - update `@angular/compiler-cli` to `~9.0.0` - update `@angular/language-service` to `~9.0.0` - update `@types/node` to `^12.12.26` - update `@types/jasmine` to `~3.5.3` - update `karma-jasmine-html-reporter` to `^1.5.2` - update `ng-packagr` to `^9.0.0` - update `typescript` to `~3.7.5` --- package.json | 38 ++++++++++++++-------------- projects/coreui/angular/package.json | 6 ++--- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index a0c4268b..61b53c7d 100644 --- a/package.json +++ b/package.json @@ -30,28 +30,28 @@ }, "private": true, "dependencies": { - "@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", + "@angular/animations": "~9.0.0", + "@angular/common": "~9.0.0", + "@angular/compiler": "~9.0.0", + "@angular/core": "~9.0.0", + "@angular/forms": "~9.0.0", + "@angular/localize": "^9.0.0", + "@angular/platform-browser": "~9.0.0", + "@angular/platform-browser-dynamic": "~9.0.0", + "@angular/router": "~9.0.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2" }, "devDependencies": { - "@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", + "@angular-devkit/build-angular": "~0.900.1", + "@angular-devkit/build-ng-packagr": "~0.900.1", + "@angular/cli": "~9.0.1", + "@angular/compiler-cli": "~9.0.0", + "@angular/language-service": "~9.0.0", "@coreui/coreui": "^2.1.16", - "@types/node": "^12.11.1", - "@types/jasmine": "~3.5.0", + "@types/node": "^12.12.26", + "@types/jasmine": "~3.5.3", "@types/jasminewd2": "~2.0.3", "codelyzer": "^5.1.2", "jasmine-core": "~3.5.0", @@ -60,15 +60,15 @@ "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~2.1.0", "karma-jasmine": "~2.0.1", - "karma-jasmine-html-reporter": "^1.4.2", - "ng-packagr": "^9.0.0-rc.7", + "karma-jasmine-html-reporter": "^1.5.2", + "ng-packagr": "~9.0.0", "ngx-perfect-scrollbar": "^8.0.0", "protractor": "~5.4.2", "shelljs": "^0.8.3", "simple-line-icons": "^2.4.1", "ts-node": "~8.3.0", "tslint": "~5.18.0", - "typescript": "~3.6.4" + "typescript": "~3.7.5" }, "engines": { "node": ">= 10", diff --git a/projects/coreui/angular/package.json b/projects/coreui/angular/package.json index 3c9ee5f5..58a079fa 100644 --- a/projects/coreui/angular/package.json +++ b/projects/coreui/angular/package.json @@ -17,9 +17,9 @@ } ], "peerDependencies": { - "@angular/common": "^9.0.0-rc.12", - "@angular/core": "^9.0.0-rc.12", - "@angular/router": "^9.0.0-rc.12", + "@angular/common": "^9.0.0", + "@angular/core": "^9.0.0", + "@angular/router": "^9.0.0", "tslib": "^1.10.0", "@coreui/coreui": "^2.1.16" }, From f364710d1e2854d141b75205d0f74406cbc0ff90 Mon Sep 17 00:00:00 2001 From: xidedix Date: Fri, 7 Feb 2020 12:58:10 +0100 Subject: [PATCH 2/2] chore: Ship v2.9.0 for Angular 9 --- CHANGELOG.md | 31 ++ README.md | 8 +- .../angular/bundles/coreui-angular.umd.js.map | 2 +- .../bundles/coreui-angular.umd.min.js.map | 2 +- .../lib/sidebar/app-sidebar-nav.service.js | 2 +- .../lib/sidebar/app-sidebar-nav.service.js | 2 +- .../angular/fesm2015/coreui-angular.js.map | 2 +- .../angular/fesm5/coreui-angular.js.map | 2 +- .../app-sidebar-nav-items.component.d.ts | 3 +- .../app-sidebar-nav-link.component.d.ts | 3 +- .../lib/sidebar/app-sidebar.component.d.ts | 3 +- dist/@coreui/angular/package.json | 8 +- package-lock.json | 342 +++++++++--------- package.json | 2 +- projects/coreui/angular/package.json | 2 +- src/index.html | 2 +- 16 files changed, 231 insertions(+), 185 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d227214a..0f35a39e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ ### [@coreui/angular](https://coreui.io/) changelog +##### `v2.9.0` +- chore: update to `Angular 9.0.0` + - [https://update.angular.io/](https://update.angular.io/#8.0:9.0) + - [https://angular.io/guide/updating-to-version-9](https://angular.io/guide/updating-to-version-9) + - [https://blog.angular.io/version-9-of-angular-now-available-project-ivy-has-arrived](https://blog.angular.io/version-9-of-angular-now-available-project-ivy-has-arrived-23c97b63cfa3) + +- chore: update to `TypeScript 3.7` + - [https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html) + - [https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-6.html](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-6.html) + +###### dependencies update +- update `@angular/animations` to `~9.0.0` +- update `@angular/common` to `~9.0.0` +- update `@angular/compiler` to `~9.0.0` +- update `@angular/core` to `~9.0.0` +- update `@angular/forms` to `~9.0.0` +- update `@angular/localize` to `^9.0.0` +- update `@angular/platform-browser` to `~9.0.0` +- update `@angular/platform-browser-dynamic` to `~9.0.0` +- update `@angular/router` to `~9.0.0` +- update `@angular-devkit/build-angular` to `~0.900.1` +- update `@angular-devkit/build-ng-packagr` to `~0.900.1` +- update `@angular/cli` to `~9.0.1` +- update `@angular/compiler-cli` to `~9.0.0` +- update `@angular/language-service` to `~9.0.0` +- update `@types/node` to `^12.12.26` +- update `@types/jasmine` to `~3.5.3` +- update `karma-jasmine-html-reporter` to `^1.5.2` +- update `ng-packagr` to `^9.0.0` +- update `typescript` to `~3.7.5` + ##### `v2.7.5` - chore: update to `Angular 9.0.0-rc.12` diff --git a/README.md b/README.md index f6deeda7..9330e32c 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.12-lightgrey.svg?style=flat-square&logo=angular) +![angular](https://img.shields.io/badge/angular-^9.0.0-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 @@ -17,7 +17,7 @@ [npm-coreui-badge]: https://img.shields.io/npm/v/@coreui/coreui.png?style=flat-square [npm-coreui-download]: https://img.shields.io/npm/dm/@coreui/coreui.svg?style=flat-square -# CoreUI for Angular 2+ - Free WebApp UI Kit built on top of Bootstrap 4 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?text=CoreUI%20-%20Free%20Bootstrap%204%20Admin%20Template%20&url=https://coreui.io&hashtags=,admin,template,dashboard,panel,free,angular,react,vue) +# CoreUI for Angular 9 - Free WebApp UI Kit built on top of Bootstrap 4 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?text=CoreUI%20-%20Free%20Bootstrap%204%20Admin%20Template%20&url=https://coreui.io&hashtags=,admin,template,dashboard,panel,free,angular,react,vue) Please help us on [Product Hunt](https://www.producthunt.com/posts/coreui-open-source-bootstrap-4-admin-template-with-angular-2-react-js-vue-js-support) and [Designer News](https://www.designernews.co/stories/81127). Thanks in advance! @@ -56,7 +56,7 @@ CoreUI is an Open Source UI Kit built on top of Bootstrap 4. CoreUI is the faste Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager. ###### Node.js -Angular 9 requires `Node.js` version 12.x +Angular 9 requires `Node.js` version 10.13 or later. - To check your version, run `node -v` in a terminal/console window. - To get `Node.js`, go to [nodejs.org](https://nodejs.org/). @@ -150,7 +150,7 @@ Get updates on CoreUI's development and chat with the project maintainers and co ## Copyright and license -copyright 2017-2019 creativeLabs Łukasz Holeczek. Code released under [the MIT license](https://github.com/coreui/coreui-angular/blob/master/LICENSE). +copyright 2017-2020 creativeLabs Łukasz Holeczek. Code released under [the MIT license](https://github.com/coreui/coreui-angular/blob/master/LICENSE). There is only one limitation you can't can’t re-distribute the CoreUI as stock. You can’t do this if you modify the CoreUI. In past we faced some problems with persons who tried to sell CoreUI based templates. ## Support CoreUI Development diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.js.map b/dist/@coreui/angular/bundles/coreui-angular.umd.js.map index e065136e..72474460 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 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,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EA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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 +{"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';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Injectable()\r\nexport abstract class SidebarNavService {\r\n /**\r\n * Returns a sidebar-nav items config NavData\r\n */\r\n abstract getSidebarNavItemsConfig(): INavData[];\r\n}\r\n\r\n@Injectable()\r\nexport class SidebarNavHelper {\r\n\r\n public itemType(item) {\r\n if (item.divider) {\r\n return 'divider';\r\n } else if (item.title) {\r\n return 'title';\r\n } else if (item.children) {\r\n return 'dropdown';\r\n } else if (item.label) {\r\n return 'label';\r\n } else if (!Object.keys(item).length) {\r\n return 'empty';\r\n } else {\r\n return 'link';\r\n }\r\n }\r\n\r\n public isActive(router, item) {\r\n return router.isActive(item.url, false);\r\n }\r\n\r\n public hasBadge = (item) => Boolean(item.badge);\r\n public hasIcon = (item) => Boolean(item.icon);\r\n\r\n public getIconClass(item) {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n if (this.hasIcon(item)) {\r\n const icon = item.icon;\r\n classes[icon] = this.hasIcon(item);\r\n }\r\n return classes;\r\n }\r\n}\r\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,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,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;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.map b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js.map index 5c3dbb29..03f8b9ef 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.min.js.map +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js.map @@ -1 +1 @@ -{"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,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQ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BCIX,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 +{"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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,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';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Injectable()\r\nexport abstract class SidebarNavService {\r\n /**\r\n * Returns a sidebar-nav items config NavData\r\n */\r\n abstract getSidebarNavItemsConfig(): INavData[];\r\n}\r\n\r\n@Injectable()\r\nexport class SidebarNavHelper {\r\n\r\n public itemType(item) {\r\n if (item.divider) {\r\n return 'divider';\r\n } else if (item.title) {\r\n return 'title';\r\n } else if (item.children) {\r\n return 'dropdown';\r\n } else if (item.label) {\r\n return 'label';\r\n } else if (!Object.keys(item).length) {\r\n return 'empty';\r\n } else {\r\n return 'link';\r\n }\r\n }\r\n\r\n public isActive(router, item) {\r\n return router.isActive(item.url, false);\r\n }\r\n\r\n public hasBadge = (item) => Boolean(item.badge);\r\n public hasIcon = (item) => Boolean(item.icon);\r\n\r\n public getIconClass(item) {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n if (this.hasIcon(item)) {\r\n const icon = item.icon;\r\n classes[icon] = this.hasIcon(item);\r\n }\r\n return classes;\r\n }\r\n}\r\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 bf2f0eed..9760fa15 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 @@ -49,4 +49,4 @@ SidebarNavHelper = __decorate([ Injectable() ], SidebarNavHelper); export { SidebarNavHelper }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUF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lKSB7XG4gICAgICByZXR1cm4gJ3RpdGxlJztcbiAgICB9IGVsc2UgaWYgKGl0ZW0uY2hpbGRyZW4pIHtcbiAgICAgIHJldHVybiAnZHJvcGRvd24nO1xuICAgIH0gZWxzZSBpZiAoaXRlbS5sYWJlbCkge1xuICAgICAgcmV0dXJuICdsYWJlbCc7XG4gICAgfSBlbHNlIGlmICghT2JqZWN0LmtleXMoaXRlbSkubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gJ2VtcHR5JztcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuICdsaW5rJztcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgaXNBY3RpdmUocm91dGVyLCBpdGVtKSB7XG4gICAgcmV0dXJuIHJvdXRlci5pc0FjdGl2ZShpdGVtLnVybCwgZmFsc2UpO1xuICB9XG5cbiAgcHVibGljIGhhc0JhZGdlID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5iYWRnZSk7XG4gIHB1YmxpYyBoYXNJY29uID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5pY29uKTtcblxuICBwdWJsaWMgZ2V0SWNvbkNsYXNzKGl0ZW0pIHtcbiAgICBjb25zdCBjbGFzc2VzID0ge1xuICAgICAgJ25hdi1pY29uJzogdHJ1ZVxuICAgIH07XG4gICAgaWYgKHRoaXMuaGFzSWNvbihpdGVtKSkge1xuICAgICAgY29uc3QgaWNvbiA9IGl0ZW0uaWNvbjtcbiAgICAgIGNsYXNzZXNbaWNvbl0gPSB0aGlzLmhhc0ljb24oaXRlbSk7XG4gICAgfVxuICAgIHJldHVybiBjbGFzc2VzO1xuICB9XG59XG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHA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NsYXNzZXM7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ 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 74e73b20..423a84c6 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 @@ -53,4 +53,4 @@ var SidebarNavHelper = /** @class */ (function () { return SidebarNavHelper; }()); export { SidebarNavHelper }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUszQztJQUFBO0lBS0EsQ0FBQztJQUxxQixpQkFBaUI7UUFEdEMsVUFBVSxFQUFFO09BQ1MsaUJBQWlCLENBS3RDO0lBQUQsd0JBQUM7Q0FBQSxBQUxELElBS0M7U0FMcUIsaUJBQWlCO0FBUXZDO0lBQUE7UUFzQlMsYUFBUSxHQUFHLFVBQUMsSUFBSSxJQUFLLE9BQUEsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsRUFBbkIsQ0FBbUIsQ0FBQztRQUN6QyxZQUFPLEdBQUcsVUFBQyxJQUFJLElBQUssT0FBQSxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFsQixDQUFrQixDQUFDO0lBWWhELENBQUM7SUFqQ1EsbUNBQVEsR0FBZixVQUFnQixJQUFJO1FBQ2xCLElBQUksSUFBSSxDQUFDLE9BQU8sRUFBRTt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bHNlIHtcclxuICAgICAgcmV0dXJuICdsaW5rJztcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHB1YmxpYyBpc0FjdGl2ZShyb3V0ZXIsIGl0ZW0pIHtcclxuICAgIHJldHVybiByb3V0ZXIuaXNBY3RpdmUoaXRlbS51cmwsIGZhbHNlKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBoYXNCYWRnZSA9IChpdGVtKSA9PiBCb29sZWFuKGl0ZW0uYmFkZ2UpO1xyXG4gIHB1YmxpYyBoYXNJY29uID0gKGl0ZW0pID0+IEJvb2xlYW4oaXRlbS5pY29uKTtcclxuXHJcbiAgcHVibGljIGdldEljb25DbGFzcyhpdGVtKSB7XHJcbiAgICBjb25zdCBjbGFzc2VzID0ge1xyXG4gICAgICAnbmF2LWljb24nOiB0cnVlXHJcbiAgICB9O1xyXG4gICAgaWYgKHRoaXMuaGFzSWNvbihpdGVtKSkge1xyXG4gICAgICBjb25zdCBpY29uID0gaXRlbS5pY29uO1xyXG4gICAgICBjbGFzc2VzW2ljb25dID0gdGhpcy5oYXNJY29uKGl0ZW0pO1xyXG4gICAgfVxyXG4gICAgcmV0dXJuIGNsYXNzZXM7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/fesm2015/coreui-angular.js.map b/dist/@coreui/angular/fesm2015/coreui-angular.js.map index 50d9ee3f..1acce6b7 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 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,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;KACrE;SAAM;QACL,QAAQ,CAAC,IAAI,CAAC,SAAS,C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E;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';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Injectable()\r\nexport abstract class SidebarNavService {\r\n /**\r\n * Returns a sidebar-nav items config NavData\r\n */\r\n abstract getSidebarNavItemsConfig(): INavData[];\r\n}\r\n\r\n@Injectable()\r\nexport class SidebarNavHelper {\r\n\r\n public itemType(item) {\r\n if (item.divider) {\r\n return 'divider';\r\n } else if (item.title) {\r\n return 'title';\r\n } else if (item.children) {\r\n return 'dropdown';\r\n } else if (item.label) {\r\n return 'label';\r\n } else if (!Object.keys(item).length) {\r\n return 'empty';\r\n } else {\r\n return 'link';\r\n }\r\n }\r\n\r\n public isActive(router, item) {\r\n return router.isActive(item.url, false);\r\n }\r\n\r\n public hasBadge = (item) => Boolean(item.badge);\r\n public hasIcon = (item) => Boolean(item.icon);\r\n\r\n public getIconClass(item) {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n if (this.hasIcon(item)) {\r\n const icon = item.icon;\r\n classes[icon] = this.hasIcon(item);\r\n }\r\n return classes;\r\n }\r\n}\r\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,CA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AC5B,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 diff --git a/dist/@coreui/angular/fesm5/coreui-angular.js.map b/dist/@coreui/angular/fesm5/coreui-angular.js.map index b86f19cd..80379467 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 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,CAAC,CAAC;;AAEF,AAAO,IAAM,aAAa,GAAG,UAAC,MAAM,EAAE,UAAU;IAC9C,IAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACzC,IAAM,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,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,GAAA,CAAC,CAAC;KACrE;SAAM;QACL,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;KACrC;AACH,CAAC,CAAC;AAGF;IAEE,sBAC4B,QAAa,EAC/B,QAAmB;QADD,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ACjC,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 +{"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';\r\n\r\nimport { INavData } from './app-sidebar-nav';\r\n\r\n@Injectable()\r\nexport abstract class SidebarNavService {\r\n /**\r\n * Returns a sidebar-nav items config NavData\r\n */\r\n abstract getSidebarNavItemsConfig(): INavData[];\r\n}\r\n\r\n@Injectable()\r\nexport class SidebarNavHelper {\r\n\r\n public itemType(item) {\r\n if (item.divider) {\r\n return 'divider';\r\n } else if (item.title) {\r\n return 'title';\r\n } else if (item.children) {\r\n return 'dropdown';\r\n } else if (item.label) {\r\n return 'label';\r\n } else if (!Object.keys(item).length) {\r\n return 'empty';\r\n } else {\r\n return 'link';\r\n }\r\n }\r\n\r\n public isActive(router, item) {\r\n return router.isActive(item.url, false);\r\n }\r\n\r\n public hasBadge = (item) => Boolean(item.badge);\r\n public hasIcon = (item) => Boolean(item.icon);\r\n\r\n public getIconClass(item) {\r\n const classes = {\r\n 'nav-icon': true\r\n };\r\n if (this.hasIcon(item)) {\r\n const icon = item.icon;\r\n classes[icon] = this.hasIcon(item);\r\n }\r\n return classes;\r\n }\r\n}\r\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;;ACX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AAM,SAAS,SAAI,IAAI,CAAC,KAAO,GAAG,SAAS,CAAC;KAC9D;;gBAdc,gBAAgB;;IAHtB,0BAA0B;QAHtC,IAAI,CAAC;YACJ,IAAI,EAAE,wBAAwB;SAC/B,CAAC;yCAIiB,gBAAgB;OAHtB,0BAA0B,CAkBtC;IAAD,iCAAC;CAlBD;;;ICwEA;KAAiC;IAApB,gBAAgB;QAnD5B,QAAQ,CAAC;YACR,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/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts index 30c429aa..85f25926 100644 --- a/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +++ b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts @@ -8,7 +8,8 @@ export declare class AppSidebarNavItemsComponent { router: Router; helper: SidebarNavHelper; protected _items: INavData[]; - items: INavData[]; + set items(items: INavData[]); + get items(): INavData[]; constructor(document: any, renderer: Renderer2, router: Router, helper: SidebarNavHelper); hideMobile(): void; } diff --git a/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts index 3b49907a..581ee489 100644 --- a/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +++ b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts @@ -12,7 +12,8 @@ export declare class AppSidebarNavLinkContentComponent implements OnInit, OnDest export declare class AppSidebarNavLinkComponent implements OnInit, OnDestroy { router: Router; protected _Item: INavData; - item: INavData; + set item(item: INavData); + get item(): INavData; linkClick: EventEmitter; linkType: string; href: string; diff --git a/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts b/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts index 4fa18484..3a42a3db 100644 --- a/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts +++ b/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts @@ -10,7 +10,8 @@ export declare class AppSidebarComponent implements OnInit, OnDestroy { display: any; fixed: boolean; offCanvas: boolean; - minimized: boolean; + get minimized(): boolean; + set minimized(value: boolean); /** * Emits whenever the minimized state of the sidebar changes. * Primarily used to facilitate two-way binding. diff --git a/dist/@coreui/angular/package.json b/dist/@coreui/angular/package.json index a457ddf3..addd1efd 100644 --- a/dist/@coreui/angular/package.json +++ b/dist/@coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.7.5", + "version": "2.9.0", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular", @@ -17,9 +17,9 @@ } ], "peerDependencies": { - "@angular/common": "^9.0.0-rc.12", - "@angular/core": "^9.0.0-rc.12", - "@angular/router": "^9.0.0-rc.12", + "@angular/common": "^9.0.0", + "@angular/core": "^9.0.0", + "@angular/router": "^9.0.0", "tslib": "^1.10.0", "@coreui/coreui": "^2.1.16" }, diff --git a/package-lock.json b/package-lock.json index 36d56d82..44c32f19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@coreui/angular-dev", - "version": "2.7.5", + "version": "2.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@angular-devkit/architect": { - "version": "0.900.0-rc.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.900.0-rc.12.tgz", - "integrity": "sha512-JscaHONGpvHca8ZsErQ0LQj1r0BB2eNMOEMINTDCLQoSQwOZvZaQsL3xZXwW4Uq2C9MGkWBnw2FsCxPY300NFA==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.900.1.tgz", + "integrity": "sha512-zzB3J0fXFoYeJpgF5tsmZ7byygzjJn1IPiXBdnbNqcMbil1OPOhq+KdD4ZFPyXNwBQ3w02kOwPdNqB++jbPmlQ==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/core": "9.0.1", "rxjs": "6.5.3" }, "dependencies": { @@ -26,19 +26,19 @@ } }, "@angular-devkit/build-angular": { - "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==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.900.1.tgz", + "integrity": "sha512-e1/EiNI9UAKJxI9+7KA59A15Rkx2QA86evb9iUuwxWGvIsTsN/sg/oXUZA//nTUQTAht+qWJp3I2amd/nyQZLQ==", "dev": true, "requires": { - "@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", + "@angular-devkit/architect": "0.900.1", + "@angular-devkit/build-optimizer": "0.900.1", + "@angular-devkit/build-webpack": "0.900.1", + "@angular-devkit/core": "9.0.1", "@babel/core": "7.7.7", "@babel/generator": "7.7.7", "@babel/preset-env": "7.7.7", - "@ngtools/webpack": "9.0.0-rc.12", + "@ngtools/webpack": "9.0.1", "ajv": "6.10.2", "autoprefixer": "9.7.1", "babel-loader": "8.0.6", @@ -188,12 +188,12 @@ } }, "@angular-devkit/build-ng-packagr": { - "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==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-ng-packagr/-/build-ng-packagr-0.900.1.tgz", + "integrity": "sha512-4gUbQUot8WaqWcUX+FOJiAHoFgD+oyKL5Y2p+3DI0qJHcFPmI9z210Fk4az1Ifp00g9TFxf0YJW3YmZP0oi10A==", "dev": true, "requires": { - "@angular-devkit/architect": "0.900.0-rc.12", + "@angular-devkit/architect": "0.900.1", "rxjs": "6.5.3" }, "dependencies": { @@ -209,9 +209,9 @@ } }, "@angular-devkit/build-optimizer": { - "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==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.900.1.tgz", + "integrity": "sha512-EnIU+ogiJrUPf8+fuPE5xQ+j/qUZDZ/SmLs8XAOmvoOBpZ0vPNedrHBHCxmV+ACbCxHGmIKQ/ZL29XUYVasteg==", "dev": true, "requires": { "loader-utils": "1.2.3", @@ -236,13 +236,13 @@ } }, "@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==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.900.1.tgz", + "integrity": "sha512-GwV+jht42S2XZZbvy07mXqZ5us9ppbIi/gCL5SiUh+xtSdZGbfE6RoFZXmeOuxBn9FY0vUMTFtKCK5Mx8O3WYg==", "dev": true, "requires": { - "@angular-devkit/architect": "0.900.0-rc.12", - "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/architect": "0.900.1", + "@angular-devkit/core": "9.0.1", "rxjs": "6.5.3" }, "dependencies": { @@ -258,9 +258,9 @@ } }, "@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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-9.0.1.tgz", + "integrity": "sha512-HboJI/x+SJD9clSOAMjHRv0eXAGRAdEaqJGmjDfdFMP2wznfsBiC6cgcHC17oM4jRWFhmWMR8Omc7CjLZJawJg==", "dev": true, "requires": { "ajv": "6.10.2", @@ -288,12 +288,12 @@ } }, "@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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-9.0.1.tgz", + "integrity": "sha512-Cuub9eJm1TWygKTOowRbxMASA8QWeHWzNEU2V3TqUF1Tqy/iPf4cpuMijkFysXjTn2bi2HA9t26AwQkwymbliA==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/core": "9.0.1", "ora": "4.0.2", "rxjs": "6.5.3" }, @@ -310,21 +310,21 @@ } }, "@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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-9.0.0.tgz", + "integrity": "sha512-jB8+SC3vMztW5zt5UYVmtVwqIWE33UyEjbP5JPba3I3bLRK5E059LcJmN1rSdJHItgIAdG9Y1I0WJ6aiSFyp4Q==" }, "@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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-9.0.1.tgz", + "integrity": "sha512-/nykTIqZq1plxaXVoMzAqjnExGhkYoSoq88AE4Mb31d6n/SW2DFh62C3hze+atI6YLqeFaPhYuA5zG+z3oOXbQ==", "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", + "@angular-devkit/architect": "0.900.1", + "@angular-devkit/core": "9.0.1", + "@angular-devkit/schematics": "9.0.1", + "@schematics/angular": "9.0.1", + "@schematics/update": "0.900.1", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.1", "debug": "^4.1.1", @@ -357,25 +357,26 @@ } }, "@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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-9.0.0.tgz", + "integrity": "sha512-ZMmEClGtUNJwV5CBlqcSHPIsNyz6WU/GvKWFzJ5VZc68oeg1e7lqfNMNIC47TjyolNJ7VSpNlyrKjzfdBlmqVw==" }, "@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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.0.0.tgz", + "integrity": "sha512-ctjwuntPfZZT2mNj2NDIVu51t9cvbhl/16epc5xEwyzyDt76pX9UgwvY+MbXrf/C/FWwdtmNtfP698BKI+9leQ==" }, "@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==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-9.0.0.tgz", + "integrity": "sha512-6L3swd3Z2ceAapmioml6z7yu3bYC2aVm3/rgK7eCoZtPcevuvTpGnXcFSVvNgByV51GntgInThPbMx0xY23Rvw==", "dev": true, "requires": { "canonical-path": "1.0.0", "chokidar": "^3.0.0", "convert-source-map": "^1.5.1", "dependency-graph": "^0.7.2", + "fs-extra": "4.0.2", "magic-string": "^0.25.0", "minimist": "^1.2.0", "reflect-metadata": "^0.1.2", @@ -384,6 +385,17 @@ "yargs": "13.1.0" }, "dependencies": { + "fs-extra": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.2.tgz", + "integrity": "sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -399,25 +411,25 @@ } }, "@angular/core": { - "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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-9.0.0.tgz", + "integrity": "sha512-6Pxgsrf0qF9iFFqmIcWmjJGkkCaCm6V5QNnxMy2KloO3SDq6QuMVRbN9RtC8Urmo25LP+eZ6ZgYqFYpdD8Hd9w==" }, "@angular/forms": { - "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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-9.0.0.tgz", + "integrity": "sha512-SIYJc0Rgaihow1t+iiwSFGEvvRgssgUuxwIYbMfCp1Sx513K+JX9nVFXqU+dcGj/eF1u5wwYwbvlVyuMQLzmXg==" }, "@angular/language-service": { - "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==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-9.0.0.tgz", + "integrity": "sha512-tOMtXY8DFpTWMF77BOTXZmMMtqvdy6fbyOkJSccn6VatcPrNXOs5rKur+KNwdSlK+djjss6Y+LA8fQAvjNvUqw==", "dev": true }, "@angular/localize": { - "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==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-9.0.0.tgz", + "integrity": "sha512-T1dtjqT6BDjWLvtF81RsCBdo+hiORLiNKpSD1wXmHF1L/GMKP+EDODvBDMgnyt4NlSn+HzBeSxE+XPWsHub6cg==", "requires": { "@babel/core": "7.8.3", "glob": "7.1.2", @@ -425,19 +437,19 @@ } }, "@angular/platform-browser": { - "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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-9.0.0.tgz", + "integrity": "sha512-2PR/o57HjZvKEnAF8ODeqxmeC90oth9dLTMrJNoI5MET0IeErKeI/9Sl5cLQuXC+lSVN5rOMCvDb74VWSno5yw==" }, "@angular/platform-browser-dynamic": { - "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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0.tgz", + "integrity": "sha512-F1kbEpmDottTemRPEOAz2Te5ABVJ7wypfzBllxqXbdxPHvYLfL8db2dXyiGqABQ3ZFHPLNilrkUTy0sbuuU4OA==" }, "@angular/router": { - "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==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-9.0.0.tgz", + "integrity": "sha512-yyOcStpgN5t8wGRNO85mo0jplXkntP+v2tmSxNx45pahqmofSFm+QCEFa2zHQuMr7NoiGERhd0Tae7NDCCjtjA==" }, "@babel/code-frame": { "version": "7.8.3", @@ -1246,12 +1258,12 @@ "dev": true }, "@ngtools/webpack": { - "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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-9.0.1.tgz", + "integrity": "sha512-SG1MDVSC7pIuaX1QYTh94k/YJa6w2OR2RNbghkDXToDzDv6bKnTQYoJPyXk+gwfDTVD4V5z2dKSNbxFzWleFpg==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.12", + "@angular-devkit/core": "9.0.1", "enhanced-resolve": "4.1.1", "rxjs": "6.5.3", "webpack-sources": "1.4.3" @@ -1268,24 +1280,68 @@ } } }, + "@rollup/plugin-commonjs": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.2.tgz", + "integrity": "sha512-MPYGZr0qdbV5zZj8/2AuomVpnRVXRU5XKXb3HVniwRoRCreGlf5kOE081isNWeiLIi6IYkwTX9zE0/c7V8g81g==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.0.0", + "estree-walker": "^1.0.1", + "is-reference": "^1.1.2", + "magic-string": "^0.25.2", + "resolve": "^1.11.0" + } + }, + "@rollup/plugin-json": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.0.2.tgz", + "integrity": "sha512-t4zJMc98BdH42mBuzjhQA7dKh0t4vMJlUka6Fz0c+iO5IVnWaEMiYBy1uBj9ruHZzXBW23IPDGL9oCzBkQ9Udg==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.0.4" + } + }, + "@rollup/plugin-node-resolve": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.1.tgz", + "integrity": "sha512-14ddhD7TnemeHE97a4rLOhobfYvUVcaYuqTnL8Ti7Jxi9V9Jr5LY7Gko4HZ5k4h4vqQM0gBQt6tsp9xXW94WPA==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.0.6", + "@types/resolve": "0.0.8", + "builtin-modules": "^3.1.0", + "is-module": "^1.0.0", + "resolve": "^1.14.2" + } + }, + "@rollup/pluginutils": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.8.tgz", + "integrity": "sha512-rYGeAc4sxcZ+kPG/Tw4/fwJODC3IXHYDH4qusdN/b6aLw5LPUbzpecYbEJh4sVQGPFJxd2dBU4kc1H3oy9/bnw==", + "dev": true, + "requires": { + "estree-walker": "^1.0.1" + } + }, "@schematics/angular": { - "version": "9.0.0-rc.12", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-9.0.0-rc.12.tgz", - "integrity": "sha512-OhF2ebzRWnY3E0k2yAYEpAa4z5Ww0sC4Di0uYtkleSfUdaqe68ntXzV1tBZgScsSKwanDxerHwrzGK91TN+IIQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-9.0.1.tgz", + "integrity": "sha512-lQ8Qc697ef2jvEf1+tElAUsbOnbUAMo3dnOUVw9RlYO90pHeG3/OdWBMH1kjn3jbjuKuvCVZH3voJUUcLDx6eg==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.12", - "@angular-devkit/schematics": "9.0.0-rc.12" + "@angular-devkit/core": "9.0.1", + "@angular-devkit/schematics": "9.0.1" } }, "@schematics/update": { - "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==", + "version": "0.900.1", + "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.900.1.tgz", + "integrity": "sha512-p2xfctTtT5kMAaCTBENxi69m5IhsvdTwwwokb9zVHJYAC6D1K//q1bl30mTe6U2YE3hSPWND2S14ahXw8PyN8g==", "dev": true, "requires": { - "@angular-devkit/core": "9.0.0-rc.12", - "@angular-devkit/schematics": "9.0.0-rc.12", + "@angular-devkit/core": "9.0.1", + "@angular-devkit/schematics": "9.0.1", "@yarnpkg/lockfile": "1.1.0", "ini": "1.3.5", "npm-package-arg": "^7.0.0", @@ -1377,9 +1433,9 @@ } }, "@types/jasmine": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.5.2.tgz", - "integrity": "sha512-7hrdBDFWlTb4EhrXYRyC7i3L2kKCV0TqYbzuV+gwyPNF2V4SSHw2Vs223ai26W4tEg+t4e9Wfi1vW6JLubYPiw==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.5.3.tgz", + "integrity": "sha512-LRJ21f/BO4QNZ3YDaMP0OEurOfE77x8mi8MfEnUsei5IKfmZL0GKl7juhABMdUIJHhVS9OCLotKHfsFNAuJ+DA==", "dev": true }, "@types/jasminewd2": { @@ -4578,9 +4634,9 @@ "dev": true }, "estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", "dev": true }, "esutils": { @@ -6422,9 +6478,9 @@ } }, "istanbul-lib-instrument": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.0.tgz", - "integrity": "sha512-Nm4wVHdo7ZXSG30KjZ2Wl5SU/Bw7bDx1PdaiIFzEStdjs0H12mOTncn1GVYuqQSaZxpg87VGBRsVRPGD2cD1AQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.1.tgz", + "integrity": "sha512-imIchxnodll7pvQBYOqUu88EufLCU56LMeFPZZM/fJZ1irYcYdqroaV+ACK1Ila8ls09iEYArp+nqyC6lW1Vfg==", "dev": true, "requires": { "@babel/core": "^7.7.5", @@ -6810,9 +6866,9 @@ } }, "karma-jasmine-html-reporter": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.1.tgz", - "integrity": "sha512-LlLqsoGyxT1981z46BRaC1SaY4pTo4EHCA/qZvJEMQXzTtGMyIlmwtxny6FiLO/N/OmZh69eaoNzvBkbHVVFQA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.2.tgz", + "integrity": "sha512-ILBPsXqQ3eomq+oaQsM311/jxsypw5/d0LnZXj26XkfThwq7jZ55A2CFSKJVA5VekbbOGvMyv7d3juZj0SeTxA==", "dev": true }, "karma-source-map-support": { @@ -7674,11 +7730,14 @@ "dev": true }, "ng-packagr": { - "version": "9.0.0-rc.7", - "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-9.0.0-rc.7.tgz", - "integrity": "sha512-EtX0apF3eeAagYmw7/zCc3OqxqwhowU50qeivKvamnaKd4u24Iprqp3jsPwC3nolyOlInuqBHc1f3tqvv9SzDw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-9.0.0.tgz", + "integrity": "sha512-uK9sdOmjAQJgKh/3UN0/3XmV5IRTmdQt3vRElwbmd+rAl8Z/g/h2CMLIXqhLOfWcLnYzepkhoXlQPbiwpxAw0w==", "dev": true, "requires": { + "@rollup/plugin-commonjs": "^11.0.2", + "@rollup/plugin-json": "^4.0.0", + "@rollup/plugin-node-resolve": "^7.1.0", "ajv": "^6.10.2", "autoprefixer": "^9.6.5", "browserslist": "^4.7.0", @@ -7695,11 +7754,8 @@ "postcss-url": "^8.0.0", "read-pkg-up": "^5.0.0", "rimraf": "^3.0.0", - "rollup": "1.29.0", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-json": "^4.0.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "1.31.0", + "rollup-plugin-sourcemaps": "^0.5.0", "rxjs": "^6.5.0", "sass": "^1.23.0", "stylus": "^0.54.7", @@ -7743,9 +7799,9 @@ "dev": true }, "commander": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.0.tgz", - "integrity": "sha512-NIQrwvv9V39FHgGFm36+U9SMQzbiHvU79k+iADraJTpmrFFfx7Ds0IvDoAdZsDrknlkRk14OYoWXb57uTh7/sw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", "dev": true }, "fs-extra": { @@ -7766,9 +7822,9 @@ "dev": true }, "rollup": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.29.0.tgz", - "integrity": "sha512-V63Iz0dSdI5qPPN5HmCN6OBRzBFhMqNWcvwgq863JtSCTU6Vdvqq6S2fYle/dSCyoPrBkIP3EIr1RVs3HTRqqg==", + "version": "1.31.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.31.0.tgz", + "integrity": "sha512-9C6ovSyNeEwvuRuUUmsTpJcXac1AwSL1a3x+O5lpmQKZqi5mmrjauLeqIjvREC+yNRR8fPdzByojDng+af3nVw==", "dev": true, "requires": { "@types/estree": "*", @@ -10199,58 +10255,14 @@ "acorn": "^7.1.0" } }, - "rollup-plugin-commonjs": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz", - "integrity": "sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==", - "dev": true, - "requires": { - "estree-walker": "^0.6.1", - "is-reference": "^1.1.2", - "magic-string": "^0.25.2", - "resolve": "^1.11.0", - "rollup-pluginutils": "^2.8.1" - } - }, - "rollup-plugin-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-json/-/rollup-plugin-json-4.0.0.tgz", - "integrity": "sha512-hgb8N7Cgfw5SZAkb3jf0QXii6QX/FOkiIq2M7BAQIEydjHvTyxXHQiIzZaTFgx1GK0cRCHOCBHIyEkkLdWKxow==", - "dev": true, - "requires": { - "rollup-pluginutils": "^2.5.0" - } - }, - "rollup-plugin-node-resolve": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", - "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", - "dev": true, - "requires": { - "@types/resolve": "0.0.8", - "builtin-modules": "^3.1.0", - "is-module": "^1.0.0", - "resolve": "^1.11.1", - "rollup-pluginutils": "^2.8.1" - } - }, "rollup-plugin-sourcemaps": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.4.2.tgz", - "integrity": "sha1-YhJaqUCHqt97g+9N+vYptHMTXoc=", - "dev": true, - "requires": { - "rollup-pluginutils": "^2.0.1", - "source-map-resolve": "^0.5.0" - } - }, - "rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.5.0.tgz", + "integrity": "sha512-xp2vvRvgnYiXydgf/JFFFgYxrqMaQaOrK/g6yZvgwT9R1TSYjD3HKku1pD7iQNjQHkl5yGpokvJLp7cP/lR+aQ==", "dev": true, "requires": { - "estree-walker": "^0.6.1" + "@rollup/pluginutils": "^3.0.1", + "source-map-resolve": "^0.5.3" } }, "run-async": { @@ -12019,9 +12031,9 @@ } }, "typescript": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.5.tgz", - "integrity": "sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ==", + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", + "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", "dev": true }, "ultron": { diff --git a/package.json b/package.json index 61b53c7d..5b73b1c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular-dev", - "version": "2.7.5", + "version": "2.9.0", "license": "MIT", "author": { "name": "Łukasz Holeczek", diff --git a/projects/coreui/angular/package.json b/projects/coreui/angular/package.json index 58a079fa..ec2c12fd 100644 --- a/projects/coreui/angular/package.json +++ b/projects/coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.7.5", + "version": "2.9.0", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular", diff --git a/src/index.html b/src/index.html index e4a4b76e..ae77bf67 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,6 @@