aeb-ui-kit 2.0.2-mr.437-devops-update-ci → 2.0.2-mr.438-devops-update-ci
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/esm2020/lib/accordion/accordion.component.mjs +2 -2
- package/esm2020/lib/action-bar/action-bar.component.mjs +2 -2
- package/esm2020/lib/checkbox/checkbox-group/checkbox-group.component.mjs +2 -2
- package/esm2020/lib/checkbox/checkbox.component.mjs +2 -2
- package/esm2020/lib/code-input/code-input.component.mjs +2 -2
- package/esm2020/lib/comment/comment.component.mjs +2 -2
- package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +2 -2
- package/esm2020/lib/datepicker/datepicker-core/datepicker-core.component.mjs +2 -2
- package/esm2020/lib/datepicker/datepicker-month/datepicker-month.component.mjs +2 -2
- package/esm2020/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +2 -2
- package/esm2020/lib/datepicker/datepicker.component.mjs +2 -2
- package/esm2020/lib/dropdown/dropdown.component.mjs +2 -2
- package/esm2020/lib/field-slider/field-slider.component.mjs +2 -2
- package/esm2020/lib/file-attach/file-attach.component.mjs +2 -2
- package/esm2020/lib/filter-tags/filter-tag/filter-tag.component.mjs +2 -2
- package/esm2020/lib/footer/footer-bottom/footer-bottom.component.mjs +2 -2
- package/esm2020/lib/footer/footer-menu/footer-menu.component.mjs +2 -2
- package/esm2020/lib/footer/footer-top/footer-top.component.mjs +2 -2
- package/esm2020/lib/footer/footer.component.mjs +2 -2
- package/esm2020/lib/form-field/form-field.component.mjs +2 -2
- package/esm2020/lib/header/header.component.mjs +2 -2
- package/esm2020/lib/header/logo.component.mjs +2 -2
- package/esm2020/lib/heading/breadcrumps/breadcrumps.component.mjs +2 -2
- package/esm2020/lib/heading/product-title/product-title.component.mjs +2 -2
- package/esm2020/lib/label/label.component.mjs +2 -2
- package/esm2020/lib/modal/modal.component.mjs +2 -2
- package/esm2020/lib/new-button/new-button.component.mjs +2 -2
- package/esm2020/lib/news-card/news-card.component.mjs +2 -2
- package/esm2020/lib/notifications/notification/notification.component.mjs +2 -2
- package/esm2020/lib/notifications/notifications.component.mjs +2 -2
- package/esm2020/lib/pagination/pagination.component.mjs +2 -2
- package/esm2020/lib/pagination-old/pagination-old.component.mjs +2 -2
- package/esm2020/lib/pop-up/pop-up.component.mjs +2 -2
- package/esm2020/lib/radio-buttons/radio-buttons.component.mjs +2 -2
- package/esm2020/lib/search/search.component.mjs +2 -2
- package/esm2020/lib/select/select.component.mjs +2 -2
- package/esm2020/lib/sidebar/sidebar.component.mjs +2 -2
- package/esm2020/lib/slider/slider.component.mjs +2 -2
- package/esm2020/lib/spinner/spinner.component.mjs +2 -2
- package/esm2020/lib/table/table.component.mjs +2 -2
- package/esm2020/lib/tabs/tabs.component.mjs +2 -2
- package/esm2020/lib/tag-tab/tag-tab.component.mjs +2 -2
- package/esm2020/lib/tooltip/tooltip.component.mjs +2 -2
- package/esm2020/lib/visa/visa.component.mjs +2 -2
- package/esm2020/lib/wizard/wizard.component.mjs +2 -2
- package/fesm2015/aeb-ui-kit.mjs +90 -90
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +90 -90
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.css +7 -8
|
@@ -22,10 +22,10 @@ export class AccordionComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AccordionComponent, selector: "aeb-accordion", inputs: { header: "header" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }], ngImport: i0, template: "<div\n class=\"aeb-accordion\"\n [ngClass]=\"{'aeb-accordion--open': isOpen}\"\n>\n <div\n class=\"aeb-accordion__header\"\n [ngClass]=\"{'aeb-accordion__header--open': isOpen}\"\n (click)=\"openHandler()\"\n >\n <span class=\"aeb-accordion__heading\">\n {{header}}\n </span>\n <div\n class=\"aeb-accordion__arrow-icon\"\n [ngClass]=\"{'aeb-accordion__arrow-icon--open': isOpen}\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-accordion__content\"\n #content\n >\n <ng-content></ng-content>\n <div class=\"aeb-accordion__stub-padding\">\n </div>\n </div>\n</div>", styles: [".aeb-accordion{
|
|
25
|
+
AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AccordionComponent, selector: "aeb-accordion", inputs: { header: "header" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }], ngImport: i0, template: "<div\n class=\"aeb-accordion\"\n [ngClass]=\"{'aeb-accordion--open': isOpen}\"\n>\n <div\n class=\"aeb-accordion__header\"\n [ngClass]=\"{'aeb-accordion__header--open': isOpen}\"\n (click)=\"openHandler()\"\n >\n <span class=\"aeb-accordion__heading\">\n {{header}}\n </span>\n <div\n class=\"aeb-accordion__arrow-icon\"\n [ngClass]=\"{'aeb-accordion__arrow-icon--open': isOpen}\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-accordion__content\"\n #content\n >\n <ng-content></ng-content>\n <div class=\"aeb-accordion__stub-padding\">\n </div>\n </div>\n</div>", styles: [".aeb-accordion{box-sizing:border-box;width:100%;color:var(--darkblue);cursor:pointer;background-color:var(--web-white);border-radius:10px;transition:background-color,.2s}.aeb-accordion--open{background-color:#d5e8fc}.aeb-accordion__header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px}.aeb-accordion__header--open{color:#2f88f0}.aeb-accordion__arrow-icon{display:flex;align-items:center;transition:transform,.2s}.aeb-accordion__arrow-icon--open{transform:rotate(180deg)}.aeb-accordion__arrow-icon--open path{stroke:#2f88f0}.aeb-accordion__content{position:relative;bottom:8px;box-sizing:border-box;padding:0 25px;overflow:hidden;cursor:auto;border-radius:0 0 10px 10px;transition:height .2s}.aeb-accordion__stub-padding{height:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'aeb-accordion', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-accordion\"\n [ngClass]=\"{'aeb-accordion--open': isOpen}\"\n>\n <div\n class=\"aeb-accordion__header\"\n [ngClass]=\"{'aeb-accordion__header--open': isOpen}\"\n (click)=\"openHandler()\"\n >\n <span class=\"aeb-accordion__heading\">\n {{header}}\n </span>\n <div\n class=\"aeb-accordion__arrow-icon\"\n [ngClass]=\"{'aeb-accordion__arrow-icon--open': isOpen}\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-accordion__content\"\n #content\n >\n <ng-content></ng-content>\n <div class=\"aeb-accordion__stub-padding\">\n </div>\n </div>\n</div>", styles: [".aeb-accordion{
|
|
28
|
+
args: [{ selector: 'aeb-accordion', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-accordion\"\n [ngClass]=\"{'aeb-accordion--open': isOpen}\"\n>\n <div\n class=\"aeb-accordion__header\"\n [ngClass]=\"{'aeb-accordion__header--open': isOpen}\"\n (click)=\"openHandler()\"\n >\n <span class=\"aeb-accordion__heading\">\n {{header}}\n </span>\n <div\n class=\"aeb-accordion__arrow-icon\"\n [ngClass]=\"{'aeb-accordion__arrow-icon--open': isOpen}\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-accordion__content\"\n #content\n >\n <ng-content></ng-content>\n <div class=\"aeb-accordion__stub-padding\">\n </div>\n </div>\n</div>", styles: [".aeb-accordion{box-sizing:border-box;width:100%;color:var(--darkblue);cursor:pointer;background-color:var(--web-white);border-radius:10px;transition:background-color,.2s}.aeb-accordion--open{background-color:#d5e8fc}.aeb-accordion__header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px}.aeb-accordion__header--open{color:#2f88f0}.aeb-accordion__arrow-icon{display:flex;align-items:center;transition:transform,.2s}.aeb-accordion__arrow-icon--open{transform:rotate(180deg)}.aeb-accordion__arrow-icon--open path{stroke:#2f88f0}.aeb-accordion__content{position:relative;bottom:8px;box-sizing:border-box;padding:0 25px;overflow:hidden;cursor:auto;border-radius:0 0 10px 10px;transition:height .2s}.aeb-accordion__stub-padding{height:10px}\n"] }]
|
|
29
29
|
}], propDecorators: { header: [{
|
|
30
30
|
type: Input,
|
|
31
31
|
args: ['header']
|
|
@@ -4,10 +4,10 @@ import * as i1 from "@angular/common";
|
|
|
4
4
|
export class ActionBarComponent {
|
|
5
5
|
}
|
|
6
6
|
ActionBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ActionBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
ActionBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ActionBarComponent, selector: "aeb-action-bar", inputs: { isOpen: "isOpen", zIndex: "zIndex" }, ngImport: i0, template: "<div\n class=\"aeb-action-bar\"\n [style]=\"'z-index: ' + zIndex\"\n [ngClass]=\"{\n 'aeb-action-bar--open': isOpen\n }\"\n>\n <ng-content></ng-content>\n</div>", styles: [".aeb-action-bar{position:fixed;bottom:-90px;width:100vw;height:90px;background-color:var(--white);transition:position,.2s
|
|
7
|
+
ActionBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ActionBarComponent, selector: "aeb-action-bar", inputs: { isOpen: "isOpen", zIndex: "zIndex" }, ngImport: i0, template: "<div\n class=\"aeb-action-bar\"\n [style]=\"'z-index: ' + zIndex\"\n [ngClass]=\"{\n 'aeb-action-bar--open': isOpen\n }\"\n>\n <ng-content></ng-content>\n</div>", styles: [".aeb-action-bar{position:fixed;bottom:-90px;z-index:1000;width:100vw;height:90px;background-color:var(--white);transition:position,.2s}.aeb-action-bar--open{bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ActionBarComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
|
-
args: [{ selector: 'aeb-action-bar', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-action-bar\"\n [style]=\"'z-index: ' + zIndex\"\n [ngClass]=\"{\n 'aeb-action-bar--open': isOpen\n }\"\n>\n <ng-content></ng-content>\n</div>", styles: [".aeb-action-bar{position:fixed;bottom:-90px;width:100vw;height:90px;background-color:var(--white);transition:position,.2s
|
|
10
|
+
args: [{ selector: 'aeb-action-bar', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-action-bar\"\n [style]=\"'z-index: ' + zIndex\"\n [ngClass]=\"{\n 'aeb-action-bar--open': isOpen\n }\"\n>\n <ng-content></ng-content>\n</div>", styles: [".aeb-action-bar{position:fixed;bottom:-90px;z-index:1000;width:100vw;height:90px;background-color:var(--white);transition:position,.2s}.aeb-action-bar--open{bottom:0}\n"] }]
|
|
11
11
|
}], propDecorators: { isOpen: [{
|
|
12
12
|
type: Input,
|
|
13
13
|
args: ['isOpen']
|
|
@@ -24,10 +24,10 @@ export class CheckboxGroupComponent {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
CheckboxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
-
CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: { checkboxGroup: "checkboxGroup" }, ngImport: i0, template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"form\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxGroup\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [value]=\"data.value\"\n [isDisabled]=\"data.disabled\"\n [required]=\"data.required\"\n [checked]=\"data.checked\"\n [hasError]=\"data.hasError || form.controls[data.name].invalid\"\n (change)=\"data.onChange($event)\"\n (change)=\"checkboxValueChanged(data.name)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{font-size:16px;color:var(--gray-primary)
|
|
27
|
+
CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: { checkboxGroup: "checkboxGroup" }, ngImport: i0, template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"form\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxGroup\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [value]=\"data.value\"\n [isDisabled]=\"data.disabled\"\n [required]=\"data.required\"\n [checked]=\"data.checked\"\n [hasError]=\"data.hasError || form.controls[data.name].invalid\"\n (change)=\"data.onChange($event)\"\n (change)=\"checkboxValueChanged(data.name)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{margin-bottom:16px;font-size:16px;color:var(--gray-primary)}.aeb-checkbox-layout{margin-bottom:16px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.CheckboxComponent, selector: "aeb-checkbox", inputs: ["id", "hasError", "name", "value", "isDisabled", "checked", "required"], outputs: ["change"] }] });
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
|
-
args: [{ selector: 'aeb-checkbox-group', template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"form\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxGroup\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [value]=\"data.value\"\n [isDisabled]=\"data.disabled\"\n [required]=\"data.required\"\n [checked]=\"data.checked\"\n [hasError]=\"data.hasError || form.controls[data.name].invalid\"\n (change)=\"data.onChange($event)\"\n (change)=\"checkboxValueChanged(data.name)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{font-size:16px;color:var(--gray-primary)
|
|
30
|
+
args: [{ selector: 'aeb-checkbox-group', template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"form\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxGroup\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [value]=\"data.value\"\n [isDisabled]=\"data.disabled\"\n [required]=\"data.required\"\n [checked]=\"data.checked\"\n [hasError]=\"data.hasError || form.controls[data.name].invalid\"\n (change)=\"data.onChange($event)\"\n (change)=\"checkboxValueChanged(data.name)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{margin-bottom:16px;font-size:16px;color:var(--gray-primary)}.aeb-checkbox-layout{margin-bottom:16px}\n"] }]
|
|
31
31
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }]; }, propDecorators: { checkboxGroup: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}] } });
|
|
@@ -85,7 +85,7 @@ CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
85
85
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
86
86
|
multi: true
|
|
87
87
|
}
|
|
88
|
-
], ngImport: i0, template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"checked\"\n [value]=\"value\"\n [disabled]=\"isDisabled\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;-webkit-user-select:none;user-select:none
|
|
88
|
+
], ngImport: i0, template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"checked\"\n [value]=\"value\"\n [disabled]=\"isDisabled\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{ selector: 'aeb-checkbox', host: {
|
|
@@ -96,7 +96,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
96
96
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
97
97
|
multi: true
|
|
98
98
|
}
|
|
99
|
-
], template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"checked\"\n [value]=\"value\"\n [disabled]=\"isDisabled\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;-webkit-user-select:none;user-select:none
|
|
99
|
+
], template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"checked\"\n [value]=\"value\"\n [disabled]=\"isDisabled\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"] }]
|
|
100
100
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
|
|
101
101
|
type: Input
|
|
102
102
|
}], hasError: [{
|
|
@@ -103,10 +103,10 @@ export class CodeInputComponent {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
CodeInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
-
CodeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CodeInputComponent, selector: "aeb-code-input", inputs: { title: "title", secondsUntilRetry: "secondsUntilRetry", tip: "tip" }, outputs: { codeSet: "codeSet", timeOut: "timeOut", resendClick: "resendClick" }, ngImport: i0, template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\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 class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;
|
|
106
|
+
CodeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CodeInputComponent, selector: "aeb-code-input", inputs: { title: "title", secondsUntilRetry: "secondsUntilRetry", tip: "tip" }, outputs: { codeSet: "codeSet", timeOut: "timeOut", resendClick: "resendClick" }, ngImport: i0, template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\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 class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\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: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
107
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
|
-
args: [{ selector: 'aeb-code-input', template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\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 class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;
|
|
109
|
+
args: [{ selector: 'aeb-code-input', template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\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 class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\n"] }]
|
|
110
110
|
}], propDecorators: { title: [{
|
|
111
111
|
type: Input
|
|
112
112
|
}], secondsUntilRetry: [{
|
|
@@ -56,10 +56,10 @@ export class CommentComponent {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
CommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
-
CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CommentComponent, selector: "aeb-comment", inputs: { comment: "comment" }, outputs: { response: "response" }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], ngImport: i0, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img [src]=\"comment.avatar\" *ngIf=\"comment.avatar; else nameTemplate\" />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-new-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-new-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{width:100%;display:flex;color:var(--darkblue)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{width:40px;height:40px;background-color:var(--blue);border-radius:50%;display:flex;justify-content:center;align-items:center}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{color:var(--white);position:relative;bottom:1px}.aeb-comment__author-group{font-size:20px;font-weight:500;margin-bottom:4px;display:flex;align-items:center}.aeb-comment__reply-icon{margin-left:32px;position:relative;bottom:4px}.aeb-comment__reply-host{color:var(--gray-primary);font-size:12px;margin-left:8px}.aeb-comment__author-name{font-size:16px;color:var(--gray-primary);display:flex;align-items:center}.aeb-comment__author-info{margin-left:12px;position:relative;top:3px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{background:var(--web-white);border-radius:8px;padding:16px;width:100%;box-sizing:border-box}.aeb-comment__comment-header{font-size:20px;font-weight:500;color:var(--darkblue);margin-bottom:10px}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{color:var(--gray-primary);font-size:14px;margin-right:30px}.aeb-comment__comment-response{color:var(--blue);font-size:14px;cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;margin-bottom:28px;align-items:center;cursor:pointer}.aeb-comment__responses{font-size:14px;color:var(--darkblue);margin-right:15px}.aeb-comment__response-counter{font-size:14px;color:var(--gray-primary);margin-right:12px}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{transform:none;bottom:3px;top:unset}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{margin-top:24px;width:100%;display:flex;justify-content:flex-end}.aeb-comment__response-form{margin-bottom:24px}\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: i3.TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "component", type: i4.FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: i5.LabelDirective, selector: "aeb-label" }, { kind: "directive", type: i6.InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: i7.TextareaDirective, selector: "textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i8.NewButtonComponent, selector: "aeb-new-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }, { kind: "component", type: CommentComponent, selector: "aeb-comment", inputs: ["comment"], outputs: ["response"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
59
|
+
CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CommentComponent, selector: "aeb-comment", inputs: { comment: "comment" }, outputs: { response: "response" }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], ngImport: i0, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img [src]=\"comment.avatar\" *ngIf=\"comment.avatar; else nameTemplate\" />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-new-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-new-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--darkblue)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--blue);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--white)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:20px;font-weight:500}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:12px;color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:16px;color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:20px;font-weight:500;color:var(--darkblue)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:14px;color:var(--gray-primary)}.aeb-comment__comment-response{font-size:14px;color:var(--blue);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:14px;color:var(--darkblue)}.aeb-comment__response-counter{margin-right:12px;font-size:14px;color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\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: i3.TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "component", type: i4.FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: i5.LabelDirective, selector: "aeb-label" }, { kind: "directive", type: i6.InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: i7.TextareaDirective, selector: "textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i8.NewButtonComponent, selector: "aeb-new-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }, { kind: "component", type: CommentComponent, selector: "aeb-comment", inputs: ["comment"], outputs: ["response"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
|
-
args: [{ selector: 'aeb-comment', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img [src]=\"comment.avatar\" *ngIf=\"comment.avatar; else nameTemplate\" />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-new-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-new-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{width:100%;
|
|
62
|
+
args: [{ selector: 'aeb-comment', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img [src]=\"comment.avatar\" *ngIf=\"comment.avatar; else nameTemplate\" />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-new-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-new-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--darkblue)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--blue);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--white)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:20px;font-weight:500}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:12px;color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:16px;color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:20px;font-weight:500;color:var(--darkblue)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:14px;color:var(--gray-primary)}.aeb-comment__comment-response{font-size:14px;color:var(--blue);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:14px;color:var(--darkblue)}.aeb-comment__response-counter{margin-right:12px;font-size:14px;color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\n"] }]
|
|
63
63
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }]; }, propDecorators: { comment: [{
|
|
64
64
|
type: Input,
|
|
65
65
|
args: ['comment']
|
|
@@ -9,10 +9,10 @@ export class CreditItemCardComponent {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
CreditItemCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreditItemCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
CreditItemCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CreditItemCardComponent, selector: "aeb-credit-item-card", inputs: { cardInfo: "cardInfo" }, outputs: { buttonClickEvent: "buttonClickEvent", infoClickEvent: "infoClickEvent" }, ngImport: i0, template: "<div class=\"credit-item-card\"\n [style.background-image]=\"'url(' + cardInfo.image + ')'\"\n [style.background-color]=\"cardInfo.backgroundColor\"\n>\n <div class=\"credit-item-card__info-icon\" (click)=\"infoClickEvent.emit()\"></div>\n <div class=\"credit-item-card__title-wrapper\" (click)=\"buttonClickEvent.emit()\">\n <div class=\"credit-item-card__title\">\u00AB{{ cardInfo?.title }}\u00BB</div>\n <div class=\"credit-item-card__title-text\">{{ cardInfo?.caption }}</div>\n </div>\n <div class=\"credit-item-card__details-wrapper\">\n <div class=\"credit-item-card__credit-details\">\n <div *ngIf=\"cardInfo?.details?.time\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.rate\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0442\u0430\u0432\u043A\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">{{ cardInfo?.details?.rate }} %</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.amount\" class=\"credit-item-card__credit-details-item\">\n <div class=\"ccredit-item-card__credit-details-item-title\">\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>\n </div>\n </div>\n </div>\n <div class=\"credit-item-card__button-wrapper\">\n <aeb-new-button\n [label]=\"'\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442'\"\n (click)=\"buttonClickEvent.emit()\"\n ></aeb-new-button>\n </div>\n</div>\n", styles: [".credit-item-card{box-sizing:border-box;
|
|
12
|
+
CreditItemCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CreditItemCardComponent, selector: "aeb-credit-item-card", inputs: { cardInfo: "cardInfo" }, outputs: { buttonClickEvent: "buttonClickEvent", infoClickEvent: "infoClickEvent" }, ngImport: i0, template: "<div class=\"credit-item-card\"\n [style.background-image]=\"'url(' + cardInfo.image + ')'\"\n [style.background-color]=\"cardInfo.backgroundColor\"\n>\n <div class=\"credit-item-card__info-icon\" (click)=\"infoClickEvent.emit()\"></div>\n <div class=\"credit-item-card__title-wrapper\" (click)=\"buttonClickEvent.emit()\">\n <div class=\"credit-item-card__title\">\u00AB{{ cardInfo?.title }}\u00BB</div>\n <div class=\"credit-item-card__title-text\">{{ cardInfo?.caption }}</div>\n </div>\n <div class=\"credit-item-card__details-wrapper\">\n <div class=\"credit-item-card__credit-details\">\n <div *ngIf=\"cardInfo?.details?.time\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.rate\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0442\u0430\u0432\u043A\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">{{ cardInfo?.details?.rate }} %</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.amount\" class=\"credit-item-card__credit-details-item\">\n <div class=\"ccredit-item-card__credit-details-item-title\">\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>\n </div>\n </div>\n </div>\n <div class=\"credit-item-card__button-wrapper\">\n <aeb-new-button\n [label]=\"'\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442'\"\n (click)=\"buttonClickEvent.emit()\"\n ></aeb-new-button>\n </div>\n</div>\n", styles: [".credit-item-card{position:relative;box-sizing:border-box;width:100%;height:359px;padding:32px;color:var(--darkblue);zoom:98%;background-repeat:no-repeat;background-position:right;background-size:contain;border-radius:8px}@media screen and (max-width: 767px){.credit-item-card{zoom:54%}}@media screen and (max-width: 374px){.credit-item-card{zoom:48%}}.credit-item-card__info-icon{position:absolute;right:38px;width:27px;height:27px;cursor:pointer;background:url(\"data:image/svg+xml,%3Csvg width%3D%2248%22 height%3D%2248%22 viewBox%3D%220 0 48 48%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z%22 fill%3D%22white%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3Cpath d%3D%22M24 32V24%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3Cpath d%3D%22M24 16H24.02%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-size:cover}.credit-item-card__title-wrapper{display:inline-flex;flex-direction:column;align-items:flex-start;cursor:pointer}.credit-item-card__title{display:inline-block;font-size:32px;font-weight:500;line-height:42px}.credit-item-card__title-text{display:inline-block;font-size:18px;line-height:42px}.credit-item-card__details-wrapper{width:375px;margin-top:48px}.credit-item-card__button-wrapper{margin-top:16px}.credit-item-card__credit-details{display:flex;justify-content:space-between;width:100%;height:90px}.credit-item-card__credit-details-item{display:flex;flex-direction:column;align-items:flex-start}.credit-item-card__credit-details-item-title{font-size:16px;line-height:20px}.credit-item-card__credit-details-item-separator{width:50px;height:2px;margin-top:16px;background-color:var(--darkblue)}.credit-item-card__credit-details-item-value{font-size:24px;font-weight:500;line-height:52px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NewButtonComponent, selector: "aeb-new-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }] });
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreditItemCardComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
|
-
args: [{ selector: 'aeb-credit-item-card', template: "<div class=\"credit-item-card\"\n [style.background-image]=\"'url(' + cardInfo.image + ')'\"\n [style.background-color]=\"cardInfo.backgroundColor\"\n>\n <div class=\"credit-item-card__info-icon\" (click)=\"infoClickEvent.emit()\"></div>\n <div class=\"credit-item-card__title-wrapper\" (click)=\"buttonClickEvent.emit()\">\n <div class=\"credit-item-card__title\">\u00AB{{ cardInfo?.title }}\u00BB</div>\n <div class=\"credit-item-card__title-text\">{{ cardInfo?.caption }}</div>\n </div>\n <div class=\"credit-item-card__details-wrapper\">\n <div class=\"credit-item-card__credit-details\">\n <div *ngIf=\"cardInfo?.details?.time\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.rate\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0442\u0430\u0432\u043A\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">{{ cardInfo?.details?.rate }} %</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.amount\" class=\"credit-item-card__credit-details-item\">\n <div class=\"ccredit-item-card__credit-details-item-title\">\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>\n </div>\n </div>\n </div>\n <div class=\"credit-item-card__button-wrapper\">\n <aeb-new-button\n [label]=\"'\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442'\"\n (click)=\"buttonClickEvent.emit()\"\n ></aeb-new-button>\n </div>\n</div>\n", styles: [".credit-item-card{box-sizing:border-box;
|
|
15
|
+
args: [{ selector: 'aeb-credit-item-card', template: "<div class=\"credit-item-card\"\n [style.background-image]=\"'url(' + cardInfo.image + ')'\"\n [style.background-color]=\"cardInfo.backgroundColor\"\n>\n <div class=\"credit-item-card__info-icon\" (click)=\"infoClickEvent.emit()\"></div>\n <div class=\"credit-item-card__title-wrapper\" (click)=\"buttonClickEvent.emit()\">\n <div class=\"credit-item-card__title\">\u00AB{{ cardInfo?.title }}\u00BB</div>\n <div class=\"credit-item-card__title-text\">{{ cardInfo?.caption }}</div>\n </div>\n <div class=\"credit-item-card__details-wrapper\">\n <div class=\"credit-item-card__credit-details\">\n <div *ngIf=\"cardInfo?.details?.time\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.rate\" class=\"credit-item-card__credit-details-item\">\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0442\u0430\u0432\u043A\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">{{ cardInfo?.details?.rate }} %</div>\n </div>\n <div *ngIf=\"cardInfo?.details?.amount\" class=\"credit-item-card__credit-details-item\">\n <div class=\"ccredit-item-card__credit-details-item-title\">\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>\n </div>\n </div>\n </div>\n <div class=\"credit-item-card__button-wrapper\">\n <aeb-new-button\n [label]=\"'\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442'\"\n (click)=\"buttonClickEvent.emit()\"\n ></aeb-new-button>\n </div>\n</div>\n", styles: [".credit-item-card{position:relative;box-sizing:border-box;width:100%;height:359px;padding:32px;color:var(--darkblue);zoom:98%;background-repeat:no-repeat;background-position:right;background-size:contain;border-radius:8px}@media screen and (max-width: 767px){.credit-item-card{zoom:54%}}@media screen and (max-width: 374px){.credit-item-card{zoom:48%}}.credit-item-card__info-icon{position:absolute;right:38px;width:27px;height:27px;cursor:pointer;background:url(\"data:image/svg+xml,%3Csvg width%3D%2248%22 height%3D%2248%22 viewBox%3D%220 0 48 48%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z%22 fill%3D%22white%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3Cpath d%3D%22M24 32V24%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3Cpath d%3D%22M24 16H24.02%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-size:cover}.credit-item-card__title-wrapper{display:inline-flex;flex-direction:column;align-items:flex-start;cursor:pointer}.credit-item-card__title{display:inline-block;font-size:32px;font-weight:500;line-height:42px}.credit-item-card__title-text{display:inline-block;font-size:18px;line-height:42px}.credit-item-card__details-wrapper{width:375px;margin-top:48px}.credit-item-card__button-wrapper{margin-top:16px}.credit-item-card__credit-details{display:flex;justify-content:space-between;width:100%;height:90px}.credit-item-card__credit-details-item{display:flex;flex-direction:column;align-items:flex-start}.credit-item-card__credit-details-item-title{font-size:16px;line-height:20px}.credit-item-card__credit-details-item-separator{width:50px;height:2px;margin-top:16px;background-color:var(--darkblue)}.credit-item-card__credit-details-item-value{font-size:24px;font-weight:500;line-height:52px}\n"] }]
|
|
16
16
|
}], propDecorators: { cardInfo: [{
|
|
17
17
|
type: Input
|
|
18
18
|
}], buttonClickEvent: [{
|
|
@@ -115,10 +115,10 @@ export class DatepickerCoreComponent {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
DatepickerCoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatepickerCoreComponent, deps: [{ token: i1.DatepickerUtilsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
-
DatepickerCoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatepickerCoreComponent, selector: "aeb-datepicker-core", inputs: { date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates", minYear: "minYear", maxYear: "maxYear", withBackground: "withBackground", align: "align", withoutDays: "withoutDays" }, outputs: { dateChange: "dateChange", woDaysMonth: "woDaysMonth", woDaysYear: "woDaysYear", woDaysMonthSubInc: "woDaysMonthSubInc" }, providers: [{ provide: LOCALE_ID, useValue: 'ru' }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{-webkit-user-select:none;user-select:none
|
|
118
|
+
DatepickerCoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatepickerCoreComponent, selector: "aeb-datepicker-core", inputs: { date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates", minYear: "minYear", maxYear: "maxYear", withBackground: "withBackground", align: "align", withoutDays: "withoutDays" }, outputs: { dateChange: "dateChange", woDaysMonth: "woDaysMonth", woDaysYear: "woDaysYear", woDaysMonthSubInc: "woDaysMonthSubInc" }, providers: [{ provide: LOCALE_ID, useValue: 'ru' }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{position:fixed;z-index:9999;-webkit-user-select:none;user-select:none}.aeb-datepicker-core--with-background{padding:10px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:10px}.aeb-datepicker-core__calendar{width:100%;min-height:220px}.aeb-datepicker-core__controls{display:flex;align-items:center;justify-content:center;margin-bottom:10px}.aeb-datepicker-core__arrow{cursor:pointer}.aeb-datepicker-core__arrow--right{margin-bottom:10px;transform:rotate(180deg)}.aeb-datepicker-core__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:72px;padding:6px 10px;margin-right:20px;font-size:14px;cursor:pointer;border:2px solid var(--gray-primary);border-radius:4px}.aeb-datepicker-core__btn--month{width:112px;margin-right:10px;margin-left:20px}.aeb-datepicker-core__arrow-icon{position:relative;bottom:2px;box-sizing:border-box}.aeb-datepicker-core__arrow-icon--active{transform:rotate(180deg)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.DatepickerMonthComponent, selector: "aeb-datepicker-month", inputs: ["month", "date", "minDate", "maxDate", "excludedDates"], outputs: ["setDate"] }, { kind: "component", type: i4.DatepickerTilesComponent, selector: "aeb-datepicker-tiles", inputs: ["date", "isMonths", "isYears", "year", "month", "minYear", "maxYear", "minDate", "maxDate", "woDays"], outputs: ["setYear", "setMonth"] }, { kind: "pipe", type: i2.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: i2.DatePipe, name: "date" }], encapsulation: i0.ViewEncapsulation.None });
|
|
119
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatepickerCoreComponent, decorators: [{
|
|
120
120
|
type: Component,
|
|
121
|
-
args: [{ selector: 'aeb-datepicker-core', providers: [{ provide: LOCALE_ID, useValue: 'ru' }], encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{-webkit-user-select:none;user-select:none
|
|
121
|
+
args: [{ selector: 'aeb-datepicker-core', providers: [{ provide: LOCALE_ID, useValue: 'ru' }], encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{position:fixed;z-index:9999;-webkit-user-select:none;user-select:none}.aeb-datepicker-core--with-background{padding:10px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:10px}.aeb-datepicker-core__calendar{width:100%;min-height:220px}.aeb-datepicker-core__controls{display:flex;align-items:center;justify-content:center;margin-bottom:10px}.aeb-datepicker-core__arrow{cursor:pointer}.aeb-datepicker-core__arrow--right{margin-bottom:10px;transform:rotate(180deg)}.aeb-datepicker-core__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:72px;padding:6px 10px;margin-right:20px;font-size:14px;cursor:pointer;border:2px solid var(--gray-primary);border-radius:4px}.aeb-datepicker-core__btn--month{width:112px;margin-right:10px;margin-left:20px}.aeb-datepicker-core__arrow-icon{position:relative;bottom:2px;box-sizing:border-box}.aeb-datepicker-core__arrow-icon--active{transform:rotate(180deg)}\n"] }]
|
|
122
122
|
}], ctorParameters: function () { return [{ type: i1.DatepickerUtilsService }]; }, propDecorators: { date: [{
|
|
123
123
|
type: Input,
|
|
124
124
|
args: ['date']
|
|
@@ -35,10 +35,10 @@ export class DatepickerMonthComponent {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
DatepickerMonthComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatepickerMonthComponent, deps: [{ token: i1.DatepickerUtilsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
DatepickerMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatepickerMonthComponent, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{width:-moz-fit-content;width:fit-content
|
|
38
|
+
DatepickerMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatepickerMonthComponent, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:-moz-fit-content;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:16px;cursor:pointer;border-radius:4px}.aeb-datepicker-month__day:hover{border:1px solid var(--blue)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:none}.aeb-datepicker-month__day--today{border:1px solid var(--gray-primary)}.aeb-datepicker-month__day--picked{color:#fff;background-color:var(--blue);border:none}.aeb-datepicker-month__day--disabled{color:var(--gray-primary);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:none}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:12px;color:var(--gray-primary);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:none}\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: "pipe", type: i3.DateToStrPipe, name: "dateToStr" }], encapsulation: i0.ViewEncapsulation.None });
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatepickerMonthComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
|
-
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{width:-moz-fit-content;width:fit-content
|
|
41
|
+
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:-moz-fit-content;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:16px;cursor:pointer;border-radius:4px}.aeb-datepicker-month__day:hover{border:1px solid var(--blue)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:none}.aeb-datepicker-month__day--today{border:1px solid var(--gray-primary)}.aeb-datepicker-month__day--picked{color:#fff;background-color:var(--blue);border:none}.aeb-datepicker-month__day--disabled{color:var(--gray-primary);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:none}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:12px;color:var(--gray-primary);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:none}\n"] }]
|
|
42
42
|
}], ctorParameters: function () { return [{ type: i1.DatepickerUtilsService }]; }, propDecorators: { month: [{
|
|
43
43
|
type: Input,
|
|
44
44
|
args: ['month']
|