aeb-ui-kit 7.4.0 → 7.5.0-mr.887-feature-dp-5955
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@angular/common";
|
|
4
4
|
export class SidebarComponent {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.class = 'aeb-sidebar';
|
|
7
|
-
this.isRight = true;
|
|
8
7
|
this.isOpen = true;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.
|
|
8
|
+
this.isRight = false;
|
|
9
|
+
this.isBurger = false;
|
|
10
|
+
this.toggleClick = new EventEmitter();
|
|
12
11
|
}
|
|
13
12
|
get isBurgerLayout() {
|
|
14
|
-
return this.
|
|
13
|
+
return this.isBurger;
|
|
15
14
|
}
|
|
16
15
|
handleToggleSidebar() {
|
|
17
|
-
this.
|
|
16
|
+
this.toggleClick.emit(this.isOpen);
|
|
18
17
|
}
|
|
19
18
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SidebarComponent, selector: "aeb-sidebar", inputs: { isRight: "isRight",
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SidebarComponent, selector: "aeb-sidebar", inputs: { isOpen: "isOpen", isRight: "isRight", isBurger: "isBurger" }, outputs: { toggleClick: "toggleClick" }, host: { properties: { "class": "this.class", "class.open": "this.isOpen", "class.right": "this.isRight", "class.aeb-sidebar--burger": "this.isBurgerLayout" } }, ngImport: i0, template: "<div *ngIf=\"!isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-burger\">\n <div class=\"aeb-sidebar-burger__icon\" (click)=\"handleToggleSidebar()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1.71387 12H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 5.14258H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 18.8574H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div class=\"aeb-sidebar-footer\" *ngIf=\"isOpen\">\n <!-- \u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u043E \u043F\u043E\u0447\u0442\u0435\n <a href=\"mailto:support@aeb.ru\">support@aeb.ru</a> -->\n</div>\n<div\n *ngIf=\"!isBurger\"\n class=\"aeb-sidebar-toggle-icon\"\n (click)=\"handleToggleSidebar()\"\n>\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.5359 6.30688L21.7602 13.3677C21.9199 13.5493 22 13.7653 22 14C22 14.2106 21.9341 14.4606 21.7515 14.6422L15.5318 21.6978C15.3721 21.8793 15.1534 22 14.8856 22C14.6176 22 14.399 21.8794 14.2394 21.6977C13.927 21.3423 13.9119 20.7814 14.244 20.4287L19.9121 14L14.2398 7.56653C13.9272 7.21101 13.9119 6.64939 14.2444 6.29664C14.4095 6.11179 14.6412 6 14.8921 6C15.1445 6 15.3769 6.1135 15.5359 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.53586 6.30688L13.7602 13.3677C13.9199 13.5493 14 13.7653 14 14C14 14.2106 13.9341 14.4606 13.7515 14.6422L7.53175 21.6978C7.37212 21.8793 7.15341 22 6.88558 22C6.61765 22 6.39904 21.8794 6.2394 21.6977C5.92703 21.3423 5.91188 20.7814 6.24398 20.4287L11.9121 14L6.23978 7.56653C5.92725 7.21101 5.91186 6.64939 6.24438 6.29664C6.4095 6.11179 6.64121 6 6.89212 6C7.14455 6 7.37688 6.1135 7.53586 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n </svg>\n</div>\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".aeb-sidebar{position:fixed;top:80px;left:0;z-index:1001;display:flex;flex-direction:column;justify-content:space-between;width:80px;height:calc(100vh - 80px);color:var(--color-mono-900);background-color:var(--color-mono-0);border-right:2px solid #f3f3f3}.aeb-sidebar.right{right:0;left:auto;border-right:none;border-left:2px solid #f3f3f3}.aeb-sidebar.right .aeb-sidebar-toggle-icon{transform:scaleX(-1)}.aeb-sidebar-items{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;width:100%;padding:14px 0 0}.aeb-sidebar-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;padding:14px 0;text-decoration:none;-webkit-user-select:none;user-select:none}.aeb-sidebar-item-icon{display:flex;flex:0 0 auto;width:28px;height:28px;opacity:.8}.aeb-sidebar-item-icon img{object-fit:contain;width:100%}.aeb-sidebar-item-label{display:none;margin-left:18px;font-size:var(--font-size-s);color:var(--color-mono-900)}.aeb-sidebar-item:hover{text-decoration:none;background-color:var(--white-hover)}.aeb-sidebar-item:hover>a{text-decoration:none}.aeb-sidebar-item.active{pointer-events:none}.aeb-sidebar-item.active .aeb-sidebar-item-label{color:var(--color-blue-500)}.aeb-sidebar-item.active .aeb-sidebar-item-icon svg{fill:var(--color-blue-500)}.aeb-sidebar-footer{padding-right:30px;padding-left:30px;margin-top:auto;font-size:var(--font-size-xxs);line-height:18px;color:var(--gray);text-align:center}.aeb-sidebar-footer a{color:var(--color-blue-500)}.aeb-sidebar-toggle-icon{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;justify-content:center;height:50px;margin:16px 8px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--border-lightly-rounded);transition:all linear .23s}.aeb-sidebar-toggle-icon>svg{transition:all ease .23s}.aeb-sidebar-toggle-icon:hover{background-color:#f3f3f3}.aeb-sidebar-toggle-icon:hover>svg{transform:translate(2px)}.aeb-sidebar.open{width:260px}.aeb-sidebar.open .aeb-sidebar-item{justify-content:flex-start;padding:14px 28px}.aeb-sidebar.open .aeb-sidebar-item-label{display:inline-block}.aeb-sidebar.open .aeb-sidebar-toggle-icon{background-color:#f3f3f3}.aeb-sidebar.open .aeb-sidebar-toggle-icon>svg{transform:scaleX(-1)}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover{background-color:#e7e7e7}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover>svg{transform:translate(-2px) scaleX(-1)}.aeb-sidebar--burger{justify-content:flex-start;width:68px;overflow:hidden;transition:width,.2s}.aeb-sidebar--burger.open{display:flex;flex-direction:column;justify-content:space-between}.aeb-sidebar--burger.open .aeb-sidebar-items{overflow-y:auto}.aeb-sidebar--burger.open .aeb-sidebar-items .aeb-sidebar-item{padding:14px 0}.aeb-sidebar--burger .aeb-sidebar-burger{box-sizing:border-box;height:70px;padding:28px 24px}.aeb-sidebar--burger .aeb-sidebar-burger__icon{display:inline-block;cursor:pointer}.aeb-sidebar--burger .aeb-sidebar-items{box-sizing:border-box;display:block;width:260px;padding:0 24px;margin-bottom:30px;overflow:hidden}.aeb-sidebar--burger .aeb-sidebar-items .aeb-sidebar-item{justify-content:flex-start}.aeb-sidebar--burger .aeb-sidebar-footer{width:200px;margin-bottom:32px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
21
20
|
}
|
|
22
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
23
22
|
type: Component,
|
|
24
|
-
args: [{ selector: 'aeb-sidebar', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"
|
|
23
|
+
args: [{ selector: 'aeb-sidebar', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"!isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-burger\">\n <div class=\"aeb-sidebar-burger__icon\" (click)=\"handleToggleSidebar()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1.71387 12H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 5.14258H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 18.8574H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div class=\"aeb-sidebar-footer\" *ngIf=\"isOpen\">\n <!-- \u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u043E \u043F\u043E\u0447\u0442\u0435\n <a href=\"mailto:support@aeb.ru\">support@aeb.ru</a> -->\n</div>\n<div\n *ngIf=\"!isBurger\"\n class=\"aeb-sidebar-toggle-icon\"\n (click)=\"handleToggleSidebar()\"\n>\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.5359 6.30688L21.7602 13.3677C21.9199 13.5493 22 13.7653 22 14C22 14.2106 21.9341 14.4606 21.7515 14.6422L15.5318 21.6978C15.3721 21.8793 15.1534 22 14.8856 22C14.6176 22 14.399 21.8794 14.2394 21.6977C13.927 21.3423 13.9119 20.7814 14.244 20.4287L19.9121 14L14.2398 7.56653C13.9272 7.21101 13.9119 6.64939 14.2444 6.29664C14.4095 6.11179 14.6412 6 14.8921 6C15.1445 6 15.3769 6.1135 15.5359 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.53586 6.30688L13.7602 13.3677C13.9199 13.5493 14 13.7653 14 14C14 14.2106 13.9341 14.4606 13.7515 14.6422L7.53175 21.6978C7.37212 21.8793 7.15341 22 6.88558 22C6.61765 22 6.39904 21.8794 6.2394 21.6977C5.92703 21.3423 5.91188 20.7814 6.24398 20.4287L11.9121 14L6.23978 7.56653C5.92725 7.21101 5.91186 6.64939 6.24438 6.29664C6.4095 6.11179 6.64121 6 6.89212 6C7.14455 6 7.37688 6.1135 7.53586 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n </svg>\n</div>\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".aeb-sidebar{position:fixed;top:80px;left:0;z-index:1001;display:flex;flex-direction:column;justify-content:space-between;width:80px;height:calc(100vh - 80px);color:var(--color-mono-900);background-color:var(--color-mono-0);border-right:2px solid #f3f3f3}.aeb-sidebar.right{right:0;left:auto;border-right:none;border-left:2px solid #f3f3f3}.aeb-sidebar.right .aeb-sidebar-toggle-icon{transform:scaleX(-1)}.aeb-sidebar-items{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;width:100%;padding:14px 0 0}.aeb-sidebar-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;padding:14px 0;text-decoration:none;-webkit-user-select:none;user-select:none}.aeb-sidebar-item-icon{display:flex;flex:0 0 auto;width:28px;height:28px;opacity:.8}.aeb-sidebar-item-icon img{object-fit:contain;width:100%}.aeb-sidebar-item-label{display:none;margin-left:18px;font-size:var(--font-size-s);color:var(--color-mono-900)}.aeb-sidebar-item:hover{text-decoration:none;background-color:var(--white-hover)}.aeb-sidebar-item:hover>a{text-decoration:none}.aeb-sidebar-item.active{pointer-events:none}.aeb-sidebar-item.active .aeb-sidebar-item-label{color:var(--color-blue-500)}.aeb-sidebar-item.active .aeb-sidebar-item-icon svg{fill:var(--color-blue-500)}.aeb-sidebar-footer{padding-right:30px;padding-left:30px;margin-top:auto;font-size:var(--font-size-xxs);line-height:18px;color:var(--gray);text-align:center}.aeb-sidebar-footer a{color:var(--color-blue-500)}.aeb-sidebar-toggle-icon{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;justify-content:center;height:50px;margin:16px 8px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--border-lightly-rounded);transition:all linear .23s}.aeb-sidebar-toggle-icon>svg{transition:all ease .23s}.aeb-sidebar-toggle-icon:hover{background-color:#f3f3f3}.aeb-sidebar-toggle-icon:hover>svg{transform:translate(2px)}.aeb-sidebar.open{width:260px}.aeb-sidebar.open .aeb-sidebar-item{justify-content:flex-start;padding:14px 28px}.aeb-sidebar.open .aeb-sidebar-item-label{display:inline-block}.aeb-sidebar.open .aeb-sidebar-toggle-icon{background-color:#f3f3f3}.aeb-sidebar.open .aeb-sidebar-toggle-icon>svg{transform:scaleX(-1)}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover{background-color:#e7e7e7}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover>svg{transform:translate(-2px) scaleX(-1)}.aeb-sidebar--burger{justify-content:flex-start;width:68px;overflow:hidden;transition:width,.2s}.aeb-sidebar--burger.open{display:flex;flex-direction:column;justify-content:space-between}.aeb-sidebar--burger.open .aeb-sidebar-items{overflow-y:auto}.aeb-sidebar--burger.open .aeb-sidebar-items .aeb-sidebar-item{padding:14px 0}.aeb-sidebar--burger .aeb-sidebar-burger{box-sizing:border-box;height:70px;padding:28px 24px}.aeb-sidebar--burger .aeb-sidebar-burger__icon{display:inline-block;cursor:pointer}.aeb-sidebar--burger .aeb-sidebar-items{box-sizing:border-box;display:block;width:260px;padding:0 24px;margin-bottom:30px;overflow:hidden}.aeb-sidebar--burger .aeb-sidebar-items .aeb-sidebar-item{justify-content:flex-start}.aeb-sidebar--burger .aeb-sidebar-footer{width:200px;margin-bottom:32px}\n"] }]
|
|
25
24
|
}], propDecorators: { class: [{
|
|
26
25
|
type: HostBinding,
|
|
27
26
|
args: ['class']
|
|
28
|
-
}], isRight: [{
|
|
29
|
-
type: HostBinding,
|
|
30
|
-
args: ['class.right']
|
|
31
|
-
}, {
|
|
32
|
-
type: Input
|
|
33
27
|
}], isOpen: [{
|
|
34
28
|
type: HostBinding,
|
|
35
29
|
args: ['class.open']
|
|
30
|
+
}, {
|
|
31
|
+
type: Input,
|
|
32
|
+
args: [{ required: true }]
|
|
33
|
+
}], isRight: [{
|
|
34
|
+
type: HostBinding,
|
|
35
|
+
args: ['class.right']
|
|
36
36
|
}, {
|
|
37
37
|
type: Input
|
|
38
|
-
}],
|
|
38
|
+
}], isBurger: [{
|
|
39
39
|
type: Input
|
|
40
|
+
}], toggleClick: [{
|
|
41
|
+
type: Output
|
|
40
42
|
}], isBurgerLayout: [{
|
|
41
43
|
type: HostBinding,
|
|
42
44
|
args: ['class.aeb-sidebar--burger']
|
|
43
45
|
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL3NpZGViYXIvc2lkZWJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL3NpZGViYXIvc2lkZWJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsS0FBSyxFQUNMLE1BQU0sRUFDTixpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUM7OztBQVF2QixNQUFNLE9BQU8sZ0JBQWdCO0lBTjdCO1FBT3dCLFVBQUssR0FBRyxhQUFhLENBQUM7UUFJckMsV0FBTSxHQUFHLElBQUksQ0FBQztRQUlkLFlBQU8sR0FBRyxLQUFLLENBQUM7UUFHdkIsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUdqQixnQkFBVyxHQUFHLElBQUksWUFBWSxFQUFXLENBQUM7S0FVM0M7SUFSQyxJQUNJLGNBQWM7UUFDaEI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PC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
package/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -4654,39 +4654,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
4654
4654
|
class SidebarComponent {
|
|
4655
4655
|
constructor() {
|
|
4656
4656
|
this.class = 'aeb-sidebar';
|
|
4657
|
-
this.isRight = true;
|
|
4658
4657
|
this.isOpen = true;
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
this.
|
|
4658
|
+
this.isRight = false;
|
|
4659
|
+
this.isBurger = false;
|
|
4660
|
+
this.toggleClick = new EventEmitter();
|
|
4662
4661
|
}
|
|
4663
4662
|
get isBurgerLayout() {
|
|
4664
|
-
return this.
|
|
4663
|
+
return this.isBurger;
|
|
4665
4664
|
}
|
|
4666
4665
|
handleToggleSidebar() {
|
|
4667
|
-
this.
|
|
4666
|
+
this.toggleClick.emit(this.isOpen);
|
|
4668
4667
|
}
|
|
4669
4668
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4670
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SidebarComponent, selector: "aeb-sidebar", inputs: { isRight: "isRight",
|
|
4669
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SidebarComponent, selector: "aeb-sidebar", inputs: { isOpen: "isOpen", isRight: "isRight", isBurger: "isBurger" }, outputs: { toggleClick: "toggleClick" }, host: { properties: { "class": "this.class", "class.open": "this.isOpen", "class.right": "this.isRight", "class.aeb-sidebar--burger": "this.isBurgerLayout" } }, ngImport: i0, template: "<div *ngIf=\"!isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-burger\">\n <div class=\"aeb-sidebar-burger__icon\" (click)=\"handleToggleSidebar()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1.71387 12H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 5.14258H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 18.8574H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div class=\"aeb-sidebar-footer\" *ngIf=\"isOpen\">\n <!-- \u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u043E \u043F\u043E\u0447\u0442\u0435\n <a href=\"mailto:support@aeb.ru\">support@aeb.ru</a> -->\n</div>\n<div\n *ngIf=\"!isBurger\"\n class=\"aeb-sidebar-toggle-icon\"\n (click)=\"handleToggleSidebar()\"\n>\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.5359 6.30688L21.7602 13.3677C21.9199 13.5493 22 13.7653 22 14C22 14.2106 21.9341 14.4606 21.7515 14.6422L15.5318 21.6978C15.3721 21.8793 15.1534 22 14.8856 22C14.6176 22 14.399 21.8794 14.2394 21.6977C13.927 21.3423 13.9119 20.7814 14.244 20.4287L19.9121 14L14.2398 7.56653C13.9272 7.21101 13.9119 6.64939 14.2444 6.29664C14.4095 6.11179 14.6412 6 14.8921 6C15.1445 6 15.3769 6.1135 15.5359 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.53586 6.30688L13.7602 13.3677C13.9199 13.5493 14 13.7653 14 14C14 14.2106 13.9341 14.4606 13.7515 14.6422L7.53175 21.6978C7.37212 21.8793 7.15341 22 6.88558 22C6.61765 22 6.39904 21.8794 6.2394 21.6977C5.92703 21.3423 5.91188 20.7814 6.24398 20.4287L11.9121 14L6.23978 7.56653C5.92725 7.21101 5.91186 6.64939 6.24438 6.29664C6.4095 6.11179 6.64121 6 6.89212 6C7.14455 6 7.37688 6.1135 7.53586 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n </svg>\n</div>\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".aeb-sidebar{position:fixed;top:80px;left:0;z-index:1001;display:flex;flex-direction:column;justify-content:space-between;width:80px;height:calc(100vh - 80px);color:var(--color-mono-900);background-color:var(--color-mono-0);border-right:2px solid #f3f3f3}.aeb-sidebar.right{right:0;left:auto;border-right:none;border-left:2px solid #f3f3f3}.aeb-sidebar.right .aeb-sidebar-toggle-icon{transform:scaleX(-1)}.aeb-sidebar-items{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;width:100%;padding:14px 0 0}.aeb-sidebar-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;padding:14px 0;text-decoration:none;-webkit-user-select:none;user-select:none}.aeb-sidebar-item-icon{display:flex;flex:0 0 auto;width:28px;height:28px;opacity:.8}.aeb-sidebar-item-icon img{object-fit:contain;width:100%}.aeb-sidebar-item-label{display:none;margin-left:18px;font-size:var(--font-size-s);color:var(--color-mono-900)}.aeb-sidebar-item:hover{text-decoration:none;background-color:var(--white-hover)}.aeb-sidebar-item:hover>a{text-decoration:none}.aeb-sidebar-item.active{pointer-events:none}.aeb-sidebar-item.active .aeb-sidebar-item-label{color:var(--color-blue-500)}.aeb-sidebar-item.active .aeb-sidebar-item-icon svg{fill:var(--color-blue-500)}.aeb-sidebar-footer{padding-right:30px;padding-left:30px;margin-top:auto;font-size:var(--font-size-xxs);line-height:18px;color:var(--gray);text-align:center}.aeb-sidebar-footer a{color:var(--color-blue-500)}.aeb-sidebar-toggle-icon{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;justify-content:center;height:50px;margin:16px 8px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--border-lightly-rounded);transition:all linear .23s}.aeb-sidebar-toggle-icon>svg{transition:all ease .23s}.aeb-sidebar-toggle-icon:hover{background-color:#f3f3f3}.aeb-sidebar-toggle-icon:hover>svg{transform:translate(2px)}.aeb-sidebar.open{width:260px}.aeb-sidebar.open .aeb-sidebar-item{justify-content:flex-start;padding:14px 28px}.aeb-sidebar.open .aeb-sidebar-item-label{display:inline-block}.aeb-sidebar.open .aeb-sidebar-toggle-icon{background-color:#f3f3f3}.aeb-sidebar.open .aeb-sidebar-toggle-icon>svg{transform:scaleX(-1)}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover{background-color:#e7e7e7}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover>svg{transform:translate(-2px) scaleX(-1)}.aeb-sidebar--burger{justify-content:flex-start;width:68px;overflow:hidden;transition:width,.2s}.aeb-sidebar--burger.open{display:flex;flex-direction:column;justify-content:space-between}.aeb-sidebar--burger.open .aeb-sidebar-items{overflow-y:auto}.aeb-sidebar--burger.open .aeb-sidebar-items .aeb-sidebar-item{padding:14px 0}.aeb-sidebar--burger .aeb-sidebar-burger{box-sizing:border-box;height:70px;padding:28px 24px}.aeb-sidebar--burger .aeb-sidebar-burger__icon{display:inline-block;cursor:pointer}.aeb-sidebar--burger .aeb-sidebar-items{box-sizing:border-box;display:block;width:260px;padding:0 24px;margin-bottom:30px;overflow:hidden}.aeb-sidebar--burger .aeb-sidebar-items .aeb-sidebar-item{justify-content:flex-start}.aeb-sidebar--burger .aeb-sidebar-footer{width:200px;margin-bottom:32px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
4671
4670
|
}
|
|
4672
4671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
4673
4672
|
type: Component,
|
|
4674
|
-
args: [{ selector: 'aeb-sidebar', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"
|
|
4673
|
+
args: [{ selector: 'aeb-sidebar', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"!isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-burger\">\n <div class=\"aeb-sidebar-burger__icon\" (click)=\"handleToggleSidebar()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1.71387 12H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 5.14258H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M1.71387 18.8574H22.2853\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n</div>\n\n<div *ngIf=\"isBurger\" class=\"aeb-sidebar-items\">\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\n</div>\n\n<div class=\"aeb-sidebar-footer\" *ngIf=\"isOpen\">\n <!-- \u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u043E \u043F\u043E\u0447\u0442\u0435\n <a href=\"mailto:support@aeb.ru\">support@aeb.ru</a> -->\n</div>\n<div\n *ngIf=\"!isBurger\"\n class=\"aeb-sidebar-toggle-icon\"\n (click)=\"handleToggleSidebar()\"\n>\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M15.5359 6.30688L21.7602 13.3677C21.9199 13.5493 22 13.7653 22 14C22 14.2106 21.9341 14.4606 21.7515 14.6422L15.5318 21.6978C15.3721 21.8793 15.1534 22 14.8856 22C14.6176 22 14.399 21.8794 14.2394 21.6977C13.927 21.3423 13.9119 20.7814 14.244 20.4287L19.9121 14L14.2398 7.56653C13.9272 7.21101 13.9119 6.64939 14.2444 6.29664C14.4095 6.11179 14.6412 6 14.8921 6C15.1445 6 15.3769 6.1135 15.5359 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.53586 6.30688L13.7602 13.3677C13.9199 13.5493 14 13.7653 14 14C14 14.2106 13.9341 14.4606 13.7515 14.6422L7.53175 21.6978C7.37212 21.8793 7.15341 22 6.88558 22C6.61765 22 6.39904 21.8794 6.2394 21.6977C5.92703 21.3423 5.91188 20.7814 6.24398 20.4287L11.9121 14L6.23978 7.56653C5.92725 7.21101 5.91186 6.64939 6.24438 6.29664C6.4095 6.11179 6.64121 6 6.89212 6C7.14455 6 7.37688 6.1135 7.53586 6.30688Z\"\n fill=\"#9CA8AF\"\n />\n </svg>\n</div>\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".aeb-sidebar{position:fixed;top:80px;left:0;z-index:1001;display:flex;flex-direction:column;justify-content:space-between;width:80px;height:calc(100vh - 80px);color:var(--color-mono-900);background-color:var(--color-mono-0);border-right:2px solid #f3f3f3}.aeb-sidebar.right{right:0;left:auto;border-right:none;border-left:2px solid #f3f3f3}.aeb-sidebar.right .aeb-sidebar-toggle-icon{transform:scaleX(-1)}.aeb-sidebar-items{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;width:100%;padding:14px 0 0}.aeb-sidebar-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;padding:14px 0;text-decoration:none;-webkit-user-select:none;user-select:none}.aeb-sidebar-item-icon{display:flex;flex:0 0 auto;width:28px;height:28px;opacity:.8}.aeb-sidebar-item-icon img{object-fit:contain;width:100%}.aeb-sidebar-item-label{display:none;margin-left:18px;font-size:var(--font-size-s);color:var(--color-mono-900)}.aeb-sidebar-item:hover{text-decoration:none;background-color:var(--white-hover)}.aeb-sidebar-item:hover>a{text-decoration:none}.aeb-sidebar-item.active{pointer-events:none}.aeb-sidebar-item.active .aeb-sidebar-item-label{color:var(--color-blue-500)}.aeb-sidebar-item.active .aeb-sidebar-item-icon svg{fill:var(--color-blue-500)}.aeb-sidebar-footer{padding-right:30px;padding-left:30px;margin-top:auto;font-size:var(--font-size-xxs);line-height:18px;color:var(--gray);text-align:center}.aeb-sidebar-footer a{color:var(--color-blue-500)}.aeb-sidebar-toggle-icon{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;justify-content:center;height:50px;margin:16px 8px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--border-lightly-rounded);transition:all linear .23s}.aeb-sidebar-toggle-icon>svg{transition:all ease .23s}.aeb-sidebar-toggle-icon:hover{background-color:#f3f3f3}.aeb-sidebar-toggle-icon:hover>svg{transform:translate(2px)}.aeb-sidebar.open{width:260px}.aeb-sidebar.open .aeb-sidebar-item{justify-content:flex-start;padding:14px 28px}.aeb-sidebar.open .aeb-sidebar-item-label{display:inline-block}.aeb-sidebar.open .aeb-sidebar-toggle-icon{background-color:#f3f3f3}.aeb-sidebar.open .aeb-sidebar-toggle-icon>svg{transform:scaleX(-1)}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover{background-color:#e7e7e7}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover>svg{transform:translate(-2px) scaleX(-1)}.aeb-sidebar--burger{justify-content:flex-start;width:68px;overflow:hidden;transition:width,.2s}.aeb-sidebar--burger.open{display:flex;flex-direction:column;justify-content:space-between}.aeb-sidebar--burger.open .aeb-sidebar-items{overflow-y:auto}.aeb-sidebar--burger.open .aeb-sidebar-items .aeb-sidebar-item{padding:14px 0}.aeb-sidebar--burger .aeb-sidebar-burger{box-sizing:border-box;height:70px;padding:28px 24px}.aeb-sidebar--burger .aeb-sidebar-burger__icon{display:inline-block;cursor:pointer}.aeb-sidebar--burger .aeb-sidebar-items{box-sizing:border-box;display:block;width:260px;padding:0 24px;margin-bottom:30px;overflow:hidden}.aeb-sidebar--burger .aeb-sidebar-items .aeb-sidebar-item{justify-content:flex-start}.aeb-sidebar--burger .aeb-sidebar-footer{width:200px;margin-bottom:32px}\n"] }]
|
|
4675
4674
|
}], propDecorators: { class: [{
|
|
4676
4675
|
type: HostBinding,
|
|
4677
4676
|
args: ['class']
|
|
4678
|
-
}], isRight: [{
|
|
4679
|
-
type: HostBinding,
|
|
4680
|
-
args: ['class.right']
|
|
4681
|
-
}, {
|
|
4682
|
-
type: Input
|
|
4683
4677
|
}], isOpen: [{
|
|
4684
4678
|
type: HostBinding,
|
|
4685
4679
|
args: ['class.open']
|
|
4680
|
+
}, {
|
|
4681
|
+
type: Input,
|
|
4682
|
+
args: [{ required: true }]
|
|
4683
|
+
}], isRight: [{
|
|
4684
|
+
type: HostBinding,
|
|
4685
|
+
args: ['class.right']
|
|
4686
4686
|
}, {
|
|
4687
4687
|
type: Input
|
|
4688
|
-
}],
|
|
4688
|
+
}], isBurger: [{
|
|
4689
4689
|
type: Input
|
|
4690
|
+
}], toggleClick: [{
|
|
4691
|
+
type: Output
|
|
4690
4692
|
}], isBurgerLayout: [{
|
|
4691
4693
|
type: HostBinding,
|
|
4692
4694
|
args: ['class.aeb-sidebar--burger']
|