aeb-ui-kit 8.0.0-preview.913 → 8.0.0-preview.915
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.
- package/esm2022/lib/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/accordion/accordion.module.mjs +4 -4
- package/esm2022/lib/action-bar/action-bar.component.mjs +3 -3
- package/esm2022/lib/action-bar/action-bar.module.mjs +4 -4
- package/esm2022/lib/aeb-ui-kit.module.mjs +4 -4
- package/esm2022/lib/button/button.component.mjs +3 -3
- package/esm2022/lib/button/button.module.mjs +4 -4
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/lib/checkbox-old/checkbox-group-old/checkbox-group-old.component.mjs +3 -3
- package/esm2022/lib/checkbox-old/checkbox-old.component.mjs +3 -3
- package/esm2022/lib/checkbox-old/checkbox-old.module.mjs +4 -4
- package/esm2022/lib/click-outside/click-outside.directive.mjs +4 -4
- package/esm2022/lib/code-input/code-input.component.mjs +3 -3
- package/esm2022/lib/code-input/code-input.module.mjs +4 -4
- package/esm2022/lib/comment/comment.component.mjs +3 -3
- package/esm2022/lib/comment/comment.module.mjs +4 -4
- package/esm2022/lib/credit-item-card/credit-item-card.component.mjs +3 -3
- package/esm2022/lib/credit-item-card/credit-item-card.module.mjs +4 -4
- package/esm2022/lib/datepicker/datepicker-core/datepicker-core.component.mjs +3 -3
- package/esm2022/lib/datepicker/datepicker-month/datepicker-month.component.mjs +3 -3
- package/esm2022/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +3 -3
- package/esm2022/lib/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/lib/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/datepicker/pipes/date-to-str.pipe.mjs +3 -3
- package/esm2022/lib/datepicker/services/datepicker-utils.service.mjs +3 -3
- package/esm2022/lib/datepicker/services/mask-utils.service.mjs +3 -3
- package/esm2022/lib/dropdown/components/dropdown-container/dropdown-container.component.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/file-attach/components/attach-button/attach-button.component.mjs +3 -3
- package/esm2022/lib/file-attach/components/default-body/default-body.component.mjs +3 -3
- package/esm2022/lib/file-attach/components/salary-portal-body/salary-portal-body.component.mjs +3 -3
- package/esm2022/lib/file-attach/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2022/lib/file-attach/file-attach.component.mjs +3 -3
- package/esm2022/lib/file-attach/file-attach.module.mjs +4 -4
- package/esm2022/lib/filter-tags/filter-tag/filter-tag.component.mjs +3 -3
- package/esm2022/lib/filter-tags/filter-tags.component.mjs +3 -3
- package/esm2022/lib/filter-tags/filter-tags.module.mjs +4 -4
- package/esm2022/lib/footer/abstract/base-content-projectable.component.mjs +3 -3
- package/esm2022/lib/footer/footer-bottom/footer-bottom.component.mjs +3 -3
- package/esm2022/lib/footer/footer-menu/footer-menu.component.mjs +3 -3
- package/esm2022/lib/footer/footer-top/footer-top.component.mjs +3 -3
- package/esm2022/lib/footer/footer.component.mjs +3 -3
- package/esm2022/lib/footer/footer.module.mjs +4 -4
- package/esm2022/lib/form-field/directives/error-message.directive.mjs +3 -3
- package/esm2022/lib/form-field/directives/form-field.directive.mjs +3 -3
- package/esm2022/lib/form-field/directives/icon.directive.mjs +3 -3
- package/esm2022/lib/form-field/directives/label.directive.mjs +3 -3
- package/esm2022/lib/form-field/form-field.component.mjs +3 -3
- package/esm2022/lib/form-field/form-field.module.mjs +4 -4
- package/esm2022/lib/header/header.component.mjs +3 -3
- package/esm2022/lib/header/header.module.mjs +4 -4
- package/esm2022/lib/header/logo.component.mjs +3 -3
- package/esm2022/lib/heading/breadcrumps/breadcrumps.component.mjs +3 -3
- package/esm2022/lib/heading/heading.component.mjs +3 -3
- package/esm2022/lib/heading/heading.module.mjs +4 -4
- package/esm2022/lib/heading/product-title/product-title.component.mjs +3 -3
- package/esm2022/lib/label/label.component.mjs +3 -3
- package/esm2022/lib/label/label.module.mjs +4 -4
- package/esm2022/lib/modal/modal.component.mjs +3 -3
- package/esm2022/lib/modal/modal.module.mjs +4 -4
- package/esm2022/lib/news-card/news-card.component.mjs +3 -3
- package/esm2022/lib/news-card/news-card.module.mjs +4 -4
- package/esm2022/lib/notifications/notification/notification.component.mjs +3 -3
- package/esm2022/lib/notifications/notifications.component.mjs +3 -3
- package/esm2022/lib/notifications/notifications.module.mjs +4 -4
- package/esm2022/lib/old-button/old-button.component.mjs +3 -3
- package/esm2022/lib/old-button/old-button.module.mjs +4 -4
- package/esm2022/lib/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/pagination/pagination.module.mjs +4 -4
- package/esm2022/lib/pop-up/pop-up.component.mjs +3 -3
- package/esm2022/lib/pop-up/pop-up.directive.mjs +3 -3
- package/esm2022/lib/pop-up/pop-up.module.mjs +4 -4
- package/esm2022/lib/radio-buttons/radio-buttons.component.mjs +3 -3
- package/esm2022/lib/radio-buttons/radio-buttons.module.mjs +4 -4
- package/esm2022/lib/radio-buttons-old/radio-buttons-old.component.mjs +3 -3
- package/esm2022/lib/radio-buttons-old/radio-buttons-old.module.mjs +4 -4
- package/esm2022/lib/response/response.component.mjs +3 -3
- package/esm2022/lib/response/response.module.mjs +4 -4
- package/esm2022/lib/search/highlight.pipe.mjs +3 -3
- package/esm2022/lib/search/search.component.mjs +3 -3
- package/esm2022/lib/search/search.module.mjs +4 -4
- package/esm2022/lib/select/select.component.mjs +3 -3
- package/esm2022/lib/select/select.module.mjs +4 -4
- package/esm2022/lib/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/slider/directives/numbers-only.directive.mjs +3 -3
- package/esm2022/lib/slider/pipes/replace.pipe.mjs +3 -3
- package/esm2022/lib/slider/slider.component.mjs +3 -3
- package/esm2022/lib/slider/slider.module.mjs +4 -4
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/stepper/stepper-step.component.mjs +3 -3
- package/esm2022/lib/stepper/stepper.component.mjs +3 -3
- package/esm2022/lib/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/table/table.pipe.mjs +3 -3
- package/esm2022/lib/tabs/tab.directive.mjs +3 -3
- package/esm2022/lib/tabs/tabs.component.mjs +3 -3
- package/esm2022/lib/tabs/tabs.module.mjs +4 -4
- package/esm2022/lib/tag-tab/tag-tab.component.mjs +3 -3
- package/esm2022/lib/tag-tab/tag-tab.module.mjs +4 -4
- package/esm2022/lib/tooltip/services/domservice.service.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/visa/visa-item.component.mjs +3 -3
- package/esm2022/lib/visa/visa-span.directive.mjs +6 -6
- package/esm2022/lib/visa/visa.component.mjs +3 -3
- package/esm2022/lib/visa/visa.module.mjs +4 -4
- package/fesm2022/aeb-ui-kit.mjs +378 -378
- package/fesm2022/aeb-ui-kit.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -5,11 +5,11 @@ import { HighlightPipe } from './highlight.pipe';
|
|
|
5
5
|
import { SearchComponent } from './search.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class SearchModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: SearchModule, declarations: [SearchComponent, HighlightPipe], imports: [CommonModule, ClickOutsideDirective], exports: [SearchComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SearchModule, imports: [CommonModule] }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SearchModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [SearchComponent, HighlightPipe],
|
|
@@ -83,8 +83,8 @@ export class SelectComponent {
|
|
|
83
83
|
ngAfterViewInit() {
|
|
84
84
|
this.cdr.detectChanges();
|
|
85
85
|
}
|
|
86
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
87
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SelectComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
87
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: SelectComponent, selector: "aeb-select", inputs: { label: "label", options: "options", hasError: "hasError", disabled: "disabled", direction: "direction" }, outputs: { optionSelect: "optionSelect" }, host: { listeners: { "clickOutside": "clickOutside()" }, properties: { "class.disabled": "this.disabled", "class.aeb-select": "this.isSelect" } }, providers: [
|
|
88
88
|
{
|
|
89
89
|
provide: NG_VALUE_ACCESSOR,
|
|
90
90
|
useExisting: forwardRef(() => SelectComponent),
|
|
@@ -92,7 +92,7 @@ export class SelectComponent {
|
|
|
92
92
|
}
|
|
93
93
|
], hostDirectives: [{ directive: i1.ClickOutsideDirective, outputs: ["clickOutside", "clickOutside"] }], ngImport: i0, template: "<div\n class=\"aeb-select__selected-item\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"openDropdown()\"\n>\n <label\n class=\"aeb-select__label\"\n [ngClass]=\"{\n error: hasError,\n placeholder: !selectedOption,\n float: selectedOption,\n open: isOpen && selectedOption,\n top: direction === 'top',\n disabled\n }\"\n (click)=\"openDropdown()\"\n >\n {{ label }}\n </label>\n <div *ngIf=\"selectedOption\" class=\"aeb-select__selected-item-text\">\n {{ selectedOption.label }}\n </div>\n</div>\n\n<div\n class=\"aeb-select__icon\"\n [ngClass]=\"{ open: isOpen }\"\n [ngSwitch]=\"disabled\"\n>\n <svg\n *ngSwitchCase=\"false\"\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=\"M8 14L11.9293 10.0707C11.9683 10.0317 12.0317 10.0317 12.0707 10.0707L16 14\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n <svg\n *ngSwitchCase=\"true\"\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 <rect\n x=\"3\"\n y=\"7\"\n width=\"18\"\n height=\"16\"\n rx=\"3\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n <path\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n </svg>\n</div>\n\n<ul\n class=\"aeb-select__menu\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n>\n <li\n class=\"aeb-select__menu-item\"\n [ngClass]=\"{\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"setValue(option.value)\"\n *ngFor=\"let option of options\"\n >\n {{ option.label }}\n </li>\n</ul>\n", styles: [".aeb-select{position:relative;display:flex;width:100%;min-width:262px;font-size:var(--font-size-m);color:var(--color-mono-900);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-select.disabled{cursor:default}.aeb-select__selected-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:56px;padding-right:52px;padding-left:14px;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);border-radius:var(--border-medium-rounded)}.aeb-select__selected-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeb-select__selected-item.open{border-color:var(--color-blue-500)}.aeb-select__selected-item.open.top{border-top:0;padding-top:2px;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__selected-item.open.bottom{border-bottom:0;padding-bottom:2px;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0}.aeb-select__selected-item.error{color:var(--color-red-500);background:var(--color-mono-0);border-color:var(--color-red-500)}.aeb-select__label{width:fit-content;text-overflow:ellipsis;font-size:var(--font-size-xxs);color:var(--color-mono-300);background:var(--color-mono-0);white-space:nowrap;overflow:hidden}.aeb-select__label.open{color:var(--color-blue-500)}.aeb-select__label.open.top{visibility:hidden}.aeb-select__label.error{color:var(--color-red-500)}.aeb-select__label.float{position:absolute;width:fit-content;left:16px;top:-6px;padding:0 5px}.aeb-select__label.placeholder{width:100%;color:var(--color-mono-300);cursor:pointer;top:18px;font-size:var(--font-size-m);font-weight:var(--font-weight-regular);line-height:20px;background:var(--color-mono-0);border-radius:var(--border-medium-rounded);text-overflow:ellipsis;pointer-events:none}.aeb-select__label.placeholder.error{color:var(--color-red-500)}.aeb-select__label.placeholder.disabled{cursor:default}.aeb-select__icon{position:absolute;top:16px;right:16px;width:24px;height:24px;pointer-events:none;transition:all cubic-bezier(.4,0,.2,1) .2s}.aeb-select__icon.open{transform:rotate(180deg)}.aeb-select__icon.open path{stroke:var(--color-blue-500)}.aeb-select__menu{position:absolute;z-index:2;box-sizing:border-box;display:none;width:100%;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);padding:0;margin:0;list-style:none;white-space:nowrap}.aeb-select__menu.bottom{top:100%;border-top:none;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__menu.top{top:0;overflow:hidden;border-bottom:none;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0;transform:translateY(-100%)}.aeb-select__menu.open{display:block;border-color:var(--color-blue-500)}.aeb-select__menu.error{border-color:var(--color-red-500)}.aeb-select__menu-item{padding:18px 14px;height:20px;line-height:20px;text-overflow:ellipsis;overflow:hidden}.aeb-select__menu-item.active,.aeb-select__menu-item:hover{background-color:var(--color-blue-50)}.aeb-select__menu-item.bottom:last-child{border-radius:0 0 calc(var(--border-medium-rounded) - var(--border-skinny)) calc(var(--border-medium-rounded) - var(--border-skinny))}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SelectComponent, decorators: [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{ selector: 'aeb-select', encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
98
98
|
{
|
|
@@ -4,11 +4,11 @@ import { ClickOutsideDirective } from '../click-outside/click-outside.directive'
|
|
|
4
4
|
import { SelectComponent } from './select.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class SelectModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: SelectModule, declarations: [SelectComponent], imports: [CommonModule, ClickOutsideDirective], exports: [SelectComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SelectModule, imports: [CommonModule] }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SelectModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
declarations: [SelectComponent],
|
|
@@ -15,10 +15,10 @@ export class SidebarComponent {
|
|
|
15
15
|
handleToggleSidebar() {
|
|
16
16
|
this.toggleClick.emit(this.isOpen);
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", 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 }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
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"] }]
|
|
24
24
|
}], propDecorators: { class: [{
|
|
@@ -3,11 +3,11 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { SidebarComponent } from './sidebar.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class SidebarModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: SidebarModule, declarations: [SidebarComponent], imports: [CommonModule], exports: [SidebarComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SidebarModule, imports: [CommonModule] }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SidebarModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [SidebarComponent],
|
|
@@ -49,10 +49,10 @@ export class NumbersOnlyDirective {
|
|
|
49
49
|
const textData = event.dataTransfer.getData('text').replace(/\D/g, '');
|
|
50
50
|
document.execCommand('insertText', false, textData);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NumbersOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: NumbersOnlyDirective, selector: "[aebNumbersOnly]", host: { listeners: { "keydown": "onKeyDown($event)", "paste": "onPaste($event)", "drop": "onDrop($event)" } }, ngImport: i0 }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NumbersOnlyDirective, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[aebNumbersOnly]'
|
|
@@ -7,10 +7,10 @@ export class ReplacePipe {
|
|
|
7
7
|
}
|
|
8
8
|
return value.replace(new RegExp(strToReplace, 'g'), replacementStr);
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
11
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: ReplacePipe, name: "replace" }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
14
14
|
type: Pipe,
|
|
15
15
|
args: [{
|
|
16
16
|
name: 'replace'
|
|
@@ -160,8 +160,8 @@ export class SliderComponent {
|
|
|
160
160
|
this.onChange(this.value);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
164
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SliderComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
164
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: SliderComponent, selector: "aeb-slider", inputs: { label: "label", prefix: "prefix", intialValue: "intialValue", min: "min", max: "max", step: "step", value: "value", displayValue: "displayValue", mode: "mode", valueSeparator: "valueSeparator" }, host: { properties: { "class.aeb-slider": "this.isSlider", "class.aeb-slider--standard": "this.isStandardMode", "class.aeb-slider--input": "this.isInputMode" } }, providers: [
|
|
165
165
|
{
|
|
166
166
|
provide: NG_VALUE_ACCESSOR,
|
|
167
167
|
useExisting: forwardRef(() => SliderComponent),
|
|
@@ -169,7 +169,7 @@ export class SliderComponent {
|
|
|
169
169
|
}
|
|
170
170
|
], viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"mode === 'standard'\">\n <div class=\"aeb-slider__header\">\n <div class=\"aeb-slider__label\">{{ label }}</div>\n <div class=\"aeb-slider__value\">\n {{ value | number: \"1.0-0\" | replace: \",\" : valueSeparator }}\n {{ prefix }}\n </div>\n </div>\n</ng-container>\n<ng-container *ngIf=\"mode === 'input'\">\n <aeb-form-field>\n <label aebLabel>{{ label }}</label>\n <input\n type=\"string\"\n aebInput\n aebNumbersOnly\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"onInputBlur()\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n />\n </aeb-form-field>\n</ng-container>\n<div class=\"aeb-slider__line__container\" #slider>\n <div class=\"aeb-slider__line__indicator\">\n <div\n class=\"aeb-slider__line\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ 'aeb-slider__line--pressed': isPressed }\"\n ></div>\n </div>\n</div>\n<div class=\"aeb-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n</div>\n", styles: [".aeb-slider{--standard-value-color: var(--color-mono-900);--line-background-color: var(--color-blue-500);display:block;color:var(--color-mono-900);padding:6px 0 8px}.aeb-slider__line{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--line-background-color);border-radius:2px}.aeb-slider__line:after{position:absolute;top:-8px;right:-10px;width:20px;height:20px;cursor:pointer;content:\"\";background-color:var(--line-background-color);border-radius:var(--border-medium-rounded)}.aeb-slider__line:hover{background-color:var(--color-turquoise-500)}.aeb-slider__line:hover:after{background-color:var(--color-turquoise-500)}.aeb-slider__line__container{margin-top:26px}.aeb-slider__line--pressed:after{top:-11px;right:-13px;width:26px;height:26px;transition:all .05s ease-in;background-color:var(--color-turquoise-500);border-radius:var(--border-rounded)}.aeb-slider__line--pressed{background-color:var(--color-turquoise-500)}.aeb-slider__line__indicator{position:relative;width:100%;height:4px;border-radius:2px;background-color:var(--lightgray-secondary)}.aeb-slider__line__wrapper{display:flex;justify-content:center;align-items:center;width:100%}.aeb-slider--standard .aeb-slider__header{display:flex;justify-content:space-between;align-items:center}.aeb-slider--standard .aeb-slider__label{display:flex;align-items:center;font-size:var(--font-size-s);line-height:20px;color:var(--color-mono-300)}.aeb-slider--standard .aeb-slider__value{font-size:var(--font-size-md);font-weight:700;line-height:var(--line-height-medium);color:var(--standard-value-color)}.aeb-slider--standard .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:var(--font-size-xxs);line-height:14px;color:var(--color-mono-300)}.aeb-slider--input .aeb-slider__field-wrapper{width:100%}.aeb-slider--input .aeb-slider__field-wrapper input:focus{outline:none}.aeb-slider--input .aeb-slider__line{border-top-left-radius:4px;border-bottom-left-radius:0}.aeb-slider--input .aeb-slider__line__indicator{position:absolute;background-color:transparent}.aeb-slider--input .aeb-slider__line__container{position:relative;margin-top:0;top:-4px;left:10px;width:calc(100% - 20px)}.aeb-slider--input .aeb-slider__line:after{width:10px;height:10px;top:-3px;right:-5px}.aeb-slider--input .aeb-slider__line--pressed:after{width:14px;height:14px;top:-5px;right:-7px;transition:all .05s ease-in}.aeb-slider--input .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding-bottom:8px;font-size:var(--font-size-xxs);line-height:14px;color:var(--gray-primary)}body.dark .aeb-slider{--standard-value-color: var(--color-mono-0);--line-background-color: var(--blue-primary-dark-theme)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showDescription", "showErrorMessage", "validateOnDirty", "disabled"] }, { kind: "directive", type: i3.FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: i4.LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i6.NumbersOnlyDirective, selector: "[aebNumbersOnly]" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: i7.ReplacePipe, name: "replace" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
171
171
|
}
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SliderComponent, decorators: [{
|
|
173
173
|
type: Component,
|
|
174
174
|
args: [{ selector: 'aeb-slider', encapsulation: ViewEncapsulation.None, providers: [
|
|
175
175
|
{
|
|
@@ -7,11 +7,11 @@ import { ReplacePipe } from './pipes/replace.pipe';
|
|
|
7
7
|
import { SliderComponent } from './slider.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class SliderModule {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: SliderModule, declarations: [SliderComponent, ReplacePipe, NumbersOnlyDirective], imports: [CommonModule, FormFieldModule, FormsModule], exports: [SliderComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SliderModule, imports: [CommonModule, FormFieldModule, FormsModule] }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SliderModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
declarations: [SliderComponent, ReplacePipe, NumbersOnlyDirective],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class SpinnerComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: SpinnerComponent, selector: "aeb-spinner", ngImport: i0, template: "<div class=\"spinner-wrap\">\n <div class=\"spinner-circle\">\n <svg class=\"spinner-circle-border\" viewBox=\"0 0 50 50\">\n <circle\n class=\"path\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n fill=\"none\"\n stroke-width=\"2\"\n ></circle>\n </svg>\n <svg class=\"spinner-circle-border rotate\" viewBox=\"0 0 50 50\">\n <circle\n class=\"path\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n fill=\"none\"\n stroke-width=\"2\"\n ></circle>\n </svg>\n <svg\n class=\"spinner-circle-diamond\"\n width=\"26\"\n height=\"26\"\n viewBox=\"0 0 26 26\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M19.2101 16.1713L16.2663 19.0952L18.223 23.7905L23.9375 18.1148L19.2101 16.1713ZM15.1754 19.5423H11.0021L9.0454 24.2376H17.1148L15.1754 19.5423ZM19.6776 10.9428V15.0706L24.3877 17.0141V8.9994L19.6776 10.9428ZM9.8939 19.0952L6.9501 16.1713L2.24 18.1148L7.9544 23.7905L9.8939 19.0952ZM18.223 2.223L16.2663 6.9183L19.2101 9.8421L23.9375 7.8986L18.223 2.223ZM11.0021 6.4539H15.1754L17.1148 1.7758H9.0454L11.0021 6.4539ZM6.4999 15.0706V10.9428L1.7898 8.9994V17.0141L6.4999 15.0706ZM6.9501 9.8421L9.8939 6.9183L7.9544 2.223L2.24 7.8986L6.9501 9.8421ZM15.4005 18.5448L18.656 15.2942V10.7021L15.4005 7.4687H10.777L7.5042 10.7021V15.2942L10.777 18.5448H15.4005ZM7.9891 25.2352C5.2011 24.2154 1.7898 20.6463 0.768129 18.0804C-0.253521 15.5145 -0.258561 10.9428 0.768129 7.933C1.7948 4.9232 4.875 1.7758 7.9891 0.761051C11.1031 -0.253679 15.5877 -0.253689 18.1884 0.761051C20.7891 1.7758 24.896 5.9272 25.4094 7.933C25.9227 9.9389 26.431 15.5145 25.4094 18.0804C24.3877 20.6463 20.7213 24.2154 18.1884 25.2352C15.6556 26.2549 10.777 26.2549 7.9891 25.2352Z\"\n fill=\"url(#paint0_linear)\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear\"\n x1=\"13.9013\"\n y1=\"26\"\n x2=\"13.9013\"\n y2=\"0\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n </defs>\n </svg>\n </div>\n</div>\n", styles: [".spinner-wrap{position:relative;width:auto;height:auto}.spinner-circle{display:flex;align-items:center;justify-content:center;width:60px;height:60px;margin:auto}.spinner-circle .spinner-circle-border{position:absolute;width:60px;height:60px;animation:spin .75s linear infinite}.spinner-circle .spinner-circle-border .path{stroke:#0079d6;stroke-linecap:round;animation:dash 1s ease-in-out infinite}.spinner-circle .spinner-circle-border .spinner-circle-border-mask{background-color:var(--color-mono-0)}.spinner-circle .rotate{animation:spin2 .75s linear infinite}.spinner-circle .rotate .path{stroke:#00b8ff}.spinner-circle .spinner-circle-diamond{animation:zoom .5s ease-in-out infinite alternate}@keyframes spin2{0%{transform:rotate(180deg)}to{transform:rotate(179deg)}}@keyframes zoom{0%{transform:scale(1.2)}to{transform:scale(.75)}}@keyframes spin{0%{transform:rotate(360deg)}to{transform:rotate(359deg)}}@keyframes dash{0%{stroke-dasharray:0,150;stroke-dashoffset:0}50%{stroke-dasharray:50,150;stroke-dashoffset:-35}to{stroke-dasharray:50,150;stroke-dashoffset:-124}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
6
6
|
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{ selector: 'aeb-spinner', encapsulation: ViewEncapsulation.None, template: "<div class=\"spinner-wrap\">\n <div class=\"spinner-circle\">\n <svg class=\"spinner-circle-border\" viewBox=\"0 0 50 50\">\n <circle\n class=\"path\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n fill=\"none\"\n stroke-width=\"2\"\n ></circle>\n </svg>\n <svg class=\"spinner-circle-border rotate\" viewBox=\"0 0 50 50\">\n <circle\n class=\"path\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n fill=\"none\"\n stroke-width=\"2\"\n ></circle>\n </svg>\n <svg\n class=\"spinner-circle-diamond\"\n width=\"26\"\n height=\"26\"\n viewBox=\"0 0 26 26\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M19.2101 16.1713L16.2663 19.0952L18.223 23.7905L23.9375 18.1148L19.2101 16.1713ZM15.1754 19.5423H11.0021L9.0454 24.2376H17.1148L15.1754 19.5423ZM19.6776 10.9428V15.0706L24.3877 17.0141V8.9994L19.6776 10.9428ZM9.8939 19.0952L6.9501 16.1713L2.24 18.1148L7.9544 23.7905L9.8939 19.0952ZM18.223 2.223L16.2663 6.9183L19.2101 9.8421L23.9375 7.8986L18.223 2.223ZM11.0021 6.4539H15.1754L17.1148 1.7758H9.0454L11.0021 6.4539ZM6.4999 15.0706V10.9428L1.7898 8.9994V17.0141L6.4999 15.0706ZM6.9501 9.8421L9.8939 6.9183L7.9544 2.223L2.24 7.8986L6.9501 9.8421ZM15.4005 18.5448L18.656 15.2942V10.7021L15.4005 7.4687H10.777L7.5042 10.7021V15.2942L10.777 18.5448H15.4005ZM7.9891 25.2352C5.2011 24.2154 1.7898 20.6463 0.768129 18.0804C-0.253521 15.5145 -0.258561 10.9428 0.768129 7.933C1.7948 4.9232 4.875 1.7758 7.9891 0.761051C11.1031 -0.253679 15.5877 -0.253689 18.1884 0.761051C20.7891 1.7758 24.896 5.9272 25.4094 7.933C25.9227 9.9389 26.431 15.5145 25.4094 18.0804C24.3877 20.6463 20.7213 24.2154 18.1884 25.2352C15.6556 26.2549 10.777 26.2549 7.9891 25.2352Z\"\n fill=\"url(#paint0_linear)\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear\"\n x1=\"13.9013\"\n y1=\"26\"\n x2=\"13.9013\"\n y2=\"0\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n </defs>\n </svg>\n </div>\n</div>\n", styles: [".spinner-wrap{position:relative;width:auto;height:auto}.spinner-circle{display:flex;align-items:center;justify-content:center;width:60px;height:60px;margin:auto}.spinner-circle .spinner-circle-border{position:absolute;width:60px;height:60px;animation:spin .75s linear infinite}.spinner-circle .spinner-circle-border .path{stroke:#0079d6;stroke-linecap:round;animation:dash 1s ease-in-out infinite}.spinner-circle .spinner-circle-border .spinner-circle-border-mask{background-color:var(--color-mono-0)}.spinner-circle .rotate{animation:spin2 .75s linear infinite}.spinner-circle .rotate .path{stroke:#00b8ff}.spinner-circle .spinner-circle-diamond{animation:zoom .5s ease-in-out infinite alternate}@keyframes spin2{0%{transform:rotate(180deg)}to{transform:rotate(179deg)}}@keyframes zoom{0%{transform:scale(1.2)}to{transform:scale(.75)}}@keyframes spin{0%{transform:rotate(360deg)}to{transform:rotate(359deg)}}@keyframes dash{0%{stroke-dasharray:0,150;stroke-dashoffset:0}50%{stroke-dasharray:50,150;stroke-dashoffset:-35}to{stroke-dasharray:50,150;stroke-dashoffset:-124}}\n"] }]
|
|
10
10
|
}] });
|
|
@@ -3,11 +3,11 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { SpinnerComponent } from './spinner.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class SpinnerModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: SpinnerModule, declarations: [SpinnerComponent], imports: [CommonModule], exports: [SpinnerComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SpinnerModule, imports: [CommonModule] }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SpinnerModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [SpinnerComponent],
|
|
@@ -12,10 +12,10 @@ export class StepperStepComponent {
|
|
|
12
12
|
this.prevClicked = new EventEmitter();
|
|
13
13
|
this.completeClicked = new EventEmitter();
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: StepperStepComponent, selector: "aeb-stepper-step", inputs: { title: "title", isValid: "isValid", isActive: "isActive", isCompleted: "isCompleted", showPrev: "showPrev", showNext: "showNext" }, outputs: { nextClicked: "nextClicked", prevClicked: "prevClicked", completeClicked: "completeClicked" }, ngImport: i0, template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'aeb-stepper-step', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
21
21
|
}], propDecorators: { title: [{
|
|
@@ -66,10 +66,10 @@ export class StepperComponent {
|
|
|
66
66
|
this.activeStep.isCompleted = true;
|
|
67
67
|
this.goToNextStep();
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
70
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: StepperComponent, selector: "aeb-stepper", inputs: { isDisabled: "isDisabled" }, outputs: { stepChanged: "stepChanged" }, queries: [{ propertyName: "stepperSteps", predicate: StepperStepComponent }], ngImport: i0, template: "<div class=\"stepper\">\n <div class=\"stepper-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"stepper-step\"\n [ngStyle]=\"{ width: 100 / steps.length + '%' }\"\n [ngClass]=\"{\n active: step.isActive,\n completed: step.isCompleted,\n disabled: isDisabled\n }\"\n >\n <div class=\"stepper-step-index\">\n <div *ngIf=\"step.isCompleted; else showIndex\">\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=\"M25.4674 5.47186C26.1505 6.12666 26.1805 7.21877 25.5345 7.91115L11.9594 22.4601C11.3279 23.1369 10.2805 23.1835 9.59296 22.5654L2.5728 16.2545C1.8694 15.6222 1.80492 14.5316 2.42878 13.8186C3.05264 13.1057 4.1286 13.0403 4.832 13.6726L10.6186 18.8746L23.0608 5.53988C23.7068 4.84751 24.7843 4.81705 25.4674 5.47186Z\"\n fill=\"#FAFAFA\"\n />\n </svg>\n </div>\n <ng-template #showIndex>\n <span class=\"stepper-step-index--prefix\">\u0428\u0430\u0433</span>\n <span> {{ i + 1 }} </span>\n <span class=\"stepper-step-index--postfix\">\u0438\u0437 {{ steps.length }}</span>\n </ng-template>\n </div>\n <div\n class=\"stepper-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"stepper-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"stepper-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"stepper-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".stepper{-webkit-user-select:none;user-select:none}.stepper-steps{position:relative;display:flex}.stepper-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.stepper-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-blue-500);transition:width,.4s}.stepper-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.stepper-step-index{display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;width:60px;height:60px;margin-bottom:12px;font-size:var(--font-size-lm);font-weight:var(--font-weight-medium);color:var(--white-primary);background-color:var(--lightgray);border-radius:30px}.stepper-step-index>div{display:flex}.stepper-step-index>span:first-child+span{display:flex;align-items:center}.stepper-step-index--prefix,.stepper-step-index--postfix{display:none}.stepper-step-title{font-size:var(--font-size-s);font-style:normal;font-weight:var(--font-weight-regular);line-height:20px;color:var(--gray);text-align:center}.stepper-step-title.disabled{color:var(--lightgray)}.stepper-step.active .stepper-step-index{background-color:var(--color-blue-500)}.stepper-step.active .stepper-step-title{color:var(--color-blue-500)}.stepper-step.completed .stepper-step-index{background-color:var(--color-blue-500)}.stepper-step.disabled .stepper-step-index{background-color:var(--lightgray)}.stepper-step.disabled .stepper-step-title{color:var(--lightgray)}@media (max-width: 767px){.stepper-steps{height:78px}.stepper-steps-line{top:unset;bottom:0;width:100%;background-color:var(--color-mono-100);border-radius:3px}.stepper-steps-line-active{border-radius:3px}.stepper-step{display:none;width:auto!important}.stepper-step-index{width:auto;height:auto;margin-bottom:0;font-size:var(--font-size-s);font-weight:var(--font-weight-regular);line-height:22.4px;color:var(--color-blue-500);background-color:unset}.stepper-step-index--prefix,.stepper-step-index--postfix,.stepper-step-index>span:first-child+span{display:inline}.stepper-step-title{display:none}.stepper-step.active{display:block}.stepper-step.active .stepper-step-index{display:block;background-color:unset}.stepper-step.active .stepper-step-title{display:block;margin-top:8px;font-weight:var(--font-weight-medium);color:var(--color-mono-900);text-align:left}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{ selector: 'aeb-stepper', encapsulation: ViewEncapsulation.None, template: "<div class=\"stepper\">\n <div class=\"stepper-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"stepper-step\"\n [ngStyle]=\"{ width: 100 / steps.length + '%' }\"\n [ngClass]=\"{\n active: step.isActive,\n completed: step.isCompleted,\n disabled: isDisabled\n }\"\n >\n <div class=\"stepper-step-index\">\n <div *ngIf=\"step.isCompleted; else showIndex\">\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=\"M25.4674 5.47186C26.1505 6.12666 26.1805 7.21877 25.5345 7.91115L11.9594 22.4601C11.3279 23.1369 10.2805 23.1835 9.59296 22.5654L2.5728 16.2545C1.8694 15.6222 1.80492 14.5316 2.42878 13.8186C3.05264 13.1057 4.1286 13.0403 4.832 13.6726L10.6186 18.8746L23.0608 5.53988C23.7068 4.84751 24.7843 4.81705 25.4674 5.47186Z\"\n fill=\"#FAFAFA\"\n />\n </svg>\n </div>\n <ng-template #showIndex>\n <span class=\"stepper-step-index--prefix\">\u0428\u0430\u0433</span>\n <span> {{ i + 1 }} </span>\n <span class=\"stepper-step-index--postfix\">\u0438\u0437 {{ steps.length }}</span>\n </ng-template>\n </div>\n <div\n class=\"stepper-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"stepper-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"stepper-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"stepper-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".stepper{-webkit-user-select:none;user-select:none}.stepper-steps{position:relative;display:flex}.stepper-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.stepper-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-blue-500);transition:width,.4s}.stepper-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.stepper-step-index{display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;width:60px;height:60px;margin-bottom:12px;font-size:var(--font-size-lm);font-weight:var(--font-weight-medium);color:var(--white-primary);background-color:var(--lightgray);border-radius:30px}.stepper-step-index>div{display:flex}.stepper-step-index>span:first-child+span{display:flex;align-items:center}.stepper-step-index--prefix,.stepper-step-index--postfix{display:none}.stepper-step-title{font-size:var(--font-size-s);font-style:normal;font-weight:var(--font-weight-regular);line-height:20px;color:var(--gray);text-align:center}.stepper-step-title.disabled{color:var(--lightgray)}.stepper-step.active .stepper-step-index{background-color:var(--color-blue-500)}.stepper-step.active .stepper-step-title{color:var(--color-blue-500)}.stepper-step.completed .stepper-step-index{background-color:var(--color-blue-500)}.stepper-step.disabled .stepper-step-index{background-color:var(--lightgray)}.stepper-step.disabled .stepper-step-title{color:var(--lightgray)}@media (max-width: 767px){.stepper-steps{height:78px}.stepper-steps-line{top:unset;bottom:0;width:100%;background-color:var(--color-mono-100);border-radius:3px}.stepper-steps-line-active{border-radius:3px}.stepper-step{display:none;width:auto!important}.stepper-step-index{width:auto;height:auto;margin-bottom:0;font-size:var(--font-size-s);font-weight:var(--font-weight-regular);line-height:22.4px;color:var(--color-blue-500);background-color:unset}.stepper-step-index--prefix,.stepper-step-index--postfix,.stepper-step-index>span:first-child+span{display:inline}.stepper-step-title{display:none}.stepper-step.active{display:block}.stepper-step.active .stepper-step-index{display:block;background-color:unset}.stepper-step.active .stepper-step-title{display:block;margin-top:8px;font-weight:var(--font-weight-medium);color:var(--color-mono-900);text-align:left}}\n"] }]
|
|
75
75
|
}], propDecorators: { stepperSteps: [{
|
|
@@ -4,11 +4,11 @@ import { StepperComponent } from './stepper.component';
|
|
|
4
4
|
import { StepperStepComponent } from './stepper-step.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class StepperModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, declarations: [StepperComponent, StepperStepComponent], imports: [CommonModule], exports: [StepperComponent, StepperStepComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, imports: [CommonModule] }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StepperModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
declarations: [StepperComponent, StepperStepComponent],
|
|
@@ -13,10 +13,10 @@ export class TableComponent {
|
|
|
13
13
|
};
|
|
14
14
|
this.action.emit(userAction);
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: TableComponent, selector: "aeb-table", inputs: { tableConfig: "tableConfig", tableContent: "tableContent" }, outputs: { action: "action" }, ngImport: i0, template: "<table class=\"table\">\n <thead>\n <tr>\n <th\n *ngFor=\"let columnHead of tableConfig.columns\"\n align=\"{{ columnHead.align || 'left' }}\"\n class=\"table-title\"\n >\n {{ columnHead.title }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let columnData of tableContent\">\n <td\n *ngFor=\"let columnHead of tableConfig.columns\"\n align=\"{{ columnHead.align || 'left' }}\"\n >\n <div [ngSwitch]=\"columnHead.dataField\">\n <div *ngSwitchCase=\"'ROW_ACTION'\">\n <div class=\"table-action\">\n <div *ngFor=\"let action of tableConfig.rowActions\">\n <img\n src=\"{{ action.logoImageUrl }}\"\n (click)=\"\n onRowActionClicked(action.actionToPerform, columnData.id)\n \"\n />\n </div>\n </div>\n </div>\n\n <div *ngSwitchCase=\"'STATUS'\">\n <div [ngSwitch]=\"columnData[columnHead.dataProperty]\">\n <ng-container\n *ngFor=\"let status of tableConfig.status; let i = index\"\n >\n <div\n (click)=\"\n onRowActionClicked(\n columnHead.action || 'SHOW',\n columnData.id\n )\n \"\n class=\"table-status\"\n [style.color]=\"status.color\"\n *ngSwitchCase=\"i\"\n >\n <img src=\"{{ status.iconUrl }}\" />\n <span>{{ status.label }}</span>\n </div>\n </ng-container>\n </div>\n </div>\n <div\n *ngSwitchDefault\n (click)=\"\n onRowActionClicked(columnHead.action || 'SHOW', columnData.id)\n \"\n [innerHTML]=\"\n columnData[columnHead.dataProperty]\n | formatTable\n : columnHead.format?.type\n : columnHead.format?.placeholder\n : columnHead.format?.local\n \"\n ></div>\n </div>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".table{width:100%}.table-title{padding:16px 0;font-size:var(--font-size-xs);font-style:normal;font-weight:var(--font-weight-regular);line-height:16px;color:var(--primary-gray)}.table tr td{padding:16px 0;font-size:var(--font-size-s);font-style:normal;font-weight:var(--font-weight-regular);line-height:20px;color:var(--primary-dark);cursor:pointer;border-top:1px solid var(--secondary-light-gray)}.table tr:last-child td{border-bottom:1px solid var(--secondary-light-gray)}.table-price{font-size:var(--font-size-s);font-weight:700;line-height:20px}.table-status{display:inline-flex}.table-status>span{margin-left:1rem}.table .table-action{display:flex;justify-content:flex-end}.table .table-action>div{padding:5px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: i2.FormatTablePipe, name: "formatTable" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TableComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'aeb-table', encapsulation: ViewEncapsulation.None, template: "<table class=\"table\">\n <thead>\n <tr>\n <th\n *ngFor=\"let columnHead of tableConfig.columns\"\n align=\"{{ columnHead.align || 'left' }}\"\n class=\"table-title\"\n >\n {{ columnHead.title }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let columnData of tableContent\">\n <td\n *ngFor=\"let columnHead of tableConfig.columns\"\n align=\"{{ columnHead.align || 'left' }}\"\n >\n <div [ngSwitch]=\"columnHead.dataField\">\n <div *ngSwitchCase=\"'ROW_ACTION'\">\n <div class=\"table-action\">\n <div *ngFor=\"let action of tableConfig.rowActions\">\n <img\n src=\"{{ action.logoImageUrl }}\"\n (click)=\"\n onRowActionClicked(action.actionToPerform, columnData.id)\n \"\n />\n </div>\n </div>\n </div>\n\n <div *ngSwitchCase=\"'STATUS'\">\n <div [ngSwitch]=\"columnData[columnHead.dataProperty]\">\n <ng-container\n *ngFor=\"let status of tableConfig.status; let i = index\"\n >\n <div\n (click)=\"\n onRowActionClicked(\n columnHead.action || 'SHOW',\n columnData.id\n )\n \"\n class=\"table-status\"\n [style.color]=\"status.color\"\n *ngSwitchCase=\"i\"\n >\n <img src=\"{{ status.iconUrl }}\" />\n <span>{{ status.label }}</span>\n </div>\n </ng-container>\n </div>\n </div>\n <div\n *ngSwitchDefault\n (click)=\"\n onRowActionClicked(columnHead.action || 'SHOW', columnData.id)\n \"\n [innerHTML]=\"\n columnData[columnHead.dataProperty]\n | formatTable\n : columnHead.format?.type\n : columnHead.format?.placeholder\n : columnHead.format?.local\n \"\n ></div>\n </div>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".table{width:100%}.table-title{padding:16px 0;font-size:var(--font-size-xs);font-style:normal;font-weight:var(--font-weight-regular);line-height:16px;color:var(--primary-gray)}.table tr td{padding:16px 0;font-size:var(--font-size-s);font-style:normal;font-weight:var(--font-weight-regular);line-height:20px;color:var(--primary-dark);cursor:pointer;border-top:1px solid var(--secondary-light-gray)}.table tr:last-child td{border-bottom:1px solid var(--secondary-light-gray)}.table-price{font-size:var(--font-size-s);font-weight:700;line-height:20px}.table-status{display:inline-flex}.table-status>span{margin-left:1rem}.table .table-action{display:flex;justify-content:flex-end}.table .table-action>div{padding:5px}\n"] }]
|
|
22
22
|
}], propDecorators: { tableConfig: [{
|
|
@@ -4,11 +4,11 @@ import { TableComponent } from './table.component';
|
|
|
4
4
|
import { FormatTablePipe } from './table.pipe';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class TableModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: TableModule, declarations: [TableComponent, FormatTablePipe], imports: [CommonModule], exports: [TableComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TableModule, imports: [CommonModule] }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TableModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
declarations: [TableComponent, FormatTablePipe],
|
|
@@ -12,10 +12,10 @@ export class FormatTablePipe {
|
|
|
12
12
|
}
|
|
13
13
|
return value;
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: FormatTablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: FormatTablePipe, name: "formatTable" }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: FormatTablePipe, decorators: [{
|
|
19
19
|
type: Pipe,
|
|
20
20
|
args: [{ name: 'formatTable' }]
|
|
21
21
|
}] });
|
|
@@ -4,10 +4,10 @@ export class TabDirective {
|
|
|
4
4
|
constructor(template) {
|
|
5
5
|
this.template = template;
|
|
6
6
|
}
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: TabDirective, selector: "[aebTab]", inputs: { name: ["aebTab", "name"] }, ngImport: i0 }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[aebTab]'
|
|
@@ -41,10 +41,10 @@ export class TabsComponent {
|
|
|
41
41
|
this.currentTab = this.tabs.toArray()[tab];
|
|
42
42
|
this.moveThumb(this.templateTabs.toArray()[tab].nativeElement);
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: TabsComponent, selector: "aeb-tabs", inputs: { compactMode: "compactMode", collapsed: "collapsed", tab: "tab" }, outputs: { tabChange: "tabChange" }, host: { listeners: { "window:resize": "redrawThumb()" } }, queries: [{ propertyName: "tabs", predicate: TabDirective }], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "templateTabs", predicate: ["rtab"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': compactMode\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{ tab.name }}\n </div>\n </ng-container>\n </div>\n\n <div class=\"aeb-tabs__thumb\" #thumb></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\"> </ng-template>\n</ng-container>\n", styles: [".aeb-tabs{position:relative;width:100%;padding-bottom:2px;margin-bottom:25px;color:var(--color-mono-900);border-bottom:1px solid var(--lightgray)}.aeb-tabs__wrapper{display:flex;width:100%}.aeb-tabs__tab{box-sizing:border-box;padding-bottom:25px;margin-right:50px;cursor:pointer}.aeb-tabs__thumb{position:absolute;left:0;width:0;border-bottom:2px solid var(--color-blue-500);transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{padding-bottom:0;margin-right:32px;margin-bottom:8px}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:var(--font-weight-medium)}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--color-blue-500)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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 }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabsComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ selector: 'aeb-tabs', encapsulation: ViewEncapsulation.None, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': compactMode\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{ tab.name }}\n </div>\n </ng-container>\n </div>\n\n <div class=\"aeb-tabs__thumb\" #thumb></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\"> </ng-template>\n</ng-container>\n", styles: [".aeb-tabs{position:relative;width:100%;padding-bottom:2px;margin-bottom:25px;color:var(--color-mono-900);border-bottom:1px solid var(--lightgray)}.aeb-tabs__wrapper{display:flex;width:100%}.aeb-tabs__tab{box-sizing:border-box;padding-bottom:25px;margin-right:50px;cursor:pointer}.aeb-tabs__thumb{position:absolute;left:0;width:0;border-bottom:2px solid var(--color-blue-500);transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{padding-bottom:0;margin-right:32px;margin-bottom:8px}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:var(--font-weight-medium)}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--color-blue-500)}\n"] }]
|
|
50
50
|
}], ctorParameters: () => [], propDecorators: { tabs: [{
|
|
@@ -4,11 +4,11 @@ import { TabDirective } from './tab.directive';
|
|
|
4
4
|
import { TabsComponent } from './tabs.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class TabsModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: TabsModule, declarations: [TabsComponent, TabDirective], imports: [CommonModule], exports: [TabsComponent, TabDirective] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabsModule, imports: [CommonModule] }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TabsModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
declarations: [TabsComponent, TabDirective],
|
|
@@ -6,10 +6,10 @@ export class TagTabComponent {
|
|
|
6
6
|
this.isActive = false;
|
|
7
7
|
this.label = '';
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TagTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: TagTabComponent, selector: "aeb-tag-tab", inputs: { isActive: "isActive", label: "label" }, ngImport: i0, template: "<div class=\"tag\" [ngClass]=\"{ 'tag--active' : isActive }\">{{ label }}</div>", styles: [".tag{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:space-around;height:48px;padding:14px 24px;margin-right:16px;font-size:var(--font-size-s);line-height:20px;color:var(--color-blue-500);vertical-align:baseline;cursor:pointer;background:var(--white);border:var(--border-skinny) solid var(--color-blue-500);border-radius:64px}.tag--active{color:var(--color-mono-0);background:var(--color-blue-500)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TagTabComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'aeb-tag-tab', encapsulation: ViewEncapsulation.None, template: "<div class=\"tag\" [ngClass]=\"{ 'tag--active' : isActive }\">{{ label }}</div>", styles: [".tag{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:space-around;height:48px;padding:14px 24px;margin-right:16px;font-size:var(--font-size-s);line-height:20px;color:var(--color-blue-500);vertical-align:baseline;cursor:pointer;background:var(--white);border:var(--border-skinny) solid var(--color-blue-500);border-radius:64px}.tag--active{color:var(--color-mono-0);background:var(--color-blue-500)}\n"] }]
|
|
15
15
|
}], propDecorators: { isActive: [{
|