aeb-ui-kit 7.1.0-preview.795 → 7.1.0-preview.799
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.
|
@@ -46,11 +46,11 @@ export class ModalComponent {
|
|
|
46
46
|
}
|
|
47
47
|
ngOnInit() { }
|
|
48
48
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ModalComponent, selector: "aeb-modal", inputs: { isOpen: "isOpen", size: "size", controlsConfig: "controlsConfig" }, outputs: { leftBtnClick: "leftBtnClick", rightBtnClick: "rightBtnClick", closeBtnClick: "closeBtnClick" }, ngImport: i0, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ModalComponent, selector: "aeb-modal", inputs: { isOpen: "isOpen", size: "size", controlsConfig: "controlsConfig" }, outputs: { leftBtnClick: "leftBtnClick", rightBtnClick: "rightBtnClick", closeBtnClick: "closeBtnClick" }, ngImport: i0, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;padding:48px;margin:16px;background:var(--color-mono-0);border-radius:var(--border-fully-rounded);box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__window--auto{width:auto}.aeb-modal__window--S{width:632px}@media screen and (max-width: 800px){.aeb-modal__window--S .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--M{width:916px}@media screen and (max-width: 1070px){.aeb-modal__window--M .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--L{width:1200px}@media screen and (max-width: 1350px){.aeb-modal__window--L .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__close-btn{position:absolute;top:-50px;right:-50px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;cursor:pointer;background-color:var(--color-mono-0);border:var(--no-border);border-radius:100px;box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__btn-group{display:flex;gap:30px;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "button[aebButton], a[aebButton]", inputs: ["fill", "iconSource", "showIconLeft", "showIconRight", "isWarning", "size", "variant"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
50
50
|
}
|
|
51
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ModalComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
|
-
args: [{ selector: 'aeb-modal', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;
|
|
53
|
+
args: [{ selector: 'aeb-modal', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;padding:48px;margin:16px;background:var(--color-mono-0);border-radius:var(--border-fully-rounded);box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__window--auto{width:auto}.aeb-modal__window--S{width:632px}@media screen and (max-width: 800px){.aeb-modal__window--S .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--M{width:916px}@media screen and (max-width: 1070px){.aeb-modal__window--M .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--L{width:1200px}@media screen and (max-width: 1350px){.aeb-modal__window--L .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__close-btn{position:absolute;top:-50px;right:-50px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;cursor:pointer;background-color:var(--color-mono-0);border:var(--no-border);border-radius:100px;box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__btn-group{display:flex;gap:30px;width:100%}\n"] }]
|
|
54
54
|
}], ctorParameters: () => [], propDecorators: { isOpen: [{
|
|
55
55
|
type: Input
|
|
56
56
|
}], size: [{
|
|
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
64
64
|
}], closeBtnClick: [{
|
|
65
65
|
type: Output
|
|
66
66
|
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2RhbC9tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vZGFsL21vZGFsLmNvbXBvbm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 -45,13 +45,13 @@ export class RadioButtonsComponent {
|
|
|
45
45
|
onChange(value) { }
|
|
46
46
|
onTouch() { }
|
|
47
47
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RadioButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: RadioButtonsComponent, selector: "aeb-radio-buttons", inputs: { options: "options", header: "header", hasError: "hasError", horizontal: "horizontal", value: "value" }, outputs: { btnChange: "btnChange" }, providers: [
|
|
49
49
|
{
|
|
50
50
|
provide: NG_VALUE_ACCESSOR,
|
|
51
51
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
52
52
|
multi: true
|
|
53
53
|
}
|
|
54
|
-
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:
|
|
54
|
+
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n @if (header) {\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n }\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{padding-right:32px;margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;align-items:center;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s)}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:10px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
55
55
|
}
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RadioButtonsComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
@@ -61,7 +61,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
61
61
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
62
62
|
multi: true
|
|
63
63
|
}
|
|
64
|
-
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:
|
|
64
|
+
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n @if (header) {\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n }\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{padding-right:32px;margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;align-items:center;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s)}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:10px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"] }]
|
|
65
65
|
}], propDecorators: { options: [{
|
|
66
66
|
type: Input,
|
|
67
67
|
args: ['options']
|
|
@@ -80,4 +80,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
80
80
|
type: Input,
|
|
81
81
|
args: ['value']
|
|
82
82
|
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFka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
|
@@ -3295,11 +3295,11 @@ class ModalComponent {
|
|
|
3295
3295
|
}
|
|
3296
3296
|
ngOnInit() { }
|
|
3297
3297
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3298
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ModalComponent, selector: "aeb-modal", inputs: { isOpen: "isOpen", size: "size", controlsConfig: "controlsConfig" }, outputs: { leftBtnClick: "leftBtnClick", rightBtnClick: "rightBtnClick", closeBtnClick: "closeBtnClick" }, ngImport: i0, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;
|
|
3298
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ModalComponent, selector: "aeb-modal", inputs: { isOpen: "isOpen", size: "size", controlsConfig: "controlsConfig" }, outputs: { leftBtnClick: "leftBtnClick", rightBtnClick: "rightBtnClick", closeBtnClick: "closeBtnClick" }, ngImport: i0, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;padding:48px;margin:16px;background:var(--color-mono-0);border-radius:var(--border-fully-rounded);box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__window--auto{width:auto}.aeb-modal__window--S{width:632px}@media screen and (max-width: 800px){.aeb-modal__window--S .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--M{width:916px}@media screen and (max-width: 1070px){.aeb-modal__window--M .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--L{width:1200px}@media screen and (max-width: 1350px){.aeb-modal__window--L .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__close-btn{position:absolute;top:-50px;right:-50px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;cursor:pointer;background-color:var(--color-mono-0);border:var(--no-border);border-radius:100px;box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__btn-group{display:flex;gap:30px;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[aebButton], a[aebButton]", inputs: ["fill", "iconSource", "showIconLeft", "showIconRight", "isWarning", "size", "variant"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
3299
3299
|
}
|
|
3300
3300
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ModalComponent, decorators: [{
|
|
3301
3301
|
type: Component,
|
|
3302
|
-
args: [{ selector: 'aeb-modal', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;
|
|
3302
|
+
args: [{ selector: 'aeb-modal', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"aeb-modal\"\n [ngClass]=\"{\n 'aeb-modal--open': isOpen\n }\"\n>\n <div class=\"aeb-modal__window\" [class]=\"'aeb-modal__window--' + size\">\n <button\n *ngIf=\"!controlsConfig?.closeBtn?.hidden\"\n class=\"aeb-modal__close-btn\"\n (click)=\"onCloseClick()\"\n >\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.50781 7.50757L24.4925 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M24.4922 7.50757L7.50753 24.4922\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </button>\n <ng-content></ng-content>\n <span\n class=\"aeb-modal__btn-group\"\n *ngIf=\"\n !controlsConfig?.leftBtn?.hidden && !controlsConfig?.rightBtn?.hidden\n \"\n >\n <button\n *ngIf=\"!controlsConfig?.leftBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.leftBtn?.variant ?? 'secondary'\"\n [isWarning]=\"controlsConfig?.leftBtn?.warning ?? true\"\n [disabled]=\"controlsConfig?.leftBtn?.disabled ?? false\"\n (click)=\"onCancelClick()\"\n >\n {{ controlsConfig?.leftBtn?.text ?? \"\u041E\u0442\u043C\u0435\u043D\u0430\" }}\n </button>\n <button\n *ngIf=\"!controlsConfig?.rightBtn?.hidden\"\n aebButton\n [fill]=\"true\"\n [variant]=\"controlsConfig?.rightBtn?.variant ?? 'primary'\"\n [isWarning]=\"controlsConfig?.rightBtn?.warning ?? false\"\n [disabled]=\"controlsConfig?.rightBtn?.disabled ?? false\"\n (click)=\"onSubmitClick()\"\n >\n {{ controlsConfig?.rightBtn?.text ?? \"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\" }}\n </button>\n </span>\n </div>\n</div>\n", styles: [".aeb-modal{position:fixed;top:0;left:0;z-index:10000;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;pointer-events:none;background-color:#27303e80;opacity:var(--100-total);transition:opacity,.1s}.aeb-modal--open{pointer-events:all;opacity:var(--0-zero)}.aeb-modal__window{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:40px;padding:48px;margin:16px;background:var(--color-mono-0);border-radius:var(--border-fully-rounded);box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__window--auto{width:auto}.aeb-modal__window--S{width:632px}@media screen and (max-width: 800px){.aeb-modal__window--S .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--M{width:916px}@media screen and (max-width: 1070px){.aeb-modal__window--M .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__window--L{width:1200px}@media screen and (max-width: 1350px){.aeb-modal__window--L .aeb-modal__close-btn{top:-66px;right:0}}.aeb-modal__close-btn{position:absolute;top:-50px;right:-50px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;cursor:pointer;background-color:var(--color-mono-0);border:var(--no-border);border-radius:100px;box-shadow:var(--light-theme-shadows-shadow-smooth-high)}.aeb-modal__btn-group{display:flex;gap:30px;width:100%}\n"] }]
|
|
3303
3303
|
}], ctorParameters: () => [], propDecorators: { isOpen: [{
|
|
3304
3304
|
type: Input
|
|
3305
3305
|
}], size: [{
|
|
@@ -4156,13 +4156,13 @@ class RadioButtonsComponent {
|
|
|
4156
4156
|
onChange(value) { }
|
|
4157
4157
|
onTouch() { }
|
|
4158
4158
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RadioButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4159
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: RadioButtonsComponent, selector: "aeb-radio-buttons", inputs: { options: "options", header: "header", hasError: "hasError", horizontal: "horizontal", value: "value" }, outputs: { btnChange: "btnChange" }, providers: [
|
|
4160
4160
|
{
|
|
4161
4161
|
provide: NG_VALUE_ACCESSOR,
|
|
4162
4162
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
4163
4163
|
multi: true
|
|
4164
4164
|
}
|
|
4165
|
-
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:
|
|
4165
|
+
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n @if (header) {\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n }\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{padding-right:32px;margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;align-items:center;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s)}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:10px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
4166
4166
|
}
|
|
4167
4167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RadioButtonsComponent, decorators: [{
|
|
4168
4168
|
type: Component,
|
|
@@ -4172,7 +4172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
4172
4172
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
4173
4173
|
multi: true
|
|
4174
4174
|
}
|
|
4175
|
-
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:
|
|
4175
|
+
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n @if (header) {\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n }\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{padding-right:32px;margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;align-items:center;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s)}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:10px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"] }]
|
|
4176
4176
|
}], propDecorators: { options: [{
|
|
4177
4177
|
type: Input,
|
|
4178
4178
|
args: ['options']
|