diff --git a/CHANGELOG.md b/CHANGELOG.md index 69620aa6..a6fee29d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ ### [@coreui/angular](https://coreui.io/) changelog +##### `v2.2.5` +- refactor: use Renderer2 instead of direct DOM manipulation +- refactor: use DOCUMENT dependency injection +- update: `@angular/animations` to `^7.2.3` +- update: `@angular/common` to `^7.2.3` +- update: `@angular/compiler` to `^7.2.3` +- update: `@angular/core` to `^7.2.3` +- update: `@angular/forms` to `^7.2.3` +- update: `@angular/http` to `^7.2.3` +- update: `@angular/platform-browser` to `^7.2.3` +- update: `@angular/platform-browser-dynamic` to `^7.2.3` +- update: `@angular/router` to `^7.2.3` +- update: `core-js` to `^2.6.3` +- update: `rxjs` to `^6.4.0` +- update: `zone.js` to `^0.8.29` +- update: `@angular-devkit/build-angular` to `^0.12.4` +- update: `@angular-devkit/build-ng-packagr` to `^0.12.4` +- update: `@angular/cli` to `^7.3.0` +- update: `@angular/compiler-cli` to `^7.2.3` +- update: `@angular/language-service` to `^7.2.3` +- update: `@types/jasmine` to `^3.3.8` +- update: `@types/node` to `^10.12.20` +- update: `ng-packagr` to `^4.7.0` + ##### `v2.2.4` - update: `typescript` to `~3.2.4` - update: `@angular/animations` to `^7.2.1` diff --git a/dist/@coreui/angular/README.md b/dist/@coreui/angular/README.md index c9c5aa7f..5ca2c61e 100644 --- a/dist/@coreui/angular/README.md +++ b/dist/@coreui/angular/README.md @@ -3,19 +3,22 @@ [![@coreui angular](https://img.shields.io/badge/@coreui%20-angular-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui-angular) [![Npm badge](https://img.shields.io/npm/v/@coreui/angular.svg)][npm] [![NPM downloads][npm-download]][npm] +[![@coreui angular-next](https://img.shields.io/badge/@coreui%20-angular@next-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui-angular) +[![npm next][npm-next]][npm] [![@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-^7.1.1-lightgrey.svg?style=flat-square) +![angular](https://img.shields.io/badge/angular-^7.2.3-lightgrey.svg?style=flat-square) +[npm-next]: https://img.shields.io/npm/v/@coreui/angular/next.png?style=flat-square [npm]: https://www.npmjs.com/package/@coreui/angular [npm-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square [npm-coreui]: https://www.npmjs.com/package/@coreui/coreui [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/angular](https://coreui.io/angular) `v2` library project -> for use with [CoreUI](https://coreui.io/angular/) `v2` Bootstrap Admin Template +> [@coreui/angular](https://coreui.io/angular) v2 library project +> for use with [CoreUI](https://coreui.io/angular/) v2 Bootstrap Admin Template ## Installation ``` diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.js b/dist/@coreui/angular/bundles/coreui-angular.umd.js index 27088427..85bab8bd 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.js +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.js @@ -1,8 +1,8 @@ (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/index'), require('rxjs/operators'), require('@angular/common'), require('@angular/core'), require('@angular/router')) : - typeof define === 'function' && define.amd ? define('@coreui/angular', ['exports', 'rxjs/index', 'rxjs/operators', '@angular/common', '@angular/core', '@angular/router'], factory) : - (factory((global.coreui = global.coreui || {}, global.coreui.angular = {}),global.rxjs.index,global.rxjs.operators,global.ng.common,global.ng.core,global.ng.router)); -}(this, (function (exports,index,operators,common,core,router) { 'use strict'; + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/index'), require('rxjs/operators'), require('@angular/core'), require('@angular/common'), require('@angular/router')) : + typeof define === 'function' && define.amd ? define('@coreui/angular', ['exports', 'rxjs/index', 'rxjs/operators', '@angular/core', '@angular/common', '@angular/router'], factory) : + (factory((global.coreui = global.coreui || {}, global.coreui.angular = {}),global.rxjs.index,global.rxjs.operators,global.ng.core,global.ng.common,global.ng.router)); +}(this, (function (exports,index,operators,core,common,router) { 'use strict'; /** * @fileoverview added by tsickle @@ -32,7 +32,7 @@ /** @type {?} */ var RemoveClasses = function (NewClassNames) { /** @type {?} */ - var MatchClasses = NewClassNames.map(function (Class) { return document.querySelector('body').classList.contains(Class); }); + var MatchClasses = NewClassNames.map(function (Class) { return document.body.classList.contains(Class); }); return MatchClasses.indexOf(true) !== -1; }; /** @type {?} */ @@ -42,12 +42,66 @@ /** @type {?} */ var NewClassNames = ClassNames.slice(0, Level + 1); if (RemoveClasses(NewClassNames)) { - NewClassNames.map(function (Class) { return document.querySelector('body').classList.remove(Class); }); + NewClassNames.map(function (Class) { return document.body.classList.remove(Class); }); } else { - document.querySelector('body').classList.add(Toggle); + document.body.classList.add(Toggle); } }; + var ClassToggler = /** @class */ (function () { + function ClassToggler(document, renderer) { + this.document = document; + this.renderer = renderer; + } + /** + * @param {?} NewClassNames + * @return {?} + */ + ClassToggler.prototype.removeClasses = /** + * @param {?} NewClassNames + * @return {?} + */ + function (NewClassNames) { + var _this = this; + /** @type {?} */ + var MatchClasses = NewClassNames.map(function (Class) { return _this.document.body.classList.contains(Class); }); + return MatchClasses.indexOf(true) !== -1; + }; + /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + ClassToggler.prototype.toggleClasses = /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + function (Toggle, ClassNames) { + var _this = this; + /** @type {?} */ + var Level = ClassNames.indexOf(Toggle); + /** @type {?} */ + var NewClassNames = ClassNames.slice(0, Level + 1); + if (this.removeClasses(NewClassNames)) { + NewClassNames.map(function (Class) { return _this.renderer.removeClass(_this.document.body, Class); }); + } + else { + this.renderer.addClass(this.document.body, Toggle); + } + }; + ClassToggler.decorators = [ + { type: core.Injectable } + ]; + /** @nocollapse */ + ClassToggler.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; + return ClassToggler; + }()); /** * @fileoverview added by tsickle @@ -97,7 +151,9 @@ return SidebarToggleDirective; }()); var SidebarMinimizeDirective = /** @class */ (function () { - function SidebarMinimizeDirective() { + function SidebarMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -109,7 +165,12 @@ */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-minimized') ? + this.renderer.removeClass(body, 'sidebar-minimized') : + this.renderer.addClass(body, 'sidebar-minimized'); + // document.body.classList.toggle('sidebar-minimized'); }; SidebarMinimizeDirective.decorators = [ { type: core.Directive, args: [{ @@ -117,14 +178,21 @@ },] } ]; /** @nocollapse */ - SidebarMinimizeDirective.ctorParameters = function () { return []; }; + SidebarMinimizeDirective.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; SidebarMinimizeDirective.propDecorators = { toggleOpen: [{ type: core.HostListener, args: ['click', ['$event'],] }] }; return SidebarMinimizeDirective; }()); var MobileSidebarToggleDirective = /** @class */ (function () { - function MobileSidebarToggleDirective() { + function MobileSidebarToggleDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -155,7 +223,12 @@ */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-show'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // document.body.classList.toggle('sidebar-show'); }; MobileSidebarToggleDirective.decorators = [ { type: core.Directive, args: [{ @@ -163,7 +236,12 @@ },] } ]; /** @nocollapse */ - MobileSidebarToggleDirective.ctorParameters = function () { return []; }; + MobileSidebarToggleDirective.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; MobileSidebarToggleDirective.propDecorators = { toggleOpen: [{ type: core.HostListener, args: ['click', ['$event'],] }] }; @@ -173,7 +251,9 @@ * Allows the off-canvas sidebar to be closed via click. */ var SidebarOffCanvasCloseDirective = /** @class */ (function () { - function SidebarOffCanvasCloseDirective() { + function SidebarOffCanvasCloseDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -233,8 +313,13 @@ */ function ($event) { $event.preventDefault(); - if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) { - this.toggleClass(document.querySelector('body'), 'sidebar-opened'); + /** @type {?} */ + var body = this.document.body; + if (this.hasClass(body, 'sidebar-off-canvas')) { + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // this.toggleClass(document.body, 'sidebar-opened'); } }; SidebarOffCanvasCloseDirective.decorators = [ @@ -243,14 +328,21 @@ },] } ]; /** @nocollapse */ - SidebarOffCanvasCloseDirective.ctorParameters = function () { return []; }; + SidebarOffCanvasCloseDirective.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; SidebarOffCanvasCloseDirective.propDecorators = { toggleOpen: [{ type: core.HostListener, args: ['click', ['$event'],] }] }; return SidebarOffCanvasCloseDirective; }()); var BrandMinimizeDirective = /** @class */ (function () { - function BrandMinimizeDirective() { + function BrandMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -262,7 +354,12 @@ */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('brand-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('brand-minimized') ? + this.renderer.removeClass(body, 'brand-minimized') : + this.renderer.addClass(body, 'brand-minimized'); + // document.body.classList.toggle('brand-minimized'); }; BrandMinimizeDirective.decorators = [ { type: core.Directive, args: [{ @@ -270,7 +367,12 @@ },] } ]; /** @nocollapse */ - BrandMinimizeDirective.ctorParameters = function () { return []; }; + BrandMinimizeDirective.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; BrandMinimizeDirective.propDecorators = { toggleOpen: [{ type: core.HostListener, args: ['click', ['$event'],] }] }; @@ -280,7 +382,8 @@ * Allows the aside to be toggled via click. */ var AsideToggleDirective = /** @class */ (function () { - function AsideToggleDirective() { + function AsideToggleDirective(classToggler) { + this.classToggler = classToggler; } /** * @return {?} @@ -302,17 +405,21 @@ function ($event) { $event.preventDefault(); /** @type {?} */ - var cssClass; - this.bp ? cssClass = "aside-menu-" + this.bp + "-show" : cssClass = asideMenuCssClasses[0]; - ToggleClasses(cssClass, asideMenuCssClasses); + var cssClass = this.bp ? "aside-menu-" + this.bp + "-show" : asideMenuCssClasses[0]; + this.classToggler.toggleClasses(cssClass, asideMenuCssClasses); }; AsideToggleDirective.decorators = [ { type: core.Directive, args: [{ selector: '[appAsideMenuToggler]', + providers: [ClassToggler] },] } ]; /** @nocollapse */ - AsideToggleDirective.ctorParameters = function () { return []; }; + AsideToggleDirective.ctorParameters = function () { + return [ + { type: ClassToggler } + ]; + }; AsideToggleDirective.propDecorators = { breakpoint: [{ type: core.Input, args: ['appAsideMenuToggler',] }], toggleOpen: [{ type: core.HostListener, args: ['click', ['$event'],] }] @@ -347,6 +454,9 @@ SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective + ], + providers: [ + ClassToggler ] },] } ]; @@ -389,7 +499,9 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppAsideComponent = /** @class */ (function () { - function AppAsideComponent(el) { + function AppAsideComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -411,48 +523,56 @@ * @return {?} */ function () { - document.body.classList.remove('aside-menu-fixed'); + this.renderer.removeClass(this.document.body, 'aside-menu-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppAsideComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('aside-menu-fixed'); + if (fixed === void 0) { + fixed = this.fixed; + } + if (fixed) { + this.renderer.addClass(this.document.body, 'aside-menu-fixed'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppAsideComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('aside-menu-off-canvas'); + if (offCanvas === void 0) { + offCanvas = this.offCanvas; + } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'aside-menu-off-canvas'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppAsideComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { + display = this.display; + } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "aside-menu-" + this.display + "-show" : cssClass = asideMenuCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = this.display ? "aside-menu-" + this.display + "-show" : asideMenuCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppAsideComponent.decorators = [ @@ -464,6 +584,8 @@ /** @nocollapse */ AppAsideComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 }, { type: core.ElementRef } ]; }; @@ -563,7 +685,9 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppBreadcrumbComponent = /** @class */ (function () { - function AppBreadcrumbComponent(service, el) { + function AppBreadcrumbComponent(document, renderer, service, el) { + this.document = document; + this.renderer = renderer; this.service = service; this.el = el; } @@ -585,19 +709,22 @@ * @return {?} */ function () { - document.body.classList.remove('breadcrumb-fixed'); + this.renderer.removeClass(this.document.body, 'breadcrumb-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppBreadcrumbComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('breadcrumb-fixed'); + if (fixed === void 0) { + fixed = this.fixed; + } + if (fixed) { + this.renderer.addClass(this.document.body, 'breadcrumb-fixed'); } }; AppBreadcrumbComponent.decorators = [ @@ -609,6 +736,8 @@ /** @nocollapse */ AppBreadcrumbComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 }, { type: AppBreadcrumbService }, { type: core.ElementRef } ]; @@ -663,7 +792,9 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppFooterComponent = /** @class */ (function () { - function AppFooterComponent(el) { + function AppFooterComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -683,30 +814,35 @@ * @return {?} */ function () { - document.body.classList.remove('footer-fixed'); + this.renderer.removeClass(this.document.body, 'footer-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppFooterComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('footer-fixed'); + if (fixed === void 0) { + fixed = this.fixed; + } + if (fixed) { + this.renderer.addClass(this.document.body, 'footer-fixed'); } }; AppFooterComponent.decorators = [ { type: core.Component, args: [{ selector: 'app-footer', - template: "\n \n " + template: "\n \n \n " }] } ]; /** @nocollapse */ AppFooterComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 }, { type: core.ElementRef } ]; }; @@ -743,7 +879,9 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppHeaderComponent = /** @class */ (function () { - function AppHeaderComponent(el) { + function AppHeaderComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' }; this.navbarBrandHref = ''; @@ -766,19 +904,22 @@ * @return {?} */ function () { - document.body.classList.remove('header-fixed'); + this.renderer.removeClass(this.document.body, 'header-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppHeaderComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('header-fixed'); + if (fixed === void 0) { + fixed = this.fixed; + } + if (fixed) { + this.renderer.addClass(this.document.body, 'header-fixed'); } }; /** @@ -846,6 +987,8 @@ /** @nocollapse */ AppHeaderComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 }, { type: core.ElementRef } ]; }; @@ -1027,7 +1170,9 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppSidebarComponent = /** @class */ (function () { - function AppSidebarComponent() { + function AppSidebarComponent(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @return {?} @@ -1049,88 +1194,105 @@ * @return {?} */ function () { - document.body.classList.remove('sidebar-fixed'); + this.renderer.removeClass(this.document.body, 'sidebar-fixed'); }; /** - * @param {?} compact + * @param {?=} compact * @return {?} */ AppSidebarComponent.prototype.isCompact = /** - * @param {?} compact + * @param {?=} compact * @return {?} */ function (compact) { - if (this.compact) { - document.querySelector('body').classList.add('sidebar-compact'); + if (compact === void 0) { + compact = this.compact; + } + if (compact) { + this.renderer.addClass(this.document.body, 'sidebar-compact'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed === void 0) { + fixed = this.fixed; + } + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ AppSidebarComponent.prototype.isMinimized = /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ function (minimized) { - if (this.minimized) { - document.querySelector('body').classList.add('sidebar-minimized'); + if (minimized === void 0) { + minimized = this.minimized; + } + if (minimized) { + this.renderer.addClass(this.document.body, 'sidebar-minimized'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppSidebarComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('sidebar-off-canvas'); + if (offCanvas === void 0) { + offCanvas = this.offCanvas; + } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'sidebar-off-canvas'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.fixedPosition = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { + if (fixed === void 0) { + fixed = this.fixed; + } console.warn('deprecated fixedPosition(), use isFixed() instead'); - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppSidebarComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { + display = this.display; + } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "sidebar-" + this.display + "-show" : cssClass = sidebarCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = display ? "sidebar-" + display + "-show" : sidebarCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppSidebarComponent.decorators = [ @@ -1140,7 +1302,12 @@ }] } ]; /** @nocollapse */ - AppSidebarComponent.ctorParameters = function () { return []; }; + AppSidebarComponent.ctorParameters = function () { + return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 } + ]; + }; AppSidebarComponent.propDecorators = { compact: [{ type: core.Input }], display: [{ type: core.Input }], @@ -1218,7 +1385,8 @@ return NavDropdownToggleDirective; }()); var LinkAttributesDirective = /** @class */ (function () { - function LinkAttributesDirective(renderer, el) { + function LinkAttributesDirective(document, renderer, el) { + this.document = document; this.renderer = renderer; this.el = el; } @@ -1290,7 +1458,7 @@ */ function (key, value) { /** @type {?} */ - var newAttr = document.createAttribute(key); + var newAttr = this.document.createAttribute(key); newAttr.value = value; this.renderer.setAttribute(this.el.nativeElement, key, value); }; @@ -1302,6 +1470,7 @@ /** @nocollapse */ LinkAttributesDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, { type: core.Renderer2 }, { type: core.ElementRef } ]; @@ -1432,7 +1601,9 @@ return AppSidebarNavItemComponent; }()); var AppSidebarNavLinkComponent = /** @class */ (function () { - function AppSidebarNavLinkComponent(router$$1, el) { + function AppSidebarNavLinkComponent(document, renderer, router$$1, el) { + this.document = document; + this.renderer = renderer; this.router = router$$1; this.el = el; } @@ -1519,8 +1690,8 @@ * @return {?} */ function () { - if (document.body.classList.contains('sidebar-show')) { - document.body.classList.toggle('sidebar-show'); + if (this.document.body.classList.contains('sidebar-show')) { + this.renderer.removeClass(this.document.body, 'sidebar-show'); } }; /** @@ -1541,6 +1712,8 @@ /** @nocollapse */ AppSidebarNavLinkComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, + { type: core.Renderer2 }, { type: router.Router }, { type: core.ElementRef } ]; @@ -1727,11 +1900,11 @@ exports.AppFooterModule = AppFooterModule; exports.AppHeaderModule = AppHeaderModule; exports.AppSidebarModule = AppSidebarModule; - exports.ɵh = AppAsideComponent; - exports.ɵi = AppBreadcrumbComponent; - exports.ɵj = AppBreadcrumbService; - exports.ɵk = AppFooterComponent; - exports.ɵl = AppHeaderComponent; + exports.ɵi = AppAsideComponent; + exports.ɵj = AppBreadcrumbComponent; + exports.ɵk = AppBreadcrumbService; + exports.ɵl = AppFooterComponent; + exports.ɵm = AppHeaderComponent; exports.ɵg = AsideToggleDirective; exports.ɵf = BrandMinimizeDirective; exports.ɵd = MobileSidebarToggleDirective; @@ -1739,19 +1912,20 @@ exports.ɵe = SidebarOffCanvasCloseDirective; exports.ɵb = SidebarToggleDirective; exports.ɵa = LayoutModule; - exports.ɵm = AppSidebarFooterComponent; - exports.ɵn = AppSidebarFormComponent; - exports.ɵo = AppSidebarHeaderComponent; - exports.ɵp = AppSidebarMinimizerComponent; - exports.ɵu = AppSidebarNavComponent; - exports.ɵx = AppSidebarNavDropdownComponent; - exports.ɵv = AppSidebarNavItemComponent; - exports.ɵw = AppSidebarNavLinkComponent; - exports.ɵy = AppSidebarNavTitleComponent; - exports.ɵt = LinkAttributesDirective; - exports.ɵr = NavDropdownDirective; - exports.ɵs = NavDropdownToggleDirective; - exports.ɵq = AppSidebarComponent; + exports.ɵh = ClassToggler; + exports.ɵn = AppSidebarFooterComponent; + exports.ɵo = AppSidebarFormComponent; + exports.ɵp = AppSidebarHeaderComponent; + exports.ɵq = AppSidebarMinimizerComponent; + exports.ɵv = AppSidebarNavComponent; + exports.ɵy = AppSidebarNavDropdownComponent; + exports.ɵw = AppSidebarNavItemComponent; + exports.ɵx = AppSidebarNavLinkComponent; + exports.ɵz = AppSidebarNavTitleComponent; + exports.ɵu = LinkAttributesDirective; + exports.ɵs = NavDropdownDirective; + exports.ɵt = NavDropdownToggleDirective; + exports.ɵr = AppSidebarComponent; Object.defineProperty(exports, '__esModule', { value: true }); diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.js.map b/dist/@coreui/angular/bundles/coreui-angular.umd.js.map index 571f1545..7a555255 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.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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","const RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.querySelector('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.querySelector('body').classList.remove(Class));\r\n } else {\r\n document.querySelector('body').classList.add(Toggle);\r\n }\r\n};\r\n","import { Directive, HostListener, Input, ElementRef, OnInit } from '@angular/core';\r\nimport { sidebarCssClasses, asideMenuCssClasses } from './../classes';\r\nimport { ToggleClasses } 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})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\r\n 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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n // Toggle element class\r\n private toggleClass(elem: any, elementClassName: string) {\r\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\r\n if (this.hasClass(elem, elementClassName)) {\r\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\r\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\r\n }\r\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\r\n } else {\r\n elem.className += ' ' + elementClassName;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) {\r\n this.toggleClass(document.querySelector('body'), 'sidebar-opened');\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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0];\r\n ToggleClasses(cssClass, asideMenuCssClasses);\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} from './layout.directive';\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 ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { asideMenuCssClasses, Replace } from './../shared/index';\r\n\r\n@Component({\r\n selector: 'app-aside',\r\n template: `\r\n \r\n `\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 constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\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 document.body.classList.remove('aside-menu-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('aside-menu-fixed'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('aside-menu-off-canvas'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0];\r\n document.querySelector('body').classList.add(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, Injector } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs/index';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private _breadcrumbs: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this._breadcrumbs = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this._breadcrumbs.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 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: url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\n\r\n@Component({\r\n selector: 'app-breadcrumb',\r\n template: `\r\n \r\n
  • \r\n {{breadcrumb.label.title}}\r\n {{breadcrumb.label.title}}\r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n public breadcrumbs;\r\n\r\n constructor(public service: AppBreadcrumbService, public el: ElementRef) { }\r\n\r\n public ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('breadcrumb-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('breadcrumb-fixed'); }\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('footer-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('footer-fixed'); }\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-header',\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n `\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: any = '';\r\n\r\n @Input() sidebarToggler: any;\r\n @Input() mobileSidebarToggler: any;\r\n\r\n @Input() asideMenuToggler: any;\r\n @Input() mobileAsideMenuToggler: any;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('header-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('header-fixed'); }\r\n }\r\n\r\n imgSrc(brand: any): void {\r\n return brand.src ? brand.src : '';\r\n }\r\n\r\n imgWidth(brand: any): void {\r\n return brand.width ? brand.width : 'auto';\r\n }\r\n\r\n imgHeight(brand: any): void {\r\n return brand.height ? brand.height : 'auto';\r\n }\r\n\r\n imgAlt(brand: any): void {\r\n return brand.alt ? brand.alt : '';\r\n }\r\n\r\n breakpoint(breakpoint: any): void {\r\n console.log(breakpoint);\r\n return breakpoint ? breakpoint : '';\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 { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer',\r\n template: `\r\n
    \r\n \r\n
    `\r\n})\r\nexport class AppSidebarFooterComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarFormComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarHeaderComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer',\r\n template: `\r\n \r\n `\r\n})\r\nexport class AppSidebarMinimizerComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, Input, HostBinding, OnInit, OnDestroy } from '@angular/core';\r\nimport { sidebarCssClasses } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() minimized: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @HostBinding('class.sidebar') true;\r\n\r\n constructor() {}\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.isMinimized(this.minimized);\r\n this.isOffCanvas(this.offCanvas);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('sidebar-fixed');\r\n }\r\n\r\n isCompact(compact: boolean): void {\r\n if (this.compact) { document.querySelector('body').classList.add('sidebar-compact'); }\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n isMinimized(minimized: boolean): void {\r\n if (this.minimized) { document.querySelector('body').classList.add('sidebar-minimized'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('sidebar-off-canvas'); }\r\n }\r\n\r\n fixedPosition(fixed: boolean): void {\r\n console.warn('deprecated fixedPosition(), use isFixed() instead');\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0];\r\n document.querySelector('body').classList.add(cssClass);\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Renderer2,\r\n SimpleChanges\r\n} from '@angular/core';\r\nimport { Replace } from '../shared';\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\r\n@Directive({\r\n selector: '[appLinkAttributes]'\r\n})\r\nexport class LinkAttributesDirective implements OnInit {\r\n @Input() appLinkAttributes: {[key: string]: string };\r\n constructor(private renderer: Renderer2, private el: ElementRef) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appLinkAttributes;\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.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 const newAttr = document.createAttribute(key);\r\n newAttr.value = value;\r\n this.renderer.setAttribute(this.el.nativeElement, key, value );\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav',\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\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: Array;\r\n\r\n @HostBinding('class.sidebar-nav') true;\r\n @HostBinding('attr.role') role = 'nav';\r\n\r\n public navItemsArray: Array;\r\n\r\n public isDivider(item) {\r\n return item.divider ? true : false;\r\n }\r\n\r\n public isTitle(item) {\r\n return item.title ? true : false;\r\n }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\r\n }\r\n\r\n constructor() { }\r\n}\r\n\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-item',\r\n template: `\r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppSidebarNavItemComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n public hasClass() {\r\n return this.item.class ? true : false;\r\n }\r\n\r\n public isDropdown() {\r\n return this.item.children ? true : false;\r\n }\r\n\r\n public thisUrl() {\r\n return this.item.url;\r\n }\r\n\r\n public isActive() {\r\n return this.router.isActive(this.thisUrl(), false);\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link',\r\n template: `\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public getClasses() {\r\n const disabled = this.isDisabled();\r\n const classes = {\r\n 'nav-link': true,\r\n 'disabled': disabled,\r\n 'btn-link': disabled\r\n };\r\n if (this.hasVariant()) {\r\n const variant = `nav-link-${this.link.variant}`;\r\n classes[variant] = true;\r\n }\r\n return classes;\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\r\n }\r\n\r\n public hasVariant() {\r\n return this.link.variant ? true : false;\r\n }\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isDisabled() {\r\n return this.link.attributes && this.link.attributes.disabled ? true : false;\r\n }\r\n\r\n public isExternalLink() {\r\n return this.link.url.substring(0, 4) === 'http' ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n public hideMobile() {\r\n if (document.body.classList.contains('sidebar-show')) {\r\n document.body.classList.toggle('sidebar-show');\r\n }\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n
      \r\n \r\n \r\n \r\n
    \r\n `,\r\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\r\n})\r\nexport class AppSidebarNavDropdownComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title',\r\n template: ''\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() title: any;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const li = this.renderer.createElement('li');\r\n const name = this.renderer.createText(this.title.name);\r\n\r\n this.renderer.addClass(li, 'nav-title');\r\n\r\n if ( this.title.class ) {\r\n const classes = this.title.class;\r\n this.renderer.addClass(li, classes);\r\n }\r\n\r\n if ( this.title.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\r\n\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(li, wrapper);\r\n } else {\r\n this.renderer.appendChild(li, name);\r\n }\r\n this.renderer.appendChild(nativeElement, li);\r\n Replace(this.el);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":["Directive","Input","HostListener","NgModule","CommonModule","Component","ElementRef","router","BehaviorSubject","filter","NavigationEnd","Injectable","Router","ActivatedRoute","RouterModule","HostBinding","Renderer2"],"mappings":";;;;;;;;;;;AAAA,QAAa,iBAAiB,GAAkB;QAC9C,cAAc;QACd,iBAAiB;QACjB,iBAAiB;QACjB,iBAAiB;QACjB,iBAAiB;KAClB;;AAED,QAAa,mBAAmB,GAAkB;QAChD,iBAAiB;QACjB,oBAAoB;QACpB,oBAAoB;QACpB,oBAAoB;QACpB,oBAAoB;KACrB;;;;;;;QCdK,aAAa,GAAG,UAAC,aAA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Y;4BACZU,mBAAY;4BACZ,YAAY;yBACb;wBACD,OAAO,EAAE;4BACP,yBAAyB;4BACzB,uBAAuB;4BACvB,yBAAyB;4BACzB,4BAA4B;4BAC5B,mBAAmB;4BACnB,sBAAsB;4BACtB,8BAA8B;4BAC9B,0BAA0B;4BAC1B,0BAA0B;4BAC1B,2BAA2B;4BAC3B,oBAAoB;4BACpB,0BAA0B;4BAC1B,uBAAuB;4BACvB,YAAY;yBACb;wBACD,YAAY,EAAE;4BACZ,yBAAyB;4BACzB,uBAAuB;4BACvB,yBAAyB;4BACzB,4BAA4B;4BAC5B,4BAA4B;4BAC5B,mBAAmB;4BACnB,sBAAsB;4BACtB,8BAA8B;4BAC9B,0BAA0B;4BAC1B,0BAA0B;4BAC1B,2BAA2B;4BAC3B,oBAAoB;4BACpB,0BAA0B;4BAC1B,uBAAuB;yBACxB;qBACF;;QAC+B,uBAAC;KAvCjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} +{"version":3,"file":"coreui-angular.umd.js.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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';\nimport {DOCUMENT} from '@angular/common';\n\nconst RemoveClasses = (NewClassNames) => {\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n};\n\nexport const ToggleClasses = (Toggle, ClassNames) => {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (RemoveClasses(NewClassNames)) {\n NewClassNames.map((Class) => document.body.classList.remove(Class));\n } else {\n document.body.classList.add(Toggle);\n }\n};\n\n@Injectable()\nexport class ClassToggler {\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) {}\n\n removeClasses(NewClassNames) {\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n }\n\n toggleClasses(Toggle, ClassNames) {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (this.removeClasses(NewClassNames)) {\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\n } else {\n this.renderer.addClass(this.document.body, Toggle);\n }\n }\n}\n","import {Directive, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\nimport { ClassToggler, ToggleClasses } from '../toggle-classes';\n\n/**\n* Allows the sidebar to be toggled via click.\n*/\n@Directive({\n selector: '[appSidebarToggler]'\n})\nexport class SidebarToggleDirective implements OnInit {\n @Input('appSidebarToggler') breakpoint: string;\n public bp;\n constructor() {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n let cssClass;\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\n ToggleClasses(cssClass, sidebarCssClasses);\n }\n}\n\n@Directive({\n selector: '[appSidebarMinimizer]'\n})\nexport class SidebarMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-minimized') ?\n this.renderer.removeClass(body, 'sidebar-minimized') :\n this.renderer.addClass(body, 'sidebar-minimized');\n // document.body.classList.toggle('sidebar-minimized');\n }\n}\n\n@Directive({\n selector: '[appMobileSidebarToggler]'\n})\nexport class MobileSidebarToggleDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // document.body.classList.toggle('sidebar-show');\n }\n}\n\n/**\n* Allows the off-canvas sidebar to be closed via click.\n*/\n@Directive({\n selector: '[appSidebarClose]'\n})\nexport class SidebarOffCanvasCloseDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n // Toggle element class\n private toggleClass(elem: any, elementClassName: string) {\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\n if (this.hasClass(elem, elementClassName)) {\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\n }\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\n } else {\n elem.className += ' ' + elementClassName;\n }\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n\n const body = this.document.body;\n if (this.hasClass(body, 'sidebar-off-canvas')) {\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // this.toggleClass(document.body, 'sidebar-opened');\n }\n }\n}\n\n@Directive({\n selector: '[appBrandMinimizer]'\n})\nexport class BrandMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('brand-minimized') ?\n this.renderer.removeClass(body, 'brand-minimized') :\n this.renderer.addClass(body, 'brand-minimized');\n // document.body.classList.toggle('brand-minimized');\n }\n}\n\n\n/**\n* Allows the aside to be toggled via click.\n*/\n@Directive({\n selector: '[appAsideMenuToggler]',\n providers: [ClassToggler]\n})\nexport class AsideToggleDirective implements OnInit {\n @Input('appAsideMenuToggler') breakpoint: string;\n public bp;\n constructor(private classToggler: ClassToggler) {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule} from '@angular/core';\nimport {\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n} from './layout.directive';\nimport { ClassToggler } from '../toggle-classes';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n exports: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n declarations: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n providers: [\n ClassToggler\n ]\n})\nexport class LayoutModule { }\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, Input, OnInit, OnDestroy, Inject, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, Replace } from '../shared';\n\n@Component({\n selector: 'app-aside',\n template: `\n \n `\n})\nexport class AppAsideComponent implements OnInit, OnDestroy {\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() offCanvas: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.isOffCanvas(this.offCanvas);\n this.displayBreakpoint(this.display);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'aside-menu-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'aside-menu-fixed');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false ) {\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\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';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { BehaviorSubject, Observable } from 'rxjs/index';\nimport { filter } from 'rxjs/operators';\n\n@Injectable()\nexport class AppBreadcrumbService {\n\n breadcrumbs: Observable>;\n\n private _breadcrumbs: BehaviorSubject>;\n\n constructor(private router: Router, private route: ActivatedRoute) {\n\n this._breadcrumbs = new BehaviorSubject(new Array());\n\n this.breadcrumbs = this._breadcrumbs.asObservable();\n\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\n const breadcrumbs = [];\n let currentRoute = this.route.root,\n url = '';\n do {\n const childrenRoutes = currentRoute.children;\n currentRoute = null;\n // tslint:disable-next-line:no-shadowed-variable\n childrenRoutes.forEach(route => {\n if (route.outlet === 'primary') {\n const routeSnapshot = route.snapshot;\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\n breadcrumbs.push({\n label: route.snapshot.data,\n url: url\n });\n currentRoute = route;\n }\n });\n } while (currentRoute);\n\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\n\n return breadcrumbs;\n });\n }\n}\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\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, 'breadcrumb-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'breadcrumb-fixed');\n }\n }\n}\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-footer',\n template: `\n \n
    \n \n
    \n `\n})\nexport class AppFooterComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'footer-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'footer-fixed');\n }\n }\n}\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, ElementRef, Input, OnInit, OnDestroy, Inject, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-header',\n template: `\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n `\n})\nexport class AppHeaderComponent implements OnInit, OnDestroy {\n\n @Input() fixed: boolean;\n\n @Input() navbarBrand: any;\n @Input() navbarBrandFull: any;\n @Input() navbarBrandMinimized: any;\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\n @Input() navbarBrandHref: any = '';\n\n @Input() sidebarToggler: any;\n @Input() mobileSidebarToggler: any;\n\n @Input() asideMenuToggler: any;\n @Input() mobileAsideMenuToggler: any;\n\n navbarBrandImg: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'header-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'header-fixed');\n }\n }\n\n imgSrc(brand: any): void {\n return brand.src ? brand.src : '';\n }\n\n imgWidth(brand: any): void {\n return brand.width ? brand.width : 'auto';\n }\n\n imgHeight(brand: any): void {\n return brand.height ? brand.height : 'auto';\n }\n\n imgAlt(brand: any): void {\n return brand.alt ? brand.alt : '';\n }\n\n breakpoint(breakpoint: any): void {\n console.log(breakpoint);\n return breakpoint ? breakpoint : '';\n }\n}\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-footer',\n template: `\n
    \n \n
    `\n})\nexport class AppSidebarFooterComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-form',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarFormComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-header',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarHeaderComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-minimizer',\n template: `\n \n `\n})\nexport class AppSidebarMinimizerComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, Input, Inject, HostBinding, OnInit, OnDestroy, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { sidebarCssClasses } from '../shared';\n\n@Component({\n selector: 'app-sidebar',\n template: ``\n})\nexport class AppSidebarComponent implements OnInit, OnDestroy {\n @Input() compact: boolean;\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() minimized: boolean;\n @Input() offCanvas: boolean;\n\n @HostBinding('class.sidebar') true;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n this.displayBreakpoint(this.display);\n this.isCompact(this.compact);\n this.isFixed(this.fixed);\n this.isMinimized(this.minimized);\n this.isOffCanvas(this.offCanvas);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'sidebar-fixed' );\n }\n\n isCompact(compact: boolean = this.compact): void {\n if (compact) {\n this.renderer.addClass(this.document.body, 'sidebar-compact' );\n }\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n isMinimized(minimized: boolean = this.minimized): void {\n if (minimized) {\n this.renderer.addClass(this.document.body, 'sidebar-minimized');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\n }\n }\n\n fixedPosition(fixed: boolean = this.fixed): void {\n console.warn('deprecated fixedPosition(), use isFixed() instead');\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false) {\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\n","import {\n Component,\n Directive,\n ElementRef,\n HostBinding,\n HostListener, Inject,\n Input,\n OnChanges,\n OnInit,\n Renderer2,\n SimpleChanges\n} from '@angular/core';\n\nimport {DOCUMENT} from '@angular/common';\nimport { Router } from '@angular/router';\n\nimport { Replace } from '../shared';\n\n@Directive({\n selector: '[appNavDropdown]'\n})\nexport class NavDropdownDirective {\n\n constructor(private el: ElementRef) { }\n\n toggle() {\n this.el.nativeElement.classList.toggle('open');\n }\n}\n\n/**\n* Allows the dropdown to be toggled via click.\n*/\n@Directive({\n selector: '[appNavDropdownToggle]'\n})\nexport class NavDropdownToggleDirective {\n constructor(private dropdown: NavDropdownDirective) {}\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n this.dropdown.toggle();\n }\n}\n\n@Directive({\n selector: '[appLinkAttributes]'\n})\nexport class LinkAttributesDirective implements OnInit {\n @Input() appLinkAttributes: {[key: string]: string };\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit() {\n const attribs = this.appLinkAttributes;\n for (const attr in attribs) {\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n }\n\n private setStyle(styles) {\n for (const style in styles) {\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\n }\n }\n\n private addClass(classes) {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray.forEach(element => {\n this.renderer.addClass(this.el.nativeElement, element );\n });\n }\n\n private setAttrib(key, value) {\n const newAttr = this.document.createAttribute(key);\n newAttr.value = value;\n this.renderer.setAttribute(this.el.nativeElement, key, value );\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav',\n template: `\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    `\n})\nexport class AppSidebarNavComponent implements OnChanges {\n @Input() navItems: Array;\n\n @HostBinding('class.sidebar-nav') true;\n @HostBinding('attr.role') role = 'nav';\n\n public navItemsArray: Array;\n\n public isDivider(item) {\n return item.divider ? true : false;\n }\n\n public isTitle(item) {\n return item.title ? true : false;\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\n }\n\n constructor() { }\n}\n\n@Component({\n selector: 'app-sidebar-nav-item',\n template: `\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n `\n})\nexport class AppSidebarNavItemComponent implements OnInit {\n @Input() item: any;\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n public hasClass() {\n return this.item.class ? true : false;\n }\n\n public isDropdown() {\n return this.item.children ? true : false;\n }\n\n public thisUrl() {\n return this.item.url;\n }\n\n public isActive() {\n return this.router.isActive(this.thisUrl(), false);\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-link',\n template: `\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n `\n})\nexport class AppSidebarNavLinkComponent implements OnInit {\n @Input() link: any;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private router: Router,\n private el: ElementRef\n ) { }\n\n public getClasses() {\n const disabled = this.isDisabled();\n const classes = {\n 'nav-link': true,\n 'disabled': disabled,\n 'btn-link': disabled\n };\n if (this.hasVariant()) {\n const variant = `nav-link-${this.link.variant}`;\n classes[variant] = true;\n }\n return classes;\n }\n\n public getLinkType() {\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\n }\n\n public hasVariant() {\n return this.link.variant ? true : false;\n }\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isDisabled() {\n return this.link.attributes && this.link.attributes.disabled ? true : false;\n }\n\n public isExternalLink() {\n return this.link.url.substring(0, 4) === 'http' ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n public hideMobile() {\n if (this.document.body.classList.contains('sidebar-show')) {\n this.renderer.removeClass(this.document.body, 'sidebar-show');\n }\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-dropdown',\n template: `\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n `,\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\n})\nexport class AppSidebarNavDropdownComponent implements OnInit {\n @Input() link: any;\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-title',\n template: ''\n})\nexport class AppSidebarNavTitleComponent implements OnInit {\n @Input() title: any;\n\n constructor(private el: ElementRef, private renderer: Renderer2) { }\n\n ngOnInit() {\n const nativeElement: HTMLElement = this.el.nativeElement;\n const li = this.renderer.createElement('li');\n const name = this.renderer.createText(this.title.name);\n\n this.renderer.addClass(li, 'nav-title');\n\n if ( this.title.class ) {\n const classes = this.title.class;\n this.renderer.addClass(li, classes);\n }\n\n if ( this.title.wrapper ) {\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\n\n this.renderer.appendChild(wrapper, name);\n this.renderer.appendChild(li, wrapper);\n } else {\n this.renderer.appendChild(li, name);\n }\n this.renderer.appendChild(nativeElement, li);\n Replace(this.el);\n }\n}\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":["Injectable","Inject","DOCUMENT","Renderer2","Directive","Input","HostListener","NgModule","CommonModule","Component","ElementRef","router","BehaviorSubject","filter","NavigationEnd","Router","ActivatedRoute","RouterModule","HostBinding"],"mappings":";;;;;;;;;;;AAAA,QAAa,iBAAiB,GAAkB;QAC9C,cAAc;QACd,iBAAiB;QACjB,iB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EAAE,EAAE,CAAC,CAAC;gBAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aAClB;;oBA/BFI,cAAS,SAAC;wBACT,QAAQ,EAAE,uBAAuB;wBACjC,QAAQ,EAAE,EAAE;qBACb;;;;;wBAvSCC,eAAU;wBAMVP,cAAS;;;;4BAmSRE,UAAK;;QA2BR,kCAAC;KAhCD;;;;;;ACvSA;QAsBA;SAuCiC;;oBAvChCE,aAAQ,SAAC;wBACR,OAAO,EAAE;4BACPC,mBAAY;4BACZS,mBAAY;4BACZ,YAAY;yBACb;wBACD,OAAO,EAAE;4BACP,yBAAyB;4BACzB,uBAAuB;4BACvB,yBAAyB;4BACzB,4BAA4B;4BAC5B,mBAAmB;4BACnB,sBAAsB;4BACtB,8BAA8B;4BAC9B,0BAA0B;4BAC1B,0BAA0B;4BAC1B,2BAA2B;4BAC3B,oBAAoB;4BACpB,0BAA0B;4BAC1B,uBAAuB;4BACvB,YAAY;yBACb;wBACD,YAAY,EAAE;4BACZ,yBAAyB;4BACzB,uBAAuB;4BACvB,yBAAyB;4BACzB,4BAA4B;4BAC5B,4BAA4B;4BAC5B,mBAAmB;4BACnB,sBAAsB;4BACtB,8BAA8B;4BAC9B,0BAA0B;4BAC1B,0BAA0B;4BAC1B,2BAA2B;4BAC3B,oBAAoB;4BACpB,0BAA0B;4BAC1B,uBAAuB;yBACxB;qBACF;;QAC+B,uBAAC;KAvCjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} diff --git a/dist/@coreui/angular/bundles/coreui-angular.umd.min.js b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js index 0019cef0..0de6ffeb 100644 --- a/dist/@coreui/angular/bundles/coreui-angular.umd.min.js +++ b/dist/@coreui/angular/bundles/coreui-angular.umd.min.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs/index"),require("rxjs/operators"),require("@angular/common"),require("@angular/core"),require("@angular/router")):"function"==typeof define&&define.amd?define("@coreui/angular",["exports","rxjs/index","rxjs/operators","@angular/common","@angular/core","@angular/router"],t):t((e.coreui=e.coreui||{},e.coreui.angular={}),e.rxjs.index,e.rxjs.operators,e.ng.common,e.ng.core,e.ng.router)}(this,function(e,n,r,i,o,a){"use strict";var s=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],p=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],l=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);-1!==r.map(function(e){return document.querySelector("body").classList.contains(e)}).indexOf(!0)?r.map(function(e){return document.querySelector("body").classList.remove(e)}):document.querySelector("body").classList.add(e)},t=function(){function e(){}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){var t;e.preventDefault(),t=this.bp?"sidebar-"+this.bp+"-show":s[0],l(t,s)},e.decorators=[{type:o.Directive,args:[{selector:"[appSidebarToggler]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={breakpoint:[{type:o.Input,args:["appSidebarToggler"]}],toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),c=function(){function e(){}return e.prototype.toggleOpen=function(e){e.preventDefault(),document.querySelector("body").classList.toggle("sidebar-minimized")},e.decorators=[{type:o.Directive,args:[{selector:"[appSidebarMinimizer]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),d=function(){function e(){}return e.prototype.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)},e.prototype.toggleOpen=function(e){e.preventDefault(),document.querySelector("body").classList.toggle("sidebar-show")},e.decorators=[{type:o.Directive,args:[{selector:"[appMobileSidebarToggler]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),u=function(){function e(){}return e.prototype.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)},e.prototype.toggleClass=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(this.hasClass(e,t)){for(;0<=n.indexOf(" "+t+" ");)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}else e.className+=" "+t},e.prototype.toggleOpen=function(e){e.preventDefault(),this.hasClass(document.querySelector("body"),"sidebar-off-canvas")&&this.toggleClass(document.querySelector("body"),"sidebar-opened")},e.decorators=[{type:o.Directive,args:[{selector:"[appSidebarClose]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),g=function(){function e(){}return e.prototype.toggleOpen=function(e){e.preventDefault(),document.querySelector("body").classList.toggle("brand-minimized")},e.decorators=[{type:o.Directive,args:[{selector:"[appBrandMinimizer]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),f=function(){function e(){}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){var t;e.preventDefault(),t=this.bp?"aside-menu-"+this.bp+"-show":p[0],l(t,p)},e.decorators=[{type:o.Directive,args:[{selector:"[appAsideMenuToggler]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={breakpoint:[{type:o.Input,args:["appAsideMenuToggler"]}],toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),m=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule],exports:[f,g,d,t,c,u],declarations:[f,g,d,t,c,u]}]}],e}();function b(e){for(var t=e.nativeElement,n=t.parentElement;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}var y=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.displayBreakpoint(this.display)},e.prototype.ngOnDestroy=function(){document.body.classList.remove("aside-menu-fixed")},e.prototype.isFixed=function(e){this.fixed&&document.querySelector("body").classList.add("aside-menu-fixed")},e.prototype.isOffCanvas=function(e){this.offCanvas&&document.querySelector("body").classList.add("aside-menu-off-canvas")},e.prototype.displayBreakpoint=function(e){if(!1!==this.display){var t=void 0;t=this.display?"aside-menu-"+this.display+"-show":p[0],document.querySelector("body").classList.add(t)}},e.decorators=[{type:o.Component,args:[{selector:"app-aside",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e.propDecorators={display:[{type:o.Input}],fixed:[{type:o.Input}],offCanvas:[{type:o.Input}]},e}(),h=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,m],exports:[y,m],declarations:[y]}]}],e}(),v=function(){function e(e,t){var o=this;this.router=e,this.route=t,this._breadcrumbs=new n.BehaviorSubject(new Array),this.breadcrumbs=this._breadcrumbs.asObservable(),this.router.events.pipe(r.filter(function(e){return e instanceof a.NavigationEnd})).subscribe(function(e){var n=[],r=o.route.root,i="";do{var t=r.children;r=null,t.forEach(function(e){if("primary"===e.outlet){var t=e.snapshot;i+="/"+t.url.map(function(e){return e.path}).join("/"),n.push({label:e.snapshot.data,url:i}),r=e}})}while(r);return o._breadcrumbs.next(Object.assign([],n)),n})}return e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:a.Router},{type:a.ActivatedRoute}]},e}(),I=function(){function e(e,t){this.service=e,this.el=t}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){document.body.classList.remove("breadcrumb-fixed")},e.prototype.isFixed=function(e){this.fixed&&document.querySelector("body").classList.add("breadcrumb-fixed")},e.decorators=[{type:o.Component,args:[{selector:"app-breadcrumb",template:'\n \n \n \n '}]}],e.ctorParameters=function(){return[{type:v},{type:o.ElementRef}]},e.propDecorators={fixed:[{type:o.Input}]},e}(),x=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[v]}},t.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,a.RouterModule],exports:[I],declarations:[I]}]}],t}(),k=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed)},e.prototype.ngOnDestroy=function(){document.body.classList.remove("footer-fixed")},e.prototype.isFixed=function(e){this.fixed&&document.querySelector("body").classList.add("footer-fixed")},e.decorators=[{type:o.Component,args:[{selector:"app-footer",template:'\n
    \n \n
    \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e.propDecorators={fixed:[{type:o.Input}]},e}(),C=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule],exports:[k],declarations:[k]}]}],e}(),w=function(){function e(e){this.el=e,this.navbarBrandText={icon:"🅲",text:"🅲 CoreUI"},this.navbarBrandHref=""}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.navbarBrandImg=Boolean(this.navbarBrand||this.navbarBrandFull||this.navbarBrandMinimized)},e.prototype.ngOnDestroy=function(){document.body.classList.remove("header-fixed")},e.prototype.isFixed=function(e){this.fixed&&document.querySelector("body").classList.add("header-fixed")},e.prototype.imgSrc=function(e){return e.src?e.src:""},e.prototype.imgWidth=function(e){return e.width?e.width:"auto"},e.prototype.imgHeight=function(e){return e.height?e.height:"auto"},e.prototype.imgAlt=function(e){return e.alt?e.alt:""},e.prototype.breakpoint=function(e){return console.log(e),e||""},e.decorators=[{type:o.Component,args:[{selector:"app-header",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e.propDecorators={fixed:[{type:o.Input}],navbarBrand:[{type:o.Input}],navbarBrandFull:[{type:o.Input}],navbarBrandMinimized:[{type:o.Input}],navbarBrandText:[{type:o.Input}],navbarBrandHref:[{type:o.Input}],sidebarToggler:[{type:o.Input}],mobileSidebarToggler:[{type:o.Input}],asideMenuToggler:[{type:o.Input}],mobileAsideMenuToggler:[{type:o.Input}]},e}(),D=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,m],exports:[w,m],declarations:[w]}]}],e}(),O=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-footer",template:'\n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(),B=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-form",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(),L=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-header",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(),M=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-minimizer",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(),S=function(){function e(){}return e.prototype.ngOnInit=function(){this.displayBreakpoint(this.display),this.isCompact(this.compact),this.isFixed(this.fixed),this.isMinimized(this.minimized),this.isOffCanvas(this.offCanvas)},e.prototype.ngOnDestroy=function(){document.body.classList.remove("sidebar-fixed")},e.prototype.isCompact=function(e){this.compact&&document.querySelector("body").classList.add("sidebar-compact")},e.prototype.isFixed=function(e){this.fixed&&document.querySelector("body").classList.add("sidebar-fixed")},e.prototype.isMinimized=function(e){this.minimized&&document.querySelector("body").classList.add("sidebar-minimized")},e.prototype.isOffCanvas=function(e){this.offCanvas&&document.querySelector("body").classList.add("sidebar-off-canvas")},e.prototype.fixedPosition=function(e){console.warn("deprecated fixedPosition(), use isFixed() instead"),this.fixed&&document.querySelector("body").classList.add("sidebar-fixed")},e.prototype.displayBreakpoint=function(e){if(!1!==this.display){var t=void 0;t=this.display?"sidebar-"+this.display+"-show":s[0],document.querySelector("body").classList.add(t)}},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar",template:""}]}],e.ctorParameters=function(){return[]},e.propDecorators={compact:[{type:o.Input}],display:[{type:o.Input}],fixed:[{type:o.Input}],minimized:[{type:o.Input}],offCanvas:[{type:o.Input}],"true":[{type:o.HostBinding,args:["class.sidebar"]}]},e}(),A=function(){function e(e){this.el=e}return e.prototype.toggle=function(){this.el.nativeElement.classList.toggle("open")},e.decorators=[{type:o.Directive,args:[{selector:"[appNavDropdown]"}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(),T=function(){function e(e){this.dropdown=e}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.dropdown.toggle()},e.decorators=[{type:o.Directive,args:[{selector:"[appNavDropdownToggle]"}]}],e.ctorParameters=function(){return[{type:A}]},e.propDecorators={toggleOpen:[{type:o.HostListener,args:["click",["$event"]]}]},e}(),E=function(){function e(e,t){this.renderer=e,this.el=t}return e.prototype.ngOnInit=function(){var e=this.appLinkAttributes;for(var t in e)"style"===t&&"object"==typeof e[t]?this.setStyle(e[t]):"class"===t?this.addClass(e[t]):this.setAttrib(t,e[t])},e.prototype.setStyle=function(e){for(var t in e)this.renderer.setStyle(this.el.nativeElement,t,e[t])},e.prototype.addClass=function(e){var t=this;(Array.isArray(e)?e:e.split(" ")).forEach(function(e){t.renderer.addClass(t.el.nativeElement,e)})},e.prototype.setAttrib=function(e,t){document.createAttribute(e).value=t,this.renderer.setAttribute(this.el.nativeElement,e,t)},e.decorators=[{type:o.Directive,args:[{selector:"[appLinkAttributes]"}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e.propDecorators={appLinkAttributes:[{type:o.Input}]},e}(),P=function(){function e(){this.role="nav"}return e.prototype.isDivider=function(e){return!!e.divider},e.prototype.isTitle=function(e){return!!e.title},e.prototype.ngOnChanges=function(e){this.navItemsArray=JSON.parse(JSON.stringify(this.navItems))},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-nav",template:'\n '}]}],e.ctorParameters=function(){return[]},e.propDecorators={navItems:[{type:o.Input}],"true":[{type:o.HostBinding,args:["class.sidebar-nav"]}],role:[{type:o.HostBinding,args:["attr.role"]}]},e}(),q=function(){function e(e,t){this.router=e,this.el=t}return e.prototype.hasClass=function(){return!!this.item["class"]},e.prototype.isDropdown=function(){return!!this.item.children},e.prototype.thisUrl=function(){return this.item.url},e.prototype.isActive=function(){return this.router.isActive(this.thisUrl(),!1)},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-nav-item",template:"\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n "}]}],e.ctorParameters=function(){return[{type:a.Router},{type:o.ElementRef}]},e.propDecorators={item:[{type:o.Input}]},e}(),R=function(){function e(e,t){this.router=e,this.el=t}return e.prototype.getClasses=function(){var e=this.isDisabled(),t={"nav-link":!0,disabled:e,"btn-link":e};this.hasVariant()&&(t["nav-link-"+this.link.variant]=!0);return t},e.prototype.getLinkType=function(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":""},e.prototype.hasVariant=function(){return!!this.link.variant},e.prototype.isBadge=function(){return!!this.link.badge},e.prototype.isDisabled=function(){return!(!this.link.attributes||!this.link.attributes.disabled)},e.prototype.isExternalLink=function(){return"http"===this.link.url.substring(0,4)},e.prototype.isIcon=function(){return!!this.link.icon},e.prototype.hideMobile=function(){document.body.classList.contains("sidebar-show")&&document.body.classList.toggle("sidebar-show")},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-nav-link",template:'\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n '}]}],e.ctorParameters=function(){return[{type:a.Router},{type:o.ElementRef}]},e.propDecorators={link:[{type:o.Input}]},e}(),F=function(){function e(e,t){this.router=e,this.el=t}return e.prototype.isBadge=function(){return!!this.link.badge},e.prototype.isIcon=function(){return!!this.link.icon},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-nav-dropdown",template:'\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n ',styles:[".nav-dropdown-toggle { cursor: pointer; }"]}]}],e.ctorParameters=function(){return[{type:a.Router},{type:o.ElementRef}]},e.propDecorators={link:[{type:o.Input}]},e}(),z=function(){function e(e,t){this.el=e,this.renderer=t}return e.prototype.ngOnInit=function(){var e=this.el.nativeElement,t=this.renderer.createElement("li"),n=this.renderer.createText(this.title.name);if(this.renderer.addClass(t,"nav-title"),this.title["class"]){var r=this.title["class"];this.renderer.addClass(t,r)}if(this.title.wrapper){var i=this.renderer.createElement(this.title.wrapper.element);this.renderer.appendChild(i,n),this.renderer.appendChild(t,i)}else this.renderer.appendChild(t,n);this.renderer.appendChild(e,t),b(this.el)},e.decorators=[{type:o.Component,args:[{selector:"app-sidebar-nav-title",template:""}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2}]},e.propDecorators={title:[{type:o.Input}]},e}(),H=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,a.RouterModule,m],exports:[O,B,L,M,S,P,F,q,R,z,A,T,E,m],declarations:[O,B,L,M,M,S,P,F,q,R,z,A,T,E]}]}],e}();e.AppAsideModule=h,e.AppBreadcrumbModule=x,e.AppFooterModule=C,e.AppHeaderModule=D,e.AppSidebarModule=H,e.ɵh=y,e.ɵi=I,e.ɵj=v,e.ɵk=k,e.ɵl=w,e.ɵg=f,e.ɵf=g,e.ɵd=d,e.ɵc=c,e.ɵe=u,e.ɵb=t,e.ɵa=m,e.ɵm=O,e.ɵn=B,e.ɵo=L,e.ɵp=M,e.ɵu=P,e.ɵx=F,e.ɵv=q,e.ɵw=R,e.ɵy=z,e.ɵt=E,e.ɵr=A,e.ɵs=T,e.ɵq=S,Object.defineProperty(e,"__esModule",{value:!0})}); +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs/index"),require("rxjs/operators"),require("@angular/core"),require("@angular/common"),require("@angular/router")):"function"==typeof define&&define.amd?define("@coreui/angular",["exports","rxjs/index","rxjs/operators","@angular/core","@angular/common","@angular/router"],t):t((e.coreui=e.coreui||{},e.coreui.angular={}),e.rxjs.index,e.rxjs.operators,e.ng.core,e.ng.common,e.ng.router)}(this,function(e,n,r,i,o,a){"use strict";var s=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],d=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],p=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);-1!==r.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},t=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.removeClasses=function(e){var t=this;return-1!==e.map(function(e){return t.document.body.classList.contains(e)}).indexOf(!0)},e.prototype.toggleClasses=function(e,t){var n=this,r=t.indexOf(e),i=t.slice(0,r+1);this.removeClasses(i)?i.map(function(e){return n.renderer.removeClass(n.document.body,e)}):this.renderer.addClass(this.document.body,e)},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e}(),c=function(){function e(){}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){var t;e.preventDefault(),t=this.bp?"sidebar-"+this.bp+"-show":s[0],p(t,s)},e.decorators=[{type:i.Directive,args:[{selector:"[appSidebarToggler]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={breakpoint:[{type:i.Input,args:["appSidebarToggler"]}],toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),l=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-minimized")?this.renderer.removeClass(t,"sidebar-minimized"):this.renderer.addClass(t,"sidebar-minimized")},e.decorators=[{type:i.Directive,args:[{selector:"[appSidebarMinimizer]"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e.propDecorators={toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),u=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show")},e.decorators=[{type:i.Directive,args:[{selector:"[appMobileSidebarToggler]"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e.propDecorators={toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),g=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)},e.prototype.toggleClass=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(this.hasClass(e,t)){for(;0<=n.indexOf(" "+t+" ");)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}else e.className+=" "+t},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;this.hasClass(t,"sidebar-off-canvas")&&(t.classList.contains("sidebar-show")?this.renderer.removeClass(t,"sidebar-show"):this.renderer.addClass(t,"sidebar-show"))},e.decorators=[{type:i.Directive,args:[{selector:"[appSidebarClose]"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e.propDecorators={toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),f=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.document.body;t.classList.contains("brand-minimized")?this.renderer.removeClass(t,"brand-minimized"):this.renderer.addClass(t,"brand-minimized")},e.decorators=[{type:i.Directive,args:[{selector:"[appBrandMinimizer]"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e.propDecorators={toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),m=function(){function e(e){this.classToggler=e}return e.prototype.ngOnInit=function(){this.bp=this.breakpoint},e.prototype.toggleOpen=function(e){e.preventDefault();var t=this.bp?"aside-menu-"+this.bp+"-show":d[0];this.classToggler.toggleClasses(t,d)},e.decorators=[{type:i.Directive,args:[{selector:"[appAsideMenuToggler]",providers:[t]}]}],e.ctorParameters=function(){return[{type:t}]},e.propDecorators={breakpoint:[{type:i.Input,args:["appAsideMenuToggler"]}],toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),h=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule],exports:[m,f,u,c,l,g],declarations:[m,f,u,c,l,g],providers:[t]}]}],e}();function b(e){for(var t=e.nativeElement,n=t.parentElement;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}var y=function(){function e(e,t,n){this.document=e,this.renderer=t,this.el=n}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.displayBreakpoint(this.display)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,"aside-menu-fixed")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"aside-menu-fixed")},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"aside-menu-off-canvas")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=this.display?"aside-menu-"+this.display+"-show":d[0];this.renderer.addClass(this.document.body,t)}},e.decorators=[{type:i.Component,args:[{selector:"app-aside",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:i.ElementRef}]},e.propDecorators={display:[{type:i.Input}],fixed:[{type:i.Input}],offCanvas:[{type:i.Input}]},e}(),v=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule,h],exports:[y,h],declarations:[y]}]}],e}(),C=function(){function e(e,t){var o=this;this.router=e,this.route=t,this._breadcrumbs=new n.BehaviorSubject(new Array),this.breadcrumbs=this._breadcrumbs.asObservable(),this.router.events.pipe(r.filter(function(e){return e instanceof a.NavigationEnd})).subscribe(function(e){var n=[],r=o.route.root,i="";do{var t=r.children;r=null,t.forEach(function(e){if("primary"===e.outlet){var t=e.snapshot;i+="/"+t.url.map(function(e){return e.path}).join("/"),n.push({label:e.snapshot.data,url:i}),r=e}})}while(r);return o._breadcrumbs.next(Object.assign([],n)),n})}return e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:a.Router},{type:a.ActivatedRoute}]},e}(),I=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.service=n,this.el=r}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,"breadcrumb-fixed")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"breadcrumb-fixed")},e.decorators=[{type:i.Component,args:[{selector:"app-breadcrumb",template:'\n \n \n \n '}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:C},{type:i.ElementRef}]},e.propDecorators={fixed:[{type:i.Input}]},e}(),x=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[C]}},t.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule,a.RouterModule],exports:[I],declarations:[I]}]}],t}(),k=function(){function e(e,t,n){this.document=e,this.renderer=t,this.el=n}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,"footer-fixed")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"footer-fixed")},e.decorators=[{type:i.Component,args:[{selector:"app-footer",template:'\n \n
    \n \n
    \n '}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:i.ElementRef}]},e.propDecorators={fixed:[{type:i.Input}]},e}(),O=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule],exports:[k],declarations:[k]}]}],e}(),D=function(){function e(e,t,n){this.document=e,this.renderer=t,this.el=n,this.navbarBrandText={icon:"🅲",text:"🅲 CoreUI"},this.navbarBrandHref=""}return e.prototype.ngOnInit=function(){b(this.el),this.isFixed(this.fixed),this.navbarBrandImg=Boolean(this.navbarBrand||this.navbarBrandFull||this.navbarBrandMinimized)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,"header-fixed")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"header-fixed")},e.prototype.imgSrc=function(e){return e.src?e.src:""},e.prototype.imgWidth=function(e){return e.width?e.width:"auto"},e.prototype.imgHeight=function(e){return e.height?e.height:"auto"},e.prototype.imgAlt=function(e){return e.alt?e.alt:""},e.prototype.breakpoint=function(e){return console.log(e),e||""},e.decorators=[{type:i.Component,args:[{selector:"app-header",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:i.ElementRef}]},e.propDecorators={fixed:[{type:i.Input}],navbarBrand:[{type:i.Input}],navbarBrandFull:[{type:i.Input}],navbarBrandMinimized:[{type:i.Input}],navbarBrandText:[{type:i.Input}],navbarBrandHref:[{type:i.Input}],sidebarToggler:[{type:i.Input}],mobileSidebarToggler:[{type:i.Input}],asideMenuToggler:[{type:i.Input}],mobileAsideMenuToggler:[{type:i.Input}]},e}(),w=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule,h],exports:[D,h],declarations:[D]}]}],e}(),M=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-footer",template:'\n '}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e}(),B=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-form",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e}(),T=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-header",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e}(),E=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-minimizer",template:'\n \n '}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e}(),R=function(){function e(e,t){this.document=e,this.renderer=t}return e.prototype.ngOnInit=function(){this.displayBreakpoint(this.display),this.isCompact(this.compact),this.isFixed(this.fixed),this.isMinimized(this.minimized),this.isOffCanvas(this.offCanvas)},e.prototype.ngOnDestroy=function(){this.renderer.removeClass(this.document.body,"sidebar-fixed")},e.prototype.isCompact=function(e){void 0===e&&(e=this.compact),e&&this.renderer.addClass(this.document.body,"sidebar-compact")},e.prototype.isFixed=function(e){void 0===e&&(e=this.fixed),e&&this.renderer.addClass(this.document.body,"sidebar-fixed")},e.prototype.isMinimized=function(e){void 0===e&&(e=this.minimized),e&&this.renderer.addClass(this.document.body,"sidebar-minimized")},e.prototype.isOffCanvas=function(e){void 0===e&&(e=this.offCanvas),e&&this.renderer.addClass(this.document.body,"sidebar-off-canvas")},e.prototype.fixedPosition=function(e){void 0===e&&(e=this.fixed),console.warn("deprecated fixedPosition(), use isFixed() instead"),e&&this.renderer.addClass(this.document.body,"sidebar-fixed")},e.prototype.displayBreakpoint=function(e){if(void 0===e&&(e=this.display),!1!==e){var t=e?"sidebar-"+e+"-show":s[0];this.renderer.addClass(this.document.body,t)}},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar",template:""}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2}]},e.propDecorators={compact:[{type:i.Input}],display:[{type:i.Input}],fixed:[{type:i.Input}],minimized:[{type:i.Input}],offCanvas:[{type:i.Input}],"true":[{type:i.HostBinding,args:["class.sidebar"]}]},e}(),A=function(){function e(e){this.el=e}return e.prototype.toggle=function(){this.el.nativeElement.classList.toggle("open")},e.decorators=[{type:i.Directive,args:[{selector:"[appNavDropdown]"}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e}(),L=function(){function e(e){this.dropdown=e}return e.prototype.toggleOpen=function(e){e.preventDefault(),this.dropdown.toggle()},e.decorators=[{type:i.Directive,args:[{selector:"[appNavDropdownToggle]"}]}],e.ctorParameters=function(){return[{type:A}]},e.propDecorators={toggleOpen:[{type:i.HostListener,args:["click",["$event"]]}]},e}(),N=function(){function e(e,t,n){this.document=e,this.renderer=t,this.el=n}return e.prototype.ngOnInit=function(){var e=this.appLinkAttributes;for(var t in e)"style"===t&&"object"==typeof e[t]?this.setStyle(e[t]):"class"===t?this.addClass(e[t]):this.setAttrib(t,e[t])},e.prototype.setStyle=function(e){for(var t in e)this.renderer.setStyle(this.el.nativeElement,t,e[t])},e.prototype.addClass=function(e){var t=this;(Array.isArray(e)?e:e.split(" ")).forEach(function(e){t.renderer.addClass(t.el.nativeElement,e)})},e.prototype.setAttrib=function(e,t){this.document.createAttribute(e).value=t,this.renderer.setAttribute(this.el.nativeElement,e,t)},e.decorators=[{type:i.Directive,args:[{selector:"[appLinkAttributes]"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:i.ElementRef}]},e.propDecorators={appLinkAttributes:[{type:i.Input}]},e}(),z=function(){function e(){this.role="nav"}return e.prototype.isDivider=function(e){return!!e.divider},e.prototype.isTitle=function(e){return!!e.title},e.prototype.ngOnChanges=function(e){this.navItemsArray=JSON.parse(JSON.stringify(this.navItems))},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-nav",template:'\n '}]}],e.ctorParameters=function(){return[]},e.propDecorators={navItems:[{type:i.Input}],"true":[{type:i.HostBinding,args:["class.sidebar-nav"]}],role:[{type:i.HostBinding,args:["attr.role"]}]},e}(),P=function(){function e(e,t){this.router=e,this.el=t}return e.prototype.hasClass=function(){return!!this.item["class"]},e.prototype.isDropdown=function(){return!!this.item.children},e.prototype.thisUrl=function(){return this.item.url},e.prototype.isActive=function(){return this.router.isActive(this.thisUrl(),!1)},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-nav-item",template:"\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n "}]}],e.ctorParameters=function(){return[{type:a.Router},{type:i.ElementRef}]},e.propDecorators={item:[{type:i.Input}]},e}(),j=function(){function e(e,t,n,r){this.document=e,this.renderer=t,this.router=n,this.el=r}return e.prototype.getClasses=function(){var e=this.isDisabled(),t={"nav-link":!0,disabled:e,"btn-link":e};this.hasVariant()&&(t["nav-link-"+this.link.variant]=!0);return t},e.prototype.getLinkType=function(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":""},e.prototype.hasVariant=function(){return!!this.link.variant},e.prototype.isBadge=function(){return!!this.link.badge},e.prototype.isDisabled=function(){return!(!this.link.attributes||!this.link.attributes.disabled)},e.prototype.isExternalLink=function(){return"http"===this.link.url.substring(0,4)},e.prototype.isIcon=function(){return!!this.link.icon},e.prototype.hideMobile=function(){this.document.body.classList.contains("sidebar-show")&&this.renderer.removeClass(this.document.body,"sidebar-show")},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-nav-link",template:'\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n '}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:i.Inject,args:[o.DOCUMENT]}]},{type:i.Renderer2},{type:a.Router},{type:i.ElementRef}]},e.propDecorators={link:[{type:i.Input}]},e}(),F=function(){function e(e,t){this.router=e,this.el=t}return e.prototype.isBadge=function(){return!!this.link.badge},e.prototype.isIcon=function(){return!!this.link.icon},e.prototype.ngOnInit=function(){b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-nav-dropdown",template:'\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n ',styles:[".nav-dropdown-toggle { cursor: pointer; }"]}]}],e.ctorParameters=function(){return[{type:a.Router},{type:i.ElementRef}]},e.propDecorators={link:[{type:i.Input}]},e}(),S=function(){function e(e,t){this.el=e,this.renderer=t}return e.prototype.ngOnInit=function(){var e=this.el.nativeElement,t=this.renderer.createElement("li"),n=this.renderer.createText(this.title.name);if(this.renderer.addClass(t,"nav-title"),this.title["class"]){var r=this.title["class"];this.renderer.addClass(t,r)}if(this.title.wrapper){var i=this.renderer.createElement(this.title.wrapper.element);this.renderer.appendChild(i,n),this.renderer.appendChild(t,i)}else this.renderer.appendChild(t,n);this.renderer.appendChild(e,t),b(this.el)},e.decorators=[{type:i.Component,args:[{selector:"app-sidebar-nav-title",template:""}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2}]},e.propDecorators={title:[{type:i.Input}]},e}(),H=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[o.CommonModule,a.RouterModule,h],exports:[M,B,T,E,R,z,F,P,j,S,A,L,N,h],declarations:[M,B,T,E,E,R,z,F,P,j,S,A,L,N]}]}],e}();e.AppAsideModule=v,e.AppBreadcrumbModule=x,e.AppFooterModule=O,e.AppHeaderModule=w,e.AppSidebarModule=H,e.ɵi=y,e.ɵj=I,e.ɵk=C,e.ɵl=k,e.ɵm=D,e.ɵg=m,e.ɵf=f,e.ɵd=u,e.ɵc=l,e.ɵe=g,e.ɵb=c,e.ɵa=h,e.ɵh=t,e.ɵn=M,e.ɵo=B,e.ɵp=T,e.ɵq=E,e.ɵv=z,e.ɵy=F,e.ɵw=P,e.ɵx=j,e.ɵz=S,e.ɵu=N,e.ɵs=A,e.ɵt=L,e.ɵr=R,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=coreui-angular.umd.min.js.map \ 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 ea6632ac..f71905dd 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":["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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts"],"names":["sidebarCssClasses","asideMenuCssClasses","ToggleClasses","Toggle","ClassNames","Level","indexOf","NewClassNames","slice","map","Class","document","querySelector","classList","contains","remove","add","SidebarToggleDirective","prototype","ngOnInit","this","bp","breakpoint","toggleOpen","$event","cssClass","preventDefault","Directive","args","selector","Input","HostListener","SidebarMinimizeDirective","toggle","MobileSidebarToggleDirective","hasClass","target","elementClassName","RegExp","test","className","SidebarOffCanvasCloseDirective","toggleClass","elem","newClass","replace","BrandMinimizeDirective","AsideToggleDirective","LayoutModule","NgModule","imports","CommonModule","exports","declarations","Replace","el","nativeElement","parentElement","firstChild","insertBefore","removeChild","AppAsideComponent","isFixed","fixed","isOffCanvas","offCanvas","displayBreakpoint","display","ngOnDestroy","body","Component","template","ElementRef","AppAsideModule","AppBreadcrumbService","router","route","_this","_breadcrumbs","BehaviorSubject","Array","breadcrumbs","asObservable","events","pipe","filter","event","NavigationEnd","subscribe","currentRoute","root","url","childrenRoutes","children","forEach","outlet","routeSnapshot","snapshot","segment","path","join","push","label","data","next","Object","assign","Injectable","Router","ActivatedRoute","AppBreadcrumbComponent","service","AppBreadcrumbModule","forRoot","config","ngModule","providers","RouterModule","AppFooterComponent","AppFooterModule","AppHeaderComponent","navbarBrandText","icon","text","navbarBrandHref","navbarBrandImg","Boolean","navbarBrand","navbarBrandFull","navbarBrandMinimized","imgSrc","brand","src","imgWidth","width","imgHeight","height","imgAlt","alt","console","log","AppHeaderModule","AppSidebarFooterComponent","AppSidebarFormComponent","AppSidebarHeaderComponent","AppSidebarMinimizerComponent","AppSidebarComponent","isCompact","compact","isMinimized","minimized","fixedPosition","warn","HostBinding","NavDropdownDirective","NavDropdownToggleDirective","dropdown","LinkAttributesDirective","renderer","attribs","appLinkAttributes","attr","setStyle","addClass","setAttrib","styles","style","classes","isArray","split","element","key","value","createAttribute","setAttribute","Renderer2","AppSidebarNavComponent","role","isDivider","item","divider","isTitle","title","ngOnChanges","changes","navItemsArray","JSON","parse","stringify","navItems","AppSidebarNavItemComponent","class","isDropdown","thisUrl","isActive","AppSidebarNavLinkComponent","getClasses","disabled","isDisabled","nav-link","btn-link","hasVariant","link","variant","getLinkType","isExternalLink","isBadge","badge","attributes","substring","isIcon","hideMobile","AppSidebarNavDropdownComponent","AppSidebarNavTitleComponent","li","createElement","name","createText","wrapper","appendChild","AppSidebarModule"],"mappings":"sgBAAA,IAAaA,EAAmC,CAC9C,eACA,kBACA,kBACA,kBACA,mBAGWC,EAAqC,CAChD,kBACA,qBACA,qBACA,qBACA,sBCRWC,EAAgB,SAACC,EAAQC,OAC9BC,EAAQD,EAAWE,QAAQH,GAC3BI,EAAgBH,EAAWI,MAAM,EAAGH,EAAQ,IALX,IAOrBE,EARiBE,IAAI,SAACC,GAAU,OAAAC,SAASC,cAAc,QAAQC,UAAUC,SAASJ,KAChFJ,SAAQ,GAQ1BC,EAAcE,IAAI,SAACC,GAAU,OAAAC,SAASC,cAAc,QAAQC,UAAUE,OAAOL,KAE7EC,SAASC,cAAc,QAAQC,UAAUG,IAAIb,ICLjDc,EAAA,WAME,SAAAA,KAWF,OAVEA,EAAAC,UAAAC,SAAA,WACEC,KAAKC,GAAKD,KAAKE,YAGjBL,EAAAC,UAAAK,WADA,SACWC,OAELC,EADJD,EAAOE,iBAEGD,EAAVL,KAAKC,GAAgB,WAAWD,KAAKC,GAAE,QAAqBrB,EAAkB,GAC9EE,EAAcuB,EAAUzB,wBAf3B2B,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,oGAGTC,EAAAA,MAAKF,KAAA,CAAC,yCAMNG,EAAAA,aAAYH,KAAA,CAAC,QAAS,CAAC,cAO1BX,EAjBA,gBAuBE,SAAAe,KAOF,OAJEA,EAAAd,UAAAK,WADA,SACWC,GACTA,EAAO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ACAE,EACA7G,GAEFK,aAAc,CACZyF,EACAC,EACAC,EACAC,EACAA,EACAC,EACA8B,EACAoC,EACAtB,EACAK,EACAkB,EACA3D,EACAC,EACAE,OAG4B+D,EA7DhC","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","const RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.querySelector('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.querySelector('body').classList.remove(Class));\r\n } else {\r\n document.querySelector('body').classList.add(Toggle);\r\n }\r\n};\r\n","import { Directive, HostListener, Input, ElementRef, OnInit } from '@angular/core';\r\nimport { sidebarCssClasses, asideMenuCssClasses } from './../classes';\r\nimport { ToggleClasses } 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})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\r\n 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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n // Toggle element class\r\n private toggleClass(elem: any, elementClassName: string) {\r\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\r\n if (this.hasClass(elem, elementClassName)) {\r\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\r\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\r\n }\r\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\r\n } else {\r\n elem.className += ' ' + elementClassName;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) {\r\n this.toggleClass(document.querySelector('body'), 'sidebar-opened');\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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0];\r\n ToggleClasses(cssClass, asideMenuCssClasses);\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} from './layout.directive';\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 ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { asideMenuCssClasses, Replace } from './../shared/index';\r\n\r\n@Component({\r\n selector: 'app-aside',\r\n template: `\r\n \r\n `\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 constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\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 document.body.classList.remove('aside-menu-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('aside-menu-fixed'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('aside-menu-off-canvas'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0];\r\n document.querySelector('body').classList.add(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, Injector } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs/index';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private _breadcrumbs: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this._breadcrumbs = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this._breadcrumbs.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 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: url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\n\r\n@Component({\r\n selector: 'app-breadcrumb',\r\n template: `\r\n \r\n
  • \r\n {{breadcrumb.label.title}}\r\n {{breadcrumb.label.title}}\r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n public breadcrumbs;\r\n\r\n constructor(public service: AppBreadcrumbService, public el: ElementRef) { }\r\n\r\n public ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('breadcrumb-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('breadcrumb-fixed'); }\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('footer-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('footer-fixed'); }\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-header',\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n `\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: any = '';\r\n\r\n @Input() sidebarToggler: any;\r\n @Input() mobileSidebarToggler: any;\r\n\r\n @Input() asideMenuToggler: any;\r\n @Input() mobileAsideMenuToggler: any;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('header-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('header-fixed'); }\r\n }\r\n\r\n imgSrc(brand: any): void {\r\n return brand.src ? brand.src : '';\r\n }\r\n\r\n imgWidth(brand: any): void {\r\n return brand.width ? brand.width : 'auto';\r\n }\r\n\r\n imgHeight(brand: any): void {\r\n return brand.height ? brand.height : 'auto';\r\n }\r\n\r\n imgAlt(brand: any): void {\r\n return brand.alt ? brand.alt : '';\r\n }\r\n\r\n breakpoint(breakpoint: any): void {\r\n console.log(breakpoint);\r\n return breakpoint ? breakpoint : '';\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 { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer',\r\n template: `\r\n
    \r\n \r\n
    `\r\n})\r\nexport class AppSidebarFooterComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarFormComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarHeaderComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer',\r\n template: `\r\n \r\n `\r\n})\r\nexport class AppSidebarMinimizerComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, Input, HostBinding, OnInit, OnDestroy } from '@angular/core';\r\nimport { sidebarCssClasses } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() minimized: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @HostBinding('class.sidebar') true;\r\n\r\n constructor() {}\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.isMinimized(this.minimized);\r\n this.isOffCanvas(this.offCanvas);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('sidebar-fixed');\r\n }\r\n\r\n isCompact(compact: boolean): void {\r\n if (this.compact) { document.querySelector('body').classList.add('sidebar-compact'); }\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n isMinimized(minimized: boolean): void {\r\n if (this.minimized) { document.querySelector('body').classList.add('sidebar-minimized'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('sidebar-off-canvas'); }\r\n }\r\n\r\n fixedPosition(fixed: boolean): void {\r\n console.warn('deprecated fixedPosition(), use isFixed() instead');\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0];\r\n document.querySelector('body').classList.add(cssClass);\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Renderer2,\r\n SimpleChanges\r\n} from '@angular/core';\r\nimport { Replace } from '../shared';\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\r\n@Directive({\r\n selector: '[appLinkAttributes]'\r\n})\r\nexport class LinkAttributesDirective implements OnInit {\r\n @Input() appLinkAttributes: {[key: string]: string };\r\n constructor(private renderer: Renderer2, private el: ElementRef) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appLinkAttributes;\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.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 const newAttr = document.createAttribute(key);\r\n newAttr.value = value;\r\n this.renderer.setAttribute(this.el.nativeElement, key, value );\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav',\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\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: Array;\r\n\r\n @HostBinding('class.sidebar-nav') true;\r\n @HostBinding('attr.role') role = 'nav';\r\n\r\n public navItemsArray: Array;\r\n\r\n public isDivider(item) {\r\n return item.divider ? true : false;\r\n }\r\n\r\n public isTitle(item) {\r\n return item.title ? true : false;\r\n }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\r\n }\r\n\r\n constructor() { }\r\n}\r\n\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-item',\r\n template: `\r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppSidebarNavItemComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n public hasClass() {\r\n return this.item.class ? true : false;\r\n }\r\n\r\n public isDropdown() {\r\n return this.item.children ? true : false;\r\n }\r\n\r\n public thisUrl() {\r\n return this.item.url;\r\n }\r\n\r\n public isActive() {\r\n return this.router.isActive(this.thisUrl(), false);\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link',\r\n template: `\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public getClasses() {\r\n const disabled = this.isDisabled();\r\n const classes = {\r\n 'nav-link': true,\r\n 'disabled': disabled,\r\n 'btn-link': disabled\r\n };\r\n if (this.hasVariant()) {\r\n const variant = `nav-link-${this.link.variant}`;\r\n classes[variant] = true;\r\n }\r\n return classes;\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\r\n }\r\n\r\n public hasVariant() {\r\n return this.link.variant ? true : false;\r\n }\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isDisabled() {\r\n return this.link.attributes && this.link.attributes.disabled ? true : false;\r\n }\r\n\r\n public isExternalLink() {\r\n return this.link.url.substring(0, 4) === 'http' ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n public hideMobile() {\r\n if (document.body.classList.contains('sidebar-show')) {\r\n document.body.classList.toggle('sidebar-show');\r\n }\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n
      \r\n \r\n \r\n \r\n
    \r\n `,\r\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\r\n})\r\nexport class AppSidebarNavDropdownComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title',\r\n template: ''\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() title: any;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const li = this.renderer.createElement('li');\r\n const name = this.renderer.createText(this.title.name);\r\n\r\n this.renderer.addClass(li, 'nav-title');\r\n\r\n if ( this.title.class ) {\r\n const classes = this.title.class;\r\n this.renderer.addClass(li, classes);\r\n }\r\n\r\n if ( this.title.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\r\n\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(li, wrapper);\r\n } else {\r\n this.renderer.appendChild(li, name);\r\n }\r\n this.renderer.appendChild(nativeElement, li);\r\n Replace(this.el);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"]} \ No newline at end of file +{"version":3,"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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.ts"],"names":["sidebarCssClasses","asideMenuCssClasses","ToggleClasses","Toggle","ClassNames","Level","indexOf","NewClassNames","slice","map","Class","document","body","classList","contains","remove","add","ClassToggler","renderer","this","prototype","removeClasses","_this","toggleClasses","removeClass","addClass","Injectable","Inject","args","DOCUMENT","Renderer2","SidebarToggleDirective","ngOnInit","bp","breakpoint","toggleOpen","$event","cssClass","preventDefault","Directive","selector","Input","HostListener","SidebarMinimizeDirective","MobileSidebarToggleDirective","hasClass","target","elementClassName","RegExp","test","className","SidebarOffCanvasCloseDirective","toggleClass","elem","newClass","replace","BrandMinimizeDirective","AsideToggleDirective","classToggler","providers","LayoutModule","NgModule","imports","CommonModule","exports","declarations","Replace","el","nativeElement","parentElement","firstChild","insertBefore","removeChild","AppAsideComponent","isFixed","fixed","isOffCanvas","offCanvas","displayBreakpoint","display","ngOnDestroy","Component","template","ElementRef","AppAsideModule","AppBreadcrumbService","router","route","_breadcrumbs","BehaviorSubject","Array","breadcrumbs","asObservable","events","pipe","filter","event","NavigationEnd","subscribe","currentRoute","root","url","childrenRoutes","children","forEach","outlet","routeSnapshot","snapshot","segment","path","join","push","label","data","next","Object","assign","Router","ActivatedRoute","AppBreadcrumbComponent","service","AppBreadcrumbModule","forRoot","config","ngModule","RouterModule","AppFooterComponent","AppFooterModule","AppHeaderComponent","navbarBrandText","icon","text","navbarBrandHref","navbarBrandImg","Boolean","navbarBrand","navbarBrandFull","navbarBrandMinimized","imgSrc","brand","src","imgWidth","width","imgHeight","height","imgAlt","alt","console","log","AppHeaderModule","AppSidebarFooterComponent","AppSidebarFormComponent","AppSidebarHeaderComponent","AppSidebarMinimizerComponent","AppSidebarComponent","isCompact","compact","isMinimized","minimized","fixedPosition","warn","HostBinding","NavDropdownDirective","toggle","NavDropdownToggleDirective","dropdown","LinkAttributesDirective","attribs","appLinkAttributes","attr","setStyle","setAttrib","styles","style","classes","isArray","split","element","key","value","createAttribute","setAttribute","AppSidebarNavComponent","role","isDivider","item","divider","isTitle","title","ngOnChanges","changes","navItemsArray","JSON","parse","stringify","navItems","AppSidebarNavItemComponent","class","isDropdown","thisUrl","isActive","AppSidebarNavLinkComponent","getClasses","disabled","isDisabled","nav-link","btn-link","hasVariant","link","variant","getLinkType","isExternalLink","isBadge","badge","attributes","substring","isIcon","hideMobile","AppSidebarNavDropdownComponent","AppSidebarNavTitleComponent","li","createElement","name","createText","wrapper","appendChild","AppSidebarModule"],"mappings":"sgBAAA,IAAaA,EAAmC,CAC9C,eACA,kBACA,kBACA,kBACA,mBAGWC,EAAqC,CAChD,kBACA,qBACA,qBACA,qBACA,sBCLWC,EAAgB,SAACC,EAAQC,OAC9BC,EAAQD,EAAWE,QAAQH,GAC3BI,EAAgBH,EAAWI,MAAM,EAAGH,EAAQ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BC,KAAAgD,GAAAA,EAAwBhD,KAAAD,SAAAA,EAyB9C,OAvBEyM,EAAAvM,UAAAY,SAAA,eACQoC,EAA6BjD,KAAKgD,GAAGC,cACrCwJ,EAAKzM,KAAKD,SAAS2M,cAAc,MACjCC,EAAO3M,KAAKD,SAAS6M,WAAW5M,KAAKyK,MAAMkC,MAIjD,GAFA3M,KAAKD,SAASO,SAASmM,EAAI,aAEtBzM,KAAKyK,MAAMS,SAAQ,KAChBvB,EAAU3J,KAAKyK,MAAMS,SAC3BlL,KAAKD,SAASO,SAASmM,EAAI9C,GAG7B,GAAK3J,KAAKyK,MAAMoC,QAAU,KAClBA,EAAU7M,KAAKD,SAAS2M,cAAc1M,KAAKyK,MAAMoC,QAAQ/C,SAE/D9J,KAAKD,SAAS+M,YAAYD,EAASF,GACnC3M,KAAKD,SAAS+M,YAAYL,EAAII,QAE9B7M,KAAKD,SAAS+M,YAAYL,EAAIE,GAEhC3M,KAAKD,SAAS+M,YAAY7J,EAAewJ,GACzC1J,EAAQ/C,KAAKgD,yBA9BhBc,EAAAA,UAASrD,KAAA,CAAC,CACTY,SAAU,wBACV0C,SAAU,gDAtSVC,EAAAA,kBAMArD,EAAAA,4CAmSCW,EAAAA,SA2BHkL,KCvUAO,EAAA,WAsBA,SAAAA,KAuCgC,2BAvC/BrK,EAAAA,SAAQjC,KAAA,CAAC,CACRkC,QAAS,CACPC,EAAAA,aACA8D,EAAAA,aACAjE,GAEFI,QAAS,CACPsF,EACAC,EACAC,EACAC,EACAC,EACA4B,EACAoC,EACAtB,EACAK,EACAkB,EACAzD,EACAE,EACAE,EACA1G,GAEFK,aAAc,CACZqF,EACAC,EACAC,EACAC,EACAA,EACAC,EACA4B,EACAoC,EACAtB,EACAK,EACAkB,EACAzD,EACAE,EACAE,OAG4B4D,EA7DhC","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';\nimport {DOCUMENT} from '@angular/common';\n\nconst RemoveClasses = (NewClassNames) => {\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n};\n\nexport const ToggleClasses = (Toggle, ClassNames) => {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (RemoveClasses(NewClassNames)) {\n NewClassNames.map((Class) => document.body.classList.remove(Class));\n } else {\n document.body.classList.add(Toggle);\n }\n};\n\n@Injectable()\nexport class ClassToggler {\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) {}\n\n removeClasses(NewClassNames) {\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n }\n\n toggleClasses(Toggle, ClassNames) {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (this.removeClasses(NewClassNames)) {\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\n } else {\n this.renderer.addClass(this.document.body, Toggle);\n }\n }\n}\n","import {Directive, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\nimport { ClassToggler, ToggleClasses } from '../toggle-classes';\n\n/**\n* Allows the sidebar to be toggled via click.\n*/\n@Directive({\n selector: '[appSidebarToggler]'\n})\nexport class SidebarToggleDirective implements OnInit {\n @Input('appSidebarToggler') breakpoint: string;\n public bp;\n constructor() {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n let cssClass;\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\n ToggleClasses(cssClass, sidebarCssClasses);\n }\n}\n\n@Directive({\n selector: '[appSidebarMinimizer]'\n})\nexport class SidebarMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-minimized') ?\n this.renderer.removeClass(body, 'sidebar-minimized') :\n this.renderer.addClass(body, 'sidebar-minimized');\n // document.body.classList.toggle('sidebar-minimized');\n }\n}\n\n@Directive({\n selector: '[appMobileSidebarToggler]'\n})\nexport class MobileSidebarToggleDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // document.body.classList.toggle('sidebar-show');\n }\n}\n\n/**\n* Allows the off-canvas sidebar to be closed via click.\n*/\n@Directive({\n selector: '[appSidebarClose]'\n})\nexport class SidebarOffCanvasCloseDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n // Toggle element class\n private toggleClass(elem: any, elementClassName: string) {\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\n if (this.hasClass(elem, elementClassName)) {\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\n }\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\n } else {\n elem.className += ' ' + elementClassName;\n }\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n\n const body = this.document.body;\n if (this.hasClass(body, 'sidebar-off-canvas')) {\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // this.toggleClass(document.body, 'sidebar-opened');\n }\n }\n}\n\n@Directive({\n selector: '[appBrandMinimizer]'\n})\nexport class BrandMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('brand-minimized') ?\n this.renderer.removeClass(body, 'brand-minimized') :\n this.renderer.addClass(body, 'brand-minimized');\n // document.body.classList.toggle('brand-minimized');\n }\n}\n\n\n/**\n* Allows the aside to be toggled via click.\n*/\n@Directive({\n selector: '[appAsideMenuToggler]',\n providers: [ClassToggler]\n})\nexport class AsideToggleDirective implements OnInit {\n @Input('appAsideMenuToggler') breakpoint: string;\n public bp;\n constructor(private classToggler: ClassToggler) {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule} from '@angular/core';\nimport {\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n} from './layout.directive';\nimport { ClassToggler } from '../toggle-classes';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n exports: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n declarations: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n providers: [\n ClassToggler\n ]\n})\nexport class LayoutModule { }\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, Input, OnInit, OnDestroy, Inject, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, Replace } from '../shared';\n\n@Component({\n selector: 'app-aside',\n template: `\n \n `\n})\nexport class AppAsideComponent implements OnInit, OnDestroy {\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() offCanvas: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.isOffCanvas(this.offCanvas);\n this.displayBreakpoint(this.display);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'aside-menu-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'aside-menu-fixed');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false ) {\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\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';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { BehaviorSubject, Observable } from 'rxjs/index';\nimport { filter } from 'rxjs/operators';\n\n@Injectable()\nexport class AppBreadcrumbService {\n\n breadcrumbs: Observable>;\n\n private _breadcrumbs: BehaviorSubject>;\n\n constructor(private router: Router, private route: ActivatedRoute) {\n\n this._breadcrumbs = new BehaviorSubject(new Array());\n\n this.breadcrumbs = this._breadcrumbs.asObservable();\n\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\n const breadcrumbs = [];\n let currentRoute = this.route.root,\n url = '';\n do {\n const childrenRoutes = currentRoute.children;\n currentRoute = null;\n // tslint:disable-next-line:no-shadowed-variable\n childrenRoutes.forEach(route => {\n if (route.outlet === 'primary') {\n const routeSnapshot = route.snapshot;\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\n breadcrumbs.push({\n label: route.snapshot.data,\n url: url\n });\n currentRoute = route;\n }\n });\n } while (currentRoute);\n\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\n\n return breadcrumbs;\n });\n }\n}\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\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, 'breadcrumb-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'breadcrumb-fixed');\n }\n }\n}\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-footer',\n template: `\n \n
    \n \n
    \n `\n})\nexport class AppFooterComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'footer-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'footer-fixed');\n }\n }\n}\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, ElementRef, Input, OnInit, OnDestroy, Inject, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-header',\n template: `\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n `\n})\nexport class AppHeaderComponent implements OnInit, OnDestroy {\n\n @Input() fixed: boolean;\n\n @Input() navbarBrand: any;\n @Input() navbarBrandFull: any;\n @Input() navbarBrandMinimized: any;\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\n @Input() navbarBrandHref: any = '';\n\n @Input() sidebarToggler: any;\n @Input() mobileSidebarToggler: any;\n\n @Input() asideMenuToggler: any;\n @Input() mobileAsideMenuToggler: any;\n\n navbarBrandImg: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'header-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'header-fixed');\n }\n }\n\n imgSrc(brand: any): void {\n return brand.src ? brand.src : '';\n }\n\n imgWidth(brand: any): void {\n return brand.width ? brand.width : 'auto';\n }\n\n imgHeight(brand: any): void {\n return brand.height ? brand.height : 'auto';\n }\n\n imgAlt(brand: any): void {\n return brand.alt ? brand.alt : '';\n }\n\n breakpoint(breakpoint: any): void {\n console.log(breakpoint);\n return breakpoint ? breakpoint : '';\n }\n}\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-footer',\n template: `\n
    \n \n
    `\n})\nexport class AppSidebarFooterComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-form',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarFormComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-header',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarHeaderComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-minimizer',\n template: `\n \n `\n})\nexport class AppSidebarMinimizerComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, Input, Inject, HostBinding, OnInit, OnDestroy, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { sidebarCssClasses } from '../shared';\n\n@Component({\n selector: 'app-sidebar',\n template: ``\n})\nexport class AppSidebarComponent implements OnInit, OnDestroy {\n @Input() compact: boolean;\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() minimized: boolean;\n @Input() offCanvas: boolean;\n\n @HostBinding('class.sidebar') true;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n this.displayBreakpoint(this.display);\n this.isCompact(this.compact);\n this.isFixed(this.fixed);\n this.isMinimized(this.minimized);\n this.isOffCanvas(this.offCanvas);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'sidebar-fixed' );\n }\n\n isCompact(compact: boolean = this.compact): void {\n if (compact) {\n this.renderer.addClass(this.document.body, 'sidebar-compact' );\n }\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n isMinimized(minimized: boolean = this.minimized): void {\n if (minimized) {\n this.renderer.addClass(this.document.body, 'sidebar-minimized');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\n }\n }\n\n fixedPosition(fixed: boolean = this.fixed): void {\n console.warn('deprecated fixedPosition(), use isFixed() instead');\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false) {\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\n","import {\n Component,\n Directive,\n ElementRef,\n HostBinding,\n HostListener, Inject,\n Input,\n OnChanges,\n OnInit,\n Renderer2,\n SimpleChanges\n} from '@angular/core';\n\nimport {DOCUMENT} from '@angular/common';\nimport { Router } from '@angular/router';\n\nimport { Replace } from '../shared';\n\n@Directive({\n selector: '[appNavDropdown]'\n})\nexport class NavDropdownDirective {\n\n constructor(private el: ElementRef) { }\n\n toggle() {\n this.el.nativeElement.classList.toggle('open');\n }\n}\n\n/**\n* Allows the dropdown to be toggled via click.\n*/\n@Directive({\n selector: '[appNavDropdownToggle]'\n})\nexport class NavDropdownToggleDirective {\n constructor(private dropdown: NavDropdownDirective) {}\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n this.dropdown.toggle();\n }\n}\n\n@Directive({\n selector: '[appLinkAttributes]'\n})\nexport class LinkAttributesDirective implements OnInit {\n @Input() appLinkAttributes: {[key: string]: string };\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit() {\n const attribs = this.appLinkAttributes;\n for (const attr in attribs) {\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n }\n\n private setStyle(styles) {\n for (const style in styles) {\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\n }\n }\n\n private addClass(classes) {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray.forEach(element => {\n this.renderer.addClass(this.el.nativeElement, element );\n });\n }\n\n private setAttrib(key, value) {\n const newAttr = this.document.createAttribute(key);\n newAttr.value = value;\n this.renderer.setAttribute(this.el.nativeElement, key, value );\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav',\n template: `\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    `\n})\nexport class AppSidebarNavComponent implements OnChanges {\n @Input() navItems: Array;\n\n @HostBinding('class.sidebar-nav') true;\n @HostBinding('attr.role') role = 'nav';\n\n public navItemsArray: Array;\n\n public isDivider(item) {\n return item.divider ? true : false;\n }\n\n public isTitle(item) {\n return item.title ? true : false;\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\n }\n\n constructor() { }\n}\n\n@Component({\n selector: 'app-sidebar-nav-item',\n template: `\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n `\n})\nexport class AppSidebarNavItemComponent implements OnInit {\n @Input() item: any;\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n public hasClass() {\n return this.item.class ? true : false;\n }\n\n public isDropdown() {\n return this.item.children ? true : false;\n }\n\n public thisUrl() {\n return this.item.url;\n }\n\n public isActive() {\n return this.router.isActive(this.thisUrl(), false);\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-link',\n template: `\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n `\n})\nexport class AppSidebarNavLinkComponent implements OnInit {\n @Input() link: any;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private router: Router,\n private el: ElementRef\n ) { }\n\n public getClasses() {\n const disabled = this.isDisabled();\n const classes = {\n 'nav-link': true,\n 'disabled': disabled,\n 'btn-link': disabled\n };\n if (this.hasVariant()) {\n const variant = `nav-link-${this.link.variant}`;\n classes[variant] = true;\n }\n return classes;\n }\n\n public getLinkType() {\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\n }\n\n public hasVariant() {\n return this.link.variant ? true : false;\n }\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isDisabled() {\n return this.link.attributes && this.link.attributes.disabled ? true : false;\n }\n\n public isExternalLink() {\n return this.link.url.substring(0, 4) === 'http' ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n public hideMobile() {\n if (this.document.body.classList.contains('sidebar-show')) {\n this.renderer.removeClass(this.document.body, 'sidebar-show');\n }\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-dropdown',\n template: `\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n `,\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\n})\nexport class AppSidebarNavDropdownComponent implements OnInit {\n @Input() link: any;\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-title',\n template: ''\n})\nexport class AppSidebarNavTitleComponent implements OnInit {\n @Input() title: any;\n\n constructor(private el: ElementRef, private renderer: Renderer2) { }\n\n ngOnInit() {\n const nativeElement: HTMLElement = this.el.nativeElement;\n const li = this.renderer.createElement('li');\n const name = this.renderer.createText(this.title.name);\n\n this.renderer.addClass(li, 'nav-title');\n\n if ( this.title.class ) {\n const classes = this.title.class;\n this.renderer.addClass(li, classes);\n }\n\n if ( this.title.wrapper ) {\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\n\n this.renderer.appendChild(wrapper, name);\n this.renderer.appendChild(li, wrapper);\n } else {\n this.renderer.appendChild(li, name);\n }\n this.renderer.appendChild(nativeElement, li);\n Replace(this.el);\n }\n}\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"]} \ No newline at end of file diff --git a/dist/@coreui/angular/coreui-angular.d.ts b/dist/@coreui/angular/coreui-angular.d.ts index 0d57ccb9..715914df 100644 --- a/dist/@coreui/angular/coreui-angular.d.ts +++ b/dist/@coreui/angular/coreui-angular.d.ts @@ -2,16 +2,17 @@ * Generated bundle index. Do not edit. */ export * from './public_api'; -export { AppAsideComponent as ɵh } from './lib/aside/app-aside.component'; -export { AppBreadcrumbComponent as ɵi } from './lib/breadcrumb/app-breadcrumb.component'; -export { AppBreadcrumbService as ɵj } from './lib/breadcrumb/app-breadcrumb.service'; -export { AppFooterComponent as ɵk } from './lib/footer/app-footer.component'; -export { AppHeaderComponent as ɵl } from './lib/header/app-header.component'; +export { AppAsideComponent as ɵi } from './lib/aside/app-aside.component'; +export { AppBreadcrumbComponent as ɵj } from './lib/breadcrumb/app-breadcrumb.component'; +export { AppBreadcrumbService as ɵk } from './lib/breadcrumb/app-breadcrumb.service'; +export { AppFooterComponent as ɵl } from './lib/footer/app-footer.component'; +export { AppHeaderComponent as ɵm } from './lib/header/app-header.component'; export { AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb } from './lib/shared/layout/layout.directive'; export { LayoutModule as ɵa } from './lib/shared/layout/layout.module'; -export { AppSidebarFooterComponent as ɵm } from './lib/sidebar/app-sidebar-footer.component'; -export { AppSidebarFormComponent as ɵn } from './lib/sidebar/app-sidebar-form.component'; -export { AppSidebarHeaderComponent as ɵo } from './lib/sidebar/app-sidebar-header.component'; -export { AppSidebarMinimizerComponent as ɵp } from './lib/sidebar/app-sidebar-minimizer.component'; -export { AppSidebarNavComponent as ɵu, AppSidebarNavDropdownComponent as ɵx, AppSidebarNavItemComponent as ɵv, AppSidebarNavLinkComponent as ɵw, AppSidebarNavTitleComponent as ɵy, LinkAttributesDirective as ɵt, NavDropdownDirective as ɵr, NavDropdownToggleDirective as ɵs } from './lib/sidebar/app-sidebar-nav.component'; -export { AppSidebarComponent as ɵq } from './lib/sidebar/app-sidebar.component'; +export { ClassToggler as ɵh } from './lib/shared/toggle-classes'; +export { AppSidebarFooterComponent as ɵn } from './lib/sidebar/app-sidebar-footer.component'; +export { AppSidebarFormComponent as ɵo } from './lib/sidebar/app-sidebar-form.component'; +export { AppSidebarHeaderComponent as ɵp } from './lib/sidebar/app-sidebar-header.component'; +export { AppSidebarMinimizerComponent as ɵq } from './lib/sidebar/app-sidebar-minimizer.component'; +export { AppSidebarNavComponent as ɵv, AppSidebarNavDropdownComponent as ɵy, AppSidebarNavItemComponent as ɵw, AppSidebarNavLinkComponent as ɵx, AppSidebarNavTitleComponent as ɵz, LinkAttributesDirective as ɵu, NavDropdownDirective as ɵs, NavDropdownToggleDirective as ɵt } from './lib/sidebar/app-sidebar-nav.component'; +export { AppSidebarComponent as ɵr } from './lib/sidebar/app-sidebar.component'; diff --git a/dist/@coreui/angular/coreui-angular.metadata.json b/dist/@coreui/angular/coreui-angular.metadata.json index 7b411fa2..d669e54a 100644 --- a/dist/@coreui/angular/coreui-angular.metadata.json +++ b/dist/@coreui/angular/coreui-angular.metadata.json @@ -1 +1 @@ -{"__symbolic":"module","version":4,"metadata":{"AppAsideModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵh"}]}]}],"members":{}},"AppBreadcrumbModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":13},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":10,"character":27}],"exports":[{"__symbolic":"reference","name":"ɵi"}],"declarations":[{"__symbolic":"reference","name":"ɵi"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"AppBreadcrumbModule"},"providers":[{"__symbolic":"reference","name":"ɵj"}]}}}},"AppFooterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":13}],"exports":[{"__symbolic":"reference","name":"ɵk"}],"declarations":[{"__symbolic":"reference","name":"ɵk"}]}]}],"members":{}},"AppHeaderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵl"}]}]}],"members":{}},"AppSidebarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":25,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵu"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"},{"__symbolic":"reference","name":"ɵp"},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵu"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}],"declarations":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"selector":"[appSidebarToggler]"}]}],"members":{"breakpoint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3},"arguments":["appSidebarToggler"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":17,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":26,"character":1},"arguments":[{"selector":"[appSidebarMinimizer]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":32,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":39,"character":1},"arguments":[{"selector":"[appMobileSidebarToggler]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasClass":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":50,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":60,"character":1},"arguments":[{"selector":"[appSidebarClose]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasClass":[{"__symbolic":"method"}],"toggleClass":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":84,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":94,"character":1},"arguments":[{"selector":"[appBrandMinimizer]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":100,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":111,"character":1},"arguments":[{"selector":"[appAsideMenuToggler]"}]}],"members":{"breakpoint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3},"arguments":["appAsideMenuToggler"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":121,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-aside","template":"\n \n "}]}],"members":{"display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"offCanvas":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":16,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"isOffCanvas":[{"__symbolic":"method"}],"displayBreakpoint":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"app-breadcrumb","template":"\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":21,"character":63}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":12,"character":30},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":12,"character":53}]}]}},"ɵk":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-footer","template":"\n
    \n \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":14,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}]}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-header","template":"\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"navbarBrand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"navbarBrandFull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"navbarBrandMinimized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"navbarBrandText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"navbarBrandHref":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":3}}]}],"sidebarToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"mobileSidebarToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"asideMenuToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"mobileAsideMenuToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":75,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"imgSrc":[{"__symbolic":"method"}],"imgWidth":[{"__symbolic":"method"}],"imgHeight":[{"__symbolic":"method"}],"imgAlt":[{"__symbolic":"method"}],"breakpoint":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-sidebar-footer","template":"\n
    \n \n
    "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":12,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-sidebar-form","template":"\n
    \n \n
    \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":13,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-sidebar-header","template":"\n
    \n \n
    \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":13,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵp":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-sidebar-minimizer","template":"\n \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":11,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵq":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"app-sidebar","template":""}]}],"members":{"compact":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"minimized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"offCanvas":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"true":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":14,"character":3},"arguments":["class.sidebar"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isCompact":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"isMinimized":[{"__symbolic":"method"}],"isOffCanvas":[{"__symbolic":"method"}],"fixedPosition":[{"__symbolic":"method"}],"displayBreakpoint":[{"__symbolic":"method"}]}},"ɵr":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":14,"character":1},"arguments":[{"selector":"[appNavDropdown]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26}]}],"toggle":[{"__symbolic":"method"}]}},"ɵs":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":29,"character":1},"arguments":[{"selector":"[appNavDropdownToggle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵr"}]}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":35,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵt":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":42,"character":1},"arguments":[{"selector":"[appLinkAttributes]"}]}],"members":{"appLinkAttributes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":47,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}],"addClass":[{"__symbolic":"method"}],"setAttrib":[{"__symbolic":"method"}]}},"ɵu":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":82,"character":1},"arguments":[{"selector":"app-sidebar-nav","template":"\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    "}]}],"members":{"navItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"true":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":100,"character":3},"arguments":["class.sidebar-nav"]}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":101,"character":3},"arguments":["attr.role"]}]}],"isDivider":[{"__symbolic":"method"}],"isTitle":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor"}]}},"ɵv":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":122,"character":1},"arguments":[{"selector":"app-sidebar-nav-item","template":"\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n "}]}],"members":{"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3}}]}],"hasClass":[{"__symbolic":"method"}],"isDropdown":[{"__symbolic":"method"}],"thisUrl":[{"__symbolic":"method"}],"isActive":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":157,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵw":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":164,"character":1},"arguments":[{"selector":"app-sidebar-nav-link","template":"\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n "}]}],"members":{"link":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":196,"character":3}}]}],"getClasses":[{"__symbolic":"method"}],"getLinkType":[{"__symbolic":"method"}],"hasVariant":[{"__symbolic":"method"}],"isBadge":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"isExternalLink":[{"__symbolic":"method"}],"isIcon":[{"__symbolic":"method"}],"hideMobile":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":157,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵx":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":249,"character":1},"arguments":[{"selector":"app-sidebar-nav-dropdown","template":"\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n ","styles":[".nav-dropdown-toggle { cursor: pointer; }"]}]}],"members":{"link":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":266,"character":3}}]}],"isBadge":[{"__symbolic":"method"}],"isIcon":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":157,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵy":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":283,"character":1},"arguments":[{"selector":"app-sidebar-nav-title","template":""}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":288,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":47,"character":32}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"AppAsideModule":"./lib/aside/app-aside.module","AppBreadcrumbModule":"./lib/breadcrumb/app-breadcrumb.module","AppFooterModule":"./lib/footer/app-footer.module","AppHeaderModule":"./lib/header/app-header.module","AppSidebarModule":"./lib/sidebar/app-sidebar.module","ɵa":"./lib/shared/layout/layout.module","ɵb":"./lib/shared/layout/layout.directive","ɵc":"./lib/shared/layout/layout.directive","ɵd":"./lib/shared/layout/layout.directive","ɵe":"./lib/shared/layout/layout.directive","ɵf":"./lib/shared/layout/layout.directive","ɵg":"./lib/shared/layout/layout.directive","ɵh":"./lib/aside/app-aside.component","ɵi":"./lib/breadcrumb/app-breadcrumb.component","ɵj":"./lib/breadcrumb/app-breadcrumb.service","ɵk":"./lib/footer/app-footer.component","ɵl":"./lib/header/app-header.component","ɵm":"./lib/sidebar/app-sidebar-footer.component","ɵn":"./lib/sidebar/app-sidebar-form.component","ɵo":"./lib/sidebar/app-sidebar-header.component","ɵp":"./lib/sidebar/app-sidebar-minimizer.component","ɵq":"./lib/sidebar/app-sidebar.component","ɵr":"./lib/sidebar/app-sidebar-nav.component","ɵs":"./lib/sidebar/app-sidebar-nav.component","ɵt":"./lib/sidebar/app-sidebar-nav.component","ɵu":"./lib/sidebar/app-sidebar-nav.component","ɵv":"./lib/sidebar/app-sidebar-nav.component","ɵw":"./lib/sidebar/app-sidebar-nav.component","ɵx":"./lib/sidebar/app-sidebar-nav.component","ɵy":"./lib/sidebar/app-sidebar-nav.component"},"importAs":"@coreui/angular"} \ No newline at end of file +{"__symbolic":"module","version":4,"metadata":{"AppAsideModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵi"}]}]}],"members":{}},"AppBreadcrumbModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":13},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":10,"character":27}],"exports":[{"__symbolic":"reference","name":"ɵj"}],"declarations":[{"__symbolic":"reference","name":"ɵj"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"AppBreadcrumbModule"},"providers":[{"__symbolic":"reference","name":"ɵk"}]}}}},"AppFooterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":13}],"exports":[{"__symbolic":"reference","name":"ɵl"}],"declarations":[{"__symbolic":"reference","name":"ɵl"}]}]}],"members":{}},"AppHeaderModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵm"}]}]}],"members":{}},"AppSidebarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":25,"character":4},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵz"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"},{"__symbolic":"reference","name":"ɵu"},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵz"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"},{"__symbolic":"reference","name":"ɵu"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}],"declarations":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}],"providers":[{"__symbolic":"reference","name":"ɵh"}]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":9,"character":1},"arguments":[{"selector":"[appSidebarToggler]"}]}],"members":{"breakpoint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3},"arguments":["appSidebarToggler"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":19,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":28,"character":1},"arguments":[{"selector":"[appSidebarMinimizer]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":33,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":33,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":34,"character":22}]}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":37,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":48,"character":1},"arguments":[{"selector":"[appMobileSidebarToggler]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":53,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":34,"character":22}]}],"hasClass":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":62,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":76,"character":1},"arguments":[{"selector":"[appSidebarClose]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":81,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":81,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":34,"character":22}]}],"hasClass":[{"__symbolic":"method"}],"toggleClass":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":103,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":117,"character":1},"arguments":[{"selector":"[appBrandMinimizer]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":122,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":122,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":34,"character":22}]}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":126,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":141,"character":1},"arguments":[{"selector":"[appAsideMenuToggler]","providers":[{"__symbolic":"reference","name":"ɵh"}]}]}],"members":{"breakpoint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":3},"arguments":["appAsideMenuToggler"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵh"}]}],"ngOnInit":[{"__symbolic":"method"}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":152,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":19,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":23,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":23,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":24,"character":22}]}],"removeClasses":[{"__symbolic":"method"}],"toggleClasses":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"app-aside","template":"\n \n "}]}],"members":{"display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"offCanvas":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":19,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":20,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":21,"character":16}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"isOffCanvas":[{"__symbolic":"method"}],"displayBreakpoint":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"app-breadcrumb","template":"\n \n
  • \n {{breadcrumb.label.title}}\n {{breadcrumb.label.title}}\n
  • \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":24,"character":12}]}],null,null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":25,"character":22},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":27,"character":15}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}]}},"ɵk":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":12,"character":30},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":12,"character":53}]}]}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"app-footer","template":"\n \n
    \n \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":18,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":19,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":20,"character":16}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"app-header","template":"\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n "}]}],"members":{"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"navbarBrand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"navbarBrandFull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"navbarBrandMinimized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":3}}]}],"navbarBrandText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"navbarBrandHref":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"sidebarToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"mobileSidebarToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"asideMenuToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":3}}]}],"mobileAsideMenuToggler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":78,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":78,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":79,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":80,"character":16}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"imgSrc":[{"__symbolic":"method"}],"imgWidth":[{"__symbolic":"method"}],"imgHeight":[{"__symbolic":"method"}],"imgAlt":[{"__symbolic":"method"}],"breakpoint":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"app-sidebar-footer","template":"\n
    \n \n
    "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":13,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"app-sidebar-form","template":"\n
    \n \n
    \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":14,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵp":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"app-sidebar-header","template":"\n
    \n \n
    \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":14,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵq":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"app-sidebar-minimizer","template":"\n \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":12,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵr":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"app-sidebar","template":""}]}],"members":{"compact":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"minimized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"offCanvas":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"true":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":16,"character":3},"arguments":["class.sidebar"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":19,"character":12}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":20,"character":22}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"isCompact":[{"__symbolic":"method"}],"isFixed":[{"__symbolic":"method"}],"isMinimized":[{"__symbolic":"method"}],"isOffCanvas":[{"__symbolic":"method"}],"fixedPosition":[{"__symbolic":"method"}],"displayBreakpoint":[{"__symbolic":"method"}]}},"ɵs":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"[appNavDropdown]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26}]}],"toggle":[{"__symbolic":"method"}]}},"ɵt":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":33,"character":1},"arguments":[{"selector":"[appNavDropdownToggle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵs"}]}],"toggleOpen":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":39,"character":3},"arguments":["click",["$event"]]}]}]}},"ɵu":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":46,"character":1},"arguments":[{"selector":"[appLinkAttributes]"}]}],"members":{"appLinkAttributes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":53,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":54,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}],"addClass":[{"__symbolic":"method"}],"setAttrib":[{"__symbolic":"method"}]}},"ɵv":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":91,"character":1},"arguments":[{"selector":"app-sidebar-nav","template":"\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    "}]}],"members":{"navItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"true":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":109,"character":3},"arguments":["class.sidebar-nav"]}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":110,"character":3},"arguments":["attr.role"]}]}],"isDivider":[{"__symbolic":"method"}],"isTitle":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor"}]}},"ɵw":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":129,"character":1},"arguments":[{"selector":"app-sidebar-nav-item","template":"\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n "}]}],"members":{"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":148,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26}]}],"hasClass":[{"__symbolic":"method"}],"isDropdown":[{"__symbolic":"method"}],"thisUrl":[{"__symbolic":"method"}],"isActive":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵx":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":171,"character":1},"arguments":[{"selector":"app-sidebar-nav-link","template":"\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n "}]}],"members":{"link":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":203,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":206,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":206,"character":12}]}],null,null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":54,"character":22},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":148,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26}]}],"getClasses":[{"__symbolic":"method"}],"getLinkType":[{"__symbolic":"method"}],"hasVariant":[{"__symbolic":"method"}],"isBadge":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"isExternalLink":[{"__symbolic":"method"}],"isIcon":[{"__symbolic":"method"}],"hideMobile":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵy":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":261,"character":1},"arguments":[{"selector":"app-sidebar-nav-dropdown","template":"\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n ","styles":[".nav-dropdown-toggle { cursor: pointer; }"]}]}],"members":{"link":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":278,"character":3}}]}],"isBadge":[{"__symbolic":"method"}],"isIcon":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":148,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵz":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":295,"character":1},"arguments":[{"selector":"app-sidebar-nav-title","template":""}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":300,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":54,"character":22}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"AppAsideModule":"./lib/aside/app-aside.module","AppBreadcrumbModule":"./lib/breadcrumb/app-breadcrumb.module","AppFooterModule":"./lib/footer/app-footer.module","AppHeaderModule":"./lib/header/app-header.module","AppSidebarModule":"./lib/sidebar/app-sidebar.module","ɵa":"./lib/shared/layout/layout.module","ɵb":"./lib/shared/layout/layout.directive","ɵc":"./lib/shared/layout/layout.directive","ɵd":"./lib/shared/layout/layout.directive","ɵe":"./lib/shared/layout/layout.directive","ɵf":"./lib/shared/layout/layout.directive","ɵg":"./lib/shared/layout/layout.directive","ɵh":"./lib/shared/toggle-classes","ɵi":"./lib/aside/app-aside.component","ɵj":"./lib/breadcrumb/app-breadcrumb.component","ɵk":"./lib/breadcrumb/app-breadcrumb.service","ɵl":"./lib/footer/app-footer.component","ɵm":"./lib/header/app-header.component","ɵn":"./lib/sidebar/app-sidebar-footer.component","ɵo":"./lib/sidebar/app-sidebar-form.component","ɵp":"./lib/sidebar/app-sidebar-header.component","ɵq":"./lib/sidebar/app-sidebar-minimizer.component","ɵr":"./lib/sidebar/app-sidebar.component","ɵs":"./lib/sidebar/app-sidebar-nav.component","ɵt":"./lib/sidebar/app-sidebar-nav.component","ɵu":"./lib/sidebar/app-sidebar-nav.component","ɵv":"./lib/sidebar/app-sidebar-nav.component","ɵw":"./lib/sidebar/app-sidebar-nav.component","ɵx":"./lib/sidebar/app-sidebar-nav.component","ɵy":"./lib/sidebar/app-sidebar-nav.component","ɵz":"./lib/sidebar/app-sidebar-nav.component"},"importAs":"@coreui/angular"} \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/coreui-angular.js b/dist/@coreui/angular/esm2015/coreui-angular.js index 79be3927..0095dcef 100644 --- a/dist/@coreui/angular/esm2015/coreui-angular.js +++ b/dist/@coreui/angular/esm2015/coreui-angular.js @@ -6,17 +6,18 @@ * Generated bundle index. Do not edit. */ export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule } from './public_api'; -export { AppAsideComponent as ɵh } from './lib/aside/app-aside.component'; -export { AppBreadcrumbComponent as ɵi } from './lib/breadcrumb/app-breadcrumb.component'; -export { AppBreadcrumbService as ɵj } from './lib/breadcrumb/app-breadcrumb.service'; -export { AppFooterComponent as ɵk } from './lib/footer/app-footer.component'; -export { AppHeaderComponent as ɵl } from './lib/header/app-header.component'; +export { AppAsideComponent as ɵi } from './lib/aside/app-aside.component'; +export { AppBreadcrumbComponent as ɵj } from './lib/breadcrumb/app-breadcrumb.component'; +export { AppBreadcrumbService as ɵk } from './lib/breadcrumb/app-breadcrumb.service'; +export { AppFooterComponent as ɵl } from './lib/footer/app-footer.component'; +export { AppHeaderComponent as ɵm } from './lib/header/app-header.component'; export { AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb } from './lib/shared/layout/layout.directive'; export { LayoutModule as ɵa } from './lib/shared/layout/layout.module'; -export { AppSidebarFooterComponent as ɵm } from './lib/sidebar/app-sidebar-footer.component'; -export { AppSidebarFormComponent as ɵn } from './lib/sidebar/app-sidebar-form.component'; -export { AppSidebarHeaderComponent as ɵo } from './lib/sidebar/app-sidebar-header.component'; -export { AppSidebarMinimizerComponent as ɵp } from './lib/sidebar/app-sidebar-minimizer.component'; -export { AppSidebarNavComponent as ɵu, AppSidebarNavDropdownComponent as ɵx, AppSidebarNavItemComponent as ɵv, AppSidebarNavLinkComponent as ɵw, AppSidebarNavTitleComponent as ɵy, LinkAttributesDirective as ɵt, NavDropdownDirective as ɵr, NavDropdownToggleDirective as ɵs } from './lib/sidebar/app-sidebar-nav.component'; -export { AppSidebarComponent as ɵq } from './lib/sidebar/app-sidebar.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJjb3JldWktYW5ndWx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Q29tcG9uZW50IGFzIMm1eSxMaW5rQXR0cmlidXRlc0RpcmVjdGl2ZSBhcyDJtXQsTmF2RHJvcGRvd25EaXJlY3RpdmUgYXMgybVyLE5hdkRyb3Bkb3duVG9nZ2xlRGlyZWN0aXZlIGFzIMm1c30gZnJvbSAnLi9saWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuY29tcG9uZW50JztcbmV4cG9ydCB7QXBwU2lkZWJhckNvbXBvbmVudCBhcyDJtXF9IGZyb20gJy4vbGliL3NpZGViYXIvYXBwLXNpZGViYXIuY29tcG9uZW50JzsiXX0= \ No newline at end of file +export { ClassToggler as ɵh } from './lib/shared/toggle-classes'; +export { AppSidebarFooterComponent as ɵn } from './lib/sidebar/app-sidebar-footer.component'; +export { AppSidebarFormComponent as ɵo } from './lib/sidebar/app-sidebar-form.component'; +export { AppSidebarHeaderComponent as ɵp } from './lib/sidebar/app-sidebar-header.component'; +export { AppSidebarMinimizerComponent as ɵq } from './lib/sidebar/app-sidebar-minimizer.component'; +export { AppSidebarNavComponent as ɵv, AppSidebarNavDropdownComponent as ɵy, AppSidebarNavItemComponent as ɵw, AppSidebarNavLinkComponent as ɵx, AppSidebarNavTitleComponent as ɵz, LinkAttributesDirective as ɵu, NavDropdownDirective as ɵs, NavDropdownToggleDirective as ɵt } from './lib/sidebar/app-sidebar-nav.component'; +export { AppSidebarComponent as ɵr } from './lib/sidebar/app-sidebar.component'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJjb3JldWktYW5ndWxhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0dBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxpQ0F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TaWRlYmFyTmF2VGl0bGVDb21wb25lbnQgYXMgybV6LExpbmtBdHRyaWJ1dGVzRGlyZWN0aXZlIGFzIMm1dSxOYXZEcm9wZG93bkRpcmVjdGl2ZSBhcyDJtXMsTmF2RHJvcGRvd25Ub2dnbGVEaXJlY3RpdmUgYXMgybV0fSBmcm9tICcuL2xpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW5hdi5jb21wb25lbnQnO1xuZXhwb3J0IHtBcHBTaWRlYmFyQ29tcG9uZW50IGFzIMm1cn0gZnJvbSAnLi9saWIvc2lkZWJhci9hcHAtc2lkZWJhci5jb21wb25lbnQnOyJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/aside/app-aside.component.js b/dist/@coreui/angular/esm2015/lib/aside/app-aside.component.js index 8b9b0055..c4f7da35 100644 --- a/dist/@coreui/angular/esm2015/lib/aside/app-aside.component.js +++ b/dist/@coreui/angular/esm2015/lib/aside/app-aside.component.js @@ -2,13 +2,18 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { asideMenuCssClasses, Replace } from './../shared/index'; +import { Component, ElementRef, Input, Inject, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { asideMenuCssClasses, Replace } from '../shared'; export class AppAsideComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -24,36 +29,35 @@ export class AppAsideComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('aside-menu-fixed'); + this.renderer.removeClass(this.document.body, 'aside-menu-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('aside-menu-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'aside-menu-fixed'); } } /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ - isOffCanvas(offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('aside-menu-off-canvas'); + isOffCanvas(offCanvas = this.offCanvas) { + if (offCanvas) { + this.renderer.addClass(this.document.body, 'aside-menu-off-canvas'); } } /** - * @param {?} display + * @param {?=} display * @return {?} */ - displayBreakpoint(display) { - if (this.display !== false) { + displayBreakpoint(display = this.display) { + if (display !== false) { /** @type {?} */ - let cssClass; - this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } } } @@ -69,6 +73,8 @@ AppAsideComponent.decorators = [ ]; /** @nocollapse */ AppAsideComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppAsideComponent.propDecorators = { @@ -83,10 +89,20 @@ if (false) { AppAsideComponent.prototype.fixed; /** @type {?} */ AppAsideComponent.prototype.offCanvas; + /** + * @type {?} + * @private + */ + AppAsideComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppAsideComponent.prototype.renderer; /** * @type {?} * @private */ AppAsideComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWFzaWRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9hc2lkZS9hcHAtYXNpZGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxtQk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bnkgPSB0aGlzLmRpc3BsYXkpOiB2b2lkIHtcbiAgICBpZiAoZGlzcGxheSAhPT0gZmFsc2UgKSB7XG4gICAgICBjb25zdCBjc3NDbGFzcyA9IHRoaXMuZGlzcGxheSA/IGBhc2lkZS1tZW51LSR7dGhpcy5kaXNwbGF5fS1zaG93YCA6IGFzaWRlTWVudUNzc0NsYXNzZXNbMF07XG4gICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZG9jdW1lbnQuYm9keSwgY3NzQ2xhc3MpO1xuICAgIH1cbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.component.js b/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.component.js index 70fb8fb2..a731c7b3 100644 --- a/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.component.js +++ b/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.component.js @@ -2,15 +2,20 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; import { AppBreadcrumbService } from './app-breadcrumb.service'; +import { Replace } from '../shared'; export class AppBreadcrumbComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} service * @param {?} el */ - constructor(service, el) { + constructor(document, renderer, service, el) { + this.document = document; + this.renderer = renderer; this.service = service; this.el = el; } @@ -26,15 +31,15 @@ export class AppBreadcrumbComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('breadcrumb-fixed'); + this.renderer.removeClass(this.document.body, 'breadcrumb-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('breadcrumb-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'breadcrumb-fixed'); } } } @@ -55,6 +60,8 @@ AppBreadcrumbComponent.decorators = [ ]; /** @nocollapse */ AppBreadcrumbComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: AppBreadcrumbService }, { type: ElementRef } ]; @@ -66,9 +73,19 @@ if (false) { AppBreadcrumbComponent.prototype.fixed; /** @type {?} */ AppBreadcrumbComponent.prototype.breadcrumbs; + /** + * @type {?} + * @private + */ + AppBreadcrumbComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppBreadcrumbComponent.prototype.renderer; /** @type {?} */ AppBreadcrumbComponent.prototype.service; /** @type {?} */ AppBreadcrumbComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL2JyZWFkY3J1bWIvYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFlaEUsTUFBTSxPQUFPLHNCQUFzQjs7Ozs7SUFJakMsWUFBbUIsT0FBNkIsRUFBUyxFQUFjO1FBQXBELFlBQU8sR0FBUCxPQUFPLENBQXNCO1FBQVMsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFJLENBQUM7Ozs7SUFFckUsUUFBUTtRQUNiLE9BQU8sQ0FBQyxJ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X08L3NwYW4+XG4gICAgICA8L2xpPlxuICAgIDwvbmctdGVtcGxhdGU+XG4gIGBcbn0pXG5leHBvcnQgY2xhc3MgQXBwQnJlYWRjcnVtYkNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCwgT25EZXN0cm95IHtcbiAgQElucHV0KCkgZml4ZWQ6IGJvb2xlYW47XG4gIHB1YmxpYyBicmVhZGNydW1icztcblxuICBjb25zdHJ1Y3RvcihcbiAgICBASW5qZWN0KERPQ1VNRU5UKSBwcml2YXRlIGRvY3VtZW50OiBhbnksXG4gICAgcHJpdmF0ZSByZW5kZXJlcjogUmVuZGVyZXIyLFxuICAgIHB1YmxpYyBzZXJ2aWNlOiBBcHBCcmVhZGNydW1iU2VydmljZSxcbiAgICBwdWJsaWMgZWw6IEVsZW1lbnRSZWZcbiAgKSB7IH1cblxuICBwdWJsaWMgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcbiAgICB0aGlzLmlzRml4ZWQodGhpcy5maXhlZCk7XG4gICAgdGhpcy5icmVhZGNydW1icyA9IHRoaXMuc2VydmljZS5icmVhZGNydW1icztcbiAgfVxuXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCAnYnJlYWRjcnVtYi1maXhlZCcpO1xuICB9XG5cbiAgaXNGaXhlZChmaXhlZDogYm9vbGVhbiA9IHRoaXMuZml4ZWQpOiB2b2lkIHtcbiAgICBpZiAoZml4ZWQpIHtcbiAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCAnYnJlYWRjcnVtYi1maXhlZCcpO1xuICAgIH1cbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.service.js b/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.service.js index c39cc836..3a0f852a 100644 --- a/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.service.js +++ b/dist/@coreui/angular/esm2015/lib/breadcrumb/app-breadcrumb.service.js @@ -73,4 +73,4 @@ if (false) { */ AppBreadcrumbService.prototype.route; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9icmVhZGNydW1iL2FwcC1icmVhZGNydW1iLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDckQsT0FBTyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEUsT0FBTyxFQUFFLGVBQWUsRUFBYyxNQUFNLFlBQVksQ0FBQztBQUN6RCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHeEMsTUFBTSxPQUFPLG9CQUFvQjs7Ozs7SUFNL0IsWUFBb0IsTUFBYyxFQUFVLEtBQXFCO1FBQTdDLFdBQU0sR0FBTixNQUFNLENBQVE7UUFBVSxVQUFLLEdBQUwsS0FBSyxDQUFnQjtRQUUvRCxJQUFJLENBQUMsWUFBWSxHQUFHLElBQUksZUFBZSxDQUFXLElBQUksS0FBSyxFQUFVLENBQUMsQ0FBQztRQUV2RSxJQUFJLENBQUMsV0FBVyxHQUFHLElBQUksQ0FBQyxZQUFZLENBQUMsWUFBWSxFQUFFLENBQUM7UUFFcEQsSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFD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V0ZXIuZXZlbnRzLnBpcGUoZmlsdGVyKGV2ZW50ID0+IGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVuZCkpLnN1YnNjcmliZSgoZXZlbnQpID0+IHtcclxuICAgICAgY29uc3QgYnJlYWRjcnVtYnMgPSBbXTtcclxuICAgICAgbGV0IGN1cnJlbnRSb3V0ZSA9IHRoaXMucm91dGUucm9vdCxcclxuICAgICAgdXJsID0gJyc7XHJcbiAgICAgIGRvIHtcclxuICAgICAgICBjb25zdCBjaGlsZHJlblJvdXRlcyA9IGN1cnJlbnRSb3V0ZS5jaGlsZHJlbjtcclxuICAgICAgICBjdXJyZW50Um91dGUgPSBudWxsO1xyXG4gICAgICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTpuby1zaGFkb3dlZC12YXJpYWJsZVxyXG4gICAgICAgIGNoaWxkcmVuUm91dGVzLmZvckVhY2gocm91dGUgPT4ge1xyXG4gICAgICAgICAgaWYgKHJvdXRlLm91dGxldCA9PT0gJ3ByaW1hcnknKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IHJvdXRlU25hcHNob3QgPSByb3V0ZS5zbmFwc2hvdDtcclxuICAgICAgICAgICAgdXJsICs9ICcvJyArIHJvdXRlU25hcHNob3QudXJsLm1hcChzZWdtZW50ID0+IHNlZ21lbnQucGF0aCkuam9pbignLycpO1xyXG4gICAgICAgICAgICBicmVhZGNydW1icy5wdXNoKHtcclxuICAgICAgICAgICAgICBsYWJlbDogcm91dGUuc25hcHNob3QuZGF0YSxcclxuICAgICAgICAgICAgICB1cmw6ICAgdXJsXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICBjdXJyZW50Um91dGUgPSByb3V0ZTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgICAgfSB3aGlsZSAoY3VycmVudFJvdXRlKTtcclxuXHJcbiAgICAgIHRoaXMuX2JyZWFkY3J1bWJzLm5leHQoT2JqZWN0LmFzc2lnbihb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WJlKChldmVudCkgPT4ge1xuICAgICAgY29uc3QgYnJlYWRjcnVtYnMgPSBbXTtcbiAgICAgIGxldCBjdXJyZW50Um91dGUgPSB0aGlzLnJvdXRlLnJvb3QsXG4gICAgICB1cmwgPSAnJztcbiAgICAgIGRvIHtcbiAgICAgICAgY29uc3QgY2hpbGRyZW5Sb3V0ZXMgPSBjdXJyZW50Um91dGUuY2hpbGRyZW47XG4gICAgICAgIGN1cnJlbnRSb3V0ZSA9IG51bGw7XG4gICAgICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTpuby1zaGFkb3dlZC12YXJpYWJsZVxuICAgICAgICBjaGlsZHJlblJvdXRlcy5mb3JFYWNoKHJvdXRlID0+IHtcbiAgICAgICAgICBpZiAocm91dGUub3V0bGV0ID09PSAncHJpbWFyeScpIHtcbiAgICAgICAgICAgIGNvbnN0IHJvdXRlU25hcHNob3QgPSByb3V0ZS5zbmFwc2hvdDtcbiAgICAgICAgICAgIHVybCArPSAnLycgKyByb3V0ZVNuYXBzaG90LnVybC5tYXAoc2VnbWVudCA9PiBzZWdtZW50LnBhdGgpLmpvaW4oJy8nKTtcbiAgICAgICAgICAgIGJyZWFkY3J1bWJzLnB1c2goe1xuICAgICAgICAgICAgICBsYWJlbDogcm91dGUuc25hcHNob3QuZGF0YSxcbiAgICAgICAgICAgICAgdXJsOiAgIHVybFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBjdXJyZW50Um91dGUgPSByb3V0ZTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSB3aGlsZSAoY3VycmVudFJvdXRlKTtcblxuICAgICAgdGhpcy5fYnJlYWRjcnVtYnMubmV4dChPYmplY3QuYXNzaWduKFtdLCBicmVhZGNydW1icykpO1xuXG4gICAgICByZXR1cm4gYnJlYWRjcnVtYnM7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/footer/app-footer.component.js b/dist/@coreui/angular/esm2015/lib/footer/app-footer.component.js index 39b7e00f..f90c489c 100644 --- a/dist/@coreui/angular/esm2015/lib/footer/app-footer.component.js +++ b/dist/@coreui/angular/esm2015/lib/footer/app-footer.component.js @@ -2,13 +2,18 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Replace } from '../shared'; export class AppFooterComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -22,15 +27,15 @@ export class AppFooterComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('footer-fixed'); + this.renderer.removeClass(this.document.body, 'footer-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('footer-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'footer-fixed'); } } } @@ -38,6 +43,7 @@ AppFooterComponent.decorators = [ { type: Component, args: [{ selector: 'app-footer', template: ` +
    @@ -46,6 +52,8 @@ AppFooterComponent.decorators = [ ]; /** @nocollapse */ AppFooterComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppFooterComponent.propDecorators = { @@ -54,10 +62,20 @@ AppFooterComponent.propDecorators = { if (false) { /** @type {?} */ AppFooterComponent.prototype.fixed; + /** + * @type {?} + * @private + */ + AppFooterComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppFooterComponent.prototype.renderer; /** * @type {?} * @private */ AppFooterComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXB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c0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIEVsZW1lbnRSZWYsIElucHV0LCBPbkluaXQsIE9uRGVzdHJveSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBSZXBsYWNlIH0gZnJvbSAnLi8uLi9zaGFyZWQnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhcHAtZm9vdGVyJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPGZvb3RlciBjbGFzcz1cImFwcC1mb290ZXJcIj5cclxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgPC9mb290ZXI+XHJcbiAgYFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQXBwRm9vdGVyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xyXG4gIEBJbnB1dCgpIGZpeGVkOiBib29sZWFuO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7fVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICAgIFJlcGxhY2UodGhpcy5lbCk7XHJcbiAgICB0aGlzLmlzRml4ZWQodGhpcy5maXhlZCk7XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcclxuICAgIGRvY3VtZW50LmJvZHkuY2xhc3NMaXN0LnJlbW92ZSgnZm9vdGVyLWZpeGVkJyk7XHJcbiAgfVxyXG5cclxuICBpc0ZpeGVkKGZpeGVkOiBib29sZWFuKTogdm9pZCB7XHJcbiAgICBpZiAodGhpcy5maXhlZCkgeyBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdib2R5JykuY2xhc3NMaXN0LmFkZCgnZm9vdGVyLWZpeGVkJyk7IH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;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TlQpIHByaXZhdGUgZG9jdW1lbnQ6IGFueSxcbiAgICBwcml2YXRlIHJlbmRlcmVyOiBSZW5kZXJlcjIsXG4gICAgcHJpdmF0ZSBlbDogRWxlbWVudFJlZlxuICApIHt9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcbiAgICB0aGlzLmlzRml4ZWQodGhpcy5maXhlZCk7XG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZUNsYXNzKHRoaXMuZG9jdW1lbnQuYm9keSwgJ2Zvb3Rlci1maXhlZCcpO1xuICB9XG5cbiAgaXNGaXhlZChmaXhlZDogYm9vbGVhbiA9IHRoaXMuZml4ZWQpOiB2b2lkIHtcbiAgICBpZiAoZml4ZWQpIHtcbiAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCAnZm9vdGVyLWZpeGVkJyk7XG4gICAgfVxuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/header/app-header.component.js b/dist/@coreui/angular/esm2015/lib/header/app-header.component.js index 81a60440..ed74c267 100644 --- a/dist/@coreui/angular/esm2015/lib/header/app-header.component.js +++ b/dist/@coreui/angular/esm2015/lib/header/app-header.component.js @@ -2,13 +2,18 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Input, Inject, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Replace } from '../shared'; export class AppHeaderComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' }; this.navbarBrandHref = ''; @@ -25,15 +30,15 @@ export class AppHeaderComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('header-fixed'); + this.renderer.removeClass(this.document.body, 'header-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('header-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'header-fixed'); } } /** @@ -131,6 +136,8 @@ AppHeaderComponent.decorators = [ ]; /** @nocollapse */ AppHeaderComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppHeaderComponent.propDecorators = { @@ -168,10 +175,20 @@ if (false) { AppHeaderComponent.prototype.mobileAsideMenuToggler; /** @type {?} */ AppHeaderComponent.prototype.navbarBrandImg; + /** + * @type {?} + * @private + */ + AppHeaderComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppHeaderComponent.prototype.renderer; /** * @type {?} * @private */ AppHeaderComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvaGVhZGVyL2FwcC1oZWFkZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUF3RHRDLE1BQU0sT0FBTyxrQkFBa0I7Ozs7SUFrQjdCLFlBQW9CLEVBQWM7UUFBZCxPQUFFLEdBQUYsRUFBRSxDQUFZO1FBWHpCLG9CQUFlLEdBQVE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cImltZ0hlaWdodChuYXZiYXJCcmFuZClcIlxyXG4gICAgICAgICAgICAgICBbYXR0ci5hbHRdPVwiaW1nQWx0KG5hdmJhckJyYW5kKVwiXHJcbiAgICAgICAgICAgICAgIGNsYXNzPVwibmF2YmFyLWJyYW5kXCI+XHJcbiAgICAgICAgICA8aW1nICpuZ0lmPVwibmF2YmFyQnJhbmRGdWxsXCJcclxuICAgICAgICAgICAgICAgW3NyY109XCJpbWdTcmMobmF2YmFyQnJhbmRGdWxsKVwiXHJcbiAgICAgICAgICAgICAgIFthdHRyLndpZHRoXT1cImltZ1dpZHRoKG5hdmJhckJyYW5kRnVsbClcIlxyXG4gICAgICAgICAgICAgICBbYXR0ci5oZWlnaHRdPVwiaW1nSGVpZ2h0KG5hdmJhckJyYW5kRnVsbClcIlxyXG4gICAgICAgICAgICAgICBbYXR0ci5hbHRdPVwiaW1nQWx0KG5hdmJhckJyYW5kRnVsbClcIlxyXG4gICAgICAgICAgICAgICBjbGFzcz1cIm5hdmJhci1icmFuZC1mdWxsXCI+XHJcbiAgICAgICAgICA8aW1nICpuZ0lmPVwibmF2YmFyQnJhbmRNaW5pbWl6ZWRcIlxyXG4gICAgICAgICAgICAgICBbc3JjXT1cImltZ1NyYyhuYXZiYXJCcmFuZE1pbmltaXplZClcIlxyXG4gICAgICAgICAgICAgICBbYXR0ci53aWR0aF09XCJpbWdXaWR0aChuYXZiYXJCcmFuZE1pbmltaXplZClcIlxyXG4gICAgICAgICAgICAgICBbYXR0ci5oZWlnaHRdPVwiaW1nSGVpZ2h0KG5hdmJhckJyYW5kTWluaW1pemVkKVwiXHJcbiAgICAgICAgICAgICAgIFthdHRyLmFsdF09XCJpbWdBbHQobmF2YmFyQnJhbmRNaW5pbWl6ZWQpXCJcclxuICAgICAgICAgICAgICAgY2xhc3M9XCJuYXZiYXItYnJhbmQtbWluaW1pemVkXCI+XHJcbiAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgPG5nLXRlbXBs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dGgobmF2YmFyQnJhbmQpXCJcbiAgICAgICAgICAgICAgIFthdHRyLmhlaWdodF09XCJpbWdIZWlnaHQobmF2YmFyQnJhbmQpXCJcbiAgICAgICAgICAgICAgIFthdHRyLmFsdF09XCJpbWdBbHQobmF2YmFyQnJhbmQpXCJcbiAgICAgICAgICAgICAgIGNsYXNzPVwibmF2YmFyLWJyYW5kXCI+XG4gICAgICAgICAgPGltZyAqbmdJZj1cIm5hdmJhckJyYW5kRnVsbFwiXG4gICAgICAgICAgICAgICBbc3JjXT1cImltZ1NyYyhuYXZiYXJCcmFuZEZ1bGwpXCJcbiAgICAgICAgICAgICAgIFthdHRyLndpZHRoXT1cImltZ1dpZHRoKG5hdmJhckJyYW5kRnVsbClcIlxuICAgICAgICAgICAgICAgW2F0dHIuaGVpZ2h0XT1cImltZ0hlaWdodChuYXZiYXJCcmFuZEZ1bGwpXCJcbiAgICAgICAgICAgICAgIFthdHRyLmFsdF09XCJpbWdBbHQobmF2YmFyQnJhbmRGdWxsKVwiXG4gICAgICAgICAgICAgICBjbGFzcz1cIm5hdmJhci1icmFuZC1mdWxsXCI+XG4gICAgICAgICAgPGltZyAqbmdJZj1cIm5hdmJhckJyYW5kTWluaW1pemVkXCJcbiAgICAgICAgICAgICAgIFtzcmNdPVwiaW1nU3JjKG5hdmJhckJyYW5kTWluaW1pemVkKVwiXG4gICAgICAgICAgICAgICBbYXR0ci53aWR0aF09XCJpbWdXaWR0aChuYXZiYXJCcmFuZE1pbmltaXplZClcIlxuICAgICAgICAgICAgICAgW2F0dHIuaGVpZ2h0XT1cImltZ0hlaWdodChuYXZiYXJCcmFuZE1pbmltaXplZClcIlxuICAgICAgICAgICAgICAgW2F0dHIuYWx0XT1cImltZ0FsdChuYXZiYXJCcmFuZE1pbmltaXplZClcIlxuICAgICAgICAgICAgICAgY2xhc3M9XCJuYXZiYXItYnJhbmQtbWluaW1pemVkXCI+XG4gICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgIC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Sk6IHZvaWQge1xuICAgIHJldHVybiBicmFuZC5hbHQgPyBicmFuZC5hbHQgOiAnJztcbiAgfVxuXG4gIGJyZWFrcG9pbnQoYnJlYWtwb2ludDogYW55KTogdm9pZCB7XG4gICAgY29uc29sZS5sb2coYnJlYWtwb2ludCk7XG4gICAgcmV0dXJuIGJyZWFrcG9pbnQgPyBicmVha3BvaW50IDogJyc7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/shared/layout/layout.directive.js b/dist/@coreui/angular/esm2015/lib/shared/layout/layout.directive.js index 4ead6d54..df514356 100644 --- a/dist/@coreui/angular/esm2015/lib/shared/layout/layout.directive.js +++ b/dist/@coreui/angular/esm2015/lib/shared/layout/layout.directive.js @@ -2,9 +2,10 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Directive, HostListener, Input } from '@angular/core'; -import { sidebarCssClasses, asideMenuCssClasses } from './../classes'; -import { ToggleClasses } from './../toggle-classes'; +import { Directive, HostListener, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { asideMenuCssClasses, sidebarCssClasses } from '../classes'; +import { ClassToggler, ToggleClasses } from '../toggle-classes'; /** * Allows the sidebar to be toggled via click. */ @@ -46,14 +47,26 @@ if (false) { SidebarToggleDirective.prototype.bp; } export class SidebarMinimizeDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @param {?} $event * @return {?} */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-minimized'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('sidebar-minimized') ? + this.renderer.removeClass(body, 'sidebar-minimized') : + this.renderer.addClass(body, 'sidebar-minimized'); + // document.body.classList.toggle('sidebar-minimized'); } } SidebarMinimizeDirective.decorators = [ @@ -62,12 +75,34 @@ SidebarMinimizeDirective.decorators = [ },] } ]; /** @nocollapse */ -SidebarMinimizeDirective.ctorParameters = () => []; +SidebarMinimizeDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; SidebarMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; +if (false) { + /** + * @type {?} + * @private + */ + SidebarMinimizeDirective.prototype.document; + /** + * @type {?} + * @private + */ + SidebarMinimizeDirective.prototype.renderer; +} export class MobileSidebarToggleDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } // Check if element has class /** * @private @@ -84,7 +119,12 @@ export class MobileSidebarToggleDirective { */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-show'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // document.body.classList.toggle('sidebar-show'); } } MobileSidebarToggleDirective.decorators = [ @@ -93,15 +133,37 @@ MobileSidebarToggleDirective.decorators = [ },] } ]; /** @nocollapse */ -MobileSidebarToggleDirective.ctorParameters = () => []; +MobileSidebarToggleDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; MobileSidebarToggleDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; +if (false) { + /** + * @type {?} + * @private + */ + MobileSidebarToggleDirective.prototype.document; + /** + * @type {?} + * @private + */ + MobileSidebarToggleDirective.prototype.renderer; +} /** * Allows the off-canvas sidebar to be closed via click. */ export class SidebarOffCanvasCloseDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } // Check if element has class /** * @private @@ -138,8 +200,13 @@ export class SidebarOffCanvasCloseDirective { */ toggleOpen($event) { $event.preventDefault(); - if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) { - this.toggleClass(document.querySelector('body'), 'sidebar-opened'); + /** @type {?} */ + const body = this.document.body; + if (this.hasClass(body, 'sidebar-off-canvas')) { + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // this.toggleClass(document.body, 'sidebar-opened'); } } } @@ -149,19 +216,46 @@ SidebarOffCanvasCloseDirective.decorators = [ },] } ]; /** @nocollapse */ -SidebarOffCanvasCloseDirective.ctorParameters = () => []; +SidebarOffCanvasCloseDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; SidebarOffCanvasCloseDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; +if (false) { + /** + * @type {?} + * @private + */ + SidebarOffCanvasCloseDirective.prototype.document; + /** + * @type {?} + * @private + */ + SidebarOffCanvasCloseDirective.prototype.renderer; +} export class BrandMinimizeDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @param {?} $event * @return {?} */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('brand-minimized'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('brand-minimized') ? + this.renderer.removeClass(body, 'brand-minimized') : + this.renderer.addClass(body, 'brand-minimized'); + // document.body.classList.toggle('brand-minimized'); } } BrandMinimizeDirective.decorators = [ @@ -170,15 +264,35 @@ BrandMinimizeDirective.decorators = [ },] } ]; /** @nocollapse */ -BrandMinimizeDirective.ctorParameters = () => []; +BrandMinimizeDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; BrandMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; +if (false) { + /** + * @type {?} + * @private + */ + BrandMinimizeDirective.prototype.document; + /** + * @type {?} + * @private + */ + BrandMinimizeDirective.prototype.renderer; +} /** * Allows the aside to be toggled via click. */ export class AsideToggleDirective { - constructor() { } + /** + * @param {?} classToggler + */ + constructor(classToggler) { + this.classToggler = classToggler; + } /** * @return {?} */ @@ -192,18 +306,20 @@ export class AsideToggleDirective { toggleOpen($event) { $event.preventDefault(); /** @type {?} */ - let cssClass; - this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0]; - ToggleClasses(cssClass, asideMenuCssClasses); + const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0]; + this.classToggler.toggleClasses(cssClass, asideMenuCssClasses); } } AsideToggleDirective.decorators = [ { type: Directive, args: [{ selector: '[appAsideMenuToggler]', + providers: [ClassToggler] },] } ]; /** @nocollapse */ -AsideToggleDirective.ctorParameters = () => []; +AsideToggleDirective.ctorParameters = () => [ + { type: ClassToggler } +]; AsideToggleDirective.propDecorators = { breakpoint: [{ type: Input, args: ['appAsideMenuToggler',] }], toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] @@ -213,5 +329,10 @@ if (false) { AsideToggleDirective.prototype.breakpoint; /** @type {?} */ AsideToggleDirective.prototype.bp; + /** + * @type {?} + * @private + */ + AsideToggleDirective.prototype.classToggler; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvbGF5b3V0L2xheW91dC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBc0IsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUFFLGlCQUFpQixFQUFFLG1CQU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O1xuICB9XG59XG5cblxuLyoqXG4qIEFsbG93cyB0aGUgYXNpZGUgdG8gYmUgdG9nZ2xlZCB2aWEgY2xpY2suXG4qL1xuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2FwcEFzaWRlTWVudVRvZ2dsZXJdJyxcbiAgcHJvdmlkZXJzOiBbQ2xhc3NUb2dnbGVyXVxufSlcbmV4cG9ydCBjbGFzcyBBc2lkZVRvZ2dsZURpcmVjdGl2ZSBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBJbnB1dCgnYXBwQXNpZGVNZW51VG9nZ2xlcicpIGJyZWFrcG9pbnQ6IHN0cmluZztcbiAgcHVibGljIGJwO1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGNsYXNzVG9nZ2xlcjogQ2xhc3NUb2dnbGVyKSB7fVxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmJwID0gdGhpcy5icmVha3BvaW50O1xuICB9XG4gIEBIb3N0TGlzdGVuZXIoJ2NsaWNrJywgWyckZXZlbnQnXSlcbiAgdG9nZ2xlT3BlbigkZXZlbnQ6IGFueSkge1xuICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIGNvbnN0IGNzc0NsYXNzID0gdGhpcy5icCA/IGBhc2lkZS1tZW51LSR7dGhpcy5icH0tc2hvd2AgOiBhc2lkZU1lbnVDc3NDbGFzc2VzWzBdO1xuICAgIHRoaXMuY2xhc3NUb2dnbGVyLnRvZ2dsZUNsYXNzZXMoY3NzQ2xhc3MsIGFzaWRlTWVudUNzc0NsYXNzZXMpO1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/shared/layout/layout.module.js b/dist/@coreui/angular/esm2015/lib/shared/layout/layout.module.js index 3abb4744..5f4f3876 100644 --- a/dist/@coreui/angular/esm2015/lib/shared/layout/layout.module.js +++ b/dist/@coreui/angular/esm2015/lib/shared/layout/layout.module.js @@ -5,6 +5,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { AsideToggleDirective, BrandMinimizeDirective, MobileSidebarToggleDirective, SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective } from './layout.directive'; +import { ClassToggler } from '../toggle-classes'; export class LayoutModule { } LayoutModule.decorators = [ @@ -27,7 +28,10 @@ LayoutModule.decorators = [ SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective + ], + providers: [ + ClassToggler ] },] } ]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvbGF5b3V0L2xheW91dC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFDTCxvQkFBb0IsRUFDcEIsc0JBQXNCLEVBQ3RCLDRCQUE0QixFQUM1QixzQkFBc0IsRUFDdEIsd0JBQXdCLEVBQ3hCLDhCQUE4QixFQUMvQixNQUFNLG9CQUFvQixDQUFDO0FBdUI1QixNQUFNLE9BQU8sWUFBWTs7O1lBckJ4QixRQUFRLFNBQUM7Z0JBQ1IsT0FBTyxFQUFFO29CQUNQLFlBQVk7aUJBQ2I7Z0JBQ0QsT0FBTyxFQUFFO29CQUNQLG9CQUFvQjtvQkFDcEIsc0JBQXNCO29CQUN0Qiw0QkFBNEI7b0JBQzVCLHNCQUFzQjtvQkFDdEIsd0JBQXdCO29CQUN4Qiw4QkFBOEI7aUJBQy9CO2dCQUNELFlBQVksRUFBRTtvQkFDWixvQkFBb0I7b0JBQ3BCLHN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c2lkZVRvZ2dsZURpcmVjdGl2ZSxcbiAgICBCcmFuZE1pbmltaXplRGlyZWN0aXZlLFxuICAgIE1vYmlsZVNpZGViYXJUb2dnbGVEaXJlY3RpdmUsXG4gICAgU2lkZWJhclRvZ2dsZURpcmVjdGl2ZSxcbiAgICBTaWRlYmFyTWluaW1pemVEaXJlY3RpdmUsXG4gICAgU2lkZWJhck9mZkNhbnZhc0Nsb3NlRGlyZWN0aXZlXG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIENsYXNzVG9nZ2xlclxuICBdXG59KVxuZXhwb3J0IGNsYXNzIExheW91dE1vZHVsZSB7IH1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/shared/toggle-classes.js b/dist/@coreui/angular/esm2015/lib/shared/toggle-classes.js index 0dfa3ac1..d34d90cd 100644 --- a/dist/@coreui/angular/esm2015/lib/shared/toggle-classes.js +++ b/dist/@coreui/angular/esm2015/lib/shared/toggle-classes.js @@ -2,10 +2,12 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ +import { Inject, Injectable, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; /** @type {?} */ const RemoveClasses = (NewClassNames) => { /** @type {?} */ - const MatchClasses = NewClassNames.map((Class) => document.querySelector('body').classList.contains(Class)); + const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class)); return MatchClasses.indexOf(true) !== -1; }; const ɵ0 = RemoveClasses; @@ -16,11 +18,67 @@ export const ToggleClasses = (Toggle, ClassNames) => { /** @type {?} */ const NewClassNames = ClassNames.slice(0, Level + 1); if (RemoveClasses(NewClassNames)) { - NewClassNames.map((Class) => document.querySelector('body').classList.remove(Class)); + NewClassNames.map((Class) => document.body.classList.remove(Class)); } else { - document.querySelector('body').classList.add(Toggle); + document.body.classList.add(Toggle); } }; +export class ClassToggler { + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } + /** + * @param {?} NewClassNames + * @return {?} + */ + removeClasses(NewClassNames) { + /** @type {?} */ + const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class)); + return MatchClasses.indexOf(true) !== -1; + } + /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + toggleClasses(Toggle, ClassNames) { + /** @type {?} */ + const Level = ClassNames.indexOf(Toggle); + /** @type {?} */ + const NewClassNames = ClassNames.slice(0, Level + 1); + if (this.removeClasses(NewClassNames)) { + NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class)); + } + else { + this.renderer.addClass(this.document.body, Toggle); + } + } +} +ClassToggler.decorators = [ + { type: Injectable } +]; +/** @nocollapse */ +ClassToggler.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; +if (false) { + /** + * @type {?} + * @private + */ + ClassToggler.prototype.document; + /** + * @type {?} + * @private + */ + ClassToggler.prototype.renderer; +} export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLWNsYXNzZXMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2hhcmVkL3RvZ2dsZS1jbGFzc2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O01BQU0sYUFBYSxHQUFHLENBQUMsYUFBYSxFQUFFLEVBQUU7O1VBQ2hDLFlBQVksR0FBRyxhQUFhLENBQUMsR0FBRyxDQUFDLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxRQUFRLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxDQUFDLFNBQVMsQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0csT0FBTyxZQUFZLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLL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vbnN0IE5ld0NsYXNzTmFtZXMgPSBDbGFzc05hbWVzLnNsaWNlKDAsIExldmVsICsgMSk7XG5cbiAgICBpZiAodGhpcy5yZW1vdmVDbGFzc2VzKE5ld0NsYXNzTmFtZXMpKSB7XG4gICAgICBOZXdDbGFzc05hbWVzLm1hcCgoQ2xhc3MpID0+IHRoaXMucmVuZGVyZXIucmVtb3ZlQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCBDbGFzcykpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZG9jdW1lbnQuYm9keSwgVG9nZ2xlKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-footer.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-footer.component.js index 4dff05b6..3eb05ff4 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-footer.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-footer.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; export class AppSidebarFooterComponent { /** * @param {?} el @@ -38,4 +38,4 @@ if (false) { */ AppSidebarFooterComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWZvb3Rlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxF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wb3J0IGNsYXNzIEFwcFNpZGViYXJGb290ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZWw6IEVsZW1lbnRSZWYpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICAgIFJlcGxhY2UodGhpcy5lbCk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-form.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-form.component.js index 6995d4ef..efbbb690 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-form.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-form.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; export class AppSidebarFormComponent { /** * @param {?} el @@ -39,4 +39,4 @@ if (false) { */ AppSidebarFormComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1mb3JtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQVcsTUFBTSxlQUFlLENBQUM7QUFDL0QsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGFBQWEsQ0FBQztBQVV0QyxNQUFNLE9BQU8sdUJBQXVCOzs7O0lBRWxDLFlBQW9CLEVBQWM7UUFBZCxPQUFFLEdBQUYsRUFBRSxDQUFZO0lBQUksQ0FBQzs7OztJQUV2QyxRQUFRO1FBQ04sT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNuQixDQUFDOzs7WUFkRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLGtCQUFrQjtnQkFDNUIsUUFBUSxFQUFFOzs7O0dBSVQ7YUFDRjs7OztZQVZtQixVQUFVOzs7Ozs7O0lBYWhCLHFDQUFzQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgRWxlbWVudFJlZiwgT25Jbml0ICB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBSZXBsYWNlIH0gZnJvbSAnLi8uLi9zaGFyZWQnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhcHAtc2lkZWJhci1mb3JtJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPGZvcm0gY2xhc3M9XCJzaWRlYmFyLWZvcm1cIj5cclxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgPC9mb3JtPlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEFwcFNpZGViYXJGb3JtQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikgeyB9XHJcblxyXG4gIG5nT25Jbml0KCkge1xyXG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1mb3JtLmNvbXBvbmVudC50cyJdLCJ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== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-header.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-header.component.js index 241a390e..9918ddb9 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-header.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-header.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; export class AppSidebarHeaderComponent { /** * @param {?} el @@ -39,4 +39,4 @@ if (false) { */ AppSidebarHeaderComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWhlYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFVdEMsTUFBTSxPQUFPLHlCQUF5Qjs7OztJQUVwQyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFJLENBQUM7Ozs7SUFFdkMsUUFBUTtRQUNOLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbkIsQ0FBQzs7O1lBZEYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxvQkFBb0I7Z0JBQzlCLFFBQVEsRUFBRTs7OztHQUlUO2FBQ0Y7Ozs7WUFWbUIsVUFBVTs7Ozs7OztJQWFoQix1Q0FBc0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIEVsZW1lbnRSZWYsIE9uSW5pdCAgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgUmVwbGFjZSB9IGZyb20gJy4vLi4vc2hhcmVkJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYXBwLXNpZGViYXItaGVhZGVyJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPGRpdiBjbGFzcz1cInNpZGViYXItaGVhZGVyXCI+XHJcbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgIDwvZGl2PlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEFwcFNpZGViYXJIZWFkZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWhlYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBRS9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFVcEMsTUFBTSxPQUFPLHlCQUF5Qjs7OztJQUVwQyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFJLENBQUM7Ozs7SUFFdkMsUUFBUTtRQUNOLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbkIsQ0FBQzs7O1lBZEYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxvQkFBb0I7Z0JBQzlCLFFBQVEsRUFBRTs7OztHQUlUO2FBQ0Y7Ozs7WUFYbUIsVUFBVTs7Ozs7OztJQWNoQix1Q0FBc0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIEVsZW1lbnRSZWYsIE9uSW5pdCAgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgUmVwbGFjZSB9IGZyb20gJy4uL3NoYXJlZCc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2FwcC1zaWRlYmFyLWhlYWRlcicsXG4gIHRlbXBsYXRlOiBgXG4gICAgPGRpdiBjbGFzcz1cInNpZGViYXItaGVhZGVyXCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIGBcbn0pXG5leHBvcnQgY2xhc3MgQXBwU2lkZWJhckhlYWRlckNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-minimizer.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-minimizer.component.js index e751c492..25cc0700 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-minimizer.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-minimizer.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; export class AppSidebarMinimizerComponent { /** * @param {?} el @@ -37,4 +37,4 @@ if (false) { */ AppSidebarMinimizerComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbWluaW1pemVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW1pbmltaXplci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFRdEMsTUFBTSxPQUFPLDRCQUE0Qjs7OztJQUV2QyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFJLENBQUM7Ozs7SUFFdkMsUUFBUTtRQUNOLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbkIsQ0FBQzs7O1lBWkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSx1QkFBdUI7Z0JBQ2pDLFFBQVEsRUFBRTs7R0FFVDthQUNGOzs7O1lBUm1CLFVBQVU7Ozs7Ozs7SUFXaEIsMENBQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFbGVtZW50UmVmLCBPbkluaXQgIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFJlcGxhY2UgfSBmcm9tICcuLy4uL3NoYXJlZCc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FwcC1zaWRlYmFyLW1pbmltaXplcicsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxidXR0b24gY2xhc3M9XCJzaWRlYmFyLW1pbmltaXplclwiIHR5cGU9XCJidXR0b25cIiBhcHBTaWRlYmFyTWluaW1pemVyIGFwcEJyYW5kTWluaW1pemVyPjwvYnV0dG9uPlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEFwcFNpZGViYXJNaW5pbWl6ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbWluaW1pemVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW1pbmltaXplci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBRS9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFRcEMsTUFBTSxPQUFPLDRCQUE0Qjs7OztJQUV2QyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFJLENBQUM7Ozs7SUFFdkMsUUFBUTtRQUNOLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbkIsQ0FBQzs7O1lBWkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSx1QkFBdUI7Z0JBQ2pDLFFBQVEsRUFBRTs7R0FFVDthQUNGOzs7O1lBVG1CLFVBQVU7Ozs7Ozs7SUFZaEIsMENBQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFbGVtZW50UmVmLCBPbkluaXQgIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IFJlcGxhY2UgfSBmcm9tICcuLi9zaGFyZWQnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdhcHAtc2lkZWJhci1taW5pbWl6ZXInLFxuICB0ZW1wbGF0ZTogYFxuICAgIDxidXR0b24gY2xhc3M9XCJzaWRlYmFyLW1pbmltaXplclwiIHR5cGU9XCJidXR0b25cIiBhcHBTaWRlYmFyTWluaW1pemVyIGFwcEJyYW5kTWluaW1pemVyPjwvYnV0dG9uPlxuICBgXG59KVxuZXhwb3J0IGNsYXNzIEFwcFNpZGViYXJNaW5pbWl6ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZWw6IEVsZW1lbnRSZWYpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICAgIFJlcGxhY2UodGhpcy5lbCk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.component.js index d37d4675..5904ce66 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar-nav.component.js @@ -2,7 +2,9 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, Directive, ElementRef, HostBinding, HostListener, Input, Renderer2 } from '@angular/core'; +import { Component, Directive, ElementRef, HostBinding, HostListener, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Router } from '@angular/router'; import { Replace } from '../shared'; export class NavDropdownDirective { /** @@ -74,10 +76,12 @@ if (false) { } export class LinkAttributesDirective { /** + * @param {?} document * @param {?} renderer * @param {?} el */ - constructor(renderer, el) { + constructor(document, renderer, el) { + this.document = document; this.renderer = renderer; this.el = el; } @@ -129,7 +133,7 @@ export class LinkAttributesDirective { */ setAttrib(key, value) { /** @type {?} */ - const newAttr = document.createAttribute(key); + const newAttr = this.document.createAttribute(key); newAttr.value = value; this.renderer.setAttribute(this.el.nativeElement, key, value); } @@ -141,6 +145,7 @@ LinkAttributesDirective.decorators = [ ]; /** @nocollapse */ LinkAttributesDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, { type: Renderer2 }, { type: ElementRef } ]; @@ -150,6 +155,11 @@ LinkAttributesDirective.propDecorators = { if (false) { /** @type {?} */ LinkAttributesDirective.prototype.appLinkAttributes; + /** + * @type {?} + * @private + */ + LinkAttributesDirective.prototype.document; /** * @type {?} * @private @@ -221,7 +231,6 @@ if (false) { /** @type {?} */ AppSidebarNavComponent.prototype.navItemsArray; } -import { Router } from '@angular/router'; export class AppSidebarNavItemComponent { /** * @param {?} router @@ -304,10 +313,14 @@ if (false) { } export class AppSidebarNavLinkComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} router * @param {?} el */ - constructor(router, el) { + constructor(document, renderer, router, el) { + this.document = document; + this.renderer = renderer; this.router = router; this.el = el; } @@ -370,8 +383,8 @@ export class AppSidebarNavLinkComponent { * @return {?} */ hideMobile() { - if (document.body.classList.contains('sidebar-show')) { - document.body.classList.toggle('sidebar-show'); + if (this.document.body.classList.contains('sidebar-show')) { + this.renderer.removeClass(this.document.body, 'sidebar-show'); } } /** @@ -416,6 +429,8 @@ AppSidebarNavLinkComponent.decorators = [ ]; /** @nocollapse */ AppSidebarNavLinkComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: Router }, { type: ElementRef } ]; @@ -425,6 +440,16 @@ AppSidebarNavLinkComponent.propDecorators = { if (false) { /** @type {?} */ AppSidebarNavLinkComponent.prototype.link; + /** + * @type {?} + * @private + */ + AppSidebarNavLinkComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppSidebarNavLinkComponent.prototype.renderer; /** * @type {?} * @private @@ -570,4 +595,4 @@ if (false) { */ AppSidebarNavTitleComponent.prototype.renderer; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW5hdi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEVBQ1gsWUFBWSxFQUNaLEtBQUssRUFHTCxTQUFTLEVBRVYsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUtwQyxNQUFNLE9BQU8sb0JBQW9COzs7O0lBRS9CLFlBQW9CLEVBQWM7UUFBZCxPQUFFLEdBQUYsRUFBRSxDQUFZO0lBQUksQ0FBQzs7OztJQUV2QyxNQUFNO1FBQ0osSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUNqRCxDQUFDOzs7WU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RleHQodGhpcy50aXRsZS5uYW1lKTtcclxuXHJcbiAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKGxpLCAnbmF2LXRpdGxlJyk7XHJcblxyXG4gICAgaWYgKCB0aGlzLnRpdGxlLmNsYXNzICkge1xyXG4gICAgICBjb25zdCBjbGFzc2VzID0gdGhpcy50aXRsZS5jbGFzcztcclxuICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyhsaSwgY2xhc3Nlcyk7XHJcbiAgICB9XHJcblxyXG4gICAgaWYgKCB0aGlzLnRpdGxlLndyYXBwZXIgKSB7XHJcbiAgICAgIGNvbnN0IHdyYXBwZXIgPSB0aGlzLnJlbmRlcmVyLmNyZWF0ZUVsZW1lbnQodGhpcy50aXRsZS53cmFwcGVyLmVsZW1lbnQpO1xyXG5cclxuICAgICAgdGhpcy5yZW5kZXJlci5hcHBlbmRDaGlsZCh3cmFwcGVyLCBuYW1lKTtcclxuICAgICAgdGhpcy5yZW5kZXJlci5hcHBlbmRDaGlsZChsaSwgd3JhcHBlcik7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICB0aGlzLnJlbmRlcmVyLmFwcGVuZENoaWxkKGxpLCBuYW1lKTtcclxuICAgIH1cclxuICAgIHRoaXMucmVuZGVyZXIuYXBwZW5kQ2hpbGQobmF0aXZlRWxlbWVudCwgbGkpO1xyXG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW5hdi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTL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VFbGVtZW50LCBsaSk7XG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar.component.js b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar.component.js index 87e64d9d..76876560 100644 --- a/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar.component.js +++ b/dist/@coreui/angular/esm2015/lib/sidebar/app-sidebar.component.js @@ -2,10 +2,18 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, Input, HostBinding } from '@angular/core'; -import { sidebarCssClasses } from './../shared'; +import { Component, Input, Inject, HostBinding, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { sidebarCssClasses } from '../shared'; export class AppSidebarComponent { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @return {?} */ @@ -20,64 +28,63 @@ export class AppSidebarComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('sidebar-fixed'); + this.renderer.removeClass(this.document.body, 'sidebar-fixed'); } /** - * @param {?} compact + * @param {?=} compact * @return {?} */ - isCompact(compact) { - if (this.compact) { - document.querySelector('body').classList.add('sidebar-compact'); + isCompact(compact = this.compact) { + if (compact) { + this.renderer.addClass(this.document.body, 'sidebar-compact'); } } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } } /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ - isMinimized(minimized) { - if (this.minimized) { - document.querySelector('body').classList.add('sidebar-minimized'); + isMinimized(minimized = this.minimized) { + if (minimized) { + this.renderer.addClass(this.document.body, 'sidebar-minimized'); } } /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ - isOffCanvas(offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('sidebar-off-canvas'); + isOffCanvas(offCanvas = this.offCanvas) { + if (offCanvas) { + this.renderer.addClass(this.document.body, 'sidebar-off-canvas'); } } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - fixedPosition(fixed) { + fixedPosition(fixed = this.fixed) { console.warn('deprecated fixedPosition(), use isFixed() instead'); - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } } /** - * @param {?} display + * @param {?=} display * @return {?} */ - displayBreakpoint(display) { - if (this.display !== false) { + displayBreakpoint(display = this.display) { + if (display !== false) { /** @type {?} */ - let cssClass; - this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } } } @@ -88,7 +95,10 @@ AppSidebarComponent.decorators = [ }] } ]; /** @nocollapse */ -AppSidebarComponent.ctorParameters = () => []; +AppSidebarComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; AppSidebarComponent.propDecorators = { compact: [{ type: Input }], display: [{ type: Input }], @@ -110,5 +120,15 @@ if (false) { AppSidebarComponent.prototype.offCanvas; /** @type {?} */ AppSidebarComponent.prototype.true; + /** + * @type {?} + * @private + */ + AppSidebarComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppSidebarComponent.prototype.renderer; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL3NpZGViYXIvYXBwLXNpZGViYXIuY29tcG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ZmQ2FudmFzKG9mZkNhbnZhczogYm9vbGVhbik6IHZvaWQge1xyXG4gICAgaWYgKHRoaXMub2ZmQ2FudmFzKSB7IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ2JvZHknKS5jbGFzc0xpc3QuYWRkKCdzaWRlYmFyLW9mZi1jYW52YXMnKTsgfVxyXG4gIH1cclxuXHJcbiAgZml4ZWRQb3NpdGlvbihmaXhlZDogYm9vbGVhbik6IHZvaWQge1xyXG4gICAgY29uc29sZS53YXJuKCdkZXByZWNhdGVkIGZpeGVkUG9zaXRpb24oKSwgdXNlIGlzRml4ZWQoKSBpbnN0ZWFkJyk7XHJcbiAgICBpZiAodGhpcy5maXhlZCkgeyBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdib2R5JykuY2xhc3NMaXN0LmFkZCgnc2lkZWJhci1maXhlZCcpOyB9XHJcbiAgfVxyXG5cclxuICBkaXNwbGF5QnJlYWtwb2ludChkaXNwbGF5OiBhbnkpOiB2b2lkIHtcclxuICAgIGlmICh0aGlzLmRpc3BsYXkgIT09IGZhbHNlICkge1xyXG4gICAgICBsZXQgY3NzQ2xhc3M7XHJcbiAgICAgIHRoaXMuZGlzcGxheSA/IGNzc0NsYXNzID0gYHNpZGViYXItJHt0aGlzLmRpc3BsYXl9LXNob3dgIDogY3NzQ2xhc3MgPSBzaWRlYmFyQ3NzQ2xhc3Nlc1swXTtcclxuICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLmNsYXNzTGlzdC5hZGQoY3NzQ2xhc3MpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL3NpZGViYXIvYXBwLXNpZGViYXIuY29tcG9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XMuZGlzcGxheSk6IHZvaWQge1xuICAgIGlmIChkaXNwbGF5ICE9PSBmYWxzZSkge1xuICAgICAgY29uc3QgY3NzQ2xhc3MgPSBkaXNwbGF5ID8gYHNpZGViYXItJHtkaXNwbGF5fS1zaG93YCA6IHNpZGViYXJDc3NDbGFzc2VzWzBdO1xuICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmRvY3VtZW50LmJvZHksIGNzc0NsYXNzKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/coreui-angular.js b/dist/@coreui/angular/esm5/coreui-angular.js index 79be3927..0095dcef 100644 --- a/dist/@coreui/angular/esm5/coreui-angular.js +++ b/dist/@coreui/angular/esm5/coreui-angular.js @@ -6,17 +6,18 @@ * Generated bundle index. Do not edit. */ export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule } from './public_api'; -export { AppAsideComponent as ɵh } from './lib/aside/app-aside.component'; -export { AppBreadcrumbComponent as ɵi } from './lib/breadcrumb/app-breadcrumb.component'; -export { AppBreadcrumbService as ɵj } from './lib/breadcrumb/app-breadcrumb.service'; -export { AppFooterComponent as ɵk } from './lib/footer/app-footer.component'; -export { AppHeaderComponent as ɵl } from './lib/header/app-header.component'; +export { AppAsideComponent as ɵi } from './lib/aside/app-aside.component'; +export { AppBreadcrumbComponent as ɵj } from './lib/breadcrumb/app-breadcrumb.component'; +export { AppBreadcrumbService as ɵk } from './lib/breadcrumb/app-breadcrumb.service'; +export { AppFooterComponent as ɵl } from './lib/footer/app-footer.component'; +export { AppHeaderComponent as ɵm } from './lib/header/app-header.component'; export { AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb } from './lib/shared/layout/layout.directive'; export { LayoutModule as ɵa } from './lib/shared/layout/layout.module'; -export { AppSidebarFooterComponent as ɵm } from './lib/sidebar/app-sidebar-footer.component'; -export { AppSidebarFormComponent as ɵn } from './lib/sidebar/app-sidebar-form.component'; -export { AppSidebarHeaderComponent as ɵo } from './lib/sidebar/app-sidebar-header.component'; -export { AppSidebarMinimizerComponent as ɵp } from './lib/sidebar/app-sidebar-minimizer.component'; -export { AppSidebarNavComponent as ɵu, AppSidebarNavDropdownComponent as ɵx, AppSidebarNavItemComponent as ɵv, AppSidebarNavLinkComponent as ɵw, AppSidebarNavTitleComponent as ɵy, LinkAttributesDirective as ɵt, NavDropdownDirective as ɵr, NavDropdownToggleDirective as ɵs } from './lib/sidebar/app-sidebar-nav.component'; -export { AppSidebarComponent as ɵq } from './lib/sidebar/app-sidebar.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJjb3JldWktYW5ndWxhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0dBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBQ25GLE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUMzRSxPQUFPLEVBQUMsa0JBQWtCLElBQUksRUFBRSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDM0UsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyx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kZWJhckZvcm1Db21wb25lbnQgYXMgybVufSBmcm9tICcuL2xpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWZvcm0uY29tcG9uZW50JztcbmV4cG9ydCB7QXBwU2lkZWJhckhlYWRlckNvbXBvbmVudCBhcyDJtW99IGZyb20gJy4vbGliL3NpZGViYXIvYXBwLXNpZGViYXItaGVhZGVyLmNvbXBvbmVudCc7XG5leHBvcnQge0FwcFNpZGViYXJNaW5pbWl6ZXJDb21wb25lbnQgYXMgybVwfSBmcm9tICcuL2xpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW1pbmltaXplci5jb21wb25lbnQnO1xuZXhwb3J0IHtBcHBTaWRlYmFyTmF2Q29tcG9uZW50IGFzIMm1dSxBcHBTaWRlYmFyTmF2RHJvcGRvd25Db21wb25lbnQgYXMgybV4LEFwcFNpZGViYXJOYXZJdGVtQ29tcG9uZW50IGFzIMm1dixBcHBTaWRlYmFyTmF2TGlua0NvbXBvbmVudCBhcyDJtXcsQXBwU2lkZWJhck5hdlRpdGxlQ29tcG9uZW50IGFzIMm1eSxMaW5rQXR0cmlidXRlc0RpcmVjdGl2ZSBhcyDJtXQsTmF2RHJvcGRvd25EaXJlY3RpdmUgYXMgybVyLE5hdkRyb3Bkb3duVG9nZ2xlRGlyZWN0aXZlIGFzIMm1c30gZnJvbSAnLi9saWIvc2lkZWJhci9hcHAtc2lkZWJhci1uYXYuY29tcG9uZW50JztcbmV4cG9ydCB7QXBwU2lkZWJhckNvbXBvbmVudCBhcyDJtXF9IGZyb20gJy4vbGliL3NpZGViYXIvYXBwLXNpZGViYXIuY29tcG9uZW50JzsiXX0= \ No newline at end of file +export { ClassToggler as ɵh } from './lib/shared/toggle-classes'; +export { AppSidebarFooterComponent as ɵn } from './lib/sidebar/app-sidebar-footer.component'; +export { AppSidebarFormComponent as ɵo } from './lib/sidebar/app-sidebar-form.component'; +export { AppSidebarHeaderComponent as ɵp } from './lib/sidebar/app-sidebar-header.component'; +export { AppSidebarMinimizerComponent as ɵq } from './lib/sidebar/app-sidebar-minimizer.component'; +export { AppSidebarNavComponent as ɵv, AppSidebarNavDropdownComponent as ɵy, AppSidebarNavItemComponent as ɵw, AppSidebarNavLinkComponent as ɵx, AppSidebarNavTitleComponent as ɵz, LinkAttributesDirective as ɵu, NavDropdownDirective as ɵs, NavDropdownToggleDirective as ɵt } from './lib/sidebar/app-sidebar-nav.component'; +export { AppSidebarComponent as ɵr } from './lib/sidebar/app-sidebar.component'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJjb3JldWktYW5ndWxhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0dBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBQ25GLE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUMzRSxPQUFPLEVBQUMsa0JBQWtCLElBQUksRUFBRSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDM0UsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsNEJBQTRCLElBQUksRUFBRSxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyw4QkFBOEIsSUFBSSxFQUFFLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUF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QnO1xuZXhwb3J0IHtBcHBTaWRlYmFyRm9ybUNvbXBvbmVudCBhcyDJtW99IGZyb20gJy4vbGliL3NpZGViYXIvYXBwLXNpZGViYXItZm9ybS5jb21wb25lbnQnO1xuZXhwb3J0IHtBcHBTaWRlYmFySGVhZGVyQ29tcG9uZW50IGFzIMm1cH0gZnJvbSAnLi9saWIvc2lkZWJhci9hcHAtc2lkZWJhci1oZWFkZXIuY29tcG9uZW50JztcbmV4cG9ydCB7QXBwU2lkZWJhck1pbmltaXplckNvbXBvbmVudCBhcyDJtXF9IGZyb20gJy4vbGliL3NpZGViYXIvYXBwLXNpZGViYXItbWluaW1pemVyLmNvbXBvbmVudCc7XG5leHBvcnQge0FwcFNpZGViYXJOYXZDb21wb25lbnQgYXMgybV2LEFwcFNpZGViYXJOYXZEcm9wZG93bkNvbXBvbmVudCBhcyDJtXksQXBwU2lkZWJhck5hdkl0ZW1Db21wb25lbnQgYXMgybV3LEFwcFNpZGViYXJOYXZMaW5rQ29tcG9uZW50IGFzIMm1eCxBcHBTaWRlYmFyTmF2VGl0bGVDb21wb25lbnQgYXMgybV6LExpbmtBdHRyaWJ1dGVzRGlyZWN0aXZlIGFzIMm1dSxOYXZEcm9wZG93bkRpcmVjdGl2ZSBhcyDJtXMsTmF2RHJvcGRvd25Ub2dnbGVEaXJlY3RpdmUgYXMgybV0fSBmcm9tICcuL2xpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW5hdi5jb21wb25lbnQnO1xuZXhwb3J0IHtBcHBTaWRlYmFyQ29tcG9uZW50IGFzIMm1cn0gZnJvbSAnLi9saWIvc2lkZWJhci9hcHAtc2lkZWJhci5jb21wb25lbnQnOyJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/aside/app-aside.component.js b/dist/@coreui/angular/esm5/lib/aside/app-aside.component.js index 56c12229..cb9d5766 100644 --- a/dist/@coreui/angular/esm5/lib/aside/app-aside.component.js +++ b/dist/@coreui/angular/esm5/lib/aside/app-aside.component.js @@ -2,10 +2,13 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { asideMenuCssClasses, Replace } from './../shared/index'; +import { Component, ElementRef, Input, Inject, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { asideMenuCssClasses, Replace } from '../shared'; var AppAsideComponent = /** @class */ (function () { - function AppAsideComponent(el) { + function AppAsideComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -27,48 +30,50 @@ var AppAsideComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('aside-menu-fixed'); + this.renderer.removeClass(this.document.body, 'aside-menu-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppAsideComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('aside-menu-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'aside-menu-fixed'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppAsideComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('aside-menu-off-canvas'); + if (offCanvas === void 0) { offCanvas = this.offCanvas; } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'aside-menu-off-canvas'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppAsideComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { display = this.display; } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "aside-menu-" + this.display + "-show" : cssClass = asideMenuCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = this.display ? "aside-menu-" + this.display + "-show" : asideMenuCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppAsideComponent.decorators = [ @@ -79,6 +84,8 @@ var AppAsideComponent = /** @class */ (function () { ]; /** @nocollapse */ AppAsideComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppAsideComponent.propDecorators = { @@ -96,10 +103,20 @@ if (false) { AppAsideComponent.prototype.fixed; /** @type {?} */ AppAsideComponent.prototype.offCanvas; + /** + * @type {?} + * @private + */ + AppAsideComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppAsideComponent.prototype.renderer; /** * @type {?} * @private */ AppAsideComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWFzaWRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9hc2lkZS9hcHAtYXNpZGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxPQUFPLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVqRTtJQWFFLDJCQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUFHLENBQUM7Ozs7SUFFdEMsb0NBQVE7OztJQUFSO1FBQ0UsT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztRQUNqQixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN6QixJQUFJLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxTQU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BsYXkgIT09IGZhbHNlICkge1xuICAgICAgY29uc3QgY3NzQ2xhc3MgPSB0aGlzLmRpc3BsYXkgPyBgYXNpZGUtbWVudS0ke3RoaXMuZGlzcGxheX0tc2hvd2AgOiBhc2lkZU1lbnVDc3NDbGFzc2VzWzBdO1xuICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmRvY3VtZW50LmJvZHksIGNzc0NsYXNzKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.component.js b/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.component.js index dc1f11da..20e7d38c 100644 --- a/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.component.js +++ b/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.component.js @@ -2,11 +2,14 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; import { AppBreadcrumbService } from './app-breadcrumb.service'; +import { Replace } from '../shared'; var AppBreadcrumbComponent = /** @class */ (function () { - function AppBreadcrumbComponent(service, el) { + function AppBreadcrumbComponent(document, renderer, service, el) { + this.document = document; + this.renderer = renderer; this.service = service; this.el = el; } @@ -28,19 +31,20 @@ var AppBreadcrumbComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('breadcrumb-fixed'); + this.renderer.removeClass(this.document.body, 'breadcrumb-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppBreadcrumbComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('breadcrumb-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'breadcrumb-fixed'); } }; AppBreadcrumbComponent.decorators = [ @@ -51,6 +55,8 @@ var AppBreadcrumbComponent = /** @class */ (function () { ]; /** @nocollapse */ AppBreadcrumbComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: AppBreadcrumbService }, { type: ElementRef } ]; }; @@ -65,9 +71,19 @@ if (false) { AppBreadcrumbComponent.prototype.fixed; /** @type {?} */ AppBreadcrumbComponent.prototype.breadcrumbs; + /** + * @type {?} + * @private + */ + AppBreadcrumbComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppBreadcrumbComponent.prototype.renderer; /** @type {?} */ AppBreadcrumbComponent.prototype.service; /** @type {?} */ AppBreadcrumbComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL2JyZWFkY3J1bWIvYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFaEU7SUFpQkUsZ0NBQW1CLE9BQTZCLEVBQVMsRUFBYztRQUFwRCxZQUFPLEdBQVAsT0FBTyxDQUFzQjtRQUFTLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBSSxDQUFDOzs7O0lBRXJFLHlDQUFROzs7SUFBZjtRQUNFLE9BQU8sQ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cclxuICBwdWJsaWMgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xyXG4gICAgdGhpcy5pc0ZpeGVkKHRoaXMuZml4ZWQpO1xyXG4gICAgdGhpcy5icmVhZGNydW1icyA9IHRoaXMuc2VydmljZS5icmVhZGNydW1icztcclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge1xyXG4gICAgZG9jdW1lbnQuYm9keS5jbGFzc0xpc3QucmVtb3ZlKCdicmVhZGNydW1iLWZpeGVkJyk7XHJcbiAgfVxyXG5cclxuICBpc0ZpeGVkKGZpeGVkOiBib29sZWFuKTogdm9pZCB7XHJcbiAgICBpZiAodGhpcy5maXhlZCkgeyBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdib2R5JykuY2xhc3NMaXN0LmFkZCgnYnJlYWRjcnVtYi1maXhlZCcpOyB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL2JyZWFkY3J1bWIvYXBwLWJyZWFkY3J1bWIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFxQixTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakcsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBRXpDLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzlELE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxXQUFXLENBQUM7QUFFbE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CAnYnJlYWRjcnVtYi1maXhlZCcpO1xuICAgIH1cbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.service.js b/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.service.js index dff52856..15e0996f 100644 --- a/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.service.js +++ b/dist/@coreui/angular/esm5/lib/breadcrumb/app-breadcrumb.service.js @@ -72,4 +72,4 @@ if (false) { */ AppBreadcrumbService.prototype.route; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9icmVhZGNydW1iL2FwcC1icmVhZGNydW1iLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDckQsT0FBTyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEUsT0FBTyxFQUFFLGVBQWUsRUFBYyxNQUFNLFlBQVksQ0FBQztBQUN6RCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEM7SUFPRSw4QkFBb0IsTUFBYyxFQUFVLEtBQXFCO1FBQWpFLGlCQStCQztRQS9CbUIsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUFVLFVBQUssR0FBTCxLQUFLLENBQWdCO1FBRS9ELElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxlQUFlLENBQVcsSUFBSSxLQUFLLEVBQVUsQ0FBQyxDQUFDO1FBRXZFLElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxDQUFDLFlB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dXJsXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICBjdXJyZW50Um91dGUgPSByb3V0ZTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgICAgfSB3aGlsZSAoY3VycmVudFJvdXRlKTtcclxuXHJcbiAgICAgIHRoaXMuX2JyZWFkY3J1bWJzLm5leHQoT2JqZWN0LmFzc2lnbihbXSwgYnJlYWRjcnVtYnMpKTtcclxuXHJcbiAgICAgIHJldHVybiBicmVhZGNydW1icztcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJyZWFkY3J1bWIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9icmVhZGNydW1iL2FwcC1icmVhZGNydW1iLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEUsT0FBTyxFQUFFLGVBQWUsRUFBYyxNQUFNLFlBQVksQ0FBQztBQUN6RCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEM7SUFPRSw4QkFBb0IsTUFBYyxFQUFVLEtBQXFCO1FBQWpFLGlCQStCQztRQS9CbUIsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUFVLFVBQUssR0FBTCxLQUFLLENBQWdCO1FBRS9ELElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxlQUFlLENBQVcsSUFBSSxLQUFLLEVBQVUsQ0FBQyxDQUFDO1FBRXZFLElBQUksQ0FBQ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50Um91dGUgPSByb3V0ZTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSB3aGlsZSAoY3VycmVudFJvdXRlKTtcblxuICAgICAgdGhpcy5fYnJlYWRjcnVtYnMubmV4dChPYmplY3QuYXNzaWduKFtdLCBicmVhZGNydW1icykpO1xuXG4gICAgICByZXR1cm4gYnJlYWRjcnVtYnM7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/footer/app-footer.component.js b/dist/@coreui/angular/esm5/lib/footer/app-footer.component.js index ee8bb3fb..b3d84564 100644 --- a/dist/@coreui/angular/esm5/lib/footer/app-footer.component.js +++ b/dist/@coreui/angular/esm5/lib/footer/app-footer.component.js @@ -2,10 +2,13 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Replace } from '../shared'; var AppFooterComponent = /** @class */ (function () { - function AppFooterComponent(el) { + function AppFooterComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -25,29 +28,32 @@ var AppFooterComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('footer-fixed'); + this.renderer.removeClass(this.document.body, 'footer-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppFooterComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('footer-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'footer-fixed'); } }; AppFooterComponent.decorators = [ { type: Component, args: [{ selector: 'app-footer', - template: "\n
    \n \n
    \n " + template: "\n \n
    \n \n
    \n " }] } ]; /** @nocollapse */ AppFooterComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppFooterComponent.propDecorators = { @@ -59,10 +65,20 @@ export { AppFooterComponent }; if (false) { /** @type {?} */ AppFooterComponent.prototype.fixed; + /** + * @type {?} + * @private + */ + AppFooterComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppFooterComponent.prototype.renderer; /** * @type {?} * @private */ AppFooterComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWZvb3Rlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvZm9vdGVyL2FwcC1mb290ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdEM7SUFXRSw0QkFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBRyxDQUFDOzs7O0lBRXRDLHFDQUFROzs7SUFBUjtRQUNFLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7UUFDakIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0IsQ0FBQzs7OztJQUVELHdDQUFXOzs7SUFBWDtRQUNFLFFBQVEsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxjQUFjLENBQUMsQ0FBQztJQUNqRCxDQUFDOzs7OztJQUVELG9DQUFPOzs7O0lBQVAsVUFBUSxLQUFjO1FBQ3BCLElBQ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esm5/lib/header/app-header.component.js b/dist/@coreui/angular/esm5/lib/header/app-header.component.js index c4e5429d..e992c656 100644 --- a/dist/@coreui/angular/esm5/lib/header/app-header.component.js +++ b/dist/@coreui/angular/esm5/lib/header/app-header.component.js @@ -2,10 +2,13 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, ElementRef, Input } from '@angular/core'; -import { Replace } from './../shared'; +import { Component, ElementRef, Input, Inject, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Replace } from '../shared'; var AppHeaderComponent = /** @class */ (function () { - function AppHeaderComponent(el) { + function AppHeaderComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' }; this.navbarBrandHref = ''; @@ -28,19 +31,20 @@ var AppHeaderComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('header-fixed'); + this.renderer.removeClass(this.document.body, 'header-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppHeaderComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('header-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'header-fixed'); } }; /** @@ -107,6 +111,8 @@ var AppHeaderComponent = /** @class */ (function () { ]; /** @nocollapse */ AppHeaderComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppHeaderComponent.propDecorators = { @@ -147,10 +153,20 @@ if (false) { AppHeaderComponent.prototype.mobileAsideMenuToggler; /** @type {?} */ AppHeaderComponent.prototype.navbarBrandImg; + /** + * @type {?} + * @private + */ + AppHeaderComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppHeaderComponent.prototype.renderer; /** * @type {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maXhlZDogYm9vbGVhbik6IHZvaWQge1xyXG4gICAgaWYgKHRoaXMuZml4ZWQpIHsgZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLmNsYXNzTGlzdC5hZGQoJ2hlYWRlci1maXhlZCcpOyB9XHJcbiAgfVxyXG5cclxuICBpbWdTcmMoYnJhbmQ6IGFueSk6IHZvaWQge1xyXG4gICAgcmV0dXJuIGJyYW5kLnNyYyA/IGJyYW5kLnNyYyA6ICcnO1xyXG4gIH1cclxuXHJcbiAgaW1nV2lkdGgoYnJhbmQ6IGFueSk6IHZvaWQge1xyXG4gICAgcmV0dXJuIGJyYW5kLndpZHRoID8gYnJhbmQud2lkdGggOiAnYXV0byc7XHJcbiAgfVxyXG5cclxuICBpbWdIZWlnaHQoYnJhbmQ6IGFueSk6IHZvaWQge1xyXG4gICAgcmV0dXJuIGJyYW5kLmhlaWdodCA/IGJyYW5kLmhlaWdodCA6ICdhdXRvJztcclxuICB9XHJcblxyXG4gIGltZ0FsdChicmFuZDogYW55KTogdm9pZCB7XHJcbiAgICByZXR1cm4gYnJhbmQuYWx0ID8gYnJhbmQuYWx0IDogJyc7XHJcbiAgfVxyXG5cclxuICBicmVha3BvaW50KGJyZWFrcG9pbnQ6IGFueSk6IHZvaWQge1xyXG4gICAgY29uc29sZS5sb2coYnJlYWtwb2ludCk7XHJcbiAgICByZXR1cm4gYnJlYWtwb2ludCA/IGJyZWFrcG9pbnQgOiAnJztcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvaGVhZGVyL2FwcC1oZWFkZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUs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JlbW92ZUNsYXNzKHRoaXMuZG9jdW1lbnQuYm9keSwgJ2hlYWRlci1maXhlZCcpO1xuICB9XG5cbiAgaXNGaXhlZChmaXhlZDogYm9vbGVhbiA9IHRoaXMuZml4ZWQpOiB2b2lkIHtcbiAgICBpZiAoZml4ZWQpIHtcbiAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCAnaGVhZGVyLWZpeGVkJyk7XG4gICAgfVxuICB9XG5cbiAgaW1nU3JjKGJyYW5kOiBhbnkpOiB2b2lkIHtcbiAgICByZXR1cm4gYnJhbmQuc3JjID8gYnJhbmQuc3JjIDogJyc7XG4gIH1cblxuICBpbWdXaWR0aChicmFuZDogYW55KTogdm9pZCB7XG4gICAgcmV0dXJuIGJyYW5kLndpZHRoID8gYnJhbmQud2lkdGggOiAnYXV0byc7XG4gIH1cblxuICBpbWdIZWlnaHQoYnJhbmQ6IGFueSk6IHZvaWQge1xuICAgIHJldHVybiBicmFuZC5oZWlnaHQgPyBicmFuZC5oZWlnaHQgOiAnYXV0byc7XG4gIH1cblxuICBpbWdBbHQoYnJhbmQ6IGFueSk6IHZvaWQge1xuICAgIHJldHVybiBicmFuZC5hbHQgPyBicmFuZC5hbHQgOiAnJztcbiAgfVxuXG4gIGJyZWFrcG9pbnQoYnJlYWtwb2ludDogYW55KTogdm9pZCB7XG4gICAgY29uc29sZS5sb2coYnJlYWtwb2ludCk7XG4gICAgcmV0dXJuIGJyZWFrcG9pbnQgPyBicmVha3BvaW50IDogJyc7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/shared/layout/layout.directive.js b/dist/@coreui/angular/esm5/lib/shared/layout/layout.directive.js index 5320552b..a89bd153 100644 --- a/dist/@coreui/angular/esm5/lib/shared/layout/layout.directive.js +++ b/dist/@coreui/angular/esm5/lib/shared/layout/layout.directive.js @@ -2,9 +2,10 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Directive, HostListener, Input } from '@angular/core'; -import { sidebarCssClasses, asideMenuCssClasses } from './../classes'; -import { ToggleClasses } from './../toggle-classes'; +import { Directive, HostListener, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { asideMenuCssClasses, sidebarCssClasses } from '../classes'; +import { ClassToggler, ToggleClasses } from '../toggle-classes'; /** * Allows the sidebar to be toggled via click. */ @@ -56,7 +57,9 @@ if (false) { SidebarToggleDirective.prototype.bp; } var SidebarMinimizeDirective = /** @class */ (function () { - function SidebarMinimizeDirective() { + function SidebarMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -68,7 +71,12 @@ var SidebarMinimizeDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-minimized') ? + this.renderer.removeClass(body, 'sidebar-minimized') : + this.renderer.addClass(body, 'sidebar-minimized'); + // document.body.classList.toggle('sidebar-minimized'); }; SidebarMinimizeDirective.decorators = [ { type: Directive, args: [{ @@ -76,15 +84,32 @@ var SidebarMinimizeDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - SidebarMinimizeDirective.ctorParameters = function () { return []; }; + SidebarMinimizeDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; SidebarMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return SidebarMinimizeDirective; }()); export { SidebarMinimizeDirective }; +if (false) { + /** + * @type {?} + * @private + */ + SidebarMinimizeDirective.prototype.document; + /** + * @type {?} + * @private + */ + SidebarMinimizeDirective.prototype.renderer; +} var MobileSidebarToggleDirective = /** @class */ (function () { - function MobileSidebarToggleDirective() { + function MobileSidebarToggleDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -115,7 +140,12 @@ var MobileSidebarToggleDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-show'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // document.body.classList.toggle('sidebar-show'); }; MobileSidebarToggleDirective.decorators = [ { type: Directive, args: [{ @@ -123,18 +153,35 @@ var MobileSidebarToggleDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - MobileSidebarToggleDirective.ctorParameters = function () { return []; }; + MobileSidebarToggleDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; MobileSidebarToggleDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return MobileSidebarToggleDirective; }()); export { MobileSidebarToggleDirective }; +if (false) { + /** + * @type {?} + * @private + */ + MobileSidebarToggleDirective.prototype.document; + /** + * @type {?} + * @private + */ + MobileSidebarToggleDirective.prototype.renderer; +} /** * Allows the off-canvas sidebar to be closed via click. */ var SidebarOffCanvasCloseDirective = /** @class */ (function () { - function SidebarOffCanvasCloseDirective() { + function SidebarOffCanvasCloseDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -194,8 +241,13 @@ var SidebarOffCanvasCloseDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) { - this.toggleClass(document.querySelector('body'), 'sidebar-opened'); + /** @type {?} */ + var body = this.document.body; + if (this.hasClass(body, 'sidebar-off-canvas')) { + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // this.toggleClass(document.body, 'sidebar-opened'); } }; SidebarOffCanvasCloseDirective.decorators = [ @@ -204,15 +256,32 @@ var SidebarOffCanvasCloseDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - SidebarOffCanvasCloseDirective.ctorParameters = function () { return []; }; + SidebarOffCanvasCloseDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; SidebarOffCanvasCloseDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return SidebarOffCanvasCloseDirective; }()); export { SidebarOffCanvasCloseDirective }; +if (false) { + /** + * @type {?} + * @private + */ + SidebarOffCanvasCloseDirective.prototype.document; + /** + * @type {?} + * @private + */ + SidebarOffCanvasCloseDirective.prototype.renderer; +} var BrandMinimizeDirective = /** @class */ (function () { - function BrandMinimizeDirective() { + function BrandMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -224,7 +293,12 @@ var BrandMinimizeDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('brand-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('brand-minimized') ? + this.renderer.removeClass(body, 'brand-minimized') : + this.renderer.addClass(body, 'brand-minimized'); + // document.body.classList.toggle('brand-minimized'); }; BrandMinimizeDirective.decorators = [ { type: Directive, args: [{ @@ -232,18 +306,34 @@ var BrandMinimizeDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - BrandMinimizeDirective.ctorParameters = function () { return []; }; + BrandMinimizeDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; BrandMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return BrandMinimizeDirective; }()); export { BrandMinimizeDirective }; +if (false) { + /** + * @type {?} + * @private + */ + BrandMinimizeDirective.prototype.document; + /** + * @type {?} + * @private + */ + BrandMinimizeDirective.prototype.renderer; +} /** * Allows the aside to be toggled via click. */ var AsideToggleDirective = /** @class */ (function () { - function AsideToggleDirective() { + function AsideToggleDirective(classToggler) { + this.classToggler = classToggler; } /** * @return {?} @@ -265,17 +355,19 @@ var AsideToggleDirective = /** @class */ (function () { function ($event) { $event.preventDefault(); /** @type {?} */ - var cssClass; - this.bp ? cssClass = "aside-menu-" + this.bp + "-show" : cssClass = asideMenuCssClasses[0]; - ToggleClasses(cssClass, asideMenuCssClasses); + var cssClass = this.bp ? "aside-menu-" + this.bp + "-show" : asideMenuCssClasses[0]; + this.classToggler.toggleClasses(cssClass, asideMenuCssClasses); }; AsideToggleDirective.decorators = [ { type: Directive, args: [{ selector: '[appAsideMenuToggler]', + providers: [ClassToggler] },] } ]; /** @nocollapse */ - AsideToggleDirective.ctorParameters = function () { return []; }; + AsideToggleDirective.ctorParameters = function () { return [ + { type: ClassToggler } + ]; }; AsideToggleDirective.propDecorators = { breakpoint: [{ type: Input, args: ['appAsideMenuToggler',] }], toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] @@ -288,5 +380,10 @@ if (false) { AsideToggleDirective.prototype.breakpoint; /** @type {?} */ AsideToggleDirective.prototype.bp; + /** + * @type {?} + * @private + */ + AsideToggleDirective.prototype.classToggler; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvbGF5b3V0L2xheW91dC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBc0IsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUFFLGlCQUFpQixFQUFFLG1CQUFtQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxhQUFhLEVBQU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GUgY2xhc3NUb2dnbGVyOiBDbGFzc1RvZ2dsZXIpIHt9XG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIHRoaXMuYnAgPSB0aGlzLmJyZWFrcG9pbnQ7XG4gIH1cbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snLCBbJyRldmVudCddKVxuICB0b2dnbGVPcGVuKCRldmVudDogYW55KSB7XG4gICAgJGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgY29uc3QgY3NzQ2xhc3MgPSB0aGlzLmJwID8gYGFzaWRlLW1lbnUtJHt0aGlzLmJwfS1zaG93YCA6IGFzaWRlTWVudUNzc0NsYXNzZXNbMF07XG4gICAgdGhpcy5jbGFzc1RvZ2dsZXIudG9nZ2xlQ2xhc3Nlcyhjc3NDbGFzcywgYXNpZGVNZW51Q3NzQ2xhc3Nlcyk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/shared/layout/layout.module.js b/dist/@coreui/angular/esm5/lib/shared/layout/layout.module.js index 4944ddf1..3cb55dfb 100644 --- a/dist/@coreui/angular/esm5/lib/shared/layout/layout.module.js +++ b/dist/@coreui/angular/esm5/lib/shared/layout/layout.module.js @@ -5,6 +5,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { AsideToggleDirective, BrandMinimizeDirective, MobileSidebarToggleDirective, SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective } from './layout.directive'; +import { ClassToggler } from '../toggle-classes'; var LayoutModule = /** @class */ (function () { function LayoutModule() { } @@ -28,10 +29,13 @@ var LayoutModule = /** @class */ (function () { SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective + ], + providers: [ + ClassToggler ] },] } ]; return LayoutModule; }()); export { LayoutModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiO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ZlXG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIENsYXNzVG9nZ2xlclxuICBdXG59KVxuZXhwb3J0IGNsYXNzIExheW91dE1vZHVsZSB7IH1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/shared/toggle-classes.js b/dist/@coreui/angular/esm5/lib/shared/toggle-classes.js index 0e8f8fdb..6f542842 100644 --- a/dist/@coreui/angular/esm5/lib/shared/toggle-classes.js +++ b/dist/@coreui/angular/esm5/lib/shared/toggle-classes.js @@ -2,10 +2,12 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ +import { Inject, Injectable, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; /** @type {?} */ var RemoveClasses = function (NewClassNames) { /** @type {?} */ - var MatchClasses = NewClassNames.map(function (Class) { return document.querySelector('body').classList.contains(Class); }); + var MatchClasses = NewClassNames.map(function (Class) { return document.body.classList.contains(Class); }); return MatchClasses.indexOf(true) !== -1; }; var ɵ0 = RemoveClasses; @@ -16,11 +18,76 @@ export var ToggleClasses = function (Toggle, ClassNames) { /** @type {?} */ var NewClassNames = ClassNames.slice(0, Level + 1); if (RemoveClasses(NewClassNames)) { - NewClassNames.map(function (Class) { return document.querySelector('body').classList.remove(Class); }); + NewClassNames.map(function (Class) { return document.body.classList.remove(Class); }); } else { - document.querySelector('body').classList.add(Toggle); + document.body.classList.add(Toggle); } }; +var ClassToggler = /** @class */ (function () { + function ClassToggler(document, renderer) { + this.document = document; + this.renderer = renderer; + } + /** + * @param {?} NewClassNames + * @return {?} + */ + ClassToggler.prototype.removeClasses = /** + * @param {?} NewClassNames + * @return {?} + */ + function (NewClassNames) { + var _this = this; + /** @type {?} */ + var MatchClasses = NewClassNames.map(function (Class) { return _this.document.body.classList.contains(Class); }); + return MatchClasses.indexOf(true) !== -1; + }; + /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + ClassToggler.prototype.toggleClasses = /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + function (Toggle, ClassNames) { + var _this = this; + /** @type {?} */ + var Level = ClassNames.indexOf(Toggle); + /** @type {?} */ + var NewClassNames = ClassNames.slice(0, Level + 1); + if (this.removeClasses(NewClassNames)) { + NewClassNames.map(function (Class) { return _this.renderer.removeClass(_this.document.body, Class); }); + } + else { + this.renderer.addClass(this.document.body, Toggle); + } + }; + ClassToggler.decorators = [ + { type: Injectable } + ]; + /** @nocollapse */ + ClassToggler.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; + return ClassToggler; +}()); +export { ClassToggler }; +if (false) { + /** + * @type {?} + * @private + */ + ClassToggler.prototype.document; + /** + * @type {?} + * @private + */ + ClassToggler.prototype.renderer; +} export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLWNsYXNzZXMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2hhcmVkL3RvZ2dsZS1jbGFzc2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0lBQU0sYUFBYSxHQUFHLFVBQUMsYUFBYTs7UUFDNUIsWUFBWSxHQUFHLGFBQWEsQ0FBQyxHQUFHLENBQUMsVUFBQyxLQUFLLElBQUssT0FBQSxRQUFRLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxDQUFDLFNBQVMsQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLEVBQXhELENBQXdELENBQUM7SUFDM0csT0FBTyxZQUFZLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0FBQzNDLENBQUM7OztBQUVELE1BQU0sS0FBTyxhQUFhLEdBQUcsVUFBQyxNQUFNLEVBQUUsVUFBV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xhc3NOYW1lcyA9IENsYXNzTmFtZXMuc2xpY2UoMCwgTGV2ZWwgKyAxKTtcblxuICAgIGlmICh0aGlzLnJlbW92ZUNsYXNzZXMoTmV3Q2xhc3NOYW1lcykpIHtcbiAgICAgIE5ld0NsYXNzTmFtZXMubWFwKChDbGFzcykgPT4gdGhpcy5yZW5kZXJlci5yZW1vdmVDbGFzcyh0aGlzLmRvY3VtZW50LmJvZHksIENsYXNzKSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5kb2N1bWVudC5ib2R5LCBUb2dnbGUpO1xuICAgIH1cbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-footer.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-footer.component.js index 2b26cc8d..fccac9f6 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-footer.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-footer.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; var AppSidebarFooterComponent = /** @class */ (function () { function AppSidebarFooterComponent(el) { this.el = el; @@ -37,4 +37,4 @@ if (false) { */ AppSidebarFooterComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWZvb3Rlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFB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iPlxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PmBcbn0pXG5leHBvcnQgY2xhc3MgQXBwU2lkZWJhckZvb3RlckNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgUmVwbGFjZSh0aGlzLmVsKTtcbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-form.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-form.component.js index dba51590..2aa1916e 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-form.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-form.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; var AppSidebarFormComponent = /** @class */ (function () { function AppSidebarFormComponent(el) { this.el = el; @@ -37,4 +37,4 @@ if (false) { */ AppSidebarFormComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2lkZWJhci9hcHAtc2lkZWJhci1mb3JtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQVcsTUFBTSxlQUFlLENBQUM7QUFDL0QsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUV0QztJQVVFLGlDQUF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GxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-header.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-header.component.js index 4eccb5a7..a4f0e182 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-header.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-header.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; var AppSidebarHeaderComponent = /** @class */ (function () { function AppSidebarHeaderComponent(el) { this.el = el; @@ -37,4 +37,4 @@ if (false) { */ AppSidebarHeaderComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLWhlYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdEM7SUFVRSxtQ0FBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBSSxDQUFDOzs7O0lBRXZDLDRDQUFROzs7SUFBUjtRQUNFLE9BQU8sQ0FBQ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VxuXG4gIG5nT25Jbml0KCkge1xuICAgIFJlcGxhY2UodGhpcy5lbCk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-minimizer.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-minimizer.component.js index d3211ac9..3148ebcb 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-minimizer.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-minimizer.component.js @@ -3,7 +3,7 @@ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, ElementRef } from '@angular/core'; -import { Replace } from './../shared'; +import { Replace } from '../shared'; var AppSidebarMinimizerComponent = /** @class */ (function () { function AppSidebarMinimizerComponent(el) { this.el = el; @@ -37,4 +37,4 @@ if (false) { */ AppSidebarMinimizerComponent.prototype.el; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbWluaW1pemVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW1pbmltaXplci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdEM7SUFRRSxzQ0FBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBSSxDQUFDOzs7O0lBRXZDLCtDQUFROzs7SUFBUjtRQUNFLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbkIsQ0FBQzs7Z0JBWkYsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSx1QkFBdUI7b0JBQ2pDLFFBQVEsRUFBRSwrR0FFVDtpQkFDRjs7OztnQkFSbUIsVUFBVTs7SUFnQjlCLG1DQUFDO0NBQUEsQUFiRCxJQWFDO1NBUFksNEJBQTRCOzs7Ozs7SUFFM0IsMENBQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFbGVtZW50UmVmLCBPbkluaXQgIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFJlcGxhY2UgfSBmcm9tICcuLy4uL3NoYXJlZCc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FwcC1zaWRlYmFyLW1pbmltaXplcicsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxidXR0b24gY2xhc3M9XCJzaWRlYmFyLW1pbmltaXplclwiIHR5cGU9XCJidXR0b25cIiBhcHBTaWRlYmFyTWluaW1pemVyIGFwcEJyYW5kTWluaW1pemVyPjwvYnV0dG9uPlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEFwcFNpZGViYXJNaW5pbWl6ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbWluaW1pemVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW1pbmltaXplci5jb21wb25lbnQud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ZW1lbnRSZWYpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICAgIFJlcGxhY2UodGhpcy5lbCk7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.component.js index 352b685e..1b695051 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar-nav.component.js @@ -2,7 +2,9 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, Directive, ElementRef, HostBinding, HostListener, Input, Renderer2 } from '@angular/core'; +import { Component, Directive, ElementRef, HostBinding, HostListener, Inject, Input, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { Router } from '@angular/router'; import { Replace } from '../shared'; var NavDropdownDirective = /** @class */ (function () { function NavDropdownDirective(el) { @@ -78,7 +80,8 @@ if (false) { NavDropdownToggleDirective.prototype.dropdown; } var LinkAttributesDirective = /** @class */ (function () { - function LinkAttributesDirective(renderer, el) { + function LinkAttributesDirective(document, renderer, el) { + this.document = document; this.renderer = renderer; this.el = el; } @@ -150,7 +153,7 @@ var LinkAttributesDirective = /** @class */ (function () { */ function (key, value) { /** @type {?} */ - var newAttr = document.createAttribute(key); + var newAttr = this.document.createAttribute(key); newAttr.value = value; this.renderer.setAttribute(this.el.nativeElement, key, value); }; @@ -161,6 +164,7 @@ var LinkAttributesDirective = /** @class */ (function () { ]; /** @nocollapse */ LinkAttributesDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, { type: Renderer2 }, { type: ElementRef } ]; }; @@ -173,6 +177,11 @@ export { LinkAttributesDirective }; if (false) { /** @type {?} */ LinkAttributesDirective.prototype.appLinkAttributes; + /** + * @type {?} + * @private + */ + LinkAttributesDirective.prototype.document; /** * @type {?} * @private @@ -247,7 +256,6 @@ if (false) { /** @type {?} */ AppSidebarNavComponent.prototype.navItemsArray; } -import { Router } from '@angular/router'; var AppSidebarNavItemComponent = /** @class */ (function () { function AppSidebarNavItemComponent(router, el) { this.router = router; @@ -330,7 +338,9 @@ if (false) { AppSidebarNavItemComponent.prototype.el; } var AppSidebarNavLinkComponent = /** @class */ (function () { - function AppSidebarNavLinkComponent(router, el) { + function AppSidebarNavLinkComponent(document, renderer, router, el) { + this.document = document; + this.renderer = renderer; this.router = router; this.el = el; } @@ -417,8 +427,8 @@ var AppSidebarNavLinkComponent = /** @class */ (function () { * @return {?} */ function () { - if (document.body.classList.contains('sidebar-show')) { - document.body.classList.toggle('sidebar-show'); + if (this.document.body.classList.contains('sidebar-show')) { + this.renderer.removeClass(this.document.body, 'sidebar-show'); } }; /** @@ -438,6 +448,8 @@ var AppSidebarNavLinkComponent = /** @class */ (function () { ]; /** @nocollapse */ AppSidebarNavLinkComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: Router }, { type: ElementRef } ]; }; @@ -450,6 +462,16 @@ export { AppSidebarNavLinkComponent }; if (false) { /** @type {?} */ AppSidebarNavLinkComponent.prototype.link; + /** + * @type {?} + * @private + */ + AppSidebarNavLinkComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppSidebarNavLinkComponent.prototype.renderer; /** * @type {?} * @private @@ -592,4 +614,4 @@ if (false) { */ AppSidebarNavTitleComponent.prototype.renderer; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXItbmF2LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3JldWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9zaWRlYmFyL2FwcC1zaWRlYmFyLW5hdi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5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YXBwZXIgPSB0aGlzLnJlbmRlcmVyLmNyZWF0ZUVsZW1lbnQodGhpcy50aXRsZS53cmFwcGVyLmVsZW1lbnQpO1xuXG4gICAgICB0aGlzLnJlbmRlcmVyLmFwcGVuZENoaWxkKHdyYXBwZXIsIG5hbWUpO1xuICAgICAgdGhpcy5yZW5kZXJlci5hcHBlbmRDaGlsZChsaSwgd3JhcHBlcik7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMucmVuZGVyZXIuYXBwZW5kQ2hpbGQobGksIG5hbWUpO1xuICAgIH1cbiAgICB0aGlzLnJlbmRlcmVyLmFwcGVuZENoaWxkKG5hdGl2ZUVsZW1lbnQsIGxpKTtcbiAgICBSZXBsYWNlKHRoaXMuZWwpO1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar.component.js b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar.component.js index da85dab4..c9cdb7af 100644 --- a/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar.component.js +++ b/dist/@coreui/angular/esm5/lib/sidebar/app-sidebar.component.js @@ -2,10 +2,13 @@ * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -import { Component, Input, HostBinding } from '@angular/core'; -import { sidebarCssClasses } from './../shared'; +import { Component, Input, Inject, HostBinding, Renderer2 } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; +import { sidebarCssClasses } from '../shared'; var AppSidebarComponent = /** @class */ (function () { - function AppSidebarComponent() { + function AppSidebarComponent(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @return {?} @@ -27,88 +30,93 @@ var AppSidebarComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('sidebar-fixed'); + this.renderer.removeClass(this.document.body, 'sidebar-fixed'); }; /** - * @param {?} compact + * @param {?=} compact * @return {?} */ AppSidebarComponent.prototype.isCompact = /** - * @param {?} compact + * @param {?=} compact * @return {?} */ function (compact) { - if (this.compact) { - document.querySelector('body').classList.add('sidebar-compact'); + if (compact === void 0) { compact = this.compact; } + if (compact) { + this.renderer.addClass(this.document.body, 'sidebar-compact'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ AppSidebarComponent.prototype.isMinimized = /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ function (minimized) { - if (this.minimized) { - document.querySelector('body').classList.add('sidebar-minimized'); + if (minimized === void 0) { minimized = this.minimized; } + if (minimized) { + this.renderer.addClass(this.document.body, 'sidebar-minimized'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppSidebarComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('sidebar-off-canvas'); + if (offCanvas === void 0) { offCanvas = this.offCanvas; } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'sidebar-off-canvas'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.fixedPosition = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { + if (fixed === void 0) { fixed = this.fixed; } console.warn('deprecated fixedPosition(), use isFixed() instead'); - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppSidebarComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { display = this.display; } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "sidebar-" + this.display + "-show" : cssClass = sidebarCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = display ? "sidebar-" + display + "-show" : sidebarCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppSidebarComponent.decorators = [ @@ -118,7 +126,10 @@ var AppSidebarComponent = /** @class */ (function () { }] } ]; /** @nocollapse */ - AppSidebarComponent.ctorParameters = function () { return []; }; + AppSidebarComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; AppSidebarComponent.propDecorators = { compact: [{ type: Input }], display: [{ type: Input }], @@ -143,5 +154,15 @@ if (false) { AppSidebarComponent.prototype.offCanvas; /** @type {?} */ AppSidebarComponent.prototype.true; + /** + * @type {?} + * @private + */ + AppSidebarComponent.prototype.document; + /** + * @type {?} + * @private + */ + AppSidebarComponent.prototype.renderer; } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvcmV1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL3NpZGViYXIvYXBwLXNpZGViYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2pGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUVoRDtJQWFFO0lBQWUsQ0FBQzs7OztJQUVoQixzQ0FBUTs7O0lBQVI7UUFDRSxJQUFJLENBQUMsaUJBQWlCLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3JDLElBQUksQ0FBQyxTQUFTLENBQUMsS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LmRvY3VtZW50LmJvZHksICdzaWRlYmFyLWZpeGVkJyk7XG4gICAgfVxuICB9XG5cbiAgZGlzcGxheUJyZWFrcG9pbnQoZGlzcGxheTogYW55ID0gdGhpcy5kaXNwbGF5KTogdm9pZCB7XG4gICAgaWYgKGRpc3BsYXkgIT09IGZhbHNlKSB7XG4gICAgICBjb25zdCBjc3NDbGFzcyA9IGRpc3BsYXkgPyBgc2lkZWJhci0ke2Rpc3BsYXl9LXNob3dgIDogc2lkZWJhckNzc0NsYXNzZXNbMF07XG4gICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZG9jdW1lbnQuYm9keSwgY3NzQ2xhc3MpO1xuICAgIH1cbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/@coreui/angular/fesm2015/coreui-angular.js b/dist/@coreui/angular/fesm2015/coreui-angular.js index dec95052..26824282 100644 --- a/dist/@coreui/angular/fesm2015/coreui-angular.js +++ b/dist/@coreui/angular/fesm2015/coreui-angular.js @@ -1,7 +1,7 @@ import { BehaviorSubject } from 'rxjs/index'; import { filter } from 'rxjs/operators'; -import { CommonModule } from '@angular/common'; -import { Directive, HostListener, Input, NgModule, Component, ElementRef, Injectable, HostBinding, Renderer2 } from '@angular/core'; +import { Inject, Injectable, Renderer2, Directive, HostListener, Input, NgModule, Component, ElementRef, HostBinding } from '@angular/core'; +import { DOCUMENT, CommonModule } from '@angular/common'; import { Router, ActivatedRoute, NavigationEnd, RouterModule } from '@angular/router'; /** @@ -32,7 +32,7 @@ const asideMenuCssClasses = [ /** @type {?} */ const RemoveClasses = (NewClassNames) => { /** @type {?} */ - const MatchClasses = NewClassNames.map((Class) => document.querySelector('body').classList.contains(Class)); + const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class)); return MatchClasses.indexOf(true) !== -1; }; /** @type {?} */ @@ -42,12 +42,56 @@ const ToggleClasses = (Toggle, ClassNames) => { /** @type {?} */ const NewClassNames = ClassNames.slice(0, Level + 1); if (RemoveClasses(NewClassNames)) { - NewClassNames.map((Class) => document.querySelector('body').classList.remove(Class)); + NewClassNames.map((Class) => document.body.classList.remove(Class)); } else { - document.querySelector('body').classList.add(Toggle); + document.body.classList.add(Toggle); } }; +class ClassToggler { + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } + /** + * @param {?} NewClassNames + * @return {?} + */ + removeClasses(NewClassNames) { + /** @type {?} */ + const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class)); + return MatchClasses.indexOf(true) !== -1; + } + /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + toggleClasses(Toggle, ClassNames) { + /** @type {?} */ + const Level = ClassNames.indexOf(Toggle); + /** @type {?} */ + const NewClassNames = ClassNames.slice(0, Level + 1); + if (this.removeClasses(NewClassNames)) { + NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class)); + } + else { + this.renderer.addClass(this.document.body, Toggle); + } + } +} +ClassToggler.decorators = [ + { type: Injectable } +]; +/** @nocollapse */ +ClassToggler.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; /** * @fileoverview added by tsickle @@ -88,14 +132,26 @@ SidebarToggleDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; class SidebarMinimizeDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @param {?} $event * @return {?} */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-minimized'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('sidebar-minimized') ? + this.renderer.removeClass(body, 'sidebar-minimized') : + this.renderer.addClass(body, 'sidebar-minimized'); + // document.body.classList.toggle('sidebar-minimized'); } } SidebarMinimizeDirective.decorators = [ @@ -104,12 +160,22 @@ SidebarMinimizeDirective.decorators = [ },] } ]; /** @nocollapse */ -SidebarMinimizeDirective.ctorParameters = () => []; +SidebarMinimizeDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; SidebarMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; class MobileSidebarToggleDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } // Check if element has class /** * @private @@ -126,7 +192,12 @@ class MobileSidebarToggleDirective { */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-show'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // document.body.classList.toggle('sidebar-show'); } } MobileSidebarToggleDirective.decorators = [ @@ -135,7 +206,10 @@ MobileSidebarToggleDirective.decorators = [ },] } ]; /** @nocollapse */ -MobileSidebarToggleDirective.ctorParameters = () => []; +MobileSidebarToggleDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; MobileSidebarToggleDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; @@ -143,7 +217,14 @@ MobileSidebarToggleDirective.propDecorators = { * Allows the off-canvas sidebar to be closed via click. */ class SidebarOffCanvasCloseDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } // Check if element has class /** * @private @@ -180,8 +261,13 @@ class SidebarOffCanvasCloseDirective { */ toggleOpen($event) { $event.preventDefault(); - if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) { - this.toggleClass(document.querySelector('body'), 'sidebar-opened'); + /** @type {?} */ + const body = this.document.body; + if (this.hasClass(body, 'sidebar-off-canvas')) { + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // this.toggleClass(document.body, 'sidebar-opened'); } } } @@ -191,19 +277,34 @@ SidebarOffCanvasCloseDirective.decorators = [ },] } ]; /** @nocollapse */ -SidebarOffCanvasCloseDirective.ctorParameters = () => []; +SidebarOffCanvasCloseDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; SidebarOffCanvasCloseDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; class BrandMinimizeDirective { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @param {?} $event * @return {?} */ toggleOpen($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('brand-minimized'); + /** @type {?} */ + const body = this.document.body; + body.classList.contains('brand-minimized') ? + this.renderer.removeClass(body, 'brand-minimized') : + this.renderer.addClass(body, 'brand-minimized'); + // document.body.classList.toggle('brand-minimized'); } } BrandMinimizeDirective.decorators = [ @@ -212,7 +313,10 @@ BrandMinimizeDirective.decorators = [ },] } ]; /** @nocollapse */ -BrandMinimizeDirective.ctorParameters = () => []; +BrandMinimizeDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; BrandMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; @@ -220,7 +324,12 @@ BrandMinimizeDirective.propDecorators = { * Allows the aside to be toggled via click. */ class AsideToggleDirective { - constructor() { } + /** + * @param {?} classToggler + */ + constructor(classToggler) { + this.classToggler = classToggler; + } /** * @return {?} */ @@ -234,18 +343,20 @@ class AsideToggleDirective { toggleOpen($event) { $event.preventDefault(); /** @type {?} */ - let cssClass; - this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0]; - ToggleClasses(cssClass, asideMenuCssClasses); + const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0]; + this.classToggler.toggleClasses(cssClass, asideMenuCssClasses); } } AsideToggleDirective.decorators = [ { type: Directive, args: [{ selector: '[appAsideMenuToggler]', + providers: [ClassToggler] },] } ]; /** @nocollapse */ -AsideToggleDirective.ctorParameters = () => []; +AsideToggleDirective.ctorParameters = () => [ + { type: ClassToggler } +]; AsideToggleDirective.propDecorators = { breakpoint: [{ type: Input, args: ['appAsideMenuToggler',] }], toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] @@ -277,6 +388,9 @@ LayoutModule.decorators = [ SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective + ], + providers: [ + ClassToggler ] },] } ]; @@ -318,9 +432,13 @@ function Replace(el) { */ class AppAsideComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -336,36 +454,35 @@ class AppAsideComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('aside-menu-fixed'); + this.renderer.removeClass(this.document.body, 'aside-menu-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('aside-menu-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'aside-menu-fixed'); } } /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ - isOffCanvas(offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('aside-menu-off-canvas'); + isOffCanvas(offCanvas = this.offCanvas) { + if (offCanvas) { + this.renderer.addClass(this.document.body, 'aside-menu-off-canvas'); } } /** - * @param {?} display + * @param {?=} display * @return {?} */ - displayBreakpoint(display) { - if (this.display !== false) { + displayBreakpoint(display = this.display) { + if (display !== false) { /** @type {?} */ - let cssClass; - this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } } } @@ -381,6 +498,8 @@ AppAsideComponent.decorators = [ ]; /** @nocollapse */ AppAsideComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppAsideComponent.propDecorators = { @@ -475,10 +594,14 @@ AppBreadcrumbService.ctorParameters = () => [ */ class AppBreadcrumbComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} service * @param {?} el */ - constructor(service, el) { + constructor(document, renderer, service, el) { + this.document = document; + this.renderer = renderer; this.service = service; this.el = el; } @@ -494,15 +617,15 @@ class AppBreadcrumbComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('breadcrumb-fixed'); + this.renderer.removeClass(this.document.body, 'breadcrumb-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('breadcrumb-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'breadcrumb-fixed'); } } } @@ -523,6 +646,8 @@ AppBreadcrumbComponent.decorators = [ ]; /** @nocollapse */ AppBreadcrumbComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: AppBreadcrumbService }, { type: ElementRef } ]; @@ -568,9 +693,13 @@ AppBreadcrumbModule.decorators = [ */ class AppFooterComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -584,15 +713,15 @@ class AppFooterComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('footer-fixed'); + this.renderer.removeClass(this.document.body, 'footer-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('footer-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'footer-fixed'); } } } @@ -600,6 +729,7 @@ AppFooterComponent.decorators = [ { type: Component, args: [{ selector: 'app-footer', template: ` +
    @@ -608,6 +738,8 @@ AppFooterComponent.decorators = [ ]; /** @nocollapse */ AppFooterComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppFooterComponent.propDecorators = { @@ -639,9 +771,13 @@ AppFooterModule.decorators = [ */ class AppHeaderComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} el */ - constructor(el) { + constructor(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' }; this.navbarBrandHref = ''; @@ -658,15 +794,15 @@ class AppHeaderComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('header-fixed'); + this.renderer.removeClass(this.document.body, 'header-fixed'); } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('header-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'header-fixed'); } } /** @@ -764,6 +900,8 @@ AppHeaderComponent.decorators = [ ]; /** @nocollapse */ AppHeaderComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; AppHeaderComponent.propDecorators = { @@ -940,7 +1078,14 @@ AppSidebarMinimizerComponent.ctorParameters = () => [ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class AppSidebarComponent { - constructor() { } + /** + * @param {?} document + * @param {?} renderer + */ + constructor(document, renderer) { + this.document = document; + this.renderer = renderer; + } /** * @return {?} */ @@ -955,64 +1100,63 @@ class AppSidebarComponent { * @return {?} */ ngOnDestroy() { - document.body.classList.remove('sidebar-fixed'); + this.renderer.removeClass(this.document.body, 'sidebar-fixed'); } /** - * @param {?} compact + * @param {?=} compact * @return {?} */ - isCompact(compact) { - if (this.compact) { - document.querySelector('body').classList.add('sidebar-compact'); + isCompact(compact = this.compact) { + if (compact) { + this.renderer.addClass(this.document.body, 'sidebar-compact'); } } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - isFixed(fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + isFixed(fixed = this.fixed) { + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } } /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ - isMinimized(minimized) { - if (this.minimized) { - document.querySelector('body').classList.add('sidebar-minimized'); + isMinimized(minimized = this.minimized) { + if (minimized) { + this.renderer.addClass(this.document.body, 'sidebar-minimized'); } } /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ - isOffCanvas(offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('sidebar-off-canvas'); + isOffCanvas(offCanvas = this.offCanvas) { + if (offCanvas) { + this.renderer.addClass(this.document.body, 'sidebar-off-canvas'); } } /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ - fixedPosition(fixed) { + fixedPosition(fixed = this.fixed) { console.warn('deprecated fixedPosition(), use isFixed() instead'); - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } } /** - * @param {?} display + * @param {?=} display * @return {?} */ - displayBreakpoint(display) { - if (this.display !== false) { + displayBreakpoint(display = this.display) { + if (display !== false) { /** @type {?} */ - let cssClass; - this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } } } @@ -1023,7 +1167,10 @@ AppSidebarComponent.decorators = [ }] } ]; /** @nocollapse */ -AppSidebarComponent.ctorParameters = () => []; +AppSidebarComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } +]; AppSidebarComponent.propDecorators = { compact: [{ type: Input }], display: [{ type: Input }], @@ -1093,10 +1240,12 @@ NavDropdownToggleDirective.propDecorators = { }; class LinkAttributesDirective { /** + * @param {?} document * @param {?} renderer * @param {?} el */ - constructor(renderer, el) { + constructor(document, renderer, el) { + this.document = document; this.renderer = renderer; this.el = el; } @@ -1148,7 +1297,7 @@ class LinkAttributesDirective { */ setAttrib(key, value) { /** @type {?} */ - const newAttr = document.createAttribute(key); + const newAttr = this.document.createAttribute(key); newAttr.value = value; this.renderer.setAttribute(this.el.nativeElement, key, value); } @@ -1160,6 +1309,7 @@ LinkAttributesDirective.decorators = [ ]; /** @nocollapse */ LinkAttributesDirective.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, { type: Renderer2 }, { type: ElementRef } ]; @@ -1284,10 +1434,14 @@ AppSidebarNavItemComponent.propDecorators = { }; class AppSidebarNavLinkComponent { /** + * @param {?} document + * @param {?} renderer * @param {?} router * @param {?} el */ - constructor(router, el) { + constructor(document, renderer, router, el) { + this.document = document; + this.renderer = renderer; this.router = router; this.el = el; } @@ -1350,8 +1504,8 @@ class AppSidebarNavLinkComponent { * @return {?} */ hideMobile() { - if (document.body.classList.contains('sidebar-show')) { - document.body.classList.toggle('sidebar-show'); + if (this.document.body.classList.contains('sidebar-show')) { + this.renderer.removeClass(this.document.body, 'sidebar-show'); } } /** @@ -1396,6 +1550,8 @@ AppSidebarNavLinkComponent.decorators = [ ]; /** @nocollapse */ AppSidebarNavLinkComponent.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: Router }, { type: ElementRef } ]; @@ -1572,6 +1728,6 @@ AppSidebarModule.decorators = [ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule, AppAsideComponent as ɵh, AppBreadcrumbComponent as ɵi, AppBreadcrumbService as ɵj, AppFooterComponent as ɵk, AppHeaderComponent as ɵl, AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb, LayoutModule as ɵa, AppSidebarFooterComponent as ɵm, AppSidebarFormComponent as ɵn, AppSidebarHeaderComponent as ɵo, AppSidebarMinimizerComponent as ɵp, AppSidebarNavComponent as ɵu, AppSidebarNavDropdownComponent as ɵx, AppSidebarNavItemComponent as ɵv, AppSidebarNavLinkComponent as ɵw, AppSidebarNavTitleComponent as ɵy, LinkAttributesDirective as ɵt, NavDropdownDirective as ɵr, NavDropdownToggleDirective as ɵs, AppSidebarComponent as ɵq }; +export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule, AppAsideComponent as ɵi, AppBreadcrumbComponent as ɵj, AppBreadcrumbService as ɵk, AppFooterComponent as ɵl, AppHeaderComponent as ɵm, AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb, LayoutModule as ɵa, ClassToggler as ɵh, AppSidebarFooterComponent as ɵn, AppSidebarFormComponent as ɵo, AppSidebarHeaderComponent as ɵp, AppSidebarMinimizerComponent as ɵq, AppSidebarNavComponent as ɵv, AppSidebarNavDropdownComponent as ɵy, AppSidebarNavItemComponent as ɵw, AppSidebarNavLinkComponent as ɵx, AppSidebarNavTitleComponent as ɵz, LinkAttributesDirective as ɵu, NavDropdownDirective as ɵs, NavDropdownToggleDirective as ɵt, AppSidebarComponent as ɵr }; //# sourceMappingURL=coreui-angular.js.map \ 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 895e505f..b0ee2a31 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.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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","const RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.querySelector('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.querySelector('body').classList.remove(Class));\r\n } else {\r\n document.querySelector('body').classList.add(Toggle);\r\n }\r\n};\r\n","import { Directive, HostListener, Input, ElementRef, OnInit } from '@angular/core';\r\nimport { sidebarCssClasses, asideMenuCssClasses } from './../classes';\r\nimport { ToggleClasses } 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})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\r\n 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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n // Toggle element class\r\n private toggleClass(elem: any, elementClassName: string) {\r\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\r\n if (this.hasClass(elem, elementClassName)) {\r\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\r\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\r\n }\r\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\r\n } else {\r\n elem.className += ' ' + elementClassName;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) {\r\n this.toggleClass(document.querySelector('body'), 'sidebar-opened');\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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0];\r\n ToggleClasses(cssClass, asideMenuCssClasses);\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} from './layout.directive';\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 ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { asideMenuCssClasses, Replace } from './../shared/index';\r\n\r\n@Component({\r\n selector: 'app-aside',\r\n template: `\r\n \r\n `\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 constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\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 document.body.classList.remove('aside-menu-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('aside-menu-fixed'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('aside-menu-off-canvas'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0];\r\n document.querySelector('body').classList.add(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, Injector } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs/index';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private _breadcrumbs: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this._breadcrumbs = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this._breadcrumbs.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 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: url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\n\r\n@Component({\r\n selector: 'app-breadcrumb',\r\n template: `\r\n \r\n
  • \r\n {{breadcrumb.label.title}}\r\n {{breadcrumb.label.title}}\r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n public breadcrumbs;\r\n\r\n constructor(public service: AppBreadcrumbService, public el: ElementRef) { }\r\n\r\n public ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('breadcrumb-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('breadcrumb-fixed'); }\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('footer-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('footer-fixed'); }\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-header',\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n `\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: any = '';\r\n\r\n @Input() sidebarToggler: any;\r\n @Input() mobileSidebarToggler: any;\r\n\r\n @Input() asideMenuToggler: any;\r\n @Input() mobileAsideMenuToggler: any;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('header-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('header-fixed'); }\r\n }\r\n\r\n imgSrc(brand: any): void {\r\n return brand.src ? brand.src : '';\r\n }\r\n\r\n imgWidth(brand: any): void {\r\n return brand.width ? brand.width : 'auto';\r\n }\r\n\r\n imgHeight(brand: any): void {\r\n return brand.height ? brand.height : 'auto';\r\n }\r\n\r\n imgAlt(brand: any): void {\r\n return brand.alt ? brand.alt : '';\r\n }\r\n\r\n breakpoint(breakpoint: any): void {\r\n console.log(breakpoint);\r\n return breakpoint ? breakpoint : '';\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 { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer',\r\n template: `\r\n
    \r\n \r\n
    `\r\n})\r\nexport class AppSidebarFooterComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarFormComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarHeaderComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer',\r\n template: `\r\n \r\n `\r\n})\r\nexport class AppSidebarMinimizerComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, Input, HostBinding, OnInit, OnDestroy } from '@angular/core';\r\nimport { sidebarCssClasses } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() minimized: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @HostBinding('class.sidebar') true;\r\n\r\n constructor() {}\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.isMinimized(this.minimized);\r\n this.isOffCanvas(this.offCanvas);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('sidebar-fixed');\r\n }\r\n\r\n isCompact(compact: boolean): void {\r\n if (this.compact) { document.querySelector('body').classList.add('sidebar-compact'); }\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n isMinimized(minimized: boolean): void {\r\n if (this.minimized) { document.querySelector('body').classList.add('sidebar-minimized'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('sidebar-off-canvas'); }\r\n }\r\n\r\n fixedPosition(fixed: boolean): void {\r\n console.warn('deprecated fixedPosition(), use isFixed() instead');\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0];\r\n document.querySelector('body').classList.add(cssClass);\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Renderer2,\r\n SimpleChanges\r\n} from '@angular/core';\r\nimport { Replace } from '../shared';\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\r\n@Directive({\r\n selector: '[appLinkAttributes]'\r\n})\r\nexport class LinkAttributesDirective implements OnInit {\r\n @Input() appLinkAttributes: {[key: string]: string };\r\n constructor(private renderer: Renderer2, private el: ElementRef) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appLinkAttributes;\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.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 const newAttr = document.createAttribute(key);\r\n newAttr.value = value;\r\n this.renderer.setAttribute(this.el.nativeElement, key, value );\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav',\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\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: Array;\r\n\r\n @HostBinding('class.sidebar-nav') true;\r\n @HostBinding('attr.role') role = 'nav';\r\n\r\n public navItemsArray: Array;\r\n\r\n public isDivider(item) {\r\n return item.divider ? true : false;\r\n }\r\n\r\n public isTitle(item) {\r\n return item.title ? true : false;\r\n }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\r\n }\r\n\r\n constructor() { }\r\n}\r\n\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-item',\r\n template: `\r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppSidebarNavItemComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n public hasClass() {\r\n return this.item.class ? true : false;\r\n }\r\n\r\n public isDropdown() {\r\n return this.item.children ? true : false;\r\n }\r\n\r\n public thisUrl() {\r\n return this.item.url;\r\n }\r\n\r\n public isActive() {\r\n return this.router.isActive(this.thisUrl(), false);\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link',\r\n template: `\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public getClasses() {\r\n const disabled = this.isDisabled();\r\n const classes = {\r\n 'nav-link': true,\r\n 'disabled': disabled,\r\n 'btn-link': disabled\r\n };\r\n if (this.hasVariant()) {\r\n const variant = `nav-link-${this.link.variant}`;\r\n classes[variant] = true;\r\n }\r\n return classes;\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\r\n }\r\n\r\n public hasVariant() {\r\n return this.link.variant ? true : false;\r\n }\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isDisabled() {\r\n return this.link.attributes && this.link.attributes.disabled ? true : false;\r\n }\r\n\r\n public isExternalLink() {\r\n return this.link.url.substring(0, 4) === 'http' ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n public hideMobile() {\r\n if (document.body.classList.contains('sidebar-show')) {\r\n document.body.classList.toggle('sidebar-show');\r\n }\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n
      \r\n \r\n \r\n \r\n
    \r\n `,\r\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\r\n})\r\nexport class AppSidebarNavDropdownComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title',\r\n template: ''\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() title: any;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const li = this.renderer.createElement('li');\r\n const name = this.renderer.createText(this.title.name);\r\n\r\n this.renderer.addClass(li, 'nav-title');\r\n\r\n if ( this.title.class ) {\r\n const classes = this.title.class;\r\n this.renderer.addClass(li, classes);\r\n }\r\n\r\n if ( this.title.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\r\n\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(li, wrapper);\r\n } else {\r\n this.renderer.appendChild(li, name);\r\n }\r\n this.renderer.appendChild(nativeElement, li);\r\n Replace(this.el);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":[],"mappings":";;;;;;;;;;;AAAA,MAAa,iBAAiB,GAAkB;IAC9C,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB;;AAED,MAAa,mBAAmB,GAAkB;IAChD,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB;;;;;;;MCdK,aAAa,GAAG,CAAC,aAAa;;UAC5B,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK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AA4B;oBAC5B,4BAA4B;oBAC5B,mBAAmB;oBACnB,sBAAsB;oBACtB,8BAA8B;oBAC9B,0BAA0B;oBAC1B,0BAA0B;oBAC1B,2BAA2B;oBAC3B,oBAAoB;oBACpB,0BAA0B;oBAC1B,uBAAuB;iBACxB;aACF;;;;;;;;;;;;;;;;;;;;"} +{"version":3,"file":"coreui-angular.js.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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';\nimport {DOCUMENT} from '@angular/common';\n\nconst RemoveClasses = (NewClassNames) => {\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n};\n\nexport const ToggleClasses = (Toggle, ClassNames) => {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (RemoveClasses(NewClassNames)) {\n NewClassNames.map((Class) => document.body.classList.remove(Class));\n } else {\n document.body.classList.add(Toggle);\n }\n};\n\n@Injectable()\nexport class ClassToggler {\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) {}\n\n removeClasses(NewClassNames) {\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n }\n\n toggleClasses(Toggle, ClassNames) {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (this.removeClasses(NewClassNames)) {\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\n } else {\n this.renderer.addClass(this.document.body, Toggle);\n }\n }\n}\n","import {Directive, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\nimport { ClassToggler, ToggleClasses } from '../toggle-classes';\n\n/**\n* Allows the sidebar to be toggled via click.\n*/\n@Directive({\n selector: '[appSidebarToggler]'\n})\nexport class SidebarToggleDirective implements OnInit {\n @Input('appSidebarToggler') breakpoint: string;\n public bp;\n constructor() {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n let cssClass;\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\n ToggleClasses(cssClass, sidebarCssClasses);\n }\n}\n\n@Directive({\n selector: '[appSidebarMinimizer]'\n})\nexport class SidebarMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-minimized') ?\n this.renderer.removeClass(body, 'sidebar-minimized') :\n this.renderer.addClass(body, 'sidebar-minimized');\n // document.body.classList.toggle('sidebar-minimized');\n }\n}\n\n@Directive({\n selector: '[appMobileSidebarToggler]'\n})\nexport class MobileSidebarToggleDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // document.body.classList.toggle('sidebar-show');\n }\n}\n\n/**\n* Allows the off-canvas sidebar to be closed via click.\n*/\n@Directive({\n selector: '[appSidebarClose]'\n})\nexport class SidebarOffCanvasCloseDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n // Toggle element class\n private toggleClass(elem: any, elementClassName: string) {\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\n if (this.hasClass(elem, elementClassName)) {\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\n }\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\n } else {\n elem.className += ' ' + elementClassName;\n }\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n\n const body = this.document.body;\n if (this.hasClass(body, 'sidebar-off-canvas')) {\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // this.toggleClass(document.body, 'sidebar-opened');\n }\n }\n}\n\n@Directive({\n selector: '[appBrandMinimizer]'\n})\nexport class BrandMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('brand-minimized') ?\n this.renderer.removeClass(body, 'brand-minimized') :\n this.renderer.addClass(body, 'brand-minimized');\n // document.body.classList.toggle('brand-minimized');\n }\n}\n\n\n/**\n* Allows the aside to be toggled via click.\n*/\n@Directive({\n selector: '[appAsideMenuToggler]',\n providers: [ClassToggler]\n})\nexport class AsideToggleDirective implements OnInit {\n @Input('appAsideMenuToggler') breakpoint: string;\n public bp;\n constructor(private classToggler: ClassToggler) {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule} from '@angular/core';\nimport {\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n} from './layout.directive';\nimport { ClassToggler } from '../toggle-classes';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n exports: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n declarations: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n providers: [\n ClassToggler\n ]\n})\nexport class LayoutModule { }\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, Input, OnInit, OnDestroy, Inject, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, Replace } from '../shared';\n\n@Component({\n selector: 'app-aside',\n template: `\n \n `\n})\nexport class AppAsideComponent implements OnInit, OnDestroy {\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() offCanvas: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.isOffCanvas(this.offCanvas);\n this.displayBreakpoint(this.display);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'aside-menu-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'aside-menu-fixed');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false ) {\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\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';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { BehaviorSubject, Observable } from 'rxjs/index';\nimport { filter } from 'rxjs/operators';\n\n@Injectable()\nexport class AppBreadcrumbService {\n\n breadcrumbs: Observable>;\n\n private _breadcrumbs: BehaviorSubject>;\n\n constructor(private router: Router, private route: ActivatedRoute) {\n\n this._breadcrumbs = new BehaviorSubject(new Array());\n\n this.breadcrumbs = this._breadcrumbs.asObservable();\n\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\n const breadcrumbs = [];\n let currentRoute = this.route.root,\n url = '';\n do {\n const childrenRoutes = currentRoute.children;\n currentRoute = null;\n // tslint:disable-next-line:no-shadowed-variable\n childrenRoutes.forEach(route => {\n if (route.outlet === 'primary') {\n const routeSnapshot = route.snapshot;\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\n breadcrumbs.push({\n label: route.snapshot.data,\n url: url\n });\n currentRoute = route;\n }\n });\n } while (currentRoute);\n\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\n\n return breadcrumbs;\n });\n }\n}\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\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, 'breadcrumb-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'breadcrumb-fixed');\n }\n }\n}\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-footer',\n template: `\n \n
    \n \n
    \n `\n})\nexport class AppFooterComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'footer-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'footer-fixed');\n }\n }\n}\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, ElementRef, Input, OnInit, OnDestroy, Inject, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-header',\n template: `\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n `\n})\nexport class AppHeaderComponent implements OnInit, OnDestroy {\n\n @Input() fixed: boolean;\n\n @Input() navbarBrand: any;\n @Input() navbarBrandFull: any;\n @Input() navbarBrandMinimized: any;\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\n @Input() navbarBrandHref: any = '';\n\n @Input() sidebarToggler: any;\n @Input() mobileSidebarToggler: any;\n\n @Input() asideMenuToggler: any;\n @Input() mobileAsideMenuToggler: any;\n\n navbarBrandImg: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'header-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'header-fixed');\n }\n }\n\n imgSrc(brand: any): void {\n return brand.src ? brand.src : '';\n }\n\n imgWidth(brand: any): void {\n return brand.width ? brand.width : 'auto';\n }\n\n imgHeight(brand: any): void {\n return brand.height ? brand.height : 'auto';\n }\n\n imgAlt(brand: any): void {\n return brand.alt ? brand.alt : '';\n }\n\n breakpoint(breakpoint: any): void {\n console.log(breakpoint);\n return breakpoint ? breakpoint : '';\n }\n}\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-footer',\n template: `\n
    \n \n
    `\n})\nexport class AppSidebarFooterComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-form',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarFormComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-header',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarHeaderComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-minimizer',\n template: `\n \n `\n})\nexport class AppSidebarMinimizerComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, Input, Inject, HostBinding, OnInit, OnDestroy, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { sidebarCssClasses } from '../shared';\n\n@Component({\n selector: 'app-sidebar',\n template: ``\n})\nexport class AppSidebarComponent implements OnInit, OnDestroy {\n @Input() compact: boolean;\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() minimized: boolean;\n @Input() offCanvas: boolean;\n\n @HostBinding('class.sidebar') true;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n this.displayBreakpoint(this.display);\n this.isCompact(this.compact);\n this.isFixed(this.fixed);\n this.isMinimized(this.minimized);\n this.isOffCanvas(this.offCanvas);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'sidebar-fixed' );\n }\n\n isCompact(compact: boolean = this.compact): void {\n if (compact) {\n this.renderer.addClass(this.document.body, 'sidebar-compact' );\n }\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n isMinimized(minimized: boolean = this.minimized): void {\n if (minimized) {\n this.renderer.addClass(this.document.body, 'sidebar-minimized');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\n }\n }\n\n fixedPosition(fixed: boolean = this.fixed): void {\n console.warn('deprecated fixedPosition(), use isFixed() instead');\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false) {\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\n","import {\n Component,\n Directive,\n ElementRef,\n HostBinding,\n HostListener, Inject,\n Input,\n OnChanges,\n OnInit,\n Renderer2,\n SimpleChanges\n} from '@angular/core';\n\nimport {DOCUMENT} from '@angular/common';\nimport { Router } from '@angular/router';\n\nimport { Replace } from '../shared';\n\n@Directive({\n selector: '[appNavDropdown]'\n})\nexport class NavDropdownDirective {\n\n constructor(private el: ElementRef) { }\n\n toggle() {\n this.el.nativeElement.classList.toggle('open');\n }\n}\n\n/**\n* Allows the dropdown to be toggled via click.\n*/\n@Directive({\n selector: '[appNavDropdownToggle]'\n})\nexport class NavDropdownToggleDirective {\n constructor(private dropdown: NavDropdownDirective) {}\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n this.dropdown.toggle();\n }\n}\n\n@Directive({\n selector: '[appLinkAttributes]'\n})\nexport class LinkAttributesDirective implements OnInit {\n @Input() appLinkAttributes: {[key: string]: string };\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit() {\n const attribs = this.appLinkAttributes;\n for (const attr in attribs) {\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n }\n\n private setStyle(styles) {\n for (const style in styles) {\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\n }\n }\n\n private addClass(classes) {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray.forEach(element => {\n this.renderer.addClass(this.el.nativeElement, element );\n });\n }\n\n private setAttrib(key, value) {\n const newAttr = this.document.createAttribute(key);\n newAttr.value = value;\n this.renderer.setAttribute(this.el.nativeElement, key, value );\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav',\n template: `\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    `\n})\nexport class AppSidebarNavComponent implements OnChanges {\n @Input() navItems: Array;\n\n @HostBinding('class.sidebar-nav') true;\n @HostBinding('attr.role') role = 'nav';\n\n public navItemsArray: Array;\n\n public isDivider(item) {\n return item.divider ? true : false;\n }\n\n public isTitle(item) {\n return item.title ? true : false;\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\n }\n\n constructor() { }\n}\n\n@Component({\n selector: 'app-sidebar-nav-item',\n template: `\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n `\n})\nexport class AppSidebarNavItemComponent implements OnInit {\n @Input() item: any;\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n public hasClass() {\n return this.item.class ? true : false;\n }\n\n public isDropdown() {\n return this.item.children ? true : false;\n }\n\n public thisUrl() {\n return this.item.url;\n }\n\n public isActive() {\n return this.router.isActive(this.thisUrl(), false);\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-link',\n template: `\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n `\n})\nexport class AppSidebarNavLinkComponent implements OnInit {\n @Input() link: any;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private router: Router,\n private el: ElementRef\n ) { }\n\n public getClasses() {\n const disabled = this.isDisabled();\n const classes = {\n 'nav-link': true,\n 'disabled': disabled,\n 'btn-link': disabled\n };\n if (this.hasVariant()) {\n const variant = `nav-link-${this.link.variant}`;\n classes[variant] = true;\n }\n return classes;\n }\n\n public getLinkType() {\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\n }\n\n public hasVariant() {\n return this.link.variant ? true : false;\n }\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isDisabled() {\n return this.link.attributes && this.link.attributes.disabled ? true : false;\n }\n\n public isExternalLink() {\n return this.link.url.substring(0, 4) === 'http' ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n public hideMobile() {\n if (this.document.body.classList.contains('sidebar-show')) {\n this.renderer.removeClass(this.document.body, 'sidebar-show');\n }\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-dropdown',\n template: `\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n `,\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\n})\nexport class AppSidebarNavDropdownComponent implements OnInit {\n @Input() link: any;\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-title',\n template: ''\n})\nexport class AppSidebarNavTitleComponent implements OnInit {\n @Input() title: any;\n\n constructor(private el: ElementRef, private renderer: Renderer2) { }\n\n ngOnInit() {\n const nativeElement: HTMLElement = this.el.nativeElement;\n const li = this.renderer.createElement('li');\n const name = this.renderer.createText(this.title.name);\n\n this.renderer.addClass(li, 'nav-title');\n\n if ( this.title.class ) {\n const classes = this.title.class;\n this.renderer.addClass(li, classes);\n }\n\n if ( this.title.wrapper ) {\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\n\n this.renderer.appendChild(wrapper, name);\n this.renderer.appendChild(li, wrapper);\n } else {\n this.renderer.appendChild(li, name);\n }\n this.renderer.appendChild(nativeElement, li);\n Replace(this.el);\n }\n}\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":[],"mappings":";;;;;;;;;;;AAAA,MAAa,iBAAiB,GAAkB;IAC9C,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB;;AAED,MAAa,mBAAmB,GAAkB;IAChD,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB;;;;;;ACdD;MAGM,aAAa,GAAG,CAAC,aAAa;;UAC5B,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1F,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1C;;AAED,MAAa,aAAa,GAAG,CAAC,MAAM,EAAE,UAAU;;UACxC,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC;;UAClC,aAAa,GAAG,UAAU,CAAC,KAAK,CAAC,CAA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EAAE,CAAC,CAAC;QAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAClB;;;YA/BF,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,QAAQ,EAAE,EAAE;aACb;;;;YAvSC,UAAU;YAMV,SAAS;;;oBAmSR,KAAK;;;;;;;AC5SR,MA6Da,gBAAgB;;;YAvC5B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,yBAAyB;oBACzB,uBAAuB;oBACvB,yBAAyB;oBACzB,4BAA4B;oBAC5B,mBAAmB;oBACnB,sBAAsB;oBACtB,8BAA8B;oBAC9B,0BAA0B;oBAC1B,0BAA0B;oBAC1B,2BAA2B;oBAC3B,oBAAoB;oBACpB,0BAA0B;oBAC1B,uBAAuB;oBACvB,YAAY;iBACb;gBACD,YAAY,EAAE;oBACZ,yBAAyB;oBACzB,uBAAuB;oBACvB,yBAAyB;oBACzB,4BAA4B;oBAC5B,4BAA4B;oBAC5B,mBAAmB;oBACnB,sBAAsB;oBACtB,8BAA8B;oBAC9B,0BAA0B;oBAC1B,0BAA0B;oBAC1B,2BAA2B;oBAC3B,oBAAoB;oBACpB,0BAA0B;oBAC1B,uBAAuB;iBACxB;aACF;;;;;;;;;;;;;;;;;;;;"} diff --git a/dist/@coreui/angular/fesm5/coreui-angular.js b/dist/@coreui/angular/fesm5/coreui-angular.js index 31c7c51b..584100ad 100644 --- a/dist/@coreui/angular/fesm5/coreui-angular.js +++ b/dist/@coreui/angular/fesm5/coreui-angular.js @@ -1,7 +1,7 @@ import { BehaviorSubject } from 'rxjs/index'; import { filter } from 'rxjs/operators'; -import { CommonModule } from '@angular/common'; -import { Directive, HostListener, Input, NgModule, Component, ElementRef, Injectable, HostBinding, Renderer2 } from '@angular/core'; +import { Inject, Injectable, Renderer2, Directive, HostListener, Input, NgModule, Component, ElementRef, HostBinding } from '@angular/core'; +import { DOCUMENT, CommonModule } from '@angular/common'; import { Router, ActivatedRoute, NavigationEnd, RouterModule } from '@angular/router'; /** @@ -32,7 +32,7 @@ var asideMenuCssClasses = [ /** @type {?} */ var RemoveClasses = function (NewClassNames) { /** @type {?} */ - var MatchClasses = NewClassNames.map(function (Class) { return document.querySelector('body').classList.contains(Class); }); + var MatchClasses = NewClassNames.map(function (Class) { return document.body.classList.contains(Class); }); return MatchClasses.indexOf(true) !== -1; }; /** @type {?} */ @@ -42,12 +42,64 @@ var ToggleClasses = function (Toggle, ClassNames) { /** @type {?} */ var NewClassNames = ClassNames.slice(0, Level + 1); if (RemoveClasses(NewClassNames)) { - NewClassNames.map(function (Class) { return document.querySelector('body').classList.remove(Class); }); + NewClassNames.map(function (Class) { return document.body.classList.remove(Class); }); } else { - document.querySelector('body').classList.add(Toggle); + document.body.classList.add(Toggle); } }; +var ClassToggler = /** @class */ (function () { + function ClassToggler(document, renderer) { + this.document = document; + this.renderer = renderer; + } + /** + * @param {?} NewClassNames + * @return {?} + */ + ClassToggler.prototype.removeClasses = /** + * @param {?} NewClassNames + * @return {?} + */ + function (NewClassNames) { + var _this = this; + /** @type {?} */ + var MatchClasses = NewClassNames.map(function (Class) { return _this.document.body.classList.contains(Class); }); + return MatchClasses.indexOf(true) !== -1; + }; + /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + ClassToggler.prototype.toggleClasses = /** + * @param {?} Toggle + * @param {?} ClassNames + * @return {?} + */ + function (Toggle, ClassNames) { + var _this = this; + /** @type {?} */ + var Level = ClassNames.indexOf(Toggle); + /** @type {?} */ + var NewClassNames = ClassNames.slice(0, Level + 1); + if (this.removeClasses(NewClassNames)) { + NewClassNames.map(function (Class) { return _this.renderer.removeClass(_this.document.body, Class); }); + } + else { + this.renderer.addClass(this.document.body, Toggle); + } + }; + ClassToggler.decorators = [ + { type: Injectable } + ]; + /** @nocollapse */ + ClassToggler.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; + return ClassToggler; +}()); /** * @fileoverview added by tsickle @@ -97,7 +149,9 @@ var SidebarToggleDirective = /** @class */ (function () { return SidebarToggleDirective; }()); var SidebarMinimizeDirective = /** @class */ (function () { - function SidebarMinimizeDirective() { + function SidebarMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -109,7 +163,12 @@ var SidebarMinimizeDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-minimized') ? + this.renderer.removeClass(body, 'sidebar-minimized') : + this.renderer.addClass(body, 'sidebar-minimized'); + // document.body.classList.toggle('sidebar-minimized'); }; SidebarMinimizeDirective.decorators = [ { type: Directive, args: [{ @@ -117,14 +176,19 @@ var SidebarMinimizeDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - SidebarMinimizeDirective.ctorParameters = function () { return []; }; + SidebarMinimizeDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; SidebarMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return SidebarMinimizeDirective; }()); var MobileSidebarToggleDirective = /** @class */ (function () { - function MobileSidebarToggleDirective() { + function MobileSidebarToggleDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -155,7 +219,12 @@ var MobileSidebarToggleDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('sidebar-show'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // document.body.classList.toggle('sidebar-show'); }; MobileSidebarToggleDirective.decorators = [ { type: Directive, args: [{ @@ -163,7 +232,10 @@ var MobileSidebarToggleDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - MobileSidebarToggleDirective.ctorParameters = function () { return []; }; + MobileSidebarToggleDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; MobileSidebarToggleDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; @@ -173,7 +245,9 @@ var MobileSidebarToggleDirective = /** @class */ (function () { * Allows the off-canvas sidebar to be closed via click. */ var SidebarOffCanvasCloseDirective = /** @class */ (function () { - function SidebarOffCanvasCloseDirective() { + function SidebarOffCanvasCloseDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } // Check if element has class // Check if element has class @@ -233,8 +307,13 @@ var SidebarOffCanvasCloseDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) { - this.toggleClass(document.querySelector('body'), 'sidebar-opened'); + /** @type {?} */ + var body = this.document.body; + if (this.hasClass(body, 'sidebar-off-canvas')) { + body.classList.contains('sidebar-show') ? + this.renderer.removeClass(body, 'sidebar-show') : + this.renderer.addClass(body, 'sidebar-show'); + // this.toggleClass(document.body, 'sidebar-opened'); } }; SidebarOffCanvasCloseDirective.decorators = [ @@ -243,14 +322,19 @@ var SidebarOffCanvasCloseDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - SidebarOffCanvasCloseDirective.ctorParameters = function () { return []; }; + SidebarOffCanvasCloseDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; SidebarOffCanvasCloseDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; return SidebarOffCanvasCloseDirective; }()); var BrandMinimizeDirective = /** @class */ (function () { - function BrandMinimizeDirective() { + function BrandMinimizeDirective(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @param {?} $event @@ -262,7 +346,12 @@ var BrandMinimizeDirective = /** @class */ (function () { */ function ($event) { $event.preventDefault(); - document.querySelector('body').classList.toggle('brand-minimized'); + /** @type {?} */ + var body = this.document.body; + body.classList.contains('brand-minimized') ? + this.renderer.removeClass(body, 'brand-minimized') : + this.renderer.addClass(body, 'brand-minimized'); + // document.body.classList.toggle('brand-minimized'); }; BrandMinimizeDirective.decorators = [ { type: Directive, args: [{ @@ -270,7 +359,10 @@ var BrandMinimizeDirective = /** @class */ (function () { },] } ]; /** @nocollapse */ - BrandMinimizeDirective.ctorParameters = function () { return []; }; + BrandMinimizeDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; BrandMinimizeDirective.propDecorators = { toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] }; @@ -280,7 +372,8 @@ var BrandMinimizeDirective = /** @class */ (function () { * Allows the aside to be toggled via click. */ var AsideToggleDirective = /** @class */ (function () { - function AsideToggleDirective() { + function AsideToggleDirective(classToggler) { + this.classToggler = classToggler; } /** * @return {?} @@ -302,17 +395,19 @@ var AsideToggleDirective = /** @class */ (function () { function ($event) { $event.preventDefault(); /** @type {?} */ - var cssClass; - this.bp ? cssClass = "aside-menu-" + this.bp + "-show" : cssClass = asideMenuCssClasses[0]; - ToggleClasses(cssClass, asideMenuCssClasses); + var cssClass = this.bp ? "aside-menu-" + this.bp + "-show" : asideMenuCssClasses[0]; + this.classToggler.toggleClasses(cssClass, asideMenuCssClasses); }; AsideToggleDirective.decorators = [ { type: Directive, args: [{ selector: '[appAsideMenuToggler]', + providers: [ClassToggler] },] } ]; /** @nocollapse */ - AsideToggleDirective.ctorParameters = function () { return []; }; + AsideToggleDirective.ctorParameters = function () { return [ + { type: ClassToggler } + ]; }; AsideToggleDirective.propDecorators = { breakpoint: [{ type: Input, args: ['appAsideMenuToggler',] }], toggleOpen: [{ type: HostListener, args: ['click', ['$event'],] }] @@ -347,6 +442,9 @@ var LayoutModule = /** @class */ (function () { SidebarToggleDirective, SidebarMinimizeDirective, SidebarOffCanvasCloseDirective + ], + providers: [ + ClassToggler ] },] } ]; @@ -389,7 +487,9 @@ function Replace(el) { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppAsideComponent = /** @class */ (function () { - function AppAsideComponent(el) { + function AppAsideComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -411,48 +511,50 @@ var AppAsideComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('aside-menu-fixed'); + this.renderer.removeClass(this.document.body, 'aside-menu-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppAsideComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('aside-menu-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'aside-menu-fixed'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppAsideComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('aside-menu-off-canvas'); + if (offCanvas === void 0) { offCanvas = this.offCanvas; } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'aside-menu-off-canvas'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppAsideComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { display = this.display; } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "aside-menu-" + this.display + "-show" : cssClass = asideMenuCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = this.display ? "aside-menu-" + this.display + "-show" : asideMenuCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppAsideComponent.decorators = [ @@ -463,6 +565,8 @@ var AppAsideComponent = /** @class */ (function () { ]; /** @nocollapse */ AppAsideComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppAsideComponent.propDecorators = { @@ -559,7 +663,9 @@ var AppBreadcrumbService = /** @class */ (function () { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppBreadcrumbComponent = /** @class */ (function () { - function AppBreadcrumbComponent(service, el) { + function AppBreadcrumbComponent(document, renderer, service, el) { + this.document = document; + this.renderer = renderer; this.service = service; this.el = el; } @@ -581,19 +687,20 @@ var AppBreadcrumbComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('breadcrumb-fixed'); + this.renderer.removeClass(this.document.body, 'breadcrumb-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppBreadcrumbComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('breadcrumb-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'breadcrumb-fixed'); } }; AppBreadcrumbComponent.decorators = [ @@ -604,6 +711,8 @@ var AppBreadcrumbComponent = /** @class */ (function () { ]; /** @nocollapse */ AppBreadcrumbComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: AppBreadcrumbService }, { type: ElementRef } ]; }; @@ -657,7 +766,9 @@ var AppBreadcrumbModule = /** @class */ (function () { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppFooterComponent = /** @class */ (function () { - function AppFooterComponent(el) { + function AppFooterComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; } /** @@ -677,29 +788,32 @@ var AppFooterComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('footer-fixed'); + this.renderer.removeClass(this.document.body, 'footer-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppFooterComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('footer-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'footer-fixed'); } }; AppFooterComponent.decorators = [ { type: Component, args: [{ selector: 'app-footer', - template: "\n
    \n \n
    \n " + template: "\n \n
    \n \n
    \n " }] } ]; /** @nocollapse */ AppFooterComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppFooterComponent.propDecorators = { @@ -735,7 +849,9 @@ var AppFooterModule = /** @class */ (function () { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppHeaderComponent = /** @class */ (function () { - function AppHeaderComponent(el) { + function AppHeaderComponent(document, renderer, el) { + this.document = document; + this.renderer = renderer; this.el = el; this.navbarBrandText = { icon: '🅲', text: '🅲 CoreUI' }; this.navbarBrandHref = ''; @@ -758,19 +874,20 @@ var AppHeaderComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('header-fixed'); + this.renderer.removeClass(this.document.body, 'header-fixed'); }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppHeaderComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('header-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'header-fixed'); } }; /** @@ -837,6 +954,8 @@ var AppHeaderComponent = /** @class */ (function () { ]; /** @nocollapse */ AppHeaderComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: ElementRef } ]; }; AppHeaderComponent.propDecorators = { @@ -1009,7 +1128,9 @@ var AppSidebarMinimizerComponent = /** @class */ (function () { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ var AppSidebarComponent = /** @class */ (function () { - function AppSidebarComponent() { + function AppSidebarComponent(document, renderer) { + this.document = document; + this.renderer = renderer; } /** * @return {?} @@ -1031,88 +1152,93 @@ var AppSidebarComponent = /** @class */ (function () { * @return {?} */ function () { - document.body.classList.remove('sidebar-fixed'); + this.renderer.removeClass(this.document.body, 'sidebar-fixed'); }; /** - * @param {?} compact + * @param {?=} compact * @return {?} */ AppSidebarComponent.prototype.isCompact = /** - * @param {?} compact + * @param {?=} compact * @return {?} */ function (compact) { - if (this.compact) { - document.querySelector('body').classList.add('sidebar-compact'); + if (compact === void 0) { compact = this.compact; } + if (compact) { + this.renderer.addClass(this.document.body, 'sidebar-compact'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.isFixed = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed === void 0) { fixed = this.fixed; } + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ AppSidebarComponent.prototype.isMinimized = /** - * @param {?} minimized + * @param {?=} minimized * @return {?} */ function (minimized) { - if (this.minimized) { - document.querySelector('body').classList.add('sidebar-minimized'); + if (minimized === void 0) { minimized = this.minimized; } + if (minimized) { + this.renderer.addClass(this.document.body, 'sidebar-minimized'); } }; /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ AppSidebarComponent.prototype.isOffCanvas = /** - * @param {?} offCanvas + * @param {?=} offCanvas * @return {?} */ function (offCanvas) { - if (this.offCanvas) { - document.querySelector('body').classList.add('sidebar-off-canvas'); + if (offCanvas === void 0) { offCanvas = this.offCanvas; } + if (offCanvas) { + this.renderer.addClass(this.document.body, 'sidebar-off-canvas'); } }; /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ AppSidebarComponent.prototype.fixedPosition = /** - * @param {?} fixed + * @param {?=} fixed * @return {?} */ function (fixed) { + if (fixed === void 0) { fixed = this.fixed; } console.warn('deprecated fixedPosition(), use isFixed() instead'); - if (this.fixed) { - document.querySelector('body').classList.add('sidebar-fixed'); + if (fixed) { + this.renderer.addClass(this.document.body, 'sidebar-fixed'); } }; /** - * @param {?} display + * @param {?=} display * @return {?} */ AppSidebarComponent.prototype.displayBreakpoint = /** - * @param {?} display + * @param {?=} display * @return {?} */ function (display) { - if (this.display !== false) { + if (display === void 0) { display = this.display; } + if (display !== false) { /** @type {?} */ - var cssClass = void 0; - this.display ? cssClass = "sidebar-" + this.display + "-show" : cssClass = sidebarCssClasses[0]; - document.querySelector('body').classList.add(cssClass); + var cssClass = display ? "sidebar-" + display + "-show" : sidebarCssClasses[0]; + this.renderer.addClass(this.document.body, cssClass); } }; AppSidebarComponent.decorators = [ @@ -1122,7 +1248,10 @@ var AppSidebarComponent = /** @class */ (function () { }] } ]; /** @nocollapse */ - AppSidebarComponent.ctorParameters = function () { return []; }; + AppSidebarComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 } + ]; }; AppSidebarComponent.propDecorators = { compact: [{ type: Input }], display: [{ type: Input }], @@ -1196,7 +1325,8 @@ var NavDropdownToggleDirective = /** @class */ (function () { return NavDropdownToggleDirective; }()); var LinkAttributesDirective = /** @class */ (function () { - function LinkAttributesDirective(renderer, el) { + function LinkAttributesDirective(document, renderer, el) { + this.document = document; this.renderer = renderer; this.el = el; } @@ -1268,7 +1398,7 @@ var LinkAttributesDirective = /** @class */ (function () { */ function (key, value) { /** @type {?} */ - var newAttr = document.createAttribute(key); + var newAttr = this.document.createAttribute(key); newAttr.value = value; this.renderer.setAttribute(this.el.nativeElement, key, value); }; @@ -1279,6 +1409,7 @@ var LinkAttributesDirective = /** @class */ (function () { ]; /** @nocollapse */ LinkAttributesDirective.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, { type: Renderer2 }, { type: ElementRef } ]; }; @@ -1406,7 +1537,9 @@ var AppSidebarNavItemComponent = /** @class */ (function () { return AppSidebarNavItemComponent; }()); var AppSidebarNavLinkComponent = /** @class */ (function () { - function AppSidebarNavLinkComponent(router, el) { + function AppSidebarNavLinkComponent(document, renderer, router, el) { + this.document = document; + this.renderer = renderer; this.router = router; this.el = el; } @@ -1493,8 +1626,8 @@ var AppSidebarNavLinkComponent = /** @class */ (function () { * @return {?} */ function () { - if (document.body.classList.contains('sidebar-show')) { - document.body.classList.toggle('sidebar-show'); + if (this.document.body.classList.contains('sidebar-show')) { + this.renderer.removeClass(this.document.body, 'sidebar-show'); } }; /** @@ -1514,6 +1647,8 @@ var AppSidebarNavLinkComponent = /** @class */ (function () { ]; /** @nocollapse */ AppSidebarNavLinkComponent.ctorParameters = function () { return [ + { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, + { type: Renderer2 }, { type: Router }, { type: ElementRef } ]; }; @@ -1690,6 +1825,6 @@ var AppSidebarModule = /** @class */ (function () { * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ -export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule, AppAsideComponent as ɵh, AppBreadcrumbComponent as ɵi, AppBreadcrumbService as ɵj, AppFooterComponent as ɵk, AppHeaderComponent as ɵl, AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb, LayoutModule as ɵa, AppSidebarFooterComponent as ɵm, AppSidebarFormComponent as ɵn, AppSidebarHeaderComponent as ɵo, AppSidebarMinimizerComponent as ɵp, AppSidebarNavComponent as ɵu, AppSidebarNavDropdownComponent as ɵx, AppSidebarNavItemComponent as ɵv, AppSidebarNavLinkComponent as ɵw, AppSidebarNavTitleComponent as ɵy, LinkAttributesDirective as ɵt, NavDropdownDirective as ɵr, NavDropdownToggleDirective as ɵs, AppSidebarComponent as ɵq }; +export { AppAsideModule, AppBreadcrumbModule, AppFooterModule, AppHeaderModule, AppSidebarModule, AppAsideComponent as ɵi, AppBreadcrumbComponent as ɵj, AppBreadcrumbService as ɵk, AppFooterComponent as ɵl, AppHeaderComponent as ɵm, AsideToggleDirective as ɵg, BrandMinimizeDirective as ɵf, MobileSidebarToggleDirective as ɵd, SidebarMinimizeDirective as ɵc, SidebarOffCanvasCloseDirective as ɵe, SidebarToggleDirective as ɵb, LayoutModule as ɵa, ClassToggler as ɵh, AppSidebarFooterComponent as ɵn, AppSidebarFormComponent as ɵo, AppSidebarHeaderComponent as ɵp, AppSidebarMinimizerComponent as ɵq, AppSidebarNavComponent as ɵv, AppSidebarNavDropdownComponent as ɵy, AppSidebarNavItemComponent as ɵw, AppSidebarNavLinkComponent as ɵx, AppSidebarNavTitleComponent as ɵz, LinkAttributesDirective as ɵu, NavDropdownDirective as ɵs, NavDropdownToggleDirective as ɵt, AppSidebarComponent as ɵr }; //# sourceMappingURL=coreui-angular.js.map \ 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 b231c259..86375b78 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.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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","const RemoveClasses = (NewClassNames) => {\r\n const MatchClasses = NewClassNames.map((Class) => document.querySelector('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.querySelector('body').classList.remove(Class));\r\n } else {\r\n document.querySelector('body').classList.add(Toggle);\r\n }\r\n};\r\n","import { Directive, HostListener, Input, ElementRef, OnInit } from '@angular/core';\r\nimport { sidebarCssClasses, asideMenuCssClasses } from './../classes';\r\nimport { ToggleClasses } 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})\r\nexport class SidebarToggleDirective implements OnInit {\r\n @Input('appSidebarToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\r\n 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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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\r\n // Check if element has class\r\n private hasClass(target: any, elementClassName: string) {\r\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\r\n }\r\n\r\n // Toggle element class\r\n private toggleClass(elem: any, elementClassName: string) {\r\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\r\n if (this.hasClass(elem, elementClassName)) {\r\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\r\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\r\n }\r\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\r\n } else {\r\n elem.className += ' ' + elementClassName;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n\r\n if (this.hasClass(document.querySelector('body'), 'sidebar-off-canvas')) {\r\n this.toggleClass(document.querySelector('body'), 'sidebar-opened');\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\r\n @HostListener('click', ['$event'])\r\n toggleOpen($event: any) {\r\n $event.preventDefault();\r\n document.querySelector('body').classList.toggle('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})\r\nexport class AsideToggleDirective implements OnInit {\r\n @Input('appAsideMenuToggler') breakpoint: string;\r\n public bp;\r\n constructor() {}\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 let cssClass;\r\n this.bp ? cssClass = `aside-menu-${this.bp}-show` : cssClass = asideMenuCssClasses[0];\r\n ToggleClasses(cssClass, asideMenuCssClasses);\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} from './layout.directive';\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 ],\r\n declarations: [\r\n AsideToggleDirective,\r\n BrandMinimizeDirective,\r\n MobileSidebarToggleDirective,\r\n SidebarToggleDirective,\r\n SidebarMinimizeDirective,\r\n SidebarOffCanvasCloseDirective\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { asideMenuCssClasses, Replace } from './../shared/index';\r\n\r\n@Component({\r\n selector: 'app-aside',\r\n template: `\r\n \r\n `\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 constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\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 document.body.classList.remove('aside-menu-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('aside-menu-fixed'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('aside-menu-off-canvas'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `aside-menu-${this.display}-show` : cssClass = asideMenuCssClasses[0];\r\n document.querySelector('body').classList.add(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, Injector } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { BehaviorSubject, Observable } from 'rxjs/index';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppBreadcrumbService {\r\n\r\n breadcrumbs: Observable>;\r\n\r\n private _breadcrumbs: BehaviorSubject>;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute) {\r\n\r\n this._breadcrumbs = new BehaviorSubject(new Array());\r\n\r\n this.breadcrumbs = this._breadcrumbs.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 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: url\r\n });\r\n currentRoute = route;\r\n }\r\n });\r\n } while (currentRoute);\r\n\r\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\r\n\r\n return breadcrumbs;\r\n });\r\n }\r\n}\r\n","import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\nimport { AppBreadcrumbService } from './app-breadcrumb.service';\r\n\r\n@Component({\r\n selector: 'app-breadcrumb',\r\n template: `\r\n \r\n
  • \r\n {{breadcrumb.label.title}}\r\n {{breadcrumb.label.title}}\r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppBreadcrumbComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n public breadcrumbs;\r\n\r\n constructor(public service: AppBreadcrumbService, public el: ElementRef) { }\r\n\r\n public ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.breadcrumbs = this.service.breadcrumbs;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('breadcrumb-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('breadcrumb-fixed'); }\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppFooterComponent implements OnInit, OnDestroy {\r\n @Input() fixed: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('footer-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('footer-fixed'); }\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, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-header',\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n `\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: any = '';\r\n\r\n @Input() sidebarToggler: any;\r\n @Input() mobileSidebarToggler: any;\r\n\r\n @Input() asideMenuToggler: any;\r\n @Input() mobileAsideMenuToggler: any;\r\n\r\n navbarBrandImg: boolean;\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n Replace(this.el);\r\n this.isFixed(this.fixed);\r\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('header-fixed');\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('header-fixed'); }\r\n }\r\n\r\n imgSrc(brand: any): void {\r\n return brand.src ? brand.src : '';\r\n }\r\n\r\n imgWidth(brand: any): void {\r\n return brand.width ? brand.width : 'auto';\r\n }\r\n\r\n imgHeight(brand: any): void {\r\n return brand.height ? brand.height : 'auto';\r\n }\r\n\r\n imgAlt(brand: any): void {\r\n return brand.alt ? brand.alt : '';\r\n }\r\n\r\n breakpoint(breakpoint: any): void {\r\n console.log(breakpoint);\r\n return breakpoint ? breakpoint : '';\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 { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-footer',\r\n template: `\r\n
    \r\n \r\n
    `\r\n})\r\nexport class AppSidebarFooterComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-form',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarFormComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-header',\r\n template: `\r\n
    \r\n \r\n
    \r\n `\r\n})\r\nexport class AppSidebarHeaderComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { Replace } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar-minimizer',\r\n template: `\r\n \r\n `\r\n})\r\nexport class AppSidebarMinimizerComponent implements OnInit {\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n","import { Component, Input, HostBinding, OnInit, OnDestroy } from '@angular/core';\r\nimport { sidebarCssClasses } from './../shared';\r\n\r\n@Component({\r\n selector: 'app-sidebar',\r\n template: ``\r\n})\r\nexport class AppSidebarComponent implements OnInit, OnDestroy {\r\n @Input() compact: boolean;\r\n @Input() display: any;\r\n @Input() fixed: boolean;\r\n @Input() minimized: boolean;\r\n @Input() offCanvas: boolean;\r\n\r\n @HostBinding('class.sidebar') true;\r\n\r\n constructor() {}\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.isMinimized(this.minimized);\r\n this.isOffCanvas(this.offCanvas);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.body.classList.remove('sidebar-fixed');\r\n }\r\n\r\n isCompact(compact: boolean): void {\r\n if (this.compact) { document.querySelector('body').classList.add('sidebar-compact'); }\r\n }\r\n\r\n isFixed(fixed: boolean): void {\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n isMinimized(minimized: boolean): void {\r\n if (this.minimized) { document.querySelector('body').classList.add('sidebar-minimized'); }\r\n }\r\n\r\n isOffCanvas(offCanvas: boolean): void {\r\n if (this.offCanvas) { document.querySelector('body').classList.add('sidebar-off-canvas'); }\r\n }\r\n\r\n fixedPosition(fixed: boolean): void {\r\n console.warn('deprecated fixedPosition(), use isFixed() instead');\r\n if (this.fixed) { document.querySelector('body').classList.add('sidebar-fixed'); }\r\n }\r\n\r\n displayBreakpoint(display: any): void {\r\n if (this.display !== false ) {\r\n let cssClass;\r\n this.display ? cssClass = `sidebar-${this.display}-show` : cssClass = sidebarCssClasses[0];\r\n document.querySelector('body').classList.add(cssClass);\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Renderer2,\r\n SimpleChanges\r\n} from '@angular/core';\r\nimport { Replace } from '../shared';\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\r\n@Directive({\r\n selector: '[appLinkAttributes]'\r\n})\r\nexport class LinkAttributesDirective implements OnInit {\r\n @Input() appLinkAttributes: {[key: string]: string };\r\n constructor(private renderer: Renderer2, private el: ElementRef) {}\r\n\r\n ngOnInit() {\r\n const attribs = this.appLinkAttributes;\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.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 const newAttr = document.createAttribute(key);\r\n newAttr.value = value;\r\n this.renderer.setAttribute(this.el.nativeElement, key, value );\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav',\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\nexport class AppSidebarNavComponent implements OnChanges {\r\n @Input() navItems: Array;\r\n\r\n @HostBinding('class.sidebar-nav') true;\r\n @HostBinding('attr.role') role = 'nav';\r\n\r\n public navItemsArray: Array;\r\n\r\n public isDivider(item) {\r\n return item.divider ? true : false;\r\n }\r\n\r\n public isTitle(item) {\r\n return item.title ? true : false;\r\n }\r\n\r\n public ngOnChanges(changes: SimpleChanges): void {\r\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\r\n }\r\n\r\n constructor() { }\r\n}\r\n\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-item',\r\n template: `\r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n
  • \r\n
    \r\n `\r\n})\r\nexport class AppSidebarNavItemComponent implements OnInit {\r\n @Input() item: any;\r\n\r\n public hasClass() {\r\n return this.item.class ? true : false;\r\n }\r\n\r\n public isDropdown() {\r\n return this.item.children ? true : false;\r\n }\r\n\r\n public thisUrl() {\r\n return this.item.url;\r\n }\r\n\r\n public isActive() {\r\n return this.router.isActive(this.thisUrl(), false);\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-link',\r\n template: `\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n \r\n `\r\n})\r\nexport class AppSidebarNavLinkComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public getClasses() {\r\n const disabled = this.isDisabled();\r\n const classes = {\r\n 'nav-link': true,\r\n 'disabled': disabled,\r\n 'btn-link': disabled\r\n };\r\n if (this.hasVariant()) {\r\n const variant = `nav-link-${this.link.variant}`;\r\n classes[variant] = true;\r\n }\r\n return classes;\r\n }\r\n\r\n public getLinkType() {\r\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\r\n }\r\n\r\n public hasVariant() {\r\n return this.link.variant ? true : false;\r\n }\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isDisabled() {\r\n return this.link.attributes && this.link.attributes.disabled ? true : false;\r\n }\r\n\r\n public isExternalLink() {\r\n return this.link.url.substring(0, 4) === 'http' ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n public hideMobile() {\r\n if (document.body.classList.contains('sidebar-show')) {\r\n document.body.classList.toggle('sidebar-show');\r\n }\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-dropdown',\r\n template: `\r\n \r\n \r\n {{ link.name }}\r\n {{ link.badge.text }}\r\n \r\n
      \r\n \r\n \r\n \r\n
    \r\n `,\r\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\r\n})\r\nexport class AppSidebarNavDropdownComponent implements OnInit {\r\n @Input() link: any;\r\n\r\n public isBadge() {\r\n return this.link.badge ? true : false;\r\n }\r\n\r\n public isIcon() {\r\n return this.link.icon ? true : false;\r\n }\r\n\r\n constructor( private router: Router, private el: ElementRef ) { }\r\n\r\n ngOnInit() {\r\n Replace(this.el);\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-sidebar-nav-title',\r\n template: ''\r\n})\r\nexport class AppSidebarNavTitleComponent implements OnInit {\r\n @Input() title: any;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n const nativeElement: HTMLElement = this.el.nativeElement;\r\n const li = this.renderer.createElement('li');\r\n const name = this.renderer.createText(this.title.name);\r\n\r\n this.renderer.addClass(li, 'nav-title');\r\n\r\n if ( this.title.class ) {\r\n const classes = this.title.class;\r\n this.renderer.addClass(li, classes);\r\n }\r\n\r\n if ( this.title.wrapper ) {\r\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\r\n\r\n this.renderer.appendChild(wrapper, name);\r\n this.renderer.appendChild(li, wrapper);\r\n } else {\r\n this.renderer.appendChild(li, name);\r\n }\r\n this.renderer.appendChild(nativeElement, li);\r\n Replace(this.el);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":[],"mappings":";;;;;;;;;;;AAAA,IAAa,iBAAiB,GAAkB;IAC9C,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB;;AAED,IAAa,mBAAmB,GAAkB;IAChD,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB;;;;;;;ICdK,aAAa,GAAG,UAAC,aAAa;;QAC5B,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAA,CAAC;IAC3G,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1C;;AAED,IAAa,aAAa,GAAG,UAAC,MAAM,EAAE,UAAU;;QACxC,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC;;QAClC,aAAa,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC;IAEpD,IAAI,aAAa,CAAC,aAAa,CAAC,EAAE;QAChC,aAAa,CAAC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,S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CAAC,CAAC;KAClB;;gBA/BF,SAAS,SAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,QAAQ,EAAE,EAAE;iBACb;;;;gBA3RC,UAAU;gBAMV,SAAS;;;wBAuRR,KAAK;;IA2BR,kCAAC;CAhCD;;;;;;AC3RA;IAsBA;KAuCiC;;gBAvChC,QAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,YAAY;qBACb;oBACD,OAAO,EAAE;wBACP,yBAAyB;wBACzB,uBAAuB;wBACvB,yBAAyB;wBACzB,4BAA4B;wBAC5B,mBAAmB;wBACnB,sBAAsB;wBACtB,8BAA8B;wBAC9B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,2BAA2B;wBAC3B,oBAAoB;wBACpB,0BAA0B;wBAC1B,uBAAuB;wBACvB,YAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,yBAAyB;wBACzB,uBAAuB;wBACvB,yBAAyB;wBACzB,4BAA4B;wBAC5B,4BAA4B;wBAC5B,mBAAmB;wBACnB,sBAAsB;wBACtB,8BAA8B;wBAC9B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,2BAA2B;wBAC3B,oBAAoB;wBACpB,0BAA0B;wBAC1B,uBAAuB;qBACxB;iBACF;;IAC+B,uBAAC;CAvCjC;;;;;;;;;;;;;;;;;;;"} +{"version":3,"file":"coreui-angular.js.map","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/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-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.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar-nav.component.ts","ng://@coreui/angular/lib/sidebar/app-sidebar.module.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';\nimport {DOCUMENT} from '@angular/common';\n\nconst RemoveClasses = (NewClassNames) => {\n const MatchClasses = NewClassNames.map((Class) => document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n};\n\nexport const ToggleClasses = (Toggle, ClassNames) => {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (RemoveClasses(NewClassNames)) {\n NewClassNames.map((Class) => document.body.classList.remove(Class));\n } else {\n document.body.classList.add(Toggle);\n }\n};\n\n@Injectable()\nexport class ClassToggler {\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) {}\n\n removeClasses(NewClassNames) {\n const MatchClasses = NewClassNames.map((Class) => this.document.body.classList.contains(Class));\n return MatchClasses.indexOf(true) !== -1;\n }\n\n toggleClasses(Toggle, ClassNames) {\n const Level = ClassNames.indexOf(Toggle);\n const NewClassNames = ClassNames.slice(0, Level + 1);\n\n if (this.removeClasses(NewClassNames)) {\n NewClassNames.map((Class) => this.renderer.removeClass(this.document.body, Class));\n } else {\n this.renderer.addClass(this.document.body, Toggle);\n }\n }\n}\n","import {Directive, HostListener, Inject, Input, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, sidebarCssClasses } from '../classes';\nimport { ClassToggler, ToggleClasses } from '../toggle-classes';\n\n/**\n* Allows the sidebar to be toggled via click.\n*/\n@Directive({\n selector: '[appSidebarToggler]'\n})\nexport class SidebarToggleDirective implements OnInit {\n @Input('appSidebarToggler') breakpoint: string;\n public bp;\n constructor() {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n let cssClass;\n this.bp ? cssClass = `sidebar-${this.bp}-show` : cssClass = sidebarCssClasses[0];\n ToggleClasses(cssClass, sidebarCssClasses);\n }\n}\n\n@Directive({\n selector: '[appSidebarMinimizer]'\n})\nexport class SidebarMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-minimized') ?\n this.renderer.removeClass(body, 'sidebar-minimized') :\n this.renderer.addClass(body, 'sidebar-minimized');\n // document.body.classList.toggle('sidebar-minimized');\n }\n}\n\n@Directive({\n selector: '[appMobileSidebarToggler]'\n})\nexport class MobileSidebarToggleDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // document.body.classList.toggle('sidebar-show');\n }\n}\n\n/**\n* Allows the off-canvas sidebar to be closed via click.\n*/\n@Directive({\n selector: '[appSidebarClose]'\n})\nexport class SidebarOffCanvasCloseDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n // Check if element has class\n private hasClass(target: any, elementClassName: string) {\n return new RegExp('(\\\\s|^)' + elementClassName + '(\\\\s|$)').test(target.className);\n }\n\n // Toggle element class\n private toggleClass(elem: any, elementClassName: string) {\n let newClass = ' ' + elem.className.replace( /[\\t\\r\\n]/g, ' ' ) + ' ';\n if (this.hasClass(elem, elementClassName)) {\n while (newClass.indexOf(' ' + elementClassName + ' ') >= 0 ) {\n newClass = newClass.replace( ' ' + elementClassName + ' ' , ' ' );\n }\n elem.className = newClass.replace(/^\\s+|\\s+$/g, '');\n } else {\n elem.className += ' ' + elementClassName;\n }\n }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n\n const body = this.document.body;\n if (this.hasClass(body, 'sidebar-off-canvas')) {\n body.classList.contains('sidebar-show') ?\n this.renderer.removeClass(body, 'sidebar-show') :\n this.renderer.addClass(body, 'sidebar-show');\n // this.toggleClass(document.body, 'sidebar-opened');\n }\n }\n}\n\n@Directive({\n selector: '[appBrandMinimizer]'\n})\nexport class BrandMinimizeDirective {\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n ) { }\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const body = this.document.body;\n body.classList.contains('brand-minimized') ?\n this.renderer.removeClass(body, 'brand-minimized') :\n this.renderer.addClass(body, 'brand-minimized');\n // document.body.classList.toggle('brand-minimized');\n }\n}\n\n\n/**\n* Allows the aside to be toggled via click.\n*/\n@Directive({\n selector: '[appAsideMenuToggler]',\n providers: [ClassToggler]\n})\nexport class AsideToggleDirective implements OnInit {\n @Input('appAsideMenuToggler') breakpoint: string;\n public bp;\n constructor(private classToggler: ClassToggler) {}\n ngOnInit(): void {\n this.bp = this.breakpoint;\n }\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n const cssClass = this.bp ? `aside-menu-${this.bp}-show` : asideMenuCssClasses[0];\n this.classToggler.toggleClasses(cssClass, asideMenuCssClasses);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule} from '@angular/core';\nimport {\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n} from './layout.directive';\nimport { ClassToggler } from '../toggle-classes';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n exports: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n declarations: [\n AsideToggleDirective,\n BrandMinimizeDirective,\n MobileSidebarToggleDirective,\n SidebarToggleDirective,\n SidebarMinimizeDirective,\n SidebarOffCanvasCloseDirective\n ],\n providers: [\n ClassToggler\n ]\n})\nexport class LayoutModule { }\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, Input, OnInit, OnDestroy, Inject, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport { asideMenuCssClasses, Replace } from '../shared';\n\n@Component({\n selector: 'app-aside',\n template: `\n \n `\n})\nexport class AppAsideComponent implements OnInit, OnDestroy {\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() offCanvas: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.isOffCanvas(this.offCanvas);\n this.displayBreakpoint(this.display);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'aside-menu-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'aside-menu-fixed');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'aside-menu-off-canvas');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false ) {\n const cssClass = this.display ? `aside-menu-${this.display}-show` : asideMenuCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\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';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { BehaviorSubject, Observable } from 'rxjs/index';\nimport { filter } from 'rxjs/operators';\n\n@Injectable()\nexport class AppBreadcrumbService {\n\n breadcrumbs: Observable>;\n\n private _breadcrumbs: BehaviorSubject>;\n\n constructor(private router: Router, private route: ActivatedRoute) {\n\n this._breadcrumbs = new BehaviorSubject(new Array());\n\n this.breadcrumbs = this._breadcrumbs.asObservable();\n\n this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event) => {\n const breadcrumbs = [];\n let currentRoute = this.route.root,\n url = '';\n do {\n const childrenRoutes = currentRoute.children;\n currentRoute = null;\n // tslint:disable-next-line:no-shadowed-variable\n childrenRoutes.forEach(route => {\n if (route.outlet === 'primary') {\n const routeSnapshot = route.snapshot;\n url += '/' + routeSnapshot.url.map(segment => segment.path).join('/');\n breadcrumbs.push({\n label: route.snapshot.data,\n url: url\n });\n currentRoute = route;\n }\n });\n } while (currentRoute);\n\n this._breadcrumbs.next(Object.assign([], breadcrumbs));\n\n return breadcrumbs;\n });\n }\n}\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\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, 'breadcrumb-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'breadcrumb-fixed');\n }\n }\n}\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\n\r\n// @dynamic\r\n@NgModule({\r\n imports: [ CommonModule, RouterModule ],\r\n exports: [ AppBreadcrumbComponent ],\r\n declarations: [ AppBreadcrumbComponent ]\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, ElementRef, Inject, Input, OnDestroy, OnInit, Renderer2} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\n\nimport {Replace} from '../shared';\n\n@Component({\n selector: 'app-footer',\n template: `\n \n
    \n \n
    \n `\n})\nexport class AppFooterComponent implements OnInit, OnDestroy {\n @Input() fixed: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'footer-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'footer-fixed');\n }\n }\n}\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, ElementRef, Input, OnInit, OnDestroy, Inject, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-header',\n template: `\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n `\n})\nexport class AppHeaderComponent implements OnInit, OnDestroy {\n\n @Input() fixed: boolean;\n\n @Input() navbarBrand: any;\n @Input() navbarBrandFull: any;\n @Input() navbarBrandMinimized: any;\n @Input() navbarBrandText: any = {icon: '🅲', text: '🅲 CoreUI'};\n @Input() navbarBrandHref: any = '';\n\n @Input() sidebarToggler: any;\n @Input() mobileSidebarToggler: any;\n\n @Input() asideMenuToggler: any;\n @Input() mobileAsideMenuToggler: any;\n\n navbarBrandImg: boolean;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit(): void {\n Replace(this.el);\n this.isFixed(this.fixed);\n this.navbarBrandImg = Boolean(this.navbarBrand || this.navbarBrandFull || this.navbarBrandMinimized);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'header-fixed');\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'header-fixed');\n }\n }\n\n imgSrc(brand: any): void {\n return brand.src ? brand.src : '';\n }\n\n imgWidth(brand: any): void {\n return brand.width ? brand.width : 'auto';\n }\n\n imgHeight(brand: any): void {\n return brand.height ? brand.height : 'auto';\n }\n\n imgAlt(brand: any): void {\n return brand.alt ? brand.alt : '';\n }\n\n breakpoint(breakpoint: any): void {\n console.log(breakpoint);\n return breakpoint ? breakpoint : '';\n }\n}\n","import { CommonModule} from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\nimport { AppHeaderComponent } from './app-header.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\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 { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-footer',\n template: `\n
    \n \n
    `\n})\nexport class AppSidebarFooterComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-form',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarFormComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-header',\n template: `\n
    \n \n
    \n `\n})\nexport class AppSidebarHeaderComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, ElementRef, OnInit } from '@angular/core';\n\nimport { Replace } from '../shared';\n\n@Component({\n selector: 'app-sidebar-minimizer',\n template: `\n \n `\n})\nexport class AppSidebarMinimizerComponent implements OnInit {\n\n constructor(private el: ElementRef) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n","import { Component, Input, Inject, HostBinding, OnInit, OnDestroy, Renderer2 } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\nimport { sidebarCssClasses } from '../shared';\n\n@Component({\n selector: 'app-sidebar',\n template: ``\n})\nexport class AppSidebarComponent implements OnInit, OnDestroy {\n @Input() compact: boolean;\n @Input() display: any;\n @Input() fixed: boolean;\n @Input() minimized: boolean;\n @Input() offCanvas: boolean;\n\n @HostBinding('class.sidebar') true;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n this.displayBreakpoint(this.display);\n this.isCompact(this.compact);\n this.isFixed(this.fixed);\n this.isMinimized(this.minimized);\n this.isOffCanvas(this.offCanvas);\n }\n\n ngOnDestroy(): void {\n this.renderer.removeClass(this.document.body, 'sidebar-fixed' );\n }\n\n isCompact(compact: boolean = this.compact): void {\n if (compact) {\n this.renderer.addClass(this.document.body, 'sidebar-compact' );\n }\n }\n\n isFixed(fixed: boolean = this.fixed): void {\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n isMinimized(minimized: boolean = this.minimized): void {\n if (minimized) {\n this.renderer.addClass(this.document.body, 'sidebar-minimized');\n }\n }\n\n isOffCanvas(offCanvas: boolean = this.offCanvas): void {\n if (offCanvas) {\n this.renderer.addClass(this.document.body, 'sidebar-off-canvas');\n }\n }\n\n fixedPosition(fixed: boolean = this.fixed): void {\n console.warn('deprecated fixedPosition(), use isFixed() instead');\n if (fixed) {\n this.renderer.addClass(this.document.body, 'sidebar-fixed');\n }\n }\n\n displayBreakpoint(display: any = this.display): void {\n if (display !== false) {\n const cssClass = display ? `sidebar-${display}-show` : sidebarCssClasses[0];\n this.renderer.addClass(this.document.body, cssClass);\n }\n }\n}\n","import {\n Component,\n Directive,\n ElementRef,\n HostBinding,\n HostListener, Inject,\n Input,\n OnChanges,\n OnInit,\n Renderer2,\n SimpleChanges\n} from '@angular/core';\n\nimport {DOCUMENT} from '@angular/common';\nimport { Router } from '@angular/router';\n\nimport { Replace } from '../shared';\n\n@Directive({\n selector: '[appNavDropdown]'\n})\nexport class NavDropdownDirective {\n\n constructor(private el: ElementRef) { }\n\n toggle() {\n this.el.nativeElement.classList.toggle('open');\n }\n}\n\n/**\n* Allows the dropdown to be toggled via click.\n*/\n@Directive({\n selector: '[appNavDropdownToggle]'\n})\nexport class NavDropdownToggleDirective {\n constructor(private dropdown: NavDropdownDirective) {}\n\n @HostListener('click', ['$event'])\n toggleOpen($event: any) {\n $event.preventDefault();\n this.dropdown.toggle();\n }\n}\n\n@Directive({\n selector: '[appLinkAttributes]'\n})\nexport class LinkAttributesDirective implements OnInit {\n @Input() appLinkAttributes: {[key: string]: string };\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n ngOnInit() {\n const attribs = this.appLinkAttributes;\n for (const attr in attribs) {\n if (attr === 'style' && typeof(attribs[attr]) === 'object' ) {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n }\n\n private setStyle(styles) {\n for (const style in styles) {\n this.renderer.setStyle(this.el.nativeElement, style, styles[style] );\n }\n }\n\n private addClass(classes) {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray.forEach(element => {\n this.renderer.addClass(this.el.nativeElement, element );\n });\n }\n\n private setAttrib(key, value) {\n const newAttr = this.document.createAttribute(key);\n newAttr.value = value;\n this.renderer.setAttribute(this.el.nativeElement, key, value );\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav',\n template: `\n
      \n \n
    • \n \n \n \n \n \n \n
      \n
    `\n})\nexport class AppSidebarNavComponent implements OnChanges {\n @Input() navItems: Array;\n\n @HostBinding('class.sidebar-nav') true;\n @HostBinding('attr.role') role = 'nav';\n\n public navItemsArray: Array;\n\n public isDivider(item) {\n return item.divider ? true : false;\n }\n\n public isTitle(item) {\n return item.title ? true : false;\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));\n }\n\n constructor() { }\n}\n\n@Component({\n selector: 'app-sidebar-nav-item',\n template: `\n
  • \n \n
  • \n \n
  • \n \n
  • \n
    \n `\n})\nexport class AppSidebarNavItemComponent implements OnInit {\n @Input() item: any;\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n public hasClass() {\n return this.item.class ? true : false;\n }\n\n public isDropdown() {\n return this.item.children ? true : false;\n }\n\n public thisUrl() {\n return this.item.url;\n }\n\n public isActive() {\n return this.router.isActive(this.thisUrl(), false);\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-link',\n template: `\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n \n `\n})\nexport class AppSidebarNavLinkComponent implements OnInit {\n @Input() link: any;\n\n constructor(\n @Inject(DOCUMENT) private document: any,\n private renderer: Renderer2,\n private router: Router,\n private el: ElementRef\n ) { }\n\n public getClasses() {\n const disabled = this.isDisabled();\n const classes = {\n 'nav-link': true,\n 'disabled': disabled,\n 'btn-link': disabled\n };\n if (this.hasVariant()) {\n const variant = `nav-link-${this.link.variant}`;\n classes[variant] = true;\n }\n return classes;\n }\n\n public getLinkType() {\n return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : '';\n }\n\n public hasVariant() {\n return this.link.variant ? true : false;\n }\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isDisabled() {\n return this.link.attributes && this.link.attributes.disabled ? true : false;\n }\n\n public isExternalLink() {\n return this.link.url.substring(0, 4) === 'http' ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n public hideMobile() {\n if (this.document.body.classList.contains('sidebar-show')) {\n this.renderer.removeClass(this.document.body, 'sidebar-show');\n }\n }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-dropdown',\n template: `\n \n \n {{ link.name }}\n {{ link.badge.text }}\n \n
      \n \n \n \n
    \n `,\n styles: ['.nav-dropdown-toggle { cursor: pointer; }']\n})\nexport class AppSidebarNavDropdownComponent implements OnInit {\n @Input() link: any;\n\n public isBadge() {\n return this.link.badge ? true : false;\n }\n\n public isIcon() {\n return this.link.icon ? true : false;\n }\n\n constructor( private router: Router, private el: ElementRef ) { }\n\n ngOnInit() {\n Replace(this.el);\n }\n}\n\n@Component({\n selector: 'app-sidebar-nav-title',\n template: ''\n})\nexport class AppSidebarNavTitleComponent implements OnInit {\n @Input() title: any;\n\n constructor(private el: ElementRef, private renderer: Renderer2) { }\n\n ngOnInit() {\n const nativeElement: HTMLElement = this.el.nativeElement;\n const li = this.renderer.createElement('li');\n const name = this.renderer.createText(this.title.name);\n\n this.renderer.addClass(li, 'nav-title');\n\n if ( this.title.class ) {\n const classes = this.title.class;\n this.renderer.addClass(li, classes);\n }\n\n if ( this.title.wrapper ) {\n const wrapper = this.renderer.createElement(this.title.wrapper.element);\n\n this.renderer.appendChild(wrapper, name);\n this.renderer.appendChild(li, wrapper);\n } else {\n this.renderer.appendChild(li, name);\n }\n this.renderer.appendChild(nativeElement, li);\n Replace(this.el);\n }\n}\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule} from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LayoutModule } from './../shared/layout/layout.module';\r\n\r\n// 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 { AppSidebarComponent } from './app-sidebar.component';\r\nimport {\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n} from './app-sidebar-nav.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 AppSidebarFooterComponent,\r\n AppSidebarFormComponent,\r\n AppSidebarHeaderComponent,\r\n AppSidebarMinimizerComponent,\r\n AppSidebarComponent,\r\n AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective,\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 AppSidebarNavComponent,\r\n AppSidebarNavDropdownComponent,\r\n AppSidebarNavItemComponent,\r\n AppSidebarNavLinkComponent,\r\n AppSidebarNavTitleComponent,\r\n NavDropdownDirective,\r\n NavDropdownToggleDirective,\r\n LinkAttributesDirective\r\n ]\r\n})\r\nexport class AppSidebarModule { }\r\n"],"names":[],"m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C5B,mBAAmB;wBACnB,sBAAsB;wBACtB,8BAA8B;wBAC9B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,2BAA2B;wBAC3B,oBAAoB;wBACpB,0BAA0B;wBAC1B,uBAAuB;wBACvB,YAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,yBAAyB;wBACzB,uBAAuB;wBACvB,yBAAyB;wBACzB,4BAA4B;wBAC5B,4BAA4B;wBAC5B,mBAAmB;wBACnB,sBAAsB;wBACtB,8BAA8B;wBAC9B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,2BAA2B;wBAC3B,oBAAoB;wBACpB,0BAA0B;wBAC1B,uBAAuB;qBACxB;iBACF;;IAC+B,uBAAC;CAvCjC;;;;;;;;;;;;;;;;;;;"} diff --git a/dist/@coreui/angular/lib/aside/app-aside.component.d.ts b/dist/@coreui/angular/lib/aside/app-aside.component.d.ts index e6faed99..2c828983 100644 --- a/dist/@coreui/angular/lib/aside/app-aside.component.d.ts +++ b/dist/@coreui/angular/lib/aside/app-aside.component.d.ts @@ -1,13 +1,15 @@ -import { ElementRef, OnInit, OnDestroy } from '@angular/core'; +import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core'; export declare class AppAsideComponent implements OnInit, OnDestroy { + private document; + private renderer; private el; display: any; fixed: boolean; offCanvas: boolean; - constructor(el: ElementRef); + constructor(document: any, renderer: Renderer2, el: ElementRef); ngOnInit(): void; ngOnDestroy(): void; - isFixed(fixed: boolean): void; - isOffCanvas(offCanvas: boolean): void; - displayBreakpoint(display: any): void; + isFixed(fixed?: boolean): void; + isOffCanvas(offCanvas?: boolean): void; + displayBreakpoint(display?: any): void; } diff --git a/dist/@coreui/angular/lib/breadcrumb/app-breadcrumb.component.d.ts b/dist/@coreui/angular/lib/breadcrumb/app-breadcrumb.component.d.ts index 0680575d..89bb1d23 100644 --- a/dist/@coreui/angular/lib/breadcrumb/app-breadcrumb.component.d.ts +++ b/dist/@coreui/angular/lib/breadcrumb/app-breadcrumb.component.d.ts @@ -1,12 +1,14 @@ -import { ElementRef, OnInit, OnDestroy } from '@angular/core'; +import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { AppBreadcrumbService } from './app-breadcrumb.service'; export declare class AppBreadcrumbComponent implements OnInit, OnDestroy { + private document; + private renderer; service: AppBreadcrumbService; el: ElementRef; fixed: boolean; breadcrumbs: any; - constructor(service: AppBreadcrumbService, el: ElementRef); + constructor(document: any, renderer: Renderer2, service: AppBreadcrumbService, el: ElementRef); ngOnInit(): void; ngOnDestroy(): void; - isFixed(fixed: boolean): void; + isFixed(fixed?: boolean): void; } diff --git a/dist/@coreui/angular/lib/footer/app-footer.component.d.ts b/dist/@coreui/angular/lib/footer/app-footer.component.d.ts index 33d4d52b..88e9b3d6 100644 --- a/dist/@coreui/angular/lib/footer/app-footer.component.d.ts +++ b/dist/@coreui/angular/lib/footer/app-footer.component.d.ts @@ -1,9 +1,11 @@ -import { ElementRef, OnInit, OnDestroy } from '@angular/core'; +import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; export declare class AppFooterComponent implements OnInit, OnDestroy { + private document; + private renderer; private el; fixed: boolean; - constructor(el: ElementRef); + constructor(document: any, renderer: Renderer2, el: ElementRef); ngOnInit(): void; ngOnDestroy(): void; - isFixed(fixed: boolean): void; + isFixed(fixed?: boolean): void; } diff --git a/dist/@coreui/angular/lib/header/app-header.component.d.ts b/dist/@coreui/angular/lib/header/app-header.component.d.ts index 432e9bef..b37dd5dc 100644 --- a/dist/@coreui/angular/lib/header/app-header.component.d.ts +++ b/dist/@coreui/angular/lib/header/app-header.component.d.ts @@ -1,5 +1,7 @@ -import { ElementRef, OnInit, OnDestroy } from '@angular/core'; +import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core'; export declare class AppHeaderComponent implements OnInit, OnDestroy { + private document; + private renderer; private el; fixed: boolean; navbarBrand: any; @@ -12,10 +14,10 @@ export declare class AppHeaderComponent implements OnInit, OnDestroy { asideMenuToggler: any; mobileAsideMenuToggler: any; navbarBrandImg: boolean; - constructor(el: ElementRef); + constructor(document: any, renderer: Renderer2, el: ElementRef); ngOnInit(): void; ngOnDestroy(): void; - isFixed(fixed: boolean): void; + isFixed(fixed?: boolean): void; imgSrc(brand: any): void; imgWidth(brand: any): void; imgHeight(brand: any): void; diff --git a/dist/@coreui/angular/lib/shared/layout/layout.directive.d.ts b/dist/@coreui/angular/lib/shared/layout/layout.directive.d.ts index c8db4653..33551405 100644 --- a/dist/@coreui/angular/lib/shared/layout/layout.directive.d.ts +++ b/dist/@coreui/angular/lib/shared/layout/layout.directive.d.ts @@ -1,4 +1,5 @@ -import { OnInit } from '@angular/core'; +import { OnInit, Renderer2 } from '@angular/core'; +import { ClassToggler } from '../toggle-classes'; /** * Allows the sidebar to be toggled via click. */ @@ -10,11 +11,15 @@ export declare class SidebarToggleDirective implements OnInit { toggleOpen($event: any): void; } export declare class SidebarMinimizeDirective { - constructor(); + private document; + private renderer; + constructor(document: any, renderer: Renderer2); toggleOpen($event: any): void; } export declare class MobileSidebarToggleDirective { - constructor(); + private document; + private renderer; + constructor(document: any, renderer: Renderer2); private hasClass; toggleOpen($event: any): void; } @@ -22,22 +27,27 @@ export declare class MobileSidebarToggleDirective { * Allows the off-canvas sidebar to be closed via click. */ export declare class SidebarOffCanvasCloseDirective { - constructor(); + private document; + private renderer; + constructor(document: any, renderer: Renderer2); private hasClass; private toggleClass; toggleOpen($event: any): void; } export declare class BrandMinimizeDirective { - constructor(); + private document; + private renderer; + constructor(document: any, renderer: Renderer2); toggleOpen($event: any): void; } /** * Allows the aside to be toggled via click. */ export declare class AsideToggleDirective implements OnInit { + private classToggler; breakpoint: string; bp: any; - constructor(); + constructor(classToggler: ClassToggler); ngOnInit(): void; toggleOpen($event: any): void; } diff --git a/dist/@coreui/angular/lib/shared/toggle-classes.d.ts b/dist/@coreui/angular/lib/shared/toggle-classes.d.ts index 6c0e54d8..65fbd2f2 100644 --- a/dist/@coreui/angular/lib/shared/toggle-classes.d.ts +++ b/dist/@coreui/angular/lib/shared/toggle-classes.d.ts @@ -1 +1,9 @@ +import { Renderer2 } from '@angular/core'; export declare const ToggleClasses: (Toggle: any, ClassNames: any) => void; +export declare class ClassToggler { + private document; + private renderer; + constructor(document: any, renderer: Renderer2); + removeClasses(NewClassNames: any): boolean; + toggleClasses(Toggle: any, ClassNames: any): void; +} diff --git a/dist/@coreui/angular/lib/sidebar/app-sidebar-nav.component.d.ts b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav.component.d.ts index 6799ce88..f39fe246 100644 --- a/dist/@coreui/angular/lib/sidebar/app-sidebar-nav.component.d.ts +++ b/dist/@coreui/angular/lib/sidebar/app-sidebar-nav.component.d.ts @@ -1,4 +1,5 @@ import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core'; +import { Router } from '@angular/router'; export declare class NavDropdownDirective { private el; constructor(el: ElementRef); @@ -13,12 +14,13 @@ export declare class NavDropdownToggleDirective { toggleOpen($event: any): void; } export declare class LinkAttributesDirective implements OnInit { + private document; private renderer; private el; appLinkAttributes: { [key: string]: string; }; - constructor(renderer: Renderer2, el: ElementRef); + constructor(document: any, renderer: Renderer2, el: ElementRef); ngOnInit(): void; private setStyle; private addClass; @@ -34,22 +36,24 @@ export declare class AppSidebarNavComponent implements OnChanges { ngOnChanges(changes: SimpleChanges): void; constructor(); } -import { Router } from '@angular/router'; export declare class AppSidebarNavItemComponent implements OnInit { private router; private el; item: any; + constructor(router: Router, el: ElementRef); hasClass(): boolean; isDropdown(): boolean; thisUrl(): any; isActive(): boolean; - constructor(router: Router, el: ElementRef); ngOnInit(): void; } export declare class AppSidebarNavLinkComponent implements OnInit { + private document; + private renderer; private router; private el; link: any; + constructor(document: any, renderer: Renderer2, router: Router, el: ElementRef); getClasses(): { 'nav-link': boolean; 'disabled': boolean; @@ -62,7 +66,6 @@ export declare class AppSidebarNavLinkComponent implements OnInit { isExternalLink(): boolean; isIcon(): boolean; hideMobile(): void; - constructor(router: Router, el: ElementRef); ngOnInit(): void; } export declare class AppSidebarNavDropdownComponent implements OnInit { 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 2d073032..2dfa116e 100644 --- a/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts +++ b/dist/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts @@ -1,18 +1,20 @@ -import { OnInit, OnDestroy } from '@angular/core'; +import { OnInit, OnDestroy, Renderer2 } from '@angular/core'; export declare class AppSidebarComponent implements OnInit, OnDestroy { + private document; + private renderer; compact: boolean; display: any; fixed: boolean; minimized: boolean; offCanvas: boolean; true: any; - constructor(); + constructor(document: any, renderer: Renderer2); ngOnInit(): void; ngOnDestroy(): void; - isCompact(compact: boolean): void; - isFixed(fixed: boolean): void; - isMinimized(minimized: boolean): void; - isOffCanvas(offCanvas: boolean): void; - fixedPosition(fixed: boolean): void; - displayBreakpoint(display: any): void; + isCompact(compact?: boolean): void; + isFixed(fixed?: boolean): void; + isMinimized(minimized?: boolean): void; + isOffCanvas(offCanvas?: boolean): void; + fixedPosition(fixed?: boolean): void; + displayBreakpoint(display?: any): void; } diff --git a/dist/@coreui/angular/package.json b/dist/@coreui/angular/package.json index 1d66f48b..f1f4ba8b 100644 --- a/dist/@coreui/angular/package.json +++ b/dist/@coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.2.4", + "version": "2.2.5", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular", @@ -17,8 +17,8 @@ } ], "peerDependencies": { - "@angular/common": "^7.2.1", - "@angular/core": "^7.2.1", + "@angular/common": "^7.2.3", + "@angular/core": "^7.2.3", "@coreui/coreui": "^2.1.6" }, "repository": { diff --git a/package-lock.json b/package-lock.json index 87203397..0881b6fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,30 +1,41 @@ { "name": "@coreui/angular-dev", - "version": "2.2.4", + "version": "2.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { "@angular-devkit/architect": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.12.2.tgz", - "integrity": "sha512-32Eim3PM/CJKGcCF1FJQ91ohuF2vBGMd4t1DILaoOMXHWmPLI9N4ILzWHfqFLRvb8QFgLn4VNG7CI9K7GcSBlQ==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.12.4.tgz", + "integrity": "sha512-19f3jbGyP+GzTSBgrHR4SWGK81SUgtTxhkAcyhmsIEDuXrMJM8kPu0HB9WivJ5p08+jzwz6xdF9mpNYSeD9uqw==", "dev": true, "requires": { - "@angular-devkit/core": "7.2.2", + "@angular-devkit/core": "7.2.4", "rxjs": "6.3.3" + }, + "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular-devkit/build-angular": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.12.2.tgz", - "integrity": "sha512-4PDykCNDjjFo6Ximhq2efiufoUP6pj8KvhB8UI03mLbn/Os1W0y1lmiPJn+NjeBLwFWH9DqW9Vxk/pYek7MtEA==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.12.4.tgz", + "integrity": "sha512-zzjpM9GpCGEUtTPv/T04CALzFXkTgAAiNt1whY1Vmtu2YYUksXOm1ysA2RBLEhb81RodTEwVV2zFUj5v2xHYEw==", "dev": true, "requires": { - "@angular-devkit/architect": "0.12.2", - "@angular-devkit/build-optimizer": "0.12.2", - "@angular-devkit/build-webpack": "0.12.2", - "@angular-devkit/core": "7.2.2", - "@ngtools/webpack": "7.2.2", + "@angular-devkit/architect": "0.12.4", + "@angular-devkit/build-optimizer": "0.12.4", + "@angular-devkit/build-webpack": "0.12.4", + "@angular-devkit/core": "7.2.4", + "@ngtools/webpack": "7.2.4", "ajv": "6.6.2", "autoprefixer": "9.4.3", "circular-dependency-plugin": "5.0.2", @@ -42,11 +53,11 @@ "mini-css-extract-plugin": "0.4.4", "minimatch": "3.0.4", "node-sass": "4.10.0", - "opn": "5.3.0", + "opn": "5.4.0", "parse5": "4.0.0", "portfinder": "1.0.17", - "postcss": "7.0.11", - "postcss-import": "12.0.0", + "postcss": "7.0.13", + "postcss-import": "12.0.1", "postcss-loader": "3.0.0", "raw-loader": "0.5.1", "rxjs": "6.3.3", @@ -67,29 +78,51 @@ "webpack-merge": "4.1.4", "webpack-sources": "1.3.0", "webpack-subresource-integrity": "1.1.0-rc.6" + }, + "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular-devkit/build-ng-packagr": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-ng-packagr/-/build-ng-packagr-0.12.2.tgz", - "integrity": "sha512-9U+rLHCwFfuprzR7/4r7HOyoF8Bq0Y3C4PG2V0CYziBgEQvc7zH6z5qcGk92QFmZnwmMtaEZrAD1/DwhgIVXbw==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-ng-packagr/-/build-ng-packagr-0.12.4.tgz", + "integrity": "sha512-Uz4P42xtObaRKXLx+k8ha0ZPXcDELPndK0X4yzCynx2GfZhAlLawUhPbBNzSkokEDHkwLQbHbrY/moh0PouDfw==", "dev": true, "requires": { - "@angular-devkit/architect": "0.12.2", - "@angular-devkit/core": "7.2.2", + "@angular-devkit/architect": "0.12.4", + "@angular-devkit/core": "7.2.4", "rxjs": "6.3.3", "semver": "5.5.1" + }, + "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular-devkit/build-optimizer": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.12.2.tgz", - "integrity": "sha512-5SARSE18X5/churU0Qc0gOfDt5EwuwKsJmIA7hHBzi44iotQm5c8ea0q0acua4/U4K+jOsF6A4Faa08Vr2624A==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.12.4.tgz", + "integrity": "sha512-KraU+ZARX7JMtttPjOku9wVF+dnjMsIbiIVsQrNXhpFiGT1fSJhQTPxc98ONgEmUiGROFXXq2mHLilvMr2WdwQ==", "dev": true, "requires": { "loader-utils": "1.1.0", "source-map": "0.5.6", - "typescript": "3.2.2", + "typescript": "3.2.4", "webpack-sources": "1.2.0" }, "dependencies": { @@ -99,12 +132,6 @@ "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", "dev": true }, - "typescript": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.2.tgz", - "integrity": "sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==", - "dev": true - }, "webpack-sources": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz", @@ -126,20 +153,31 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.12.2.tgz", - "integrity": "sha512-Uv3f8XJc/5UTj2T7XjxFYDhuybFIIitLGxBpp/hEIc7eXI4MsJKB6CoDJy+2BQch7c/QjKH7W3dmTxzuSJ2j3g==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.12.4.tgz", + "integrity": "sha512-1+t2MUB+dq+1LbfTnvzZwj2QTWiugyMywXqYjsyt0rrh7VcriD1lQ+P5yN8kgFz/R7Ut4LgvS05yDX1JHi20qw==", "dev": true, "requires": { - "@angular-devkit/architect": "0.12.2", - "@angular-devkit/core": "7.2.2", + "@angular-devkit/architect": "0.12.4", + "@angular-devkit/core": "7.2.4", "rxjs": "6.3.3" + }, + "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular-devkit/core": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.2.2.tgz", - "integrity": "sha512-gDF8iXiPN870WuBMl7bCQ5+Qz5SjGL/qMcvP4hli5hkn+kMAhgG38ligUK1bbhPQUJ+Z/nSOEmyv8gLHO09SZg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.2.4.tgz", + "integrity": "sha512-XHF59tIHg2qEM1Wd415xhykBLjjfOK6yMB7CjNk1bToUMX2QDT87izJF4y1Vwa0lIw9G0jdgP/4/M/OqXcbYmA==", "dev": true, "requires": { "ajv": "6.6.2", @@ -147,63 +185,166 @@ "fast-json-stable-stringify": "2.0.0", "rxjs": "6.3.3", "source-map": "0.7.3" + }, + "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular-devkit/schematics": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-7.2.2.tgz", - "integrity": "sha512-3qONTeqe+bUJ967PNDeITuD4F+3huTEs3u89zZLV+yvaxoK9XJlvaRoQXAkNAMUkij37BoFrGgBfGNijserd6A==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-7.3.0.tgz", + "integrity": "sha512-glOduymftH0LmJhITWgWUJK8QCDUltgTZ943/OyArIvLXTLL/8zCb+G6xL+3k33EQjwJicgQ3WIjonJmeTK/Ww==", "dev": true, "requires": { - "@angular-devkit/core": "7.2.2", + "@angular-devkit/core": "7.3.0", "rxjs": "6.3.3" + }, + "dependencies": { + "@angular-devkit/core": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.0.tgz", + "integrity": "sha512-b0qtAUpgqLpWY8W6vWRv1aj6bXkZCP1rvywl8i8TbGMY67CWRcy5J3fNAMmjiZS+LJixFlIXYf4iOydglyJMfg==", + "dev": true, + "requires": { + "ajv": "6.7.0", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + } + }, + "ajv": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz", + "integrity": "sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + } } }, "@angular/animations": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-7.2.1.tgz", - "integrity": "sha512-2AHc4HYz2cUVW3E0oYOTyUzBTnPJdtmVOx/Uo6+jnRqikvOGFOc5VXzFIYODe1Iiy+EYcSZ1lvQqwUbpZd6gwA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-7.2.3.tgz", + "integrity": "sha512-5WoiDnVS2OhGgJ1oepFNF2UcfR4sJj97KRnTmLWQ0S4N4WpXX83CoOQVXvXwfotyb8uNtl4zRi2NuvN/MIuFuA==", "requires": { "tslib": "^1.9.0" } }, "@angular/cli": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.2.2.tgz", - "integrity": "sha512-fdj5Gtysde0mi902ZE67Zd1uhyryF+b50r+gmX3c+cFvM5hNXrdV7V82Ldjp7qle6ZF1fDSppSiPxGkt5lvemw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.3.0.tgz", + "integrity": "sha512-6+NoHsW1MYG7GBHUg71zaWIFeIRps/SVksCmRFCpW0RXqErCQmzf0GZuDTZZ2Yo4RzU01150sVp1R8wEvEZfZQ==", "dev": true, "requires": { - "@angular-devkit/architect": "0.12.2", - "@angular-devkit/core": "7.2.2", - "@angular-devkit/schematics": "7.2.2", - "@schematics/angular": "7.2.2", - "@schematics/update": "0.12.2", + "@angular-devkit/architect": "0.13.0", + "@angular-devkit/core": "7.3.0", + "@angular-devkit/schematics": "7.3.0", + "@schematics/angular": "7.3.0", + "@schematics/update": "0.13.0", + "@yarnpkg/lockfile": "1.1.0", + "ini": "1.3.5", "inquirer": "6.2.1", - "opn": "5.3.0", - "semver": "5.5.1", + "npm-package-arg": "6.1.0", + "opn": "5.4.0", + "pacote": "9.4.0", + "semver": "5.6.0", "symbol-observable": "1.2.0" + }, + "dependencies": { + "@angular-devkit/architect": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.13.0.tgz", + "integrity": "sha512-oDBrWlfKh/0t2ag4T8gz9xzPMItxfctinlsHxhw7dPQ+etq1mIcWgQkiKiDrz4l46YiGipBRlC55j+6f37omAA==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.0", + "rxjs": "6.3.3" + } + }, + "@angular-devkit/core": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.0.tgz", + "integrity": "sha512-b0qtAUpgqLpWY8W6vWRv1aj6bXkZCP1rvywl8i8TbGMY67CWRcy5J3fNAMmjiZS+LJixFlIXYf4iOydglyJMfg==", + "dev": true, + "requires": { + "ajv": "6.7.0", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + } + }, + "ajv": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz", + "integrity": "sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true + } } }, "@angular/common": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-7.2.1.tgz", - "integrity": "sha512-lYf3MeVMz69EriS5ANFY5PerJK0i4xHp/Jy67reb8ydZ+sfW320PUMuFtx3bZvk9PD7NdL3QZvXmla/ogrltTQ==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-7.2.3.tgz", + "integrity": "sha512-VZOTZdvkitaKEhkxL6daHxPcKqAFwNJm0U4NFB4LRP9KspsFTE60QFVB63o129PTIH9iOQ2D3HRKSRl4o78ZKg==", "requires": { "tslib": "^1.9.0" } }, "@angular/compiler": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-7.2.1.tgz", - "integrity": "sha512-wf9w882hNoRaTDRqkEvQxV7nGB3liTX/LWEMunmm/Yz0nWkvgErR9pIHv3Sm4Ox0hyG3GdMpcVBzQ8qPomGOag==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-7.2.3.tgz", + "integrity": "sha512-UM6n4MyZkR5+VVjlwhLH8IfqdWBkdFcF5at4ckJXOJ/gkIUq97irbis9pGj1b0TO7MAl8uhF4b68xe5lk8b49g==", "requires": { "tslib": "^1.9.0" } }, "@angular/compiler-cli": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-7.2.1.tgz", - "integrity": "sha512-ImmKTnBbAWIY7qrYSPFLJE83VYcDX7zK6Ig/vOl4e6dzvpZfJDYHMT8ELeWj7a2nkL9SjT8X3o9Mkbrb75Tepg==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-7.2.3.tgz", + "integrity": "sha512-31hcfTrU2GW66cvvaS629dNVPfiUrUWPncI28optvmKHBaH0mFqkdYNgabuslsXZV5AeidKMUJvR7GITjtvkQA==", "dev": true, "requires": { "canonical-path": "1.0.0", @@ -538,55 +679,55 @@ } }, "@angular/core": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-7.2.1.tgz", - "integrity": "sha512-FYNAf4chxBoIVGCW2+fwR2MB2Ur5v1aG9L6zCcMXlZLbR64bu5j2m4e70RhXk/VptKvYWJ45od3xE5KfcaeEig==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-7.2.3.tgz", + "integrity": "sha512-6Ql+sJJnrsxh8O0/IgIP1GgT4eLOHk+dlBs7zBbjstmLuhaQdY+awO9WKoQow+TiD1Go7FW1J3vZ2PTWXKxqjQ==", "requires": { "tslib": "^1.9.0" } }, "@angular/forms": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-7.2.1.tgz", - "integrity": "sha512-MxinNUvl02UfpY9gJtbTU6Mdt9fjIJYOGskcpwm+5u9jiMeRvOnG94ySoNrygg3EWwScX+P0mM4KN6fJWau7gQ==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-7.2.3.tgz", + "integrity": "sha512-mZpyonfSmRwSvM6efvwFwkLJkK6wHQrm7X4OhVVu3s9i7BI253eLDY7WIRXFvoxJ/5jWIIarVnd/9UA7GINZGw==", "requires": { "tslib": "^1.9.0" } }, "@angular/http": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/http/-/http-7.2.1.tgz", - "integrity": "sha512-3xfdN2bmCbzATwRGUEZQVkGn3IN6tMX/whLWGWgcEV3CENJqTUjfjn1+nSHASQLUnmOr5T7yTiWK5P7bDrHYzw==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-7.2.3.tgz", + "integrity": "sha512-wzvBKbO/TcSR3U8AQbsGftH8x1OdAgVGHlfXQPmZL1KjIDHrM1VpnkSvgqIt8coG+4OPfWcNklUCrTdEGwqMqw==", "requires": { "tslib": "^1.9.0" } }, "@angular/language-service": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-7.2.1.tgz", - "integrity": "sha512-LmeoO7KXBcPRDvQpBv+ttG9oalCE0z7+AxbJBJNrrwzypP624B3xX2XWai9XUNkxu+shqE00lAU2lC7Fxs5v7A==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-7.2.3.tgz", + "integrity": "sha512-9FBVYbKaNx4Ap+Suz/2ZFBPca1voinZMOCN8LjXRYnfS2MHLQASQlTlK4qeZcomyRfy0FxWmO9R02S7YJ06cnw==", "dev": true }, "@angular/platform-browser": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-7.2.1.tgz", - "integrity": "sha512-/6uHdFLmRkrkeOo+TzScrLG2YydG8kBNyT6ZpSOBf+bmB5DHyIGd55gh/tQJteKrnyadxRhqWCLBTYAbVX9Pnw==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-7.2.3.tgz", + "integrity": "sha512-DH0Y2lgEgcrP1I/DUQB/krL7Ob7yL685fu4sRapW17SndTQa2pqSFMBVf+mN3FupTXp7nJHSvlIktzedIk04+g==", "requires": { "tslib": "^1.9.0" } }, "@angular/platform-browser-dynamic": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-7.2.1.tgz", - "integrity": "sha512-hrSkI7aESEkqYnu628Z/LvYNlUNMqIqkXYAkT3urxFdCw7UwNeZKrDmd9sRwK3gK3sC1VeD9pXtqaKmGsnBjOA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-7.2.3.tgz", + "integrity": "sha512-M8Kiz5FUhnFybJuk/mgOhBjVbRgKDC4bGWKWH9Z9SXBR2dS/FL3QOJsLIthQcWlHOzSoJdEoPBRhn0R4pyLBSw==", "requires": { "tslib": "^1.9.0" } }, "@angular/router": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-7.2.1.tgz", - "integrity": "sha512-3qMZnhFr6xx3dMy14rKwIw9ISTOZlsp9jAkthXVsfA2/thffScXHPBrH4SipkySLmOAtPmF5m5jscy8mx/1mJQ==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-7.2.3.tgz", + "integrity": "sha512-SH7H2I9WTj1puei4m4g5n0/Cp28HS14q4r8lOgW0gLWuT6Ls7MqH/nDjOMiW924iRR6zjQQs7G+WbhL1jmZc2A==", "requires": { "tslib": "^1.9.0" } @@ -758,18 +899,27 @@ "dev": true }, "@ngtools/webpack": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-7.2.2.tgz", - "integrity": "sha512-xjvQ8tlyyReE69q+whAubwX4fayPoy4NHSIDa429qdcUypkvhSScAtou003oVAKG519rznykDrUHAWtvFMVf4Q==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-7.2.4.tgz", + "integrity": "sha512-mXMDODmy53kk+Kb5jgLNQOsSrDBQQMf6C6KZNuGo8AdvUGdGaQeZDze4o7bcUz1KUjuaaP1Zh7pZtho8C4/T+Q==", "dev": true, "requires": { - "@angular-devkit/core": "7.2.2", + "@angular-devkit/core": "7.2.4", "enhanced-resolve": "4.1.0", "rxjs": "6.3.3", "tree-kill": "1.2.0", "webpack-sources": "1.2.0" }, "dependencies": { + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -789,16 +939,50 @@ } }, "@schematics/angular": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-7.2.2.tgz", - "integrity": "sha512-Yonddct1XBG1H5rTikagFTIT2/RhszJnNa2Iz+rvc26ffAl1mmYPB4sQb7gkOaZQSzK6SE7bT2QW32PVjYFoSQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-7.3.0.tgz", + "integrity": "sha512-fOjP/3Rz+Nqrgc+YVaiN88uhPX0FZgUjmMKgMp06lc3xmoc1ScGxoz8AF1fV50Zkvh0Etykzy1LTUczzEUJQqw==", "dev": true, "requires": { - "@angular-devkit/core": "7.2.2", - "@angular-devkit/schematics": "7.2.2", + "@angular-devkit/core": "7.3.0", + "@angular-devkit/schematics": "7.3.0", "typescript": "3.2.2" }, "dependencies": { + "@angular-devkit/core": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.0.tgz", + "integrity": "sha512-b0qtAUpgqLpWY8W6vWRv1aj6bXkZCP1rvywl8i8TbGMY67CWRcy5J3fNAMmjiZS+LJixFlIXYf4iOydglyJMfg==", + "dev": true, + "requires": { + "ajv": "6.7.0", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + } + }, + "ajv": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz", + "integrity": "sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, "typescript": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.2.tgz", @@ -808,19 +992,61 @@ } }, "@schematics/update": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.12.2.tgz", - "integrity": "sha512-+eU5O5gV1c0TZvXMUTMaEgKWeSAotbAv66KRnHV70hqDnXHE+hdL0jqlRF5Lz08C+tRbj4/Tlnb17X/jclfxnw==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.13.0.tgz", + "integrity": "sha512-HGpZdIL/0w46UyaxpnIAg6SBwzKfaRixHIEihmgJUqA0DG8GZUixRPr1L0YIWC1EZ81cQ+yWL85XhkKBYR+wQg==", "dev": true, "requires": { - "@angular-devkit/core": "7.2.2", - "@angular-devkit/schematics": "7.2.2", + "@angular-devkit/core": "7.3.0", + "@angular-devkit/schematics": "7.3.0", "@yarnpkg/lockfile": "1.1.0", "ini": "1.3.5", - "pacote": "9.1.1", + "pacote": "9.4.0", "rxjs": "6.3.3", - "semver": "5.5.1", + "semver": "5.6.0", "semver-intersect": "1.4.0" + }, + "dependencies": { + "@angular-devkit/core": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.0.tgz", + "integrity": "sha512-b0qtAUpgqLpWY8W6vWRv1aj6bXkZCP1rvywl8i8TbGMY67CWRcy5J3fNAMmjiZS+LJixFlIXYf4iOydglyJMfg==", + "dev": true, + "requires": { + "ajv": "6.7.0", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + } + }, + "ajv": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz", + "integrity": "sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true + } } }, "@types/estree": { @@ -830,9 +1056,9 @@ "dev": true }, "@types/jasmine": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.3.6.tgz", - "integrity": "sha512-gTUdNF4imreXYPyXDr+Ebq+JXGbTW+Xyw4k6HVrxj6HZlwv9Y+zurgRhzuQT3OFQNiVomiXc7GX1Xr2UPuUsoQ==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.3.8.tgz", + "integrity": "sha512-BaOFpaddRVV8qykJoWHrHtamml880oh0+DIZWbtJgx0pu+KhDF1gER5hSfCIfzyMrbjMuYFnLUfyo1l0JUVU3Q==", "dev": true }, "@types/jasminewd2": { @@ -845,9 +1071,9 @@ } }, "@types/node": { - "version": "10.12.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz", - "integrity": "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==", + "version": "10.12.20", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.20.tgz", + "integrity": "sha512-9spv6SklidqxevvZyOUGjZVz4QRXGu2dNaLyXIFzFYZW0AGDykzPRIUFJXTlQXyfzAucddwTcGtJNim8zqSOPA==", "dev": true }, "@types/q": { @@ -1167,9 +1393,9 @@ "dev": true }, "ajv-keywords": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", - "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.3.0.tgz", + "integrity": "sha512-CMzN9S62ZOO4sA/mJZIO4S++ZM7KFWzH3PPWkveLhy4OZ9i1/VatgwWMD46w/XbGCBy7Ye0gCk+Za6mmyfKK7g==", "dev": true }, "amdefine": { @@ -1227,9 +1453,9 @@ "dev": true }, "ansi-escapes": { - "version": "3.1.0", - "resolved": "http://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", - "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true }, "ansi-html": { @@ -2169,9 +2395,9 @@ } }, "caniuse-lite": { - "version": "1.0.30000929", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000929.tgz", - "integrity": "sha512-n2w1gPQSsYyorSVYqPMqbSaz1w7o9ZC8VhOEGI9T5MfGDzp7sbopQxG6GaQmYsaq13Xfx/mkxJUWC1Dz3oZfzw==", + "version": "1.0.30000932", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000932.tgz", + "integrity": "sha512-4bghJFItvzz8m0T3lLZbacmEY9X1Z2AtIzTr7s7byqZIOumASfr4ynDx7rtm0J85nDmx8vsgR6vnaSoeU8Oh0A==", "dev": true }, "canonical-path": { @@ -2676,9 +2902,9 @@ } }, "core-js": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.2.tgz", - "integrity": "sha512-NdBPF/RVwPW6jr0NCILuyN9RiqLo2b1mddWHkUL+VnvcB7dzlnBJ1bXYntjpTGOgkZiiLWj2JxmOr7eGE3qK6g==" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.3.tgz", + "integrity": "sha512-l00tmFFZOBHtYhN4Cz7k32VM7vTn3rE2ANjQDxdEN6zmXZ/xq1jQuutnmHvMG1ZJ7xd72+TA5YpUK8wz3rWsfQ==" }, "core-util-is": { "version": "1.0.2", @@ -3094,9 +3320,9 @@ } }, "dir-glob": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.1.tgz", - "integrity": "sha512-UN6X6XwRjllabfRhBdkVSo63uurJ8nSvMGrwl94EYVz6g+exhTV+yVSYk5VC/xl3MBFBTtC0J20uFKce4Brrng==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", "dev": true, "requires": { "path-type": "^3.0.0" @@ -3189,9 +3415,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.103", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.103.tgz", - "integrity": "sha512-tObPqGmY9X8MUM8i3MEimYmbnLLf05/QV5gPlkR8MQ3Uj8G8B2govE1U4cQcBYtv3ymck9Y8cIOu4waoiykMZQ==", + "version": "1.3.109", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.109.tgz", + "integrity": "sha512-1qhgVZD9KIULMyeBkbjU/dWmm30zpPUfdWZfVO3nPhbtqMHJqHr4Ua5wBcWtAymVFrUCuAJxjMF1OhG+bR21Ow==", "dev": true }, "elliptic": { @@ -4119,9 +4345,9 @@ "dev": true }, "fsevents": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", - "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz", + "integrity": "sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw==", "dev": true, "optional": true, "requires": { @@ -4147,7 +4373,7 @@ "optional": true }, "are-we-there-yet": { - "version": "1.1.4", + "version": "1.1.5", "bundled": true, "dev": true, "optional": true, @@ -4171,7 +4397,7 @@ } }, "chownr": { - "version": "1.0.1", + "version": "1.1.1", "bundled": true, "dev": true, "optional": true @@ -4207,7 +4433,7 @@ } }, "deep-extend": { - "version": "0.5.1", + "version": "0.6.0", "bundled": true, "dev": true, "optional": true @@ -4256,7 +4482,7 @@ } }, "glob": { - "version": "7.1.2", + "version": "7.1.3", "bundled": true, "dev": true, "optional": true, @@ -4276,12 +4502,12 @@ "optional": true }, "iconv-lite": { - "version": "0.4.21", + "version": "0.4.24", "bundled": true, "dev": true, "optional": true, "requires": { - "safer-buffer": "^2.1.0" + "safer-buffer": ">= 2.1.2 < 3" } }, "ignore-walk": { @@ -4342,16 +4568,16 @@ "dev": true }, "minipass": { - "version": "2.2.4", + "version": "2.3.5", "bundled": true, "dev": true, "requires": { - "safe-buffer": "^5.1.1", + "safe-buffer": "^5.1.2", "yallist": "^3.0.0" } }, "minizlib": { - "version": "1.1.0", + "version": "1.2.1", "bundled": true, "dev": true, "optional": true, @@ -4374,7 +4600,7 @@ "optional": true }, "needle": { - "version": "2.2.0", + "version": "2.2.4", "bundled": true, "dev": true, "optional": true, @@ -4385,18 +4611,18 @@ } }, "node-pre-gyp": { - "version": "0.10.0", + "version": "0.10.3", "bundled": true, "dev": true, "optional": true, "requires": { "detect-libc": "^1.0.2", "mkdirp": "^0.5.1", - "needle": "^2.2.0", + "needle": "^2.2.1", "nopt": "^4.0.1", "npm-packlist": "^1.1.6", "npmlog": "^4.0.2", - "rc": "^1.1.7", + "rc": "^1.2.7", "rimraf": "^2.6.1", "semver": "^5.3.0", "tar": "^4" @@ -4413,13 +4639,13 @@ } }, "npm-bundled": { - "version": "1.0.3", + "version": "1.0.5", "bundled": true, "dev": true, "optional": true }, "npm-packlist": { - "version": "1.1.10", + "version": "1.2.0", "bundled": true, "dev": true, "optional": true, @@ -4494,12 +4720,12 @@ "optional": true }, "rc": { - "version": "1.2.7", + "version": "1.2.8", "bundled": true, "dev": true, "optional": true, "requires": { - "deep-extend": "^0.5.1", + "deep-extend": "^0.6.0", "ini": "~1.3.0", "minimist": "^1.2.0", "strip-json-comments": "~2.0.1" @@ -4529,16 +4755,16 @@ } }, "rimraf": { - "version": "2.6.2", + "version": "2.6.3", "bundled": true, "dev": true, "optional": true, "requires": { - "glob": "^7.0.5" + "glob": "^7.1.3" } }, "safe-buffer": { - "version": "5.1.1", + "version": "5.1.2", "bundled": true, "dev": true }, @@ -4555,7 +4781,7 @@ "optional": true }, "semver": { - "version": "5.5.0", + "version": "5.6.0", "bundled": true, "dev": true, "optional": true @@ -4606,17 +4832,17 @@ "optional": true }, "tar": { - "version": "4.4.1", + "version": "4.4.8", "bundled": true, "dev": true, "optional": true, "requires": { - "chownr": "^1.0.1", + "chownr": "^1.1.1", "fs-minipass": "^1.2.5", - "minipass": "^2.2.4", - "minizlib": "^1.1.0", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.1", + "safe-buffer": "^5.1.2", "yallist": "^3.0.2" } }, @@ -4627,12 +4853,12 @@ "optional": true }, "wide-align": { - "version": "1.1.2", + "version": "1.1.3", "bundled": true, "dev": true, "optional": true, "requires": { - "string-width": "^1.0.2" + "string-width": "^1.0.2 || 2" } }, "wrappy": { @@ -4641,7 +4867,7 @@ "dev": true }, "yallist": { - "version": "3.0.2", + "version": "3.0.3", "bundled": true, "dev": true } @@ -5538,12 +5764,20 @@ "dev": true }, "is-builtin-module": { - "version": "1.0.0", - "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.0.0.tgz", + "integrity": "sha512-/93sDihsAD652hrMEbJGbMAVBf1qc96kyThHQ0CAOONHaE3aROLpTjDe4WQ5aoC5ITHFxEq1z8XqSU7km+8amw==", "dev": true, "requires": { - "builtin-modules": "^1.0.0" + "builtin-modules": "^3.0.0" + }, + "dependencies": { + "builtin-modules": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.0.0.tgz", + "integrity": "sha512-hMIeU4K2ilbXV6Uv93ZZ0Avg/M91RaKXucQ+4me2Do1txxBDyDZWCBa5bJSLqoNTRpXTLwEzIk1KmloenDDjhg==", + "dev": true + } } }, "is-ci": { @@ -6120,9 +6354,9 @@ "dev": true }, "js-base64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.0.tgz", - "integrity": "sha512-wlEBIZ5LP8usDylWbDNhKPEFVFdI5hCHpnVoT/Ysvoi/PRhJENm/Rlh9TvjYB38HFfKZN7OzEbRjmjvLkFw11g==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz", + "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==", "dev": true }, "js-tokens": { @@ -6818,14 +7052,14 @@ "dev": true }, "mem": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.0.0.tgz", - "integrity": "sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz", + "integrity": "sha512-I5u6Q1x7wxO0kdOpYBB28xueHADYps5uty/zg936CiG8NTe5sJL8EjrCuLneuDW3PlMdZBGDIn8BirEVdovZvg==", "dev": true, "requires": { "map-age-cleaner": "^0.1.1", "mimic-fn": "^1.0.0", - "p-is-promise": "^1.1.0" + "p-is-promise": "^2.0.0" } }, "memory-fs": { @@ -7146,9 +7380,9 @@ "dev": true }, "ng-packagr": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-4.6.0.tgz", - "integrity": "sha512-jwWLm0iI9rOqtDYvxrSn/tLEFZLB1D3A8Cve1BFDqbNzIB44Zyg3rglKoF2e3RnDyD1gmqYEWTK+rw2d1P5EXw==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-4.7.0.tgz", + "integrity": "sha512-FNCe4WpHwBk107pCX0KOnsv+cUaM2bCGAD/oYUl0FIwQXkI+iYjDik9KlqJ/bWDUsiCUxiAH2v5AsTaEF7G4bw==", "dev": true, "requires": { "@ngtools/json-schema": "^1.1.0", @@ -7376,9 +7610,9 @@ } }, "node-releases": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.3.tgz", - "integrity": "sha512-6VrvH7z6jqqNFY200kdB6HdzkgM96Oaj9v3dqGfgp6mF+cHmU4wyQKZ2/WPDRVoR0Jz9KqbamaBN0ZhdUaysUQ==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.6.tgz", + "integrity": "sha512-lODUVHEIZutZx+TDdOk47qLik8FJMXzJ+WnyUGci1MTvTOyzZrz5eVPIIpc5Hb3NfHZGeGHeuwrRYVI1PEITWg==", "dev": true, "requires": { "semver": "^5.3.0" @@ -7457,13 +7691,13 @@ } }, "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-ZVuHxWJv1bopjv/SD5uPhgwUhLqxdJ+SsdUQbGR9HWlXrvnd/C08Cn9Bq48PbvX3y5V97GIpAHpL5Bk9BwChGg==", "dev": true, "requires": { "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", + "is-builtin-module": "^3.0.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } @@ -7523,9 +7757,9 @@ } }, "npm-registry-fetch": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.8.0.tgz", - "integrity": "sha512-hrw8UMD+Nob3Kl3h8Z/YjmKamb1gf7D1ZZch2otrIXM3uFLB5vjEY6DhMlq80z/zZet6eETLbOXcuQudCB3Zpw==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz", + "integrity": "sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw==", "dev": true, "requires": { "JSONStream": "^1.3.4", @@ -7837,9 +8071,9 @@ } }, "opn": { - "version": "5.3.0", - "resolved": "http://registry.npmjs.org/opn/-/opn-5.3.0.tgz", - "integrity": "sha512-bYJHo/LOmoTd+pfiYhfZDnf9zekVJrY+cnS2a5F2x+w5ppvTqObojTP7WiFG+kVZs9Inw+qQ/lw7TroWwhdd2g==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz", + "integrity": "sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==", "dev": true, "requires": { "is-wsl": "^1.1.0" @@ -7936,9 +8170,9 @@ "dev": true }, "p-is-promise": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", - "integrity": "sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz", + "integrity": "sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg==", "dev": true }, "p-limit": { @@ -7984,17 +8218,17 @@ } }, "pacote": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.1.1.tgz", - "integrity": "sha512-f28Rq5ozzKAA9YwIKw61/ipwAatUZseYmVssDbHHaexF0wRIVotapVEZPAjOT7Eu3LYVqEp0NVpNizoAnYBUaA==", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.4.0.tgz", + "integrity": "sha512-WQ1KL/phGMkedYEQx9ODsjj7xvwLSpdFJJdEXrLyw5SILMxcTNt5DTxT2Z93fXuLFYJBlZJdnwdalrQdB/rX5w==", "dev": true, "requires": { - "bluebird": "^3.5.2", - "cacache": "^11.2.0", + "bluebird": "^3.5.3", + "cacache": "^11.3.2", "figgy-pudding": "^3.5.1", "get-stream": "^4.1.0", "glob": "^7.1.3", - "lru-cache": "^4.1.3", + "lru-cache": "^5.1.1", "make-fetch-happen": "^4.0.1", "minimatch": "^3.0.4", "minipass": "^2.3.5", @@ -8003,7 +8237,7 @@ "normalize-package-data": "^2.4.0", "npm-package-arg": "^6.1.0", "npm-packlist": "^1.1.12", - "npm-pick-manifest": "^2.1.0", + "npm-pick-manifest": "^2.2.3", "npm-registry-fetch": "^3.8.0", "osenv": "^0.1.5", "promise-inflight": "^1.0.1", @@ -8013,7 +8247,7 @@ "safe-buffer": "^5.1.2", "semver": "^5.6.0", "ssri": "^6.0.1", - "tar": "^4.4.6", + "tar": "^4.4.8", "unique-filename": "^1.1.1", "which": "^1.3.1" }, @@ -8038,17 +8272,6 @@ "ssri": "^6.0.1", "unique-filename": "^1.1.1", "y18n": "^4.0.0" - }, - "dependencies": { - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "requires": { - "yallist": "^3.0.2" - } - } } }, "get-stream": { @@ -8060,6 +8283,15 @@ "pump": "^3.0.0" } }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, "mississippi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", @@ -8355,9 +8587,9 @@ "dev": true }, "postcss": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.11.tgz", - "integrity": "sha512-9AXb//5UcjeOEof9T+yPw3XTa5SL207ZOIC/lHYP4mbUTEh4M0rDAQekQpVANCZdwQwKhBtFZCk3i3h3h2hdWg==", + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.13.tgz", + "integrity": "sha512-h8SY6kQTd1wISHWjz+E6cswdhMuyBZRb16pSTv3W4zYZ3/YbyWeJdNUeOXB5IdZqE1U76OUEjjjqsC3z2f3hVg==", "dev": true, "requires": { "chalk": "^2.4.2", @@ -8405,9 +8637,9 @@ } }, "postcss-import": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.0.tgz", - "integrity": "sha512-3KqKRZcaZAvxbY8DVLdd81tG5uKzbUQuiWIvy0o0fzEC42bKacqPYFWbfCQyw6L4LWUaqPz/idvIdbhpgQ32eQ==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.1.tgz", + "integrity": "sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==", "dev": true, "requires": { "postcss": "^7.0.1", @@ -9231,9 +9463,9 @@ }, "dependencies": { "resolve": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz", - "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", + "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -9268,9 +9500,9 @@ "dev": true }, "resolve": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz", - "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", + "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -9414,9 +9646,9 @@ "dev": true }, "rxjs": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", - "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz", + "integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==", "requires": { "tslib": "^1.9.0" } @@ -9757,9 +9989,9 @@ "dev": true }, "smart-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.1.tgz", - "integrity": "sha512-RFqinRVJVcCAL9Uh1oVqE6FZkqsyLiVOYEZ20TqIOjuX7iFVJ+zsbs4RIghnw/pTs7mZvt8ZHhvm1ZUrR4fykg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz", + "integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw==", "dev": true }, "snapdragon": { @@ -10018,13 +10250,13 @@ } }, "socks": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.2.2.tgz", - "integrity": "sha512-g6wjBnnMOZpE0ym6e0uHSddz9p3a+WsBaaYQaBaSCJYvrC4IXykQR9MNGjLQf38e9iIIhp3b1/Zk8YZI3KGJ0Q==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.2.3.tgz", + "integrity": "sha512-+2r83WaRT3PXYoO/1z+RDEBE7Z2f9YcdQnJ0K/ncXXbV5gJ6wYfNAebYFYiiUjM6E4JyXnPY8cimwyvFYHVUUA==", "dev": true, "requires": { "ip": "^1.1.5", - "smart-buffer": "^4.0.1" + "smart-buffer": "4.0.2" } }, "socks-proxy-agent": { @@ -10313,9 +10545,9 @@ } }, "stream-browserify": { - "version": "2.0.1", - "resolved": "http://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", - "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", "dev": true, "requires": { "inherits": "~2.0.1", @@ -11922,9 +12154,9 @@ "dev": true }, "write-file-atomic": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", - "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.2.tgz", + "integrity": "sha512-s0b6vB3xIVRLWywa6X9TOMA7k9zio0TMOsl9ZnDkliA/cfJlpHXAscj0gbHVJiTdIuAYpIyqS5GW91fqm6gG5g==", "dev": true, "requires": { "graceful-fs": "^4.1.11", @@ -12077,9 +12309,9 @@ "dev": true }, "zone.js": { - "version": "0.8.28", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.28.tgz", - "integrity": "sha512-MjwlvV0wr65IQiT0WSHedo/zUhAqtypMdTUjqroV81RohGj1XANwHuC37dwYxphTRbZBYidk0gNS0dQrU2Q3Pw==" + "version": "0.8.29", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.29.tgz", + "integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ==" } } } diff --git a/package.json b/package.json index 59927024..b99173fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular-dev", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "author": { "name": "Łukasz Holeczek", diff --git a/projects/coreui/angular/README.md b/projects/coreui/angular/README.md index c9c5aa7f..5ca2c61e 100644 --- a/projects/coreui/angular/README.md +++ b/projects/coreui/angular/README.md @@ -3,19 +3,22 @@ [![@coreui angular](https://img.shields.io/badge/@coreui%20-angular-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui-angular) [![Npm badge](https://img.shields.io/npm/v/@coreui/angular.svg)][npm] [![NPM downloads][npm-download]][npm] +[![@coreui angular-next](https://img.shields.io/badge/@coreui%20-angular@next-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui-angular) +[![npm next][npm-next]][npm] [![@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-^7.1.1-lightgrey.svg?style=flat-square) +![angular](https://img.shields.io/badge/angular-^7.2.3-lightgrey.svg?style=flat-square) +[npm-next]: https://img.shields.io/npm/v/@coreui/angular/next.png?style=flat-square [npm]: https://www.npmjs.com/package/@coreui/angular [npm-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square [npm-coreui]: https://www.npmjs.com/package/@coreui/coreui [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/angular](https://coreui.io/angular) `v2` library project -> for use with [CoreUI](https://coreui.io/angular/) `v2` Bootstrap Admin Template +> [@coreui/angular](https://coreui.io/angular) v2 library project +> for use with [CoreUI](https://coreui.io/angular/) v2 Bootstrap Admin Template ## Installation ``` diff --git a/projects/coreui/angular/package.json b/projects/coreui/angular/package.json index 0f661199..548a29a2 100644 --- a/projects/coreui/angular/package.json +++ b/projects/coreui/angular/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/angular", - "version": "2.2.4", + "version": "2.2.5", "description": "CoreUI Angular Bootstrap 4 components", "license": "MIT", "homepage": "https://coreui.io/angular",