import { __decorate, __metadata, __param } from "tslib";
import { Component, Inject } from '@angular/core';
import { KENGIC_TOKEN_THEME } from '../../../../const/injection-token.const';
var KengicLayoutDefaultSidebarComponent = /** @class */ (function () {
    function KengicLayoutDefaultSidebarComponent(theme) {
        this.theme = theme;
    }
    KengicLayoutDefaultSidebarComponent.ctorParameters = function () { return [
        { 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);
    return KengicLayoutDefaultSidebarComponent;
}());
export { KengicLayoutDefaultSidebarComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2VuZ2ljLWxheW91dC1kZWZhdWx0LXNpZGViYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGtlbmdpYy9mZS1uZy8iLCJzb3VyY2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