aeb-ui-kit 2.1.0-mr.449-devops-update-ci → 2.1.0-preview.459
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/checkbox/checkbox-group/checkbox-group.component.mjs +25 -14
- package/esm2020/lib/checkbox/checkbox.component.mjs +40 -70
- package/esm2020/lib/code-input/code-input.module.mjs +5 -5
- package/esm2020/lib/comment/comment.component.mjs +8 -8
- package/esm2020/lib/comment/comment.module.mjs +7 -7
- package/esm2020/lib/field-slider/field-slider.component.mjs +3 -3
- package/esm2020/lib/footer/abstract/base-content-projectable.component.mjs +4 -2
- package/esm2020/lib/footer/footer-top/footer-top.component.mjs +2 -3
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/fesm2015/aeb-ui-kit.mjs +82 -99
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +81 -99
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +21 -8
- package/lib/checkbox/checkbox.component.d.ts +14 -21
- package/lib/code-input/code-input.module.d.ts +1 -1
- package/lib/comment/comment.module.d.ts +4 -4
- package/lib/footer/abstract/base-content-projectable.component.d.ts +1 -0
- package/package.json +1 -1
package/fesm2015/aeb-ui-kit.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, Input, ViewChild, NgModule,
|
|
2
|
+
import { Component, ViewEncapsulation, Input, ViewChild, NgModule, forwardRef, HostBinding, HostListener, EventEmitter, Output, Directive, Optional, Self, ContentChild, Injectable, Inject, Pipe, LOCALE_ID, ViewChildren, inject, ChangeDetectorRef, ContentChildren } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, formatDate, formatNumber } from '@angular/common';
|
|
5
5
|
import * as i1$1 from '@angular/forms';
|
|
@@ -91,111 +91,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
91
91
|
}] });
|
|
92
92
|
|
|
93
93
|
class CheckboxComponent {
|
|
94
|
-
constructor(
|
|
95
|
-
this.
|
|
94
|
+
constructor(renderer) {
|
|
95
|
+
this.renderer = renderer;
|
|
96
|
+
this.isValid = true;
|
|
96
97
|
this.name = null;
|
|
97
|
-
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this._controlValueAccessorChangeFn = () => { };
|
|
98
|
+
this.checkBoxClass = true;
|
|
99
|
+
this.isChecked = false;
|
|
100
|
+
this.isDisabled = false;
|
|
101
|
+
this._onChangeFn = () => { };
|
|
102
102
|
this._onTouched = () => { };
|
|
103
103
|
}
|
|
104
104
|
get checkboxChecked() {
|
|
105
|
-
return this.
|
|
105
|
+
return this.isChecked;
|
|
106
106
|
}
|
|
107
107
|
get checkboxDisabled() {
|
|
108
108
|
return this.isDisabled;
|
|
109
109
|
}
|
|
110
110
|
get checkboxError() {
|
|
111
|
-
return this.
|
|
111
|
+
return !this.isValid;
|
|
112
112
|
}
|
|
113
113
|
get checkboxCheckedDisabled() {
|
|
114
|
-
return this.
|
|
115
|
-
}
|
|
116
|
-
get isDisabled() {
|
|
117
|
-
return this._disabled;
|
|
118
|
-
}
|
|
119
|
-
set isDisabled(value) {
|
|
120
|
-
const newValue = Boolean(value);
|
|
121
|
-
if (newValue !== this.isDisabled) {
|
|
122
|
-
this._disabled = newValue;
|
|
123
|
-
this._changeDetectorRef.markForCheck();
|
|
124
|
-
}
|
|
114
|
+
return this.isChecked && this.isDisabled;
|
|
125
115
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
return this._checked;
|
|
116
|
+
hostChangeHandler(event) {
|
|
117
|
+
this._onChangeFn(event.target.checked);
|
|
129
118
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
137
|
-
get required() {
|
|
138
|
-
return this._required;
|
|
139
|
-
}
|
|
140
|
-
set required(value) {
|
|
141
|
-
this._required = Boolean(value);
|
|
119
|
+
handleClick(event) {
|
|
120
|
+
event.stopPropagation();
|
|
121
|
+
this.isChecked = !this.isChecked;
|
|
122
|
+
this._onTouched();
|
|
123
|
+
this._onChangeFn(this.isChecked);
|
|
142
124
|
}
|
|
143
125
|
writeValue(value) {
|
|
144
126
|
if (value === null || value === '') {
|
|
145
127
|
return;
|
|
146
128
|
}
|
|
147
|
-
this.
|
|
129
|
+
this.isChecked = !!value;
|
|
148
130
|
}
|
|
149
131
|
registerOnChange(fn) {
|
|
150
|
-
this.
|
|
132
|
+
this._onChangeFn = fn;
|
|
151
133
|
}
|
|
152
134
|
registerOnTouched(fn) {
|
|
153
135
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
154
136
|
this._onTouched = fn;
|
|
155
137
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
this.
|
|
159
|
-
this._onTouched();
|
|
160
|
-
this._emitChangeEvent(event);
|
|
161
|
-
}
|
|
162
|
-
_onInteractionEvent(event) {
|
|
163
|
-
event.stopPropagation();
|
|
164
|
-
}
|
|
165
|
-
_emitChangeEvent(event) {
|
|
166
|
-
this._controlValueAccessorChangeFn(this.checked);
|
|
167
|
-
this.change.emit(event);
|
|
138
|
+
setDisabledState(isDisabled) {
|
|
139
|
+
this.isDisabled = isDisabled;
|
|
140
|
+
this.renderer.setProperty(this.checkboxInput.nativeElement, 'disabled', isDisabled);
|
|
168
141
|
}
|
|
169
142
|
}
|
|
170
|
-
CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.
|
|
171
|
-
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxComponent, selector: "aeb-checkbox", inputs: { id: "id",
|
|
143
|
+
CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
144
|
+
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxComponent, selector: "aeb-checkbox", inputs: { id: "id", isValid: "isValid", name: "name" }, host: { listeners: { "change": "hostChangeHandler($event)" }, properties: { "class.aeb-checkbox": "this.checkBoxClass", "class.aeb-checkbox-checked": "this.checkboxChecked", "class.aeb-checkbox-disabled": "this.checkboxDisabled", "class.aeb-checkbox-error": "this.checkboxError", "class.aeb-checkbox-checked-disabled": "this.checkboxCheckedDisabled" } }, providers: [
|
|
172
145
|
{
|
|
173
146
|
provide: NG_VALUE_ACCESSOR,
|
|
174
147
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
175
148
|
multi: true
|
|
176
149
|
}
|
|
177
|
-
], 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]=\"
|
|
150
|
+
], viewQueries: [{ propertyName: "checkboxInput", first: true, predicate: ["checkbox"], descendants: true, static: true }], ngImport: i0, template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\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 });
|
|
178
151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
179
152
|
type: Component,
|
|
180
|
-
args: [{ selector: 'aeb-checkbox',
|
|
181
|
-
class: 'aeb-checkbox'
|
|
182
|
-
}, encapsulation: ViewEncapsulation.None, providers: [
|
|
153
|
+
args: [{ selector: 'aeb-checkbox', encapsulation: ViewEncapsulation.None, providers: [
|
|
183
154
|
{
|
|
184
155
|
provide: NG_VALUE_ACCESSOR,
|
|
185
156
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
186
157
|
multi: true
|
|
187
158
|
}
|
|
188
|
-
], 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]=\"
|
|
189
|
-
}], ctorParameters: function () { return [{ type: i0.
|
|
159
|
+
], template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\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"] }]
|
|
160
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { checkboxInput: [{
|
|
161
|
+
type: ViewChild,
|
|
162
|
+
args: ['checkbox', { static: true }]
|
|
163
|
+
}], id: [{
|
|
190
164
|
type: Input
|
|
191
|
-
}],
|
|
165
|
+
}], isValid: [{
|
|
192
166
|
type: Input
|
|
193
167
|
}], name: [{
|
|
194
168
|
type: Input
|
|
195
|
-
}],
|
|
196
|
-
type:
|
|
197
|
-
|
|
198
|
-
type: Output
|
|
169
|
+
}], checkBoxClass: [{
|
|
170
|
+
type: HostBinding,
|
|
171
|
+
args: ['class.aeb-checkbox']
|
|
199
172
|
}], checkboxChecked: [{
|
|
200
173
|
type: HostBinding,
|
|
201
174
|
args: ['class.aeb-checkbox-checked']
|
|
@@ -208,39 +181,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
208
181
|
}], checkboxCheckedDisabled: [{
|
|
209
182
|
type: HostBinding,
|
|
210
183
|
args: ['class.aeb-checkbox-checked-disabled']
|
|
211
|
-
}],
|
|
212
|
-
type:
|
|
213
|
-
|
|
214
|
-
type: Input
|
|
215
|
-
}], required: [{
|
|
216
|
-
type: Input
|
|
184
|
+
}], hostChangeHandler: [{
|
|
185
|
+
type: HostListener,
|
|
186
|
+
args: ['change', ['$event']]
|
|
217
187
|
}] } });
|
|
218
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Готовый компонент для группы чекбоксов. Принимает на вход в свойстве `checkboxArray` массив объектов,
|
|
191
|
+
* реализующих интерфейс `CheckBoxModel`. В целях обеспечения иммутабельности и явности,
|
|
192
|
+
* работа с элементами формы (установка значения, валидация, включение/выключение) должна осуществляться
|
|
193
|
+
* через поле `checkboxFormGroup`, а не через поля объектов `checkboxArray`
|
|
194
|
+
*/
|
|
219
195
|
class CheckboxGroupComponent {
|
|
220
196
|
constructor(formBuilder) {
|
|
221
197
|
this.formBuilder = formBuilder;
|
|
198
|
+
this.checkboxArray = [];
|
|
199
|
+
this.checkboxFormGroup = this.formBuilder.group({});
|
|
222
200
|
}
|
|
223
201
|
ngOnInit() {
|
|
224
|
-
this.
|
|
225
|
-
|
|
226
|
-
|
|
202
|
+
this.checkboxArray.forEach((checkBox) => {
|
|
203
|
+
const checkboxControl = new FormControl({
|
|
204
|
+
value: checkBox.checked,
|
|
205
|
+
disabled: checkBox.disabled
|
|
206
|
+
}, checkBox.required ? Validators.requiredTrue : Validators.nullValidator);
|
|
207
|
+
this.checkboxFormGroup.addControl(checkBox.name, checkboxControl);
|
|
227
208
|
});
|
|
228
209
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
210
|
+
isControlValid(checkbox) {
|
|
211
|
+
var _a;
|
|
212
|
+
if (checkbox.checkValidationAfterUncheck &&
|
|
213
|
+
!this.checkboxFormGroup.get(checkbox.name).dirty &&
|
|
214
|
+
!this.checkboxFormGroup.get(checkbox.name).touched) {
|
|
215
|
+
return true;
|
|
216
|
+
}
|
|
217
|
+
return (_a = this.checkboxFormGroup.get(checkbox.name)) === null || _a === void 0 ? void 0 : _a.valid;
|
|
236
218
|
}
|
|
237
219
|
}
|
|
238
220
|
CheckboxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, deps: [{ token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
-
CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: {
|
|
221
|
+
CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: { checkboxArray: "checkboxArray" }, 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]=\"checkboxFormGroup\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxArray\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [required]=\"data.required\"\n [isValid]=\"isControlValid(data)\"\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: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: CheckboxComponent, selector: "aeb-checkbox", inputs: ["id", "isValid", "name"] }] });
|
|
240
222
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
|
|
241
223
|
type: Component,
|
|
242
|
-
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]=\"
|
|
243
|
-
}], ctorParameters: function () { return [{ type: i1$1.FormBuilder }]; }, propDecorators: {
|
|
224
|
+
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]=\"checkboxFormGroup\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxArray\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [required]=\"data.required\"\n [isValid]=\"isControlValid(data)\"\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"] }]
|
|
225
|
+
}], ctorParameters: function () { return [{ type: i1$1.FormBuilder }]; }, propDecorators: { checkboxArray: [{
|
|
244
226
|
type: Input
|
|
245
227
|
}] } });
|
|
246
228
|
|
|
@@ -380,13 +362,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
380
362
|
class CodeInputModule {
|
|
381
363
|
}
|
|
382
364
|
CodeInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
383
|
-
CodeInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, declarations: [CodeInputComponent], imports: [CommonModule, FormsModule
|
|
384
|
-
CodeInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, imports: [CommonModule, FormsModule
|
|
365
|
+
CodeInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, declarations: [CodeInputComponent], imports: [CommonModule, FormsModule], exports: [CodeInputComponent] });
|
|
366
|
+
CodeInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, imports: [CommonModule, FormsModule] });
|
|
385
367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, decorators: [{
|
|
386
368
|
type: NgModule,
|
|
387
369
|
args: [{
|
|
388
370
|
declarations: [CodeInputComponent],
|
|
389
|
-
imports: [CommonModule, FormsModule
|
|
371
|
+
imports: [CommonModule, FormsModule],
|
|
390
372
|
exports: [CodeInputComponent]
|
|
391
373
|
}]
|
|
392
374
|
}] });
|
|
@@ -1122,10 +1104,10 @@ class CommentComponent {
|
|
|
1122
1104
|
}
|
|
1123
1105
|
}
|
|
1124
1106
|
CommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentComponent, deps: [{ token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1125
|
-
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: 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: TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: TextareaDirective, selector: "textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: 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 });
|
|
1107
|
+
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\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\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: 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: TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: NewButtonComponent, selector: "aeb-new-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: TextareaDirective, selector: "textarea[aebTextarea]", inputs: ["value"] }, { kind: "component", type: CommentComponent, selector: "aeb-comment", inputs: ["comment"], outputs: ["response"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1126
1108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentComponent, decorators: [{
|
|
1127
1109
|
type: Component,
|
|
1128
|
-
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
|
|
1110
|
+
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\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\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"] }]
|
|
1129
1111
|
}], ctorParameters: function () { return [{ type: i1$1.FormBuilder }]; }, propDecorators: { comment: [{
|
|
1130
1112
|
type: Input,
|
|
1131
1113
|
args: ['comment']
|
|
@@ -1141,14 +1123,14 @@ class CommentModule {
|
|
|
1141
1123
|
CommentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1142
1124
|
CommentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CommentModule, declarations: [CommentComponent], imports: [CommonModule,
|
|
1143
1125
|
TooltipModule,
|
|
1144
|
-
FormFieldModule,
|
|
1145
1126
|
ReactiveFormsModule,
|
|
1146
|
-
NewButtonModule
|
|
1127
|
+
NewButtonModule,
|
|
1128
|
+
FormFieldModule], exports: [CommentComponent] });
|
|
1147
1129
|
CommentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentModule, imports: [CommonModule,
|
|
1148
1130
|
TooltipModule,
|
|
1149
|
-
FormFieldModule,
|
|
1150
1131
|
ReactiveFormsModule,
|
|
1151
|
-
NewButtonModule
|
|
1132
|
+
NewButtonModule,
|
|
1133
|
+
FormFieldModule] });
|
|
1152
1134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CommentModule, decorators: [{
|
|
1153
1135
|
type: NgModule,
|
|
1154
1136
|
args: [{
|
|
@@ -1156,9 +1138,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1156
1138
|
imports: [
|
|
1157
1139
|
CommonModule,
|
|
1158
1140
|
TooltipModule,
|
|
1159
|
-
FormFieldModule,
|
|
1160
1141
|
ReactiveFormsModule,
|
|
1161
|
-
NewButtonModule
|
|
1142
|
+
NewButtonModule,
|
|
1143
|
+
FormFieldModule
|
|
1162
1144
|
],
|
|
1163
1145
|
exports: [CommentComponent]
|
|
1164
1146
|
}]
|
|
@@ -2703,7 +2685,7 @@ FieldSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
2703
2685
|
useExisting: forwardRef(() => FieldSliderComponent),
|
|
2704
2686
|
multi: true
|
|
2705
2687
|
}
|
|
2706
|
-
], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<div class=\"field-slider\">\n <aeb-form-field class=\"field-slider__field-wrapper\">\n <aeb-label>{{ label }}</aeb-label>\n <input\n #input\n aebInput\n aebNumbersOnly\n type=\"string\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"updateDisplayValue()\"\n />\n </aeb-form-field>\n <div class=\"field-slider__line-wrapper\" #slider>\n <div class=\"field-slider__line\">\n <div\n class=\"field-slider__line-position\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ pressed: isPressed }\"\n ></div>\n </div>\n </div>\n <div class=\"field-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\":valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\":valueSeparator }} {{ prefix }}\n </div>\n </div>\n</div>\n", styles: [".field-slider{display:flex;flex-direction:column;align-items:center;width:100%;color:var(--darkblue)}.field-slider__field-wrapper{width:100%}.field-slider__field-wrapper input:focus{outline:none}.field-slider__line-wrapper{display:flex;align-items:center;width:calc(100% - 20px)}.field-slider__line{position:relative;top:-2px;width:100%;height:2px;background-color:var(--gray-primary);border-radius:2px}.field-slider__line-position{position:absolute;top:-2px;left:0;width:100%;height:calc(100% + 2px);background-color:var(--blue);border-radius:2px}.field-slider__line-position:hover{background-color:var(--blue-turquoise)}.field-slider__line-position:hover:after{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed:after{background-color:var(--blue-turquoise)}.field-slider__line-position:after{position:absolute;top:-3px;right:0;width:10px;height:10px;cursor:pointer;content:\"\";background-color:var(--blue);border-radius:10px}.field-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NumbersOnlyDirective, selector: "[aebNumbersOnly]" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: ReplacePipe$1, name: "replace" }] });
|
|
2688
|
+
], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<div class=\"field-slider\">\n <aeb-form-field class=\"field-slider__field-wrapper\">\n <aeb-label>{{ label }}</aeb-label>\n <input\n #input\n aebInput\n aebNumbersOnly\n type=\"string\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"updateDisplayValue()\"\n />\n </aeb-form-field>\n <div class=\"field-slider__line-wrapper\" #slider>\n <div class=\"field-slider__line\">\n <div\n class=\"field-slider__line-position\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ pressed: isPressed }\"\n ></div>\n </div>\n </div>\n <div class=\"field-slider__limits\">\n <div>\n {{ min | number : \"1.0-0\" | replace : \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number : \"1.0-0\" | replace : \",\" : valueSeparator }} {{ prefix }}\n </div>\n </div>\n</div>\n", styles: [".field-slider{display:flex;flex-direction:column;align-items:center;width:100%;color:var(--darkblue)}.field-slider__field-wrapper{width:100%}.field-slider__field-wrapper input:focus{outline:none}.field-slider__line-wrapper{display:flex;align-items:center;width:calc(100% - 20px)}.field-slider__line{position:relative;top:-2px;width:100%;height:2px;background-color:var(--gray-primary);border-radius:2px}.field-slider__line-position{position:absolute;top:-2px;left:0;width:100%;height:calc(100% + 2px);background-color:var(--blue);border-radius:2px}.field-slider__line-position:hover{background-color:var(--blue-turquoise)}.field-slider__line-position:hover:after{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed:after{background-color:var(--blue-turquoise)}.field-slider__line-position:after{position:absolute;top:-3px;right:0;width:10px;height:10px;cursor:pointer;content:\"\";background-color:var(--blue);border-radius:10px}.field-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["center", "onError", "cssMod"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: InputDirective, selector: "input[aebInput]", inputs: ["value"] }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NumbersOnlyDirective, selector: "[aebNumbersOnly]" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: ReplacePipe$1, name: "replace" }] });
|
|
2707
2689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FieldSliderComponent, decorators: [{
|
|
2708
2690
|
type: Component,
|
|
2709
2691
|
args: [{ selector: 'aeb-field-slider', providers: [
|
|
@@ -2712,7 +2694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2712
2694
|
useExisting: forwardRef(() => FieldSliderComponent),
|
|
2713
2695
|
multi: true
|
|
2714
2696
|
}
|
|
2715
|
-
], template: "<div class=\"field-slider\">\n <aeb-form-field class=\"field-slider__field-wrapper\">\n <aeb-label>{{ label }}</aeb-label>\n <input\n #input\n aebInput\n aebNumbersOnly\n type=\"string\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"updateDisplayValue()\"\n />\n </aeb-form-field>\n <div class=\"field-slider__line-wrapper\" #slider>\n <div class=\"field-slider__line\">\n <div\n class=\"field-slider__line-position\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ pressed: isPressed }\"\n ></div>\n </div>\n </div>\n <div class=\"field-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\":valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\":valueSeparator }} {{ prefix }}\n </div>\n </div>\n</div>\n", styles: [".field-slider{display:flex;flex-direction:column;align-items:center;width:100%;color:var(--darkblue)}.field-slider__field-wrapper{width:100%}.field-slider__field-wrapper input:focus{outline:none}.field-slider__line-wrapper{display:flex;align-items:center;width:calc(100% - 20px)}.field-slider__line{position:relative;top:-2px;width:100%;height:2px;background-color:var(--gray-primary);border-radius:2px}.field-slider__line-position{position:absolute;top:-2px;left:0;width:100%;height:calc(100% + 2px);background-color:var(--blue);border-radius:2px}.field-slider__line-position:hover{background-color:var(--blue-turquoise)}.field-slider__line-position:hover:after{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed:after{background-color:var(--blue-turquoise)}.field-slider__line-position:after{position:absolute;top:-3px;right:0;width:10px;height:10px;cursor:pointer;content:\"\";background-color:var(--blue);border-radius:10px}.field-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray-primary)}\n"] }]
|
|
2697
|
+
], template: "<div class=\"field-slider\">\n <aeb-form-field class=\"field-slider__field-wrapper\">\n <aeb-label>{{ label }}</aeb-label>\n <input\n #input\n aebInput\n aebNumbersOnly\n type=\"string\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"updateDisplayValue()\"\n />\n </aeb-form-field>\n <div class=\"field-slider__line-wrapper\" #slider>\n <div class=\"field-slider__line\">\n <div\n class=\"field-slider__line-position\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ pressed: isPressed }\"\n ></div>\n </div>\n </div>\n <div class=\"field-slider__limits\">\n <div>\n {{ min | number : \"1.0-0\" | replace : \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number : \"1.0-0\" | replace : \",\" : valueSeparator }} {{ prefix }}\n </div>\n </div>\n</div>\n", styles: [".field-slider{display:flex;flex-direction:column;align-items:center;width:100%;color:var(--darkblue)}.field-slider__field-wrapper{width:100%}.field-slider__field-wrapper input:focus{outline:none}.field-slider__line-wrapper{display:flex;align-items:center;width:calc(100% - 20px)}.field-slider__line{position:relative;top:-2px;width:100%;height:2px;background-color:var(--gray-primary);border-radius:2px}.field-slider__line-position{position:absolute;top:-2px;left:0;width:100%;height:calc(100% + 2px);background-color:var(--blue);border-radius:2px}.field-slider__line-position:hover{background-color:var(--blue-turquoise)}.field-slider__line-position:hover:after{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed{background-color:var(--blue-turquoise)}.field-slider__line-position.pressed:after{background-color:var(--blue-turquoise)}.field-slider__line-position:after{position:absolute;top:-3px;right:0;width:10px;height:10px;cursor:pointer;content:\"\";background-color:var(--blue);border-radius:10px}.field-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray-primary)}\n"] }]
|
|
2716
2698
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { input: [{
|
|
2717
2699
|
type: ViewChild,
|
|
2718
2700
|
args: ['input']
|
|
@@ -2964,10 +2946,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2964
2946
|
class BaseContentProjectableFooterComponent {
|
|
2965
2947
|
constructor() {
|
|
2966
2948
|
this.hasContent = true;
|
|
2949
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2967
2950
|
}
|
|
2968
2951
|
ngAfterViewInit() {
|
|
2969
2952
|
const contentParentElement = this.content.nativeElement;
|
|
2970
2953
|
this.hasContent = !!contentParentElement.innerHTML;
|
|
2954
|
+
this.cdr.detectChanges();
|
|
2971
2955
|
}
|
|
2972
2956
|
}
|
|
2973
2957
|
BaseContentProjectableFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BaseContentProjectableFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -3045,8 +3029,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3045
3029
|
type: Component,
|
|
3046
3030
|
args: [{ selector: 'aeb-footer-top', encapsulation: ViewEncapsulation.None, template: "<div #content *ngIf=\"hasContent; else defaultContent\">\n <ng-content></ng-content>\n</div>\n<ng-template #defaultContent>\n <div class=\"aeb-footer-top\">\n <div class=\"aeb-footer-top__wrapper\">\n <div class=\"aeb-footer-top__column\">\n <div class=\"aeb-footer-top__row\">\n <div class=\"aeb-footer-top__head\">\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E \u043F\u043E \u0420\u043E\u0441\u0441\u0438\u0438</div>\n <div class=\"aeb-footer-top__cell\">8 800 100-34-22</div>\n </div>\n </div>\n <div *ngIf=\"!onlyPhone\" class=\"aeb-footer-top__column\">\n <div class=\"aeb-footer-top__row\">\n <div class=\"aeb-footer-top__head\">\u041D\u0430\u0448 \u0430\u0434\u0440\u0435\u0441</div>\n <div class=\"aeb-footer-top__cell\">\u0433. \u042F\u043A\u0443\u0442\u0441\u043A, \u0443\u043B. \u041B\u0435\u043D\u0438\u043D\u0430, 1</div>\n </div>\n </div>\n <div class=\"aeb-footer-top__app\">\n <a class=\"aeb-footer-top__mobile-icon\">\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 <rect width=\"48\" height=\"48\" rx=\"8\" fill=\"#2F88F0\" />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M26.5406 25.319L25.3223 26.5376L26.1321 28.4946L28.4972 26.129L26.5406 25.319ZM24.8708 26.724H23.1436L22.3337 28.681H25.6735L24.8708 26.724ZM26.7342 23.1398V24.8602L28.6835 25.6702V22.3297L26.7342 23.1398ZM22.6849 26.5376L21.4665 25.319L19.5171 26.129L21.8822 28.4946L22.6849 26.5376ZM26.1321 19.5054L25.3223 21.4624L26.5406 22.681L28.4972 21.871L26.1321 19.5054ZM23.1436 21.2688H24.8708L25.6735 19.319H22.3337L23.1436 21.2688ZM21.2802 24.8602V23.1398L19.3308 22.3297V25.6702L21.2802 24.8602ZM21.4665 22.681L22.6849 21.4624L21.8822 19.5054L19.5171 21.871L21.4665 22.681ZM22.7566 18.0358H34.5675C34.976 18.0358 35.3845 18.1935 35.6999 18.509C36.0152 18.8244 36.1729 19.233 36.1729 19.6416C36.1729 20.0502 36.0152 20.466 35.6999 20.7814L38.409 23.491C39.4697 22.4301 40 21.0323 40 19.6416C40 18.2509 39.4697 16.8602 38.409 15.7993C37.3483 14.7384 35.9579 14.2079 34.5675 14.2079H26.5837L22.7566 18.0358ZM27.3362 18.8961L35.6856 27.2545C35.9794 27.5412 36.1586 27.9427 36.1586 28.3871C36.1586 28.8315 35.9794 29.233 35.6856 29.5269C35.3989 29.8136 34.9975 29.9928 34.5532 29.9928V33.828C36.0511 33.828 37.4128 33.2186 38.3946 32.2366C39.3836 31.2473 39.9857 29.8925 39.9857 28.3871C39.9857 26.8889 39.3765 25.5269 38.3946 24.5376L32.7543 18.8961H27.3362ZM29.9664 22.7455V34.5591C29.9664 34.9677 29.8087 35.3835 29.4934 35.6989C29.1781 36.0072 28.7695 36.1649 28.361 36.1649C27.9525 36.1649 27.5368 36.0072 27.2287 35.6989L24.5124 38.4086C25.5803 39.4695 26.9707 40 28.361 40C29.7514 40 31.1418 39.4695 32.2096 38.4086C33.2703 37.3477 33.8007 35.9498 33.8007 34.5591L33.7935 26.5806L29.9664 22.7455ZM29.1064 27.3262L20.757 35.6846C20.4632 35.9713 20.0618 36.1505 19.6175 36.1505C19.1731 36.1505 18.7789 35.9713 18.4851 35.6846C18.1913 35.3907 18.0121 34.9892 18.0121 34.5448H14.1778C14.1778 36.0502 14.787 37.405 15.776 38.3943C16.7579 39.3763 18.1196 39.9857 19.6175 39.9857C21.1225 39.9857 22.477 39.3763 23.4661 38.3943L29.1064 32.7455V27.3262ZM25.2578 29.957H13.4468C13.0383 29.957 12.6226 29.7993 12.3144 29.491C11.9991 29.1756 11.8414 28.767 11.8414 28.3513C11.8414 27.9427 11.9991 27.534 12.3144 27.2186L9.60538 24.509C8.53751 25.5699 8.00717 26.9606 8.00717 28.3513C8.00717 29.7419 8.53751 31.1398 9.60538 32.2007C10.6661 33.2616 12.0564 33.7921 13.4468 33.7921H21.4307L25.2578 29.957ZM20.6567 29.0466L12.3073 20.6953C12.0134 20.4014 11.8343 20 11.8343 19.5556C11.8343 19.1111 12.0134 18.7097 12.3073 18.4229C12.594 18.129 12.9953 17.9498 13.4396 17.9498V14.1219C11.9418 14.1219 10.5801 14.7312 9.59821 15.7133C8.60918 16.6953 8 18.0573 8 19.5556C8 21.0609 8.60918 22.4158 9.59821 23.405L15.2385 29.0466H20.6567ZM18.0479 25.2473V13.4337C18.0479 13.0251 18.2056 12.6165 18.5209 12.3011C18.8291 11.9857 19.2448 11.8351 19.6533 11.828C20.0618 11.828 20.4703 11.9857 20.7857 12.3011L23.5019 9.5914C22.434 8.53047 21.0437 8 19.6533 8C18.2629 8 16.8726 8.53047 15.8047 9.5914C14.744 10.6523 14.2137 12.043 14.2137 13.4409V21.4194L18.0479 25.2473ZM18.908 20.6667L27.2573 12.3154C27.5512 12.0215 27.9525 11.8495 28.3969 11.8495C28.8412 11.8495 29.2354 12.0287 29.5292 12.3154C29.8231 12.6093 30.0022 13.0036 30.0022 13.4552H33.8365C33.8365 11.9498 33.2202 10.5878 32.2383 9.60573C31.2564 8.62366 29.8947 8.01434 28.3969 8.01434C26.8918 8.01434 25.5301 8.62366 24.5483 9.60573L18.908 15.2473V20.6667ZM24.9639 26.3082L26.3113 24.9534V23.0394L24.9639 21.6918H23.0504L21.6959 23.0394V24.9534L23.0504 26.3082H24.9639ZM21.8965 29.0968L18.908 26.1147V21.8853L21.8965 18.8961H26.1178L29.1064 21.8853V26.1147L26.1178 29.0968H21.8965Z\"\n fill=\"white\"\n />\n </svg>\n </a>\n <div class=\"aeb-footer-top__row\">\n <div class=\"aeb-footer-top__head\">\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0434\u043B\u044F iOS \u0438 Android</div>\n <div class=\"aeb-footer-top__cell\">\u0410\u042D\u0411 \u041E\u043D\u043B\u0430\u0439\u043D 3.0</div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".aeb-footer-top{position:relative;box-sizing:border-box;display:flex;padding:24px 0;border-bottom:1px solid rgba(255,255,255,.1)}@media screen and (max-width: 1000px){.aeb-footer-top{flex-direction:column;align-items:center;padding:16px 0 24px 16px}}.aeb-footer-top__column:not(:last-child){margin-right:64px}@media screen and (max-width: 1000px){.aeb-footer-top__column{width:100%;margin-right:0!important}.aeb-footer-top__column:not(:last-child){margin-bottom:24px}}.aeb-footer-top__wrapper{display:flex;width:100%}@media screen and (max-width: 1000px){.aeb-footer-top__wrapper{flex-direction:column;align-items:center;width:unset}}.aeb-footer-top__row{display:flex;flex-direction:column}.aeb-footer-top__head{margin-bottom:4px;font-size:14px;color:var(--gray-primary)}.aeb-footer-top__cell{font-size:18px;color:var(--white)}.aeb-footer-top__app{position:absolute;top:24px;right:0;display:flex;cursor:pointer}@media screen and (max-width: 1000px){.aeb-footer-top__app{position:static}}.aeb-footer-top__mobile-icon{margin-right:24px}\n"] }]
|
|
3047
3031
|
}], propDecorators: { onlyPhone: [{
|
|
3048
|
-
type: Input
|
|
3049
|
-
args: ['onlyPhone']
|
|
3032
|
+
type: Input
|
|
3050
3033
|
}] } });
|
|
3051
3034
|
|
|
3052
3035
|
class FooterMenuComponent extends BaseContentProjectableFooterComponent {
|
|
@@ -4581,10 +4564,10 @@ class TabsComponent {
|
|
|
4581
4564
|
}
|
|
4582
4565
|
}
|
|
4583
4566
|
TabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4584
|
-
TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TabsComponent, selector: "aeb-tabs", inputs: { layoutMod: "layoutMod", collapsed: "collapsed", tab: "tab" }, outputs: { tabChange: "tabChange" }, host: { listeners: { "window:resize": "redrawThumb()" } }, queries: [{ propertyName: "tabs", predicate: TabDirective }], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "templateTabs", predicate: ["rtab"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n
|
|
4567
|
+
TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TabsComponent, selector: "aeb-tabs", inputs: { layoutMod: "layoutMod", collapsed: "collapsed", tab: "tab" }, outputs: { tabChange: "tabChange" }, host: { listeners: { "window:resize": "redrawThumb()" } }, queries: [{ propertyName: "tabs", predicate: TabDirective }], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "templateTabs", predicate: ["rtab"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': layoutMod === 'compact'\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{ tab.name }}\n </div>\n </ng-container>\n </div>\n\n <div class=\"aeb-tabs__thumb\" #thumb></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\"> </ng-template>\n</ng-container>\n", styles: [".aeb-tabs{position:relative;width:100%;padding-bottom:2px;margin-bottom:25px;color:var(--darkblue);border-bottom:1px solid var(--lightgray)}.aeb-tabs__wrapper{display:flex;width:100%}.aeb-tabs__tab{box-sizing:border-box;padding-bottom:25px;margin-right:50px;cursor:pointer}.aeb-tabs__thumb{position:absolute;left:0;width:0;border-bottom:2px solid var(--blue);transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{padding-bottom:0;margin-right:32px;margin-bottom:8px}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4585
4568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TabsComponent, decorators: [{
|
|
4586
4569
|
type: Component,
|
|
4587
|
-
args: [{ selector: 'aeb-tabs', encapsulation: ViewEncapsulation.None, template: "<div\n
|
|
4570
|
+
args: [{ selector: 'aeb-tabs', encapsulation: ViewEncapsulation.None, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': layoutMod === 'compact'\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{ tab.name }}\n </div>\n </ng-container>\n </div>\n\n <div class=\"aeb-tabs__thumb\" #thumb></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\"> </ng-template>\n</ng-container>\n", styles: [".aeb-tabs{position:relative;width:100%;padding-bottom:2px;margin-bottom:25px;color:var(--darkblue);border-bottom:1px solid var(--lightgray)}.aeb-tabs__wrapper{display:flex;width:100%}.aeb-tabs__tab{box-sizing:border-box;padding-bottom:25px;margin-right:50px;cursor:pointer}.aeb-tabs__thumb{position:absolute;left:0;width:0;border-bottom:2px solid var(--blue);transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{padding-bottom:0;margin-right:32px;margin-bottom:8px}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}\n"] }]
|
|
4588
4571
|
}], ctorParameters: function () { return []; }, propDecorators: { tabs: [{
|
|
4589
4572
|
type: ContentChildren,
|
|
4590
4573
|
args: [TabDirective]
|