import { __decorate, __metadata, __param } from "tslib";
import { Component, Inject } from '@angular/core';
import { KENGIC_TOKEN_THEME } from '../../../../const/injection-token.const';
let KengicLayoutDefaultSidebarComponent = class KengicLayoutDefaultSidebarComponent {
    constructor(theme) {
        this.theme = theme;
    }
};
KengicLayoutDefaultSidebarComponent.ctorParameters = () => [
    { type: String, decorators: [{ type: Inject, args: [KENGIC_TOKEN_THEME,] }] }
];
KengicLayoutDefaultSidebarComponent = __decorate([
    Component({
        selector: 'kengic-layout-default-sidebar',
        template: "<div [class.dark]=\"theme === 'dark'\" class=\"alain-default__aside-inner\">\r\n  <sidebar-nav class=\"d-block py-lg\"></sidebar-nav>\r\n</div>\r\n",
        styles: [":host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item{border-left:none}:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item.sidebar-nav__open>.sidebar-nav__item-link>.sidebar-nav__sub-arrow::after,:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item.sidebar-nav__open>.sidebar-nav__item-link>.sidebar-nav__sub-arrow::before,:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item:hover>.sidebar-nav__item-link>.sidebar-nav__sub-arrow::after,:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item:hover>.sidebar-nav__item-link>.sidebar-nav__sub-arrow::before{background-image:none}:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__item-link{padding-top:9px;padding-bottom:10px;padding-right:10px}:host ::ng-deep .alain-default__aside-inner .sidebar-nav .sidebar-nav__selected{background-color:transparent}:host ::ng-deep .alain-default__aside-inner.dark{background:#001529}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item-link:hover{background-color:rgba(24,144,255,.7)}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item.sidebar-nav__open>.sidebar-nav__item-link,:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item:hover>.sidebar-nav__item-link{color:#fff}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item.sidebar-nav__open>.sidebar-nav__item-link>i,:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item:hover>.sidebar-nav__item-link>i{color:#fff}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item.sidebar-nav__open>.sidebar-nav__item-link>.sidebar-nav__item-text,:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item:hover>.sidebar-nav__item-link>.sidebar-nav__item-text{color:#fff}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__item-link{color:rgba(255,255,255,.65)}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__selected{background-color:transparent}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__selected .sidebar-nav__selected{background-color:#1890ff}:host ::ng-deep .alain-default__aside-inner.dark .sidebar-nav .sidebar-nav__selected>.sidebar-nav__item-link{color:#fff}:host-context(.alain-default__collapsed) ::ng-deep .sidebar-nav .sidebar-nav__item{height:45px}:host-context(.alain-default__collapsed) ::ng-deep .sidebar-nav .sidebar-nav__item .sidebar-nav__item-link{padding:14px 0 15px}:host-context(.alain-default__collapsed) ::ng-deep .sidebar-nav .sidebar-nav__item .sidebar-nav__item-link .anticon{font-size:16px}"]
    }),
    __param(0, Inject(KENGIC_TOKEN_THEME)),
    __metadata("design:paramtypes", [String])
], KengicLayoutDefaultSidebarComponent);
export { KengicLayoutDefaultSidebarComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2VuZ2ljLWxheW91dC1kZWZhdWx0LXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGtlbmdpYy9mZS1uZy8iLCJzb3VyY2VzIjpbImxpYi9wYWdlL2xheW91dC9kZWZhdWx0L3Np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