aeb-ui-kit 2.2.0 → 2.3.0-preview.544

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.
Files changed (30) hide show
  1. package/assets/images/responses/401-dark.svg +27 -0
  2. package/assets/images/responses/401-light.svg +27 -0
  3. package/assets/images/responses/403-dark.svg +39 -0
  4. package/assets/images/responses/403-light.svg +38 -0
  5. package/assets/images/responses/404-dark.svg +47 -0
  6. package/assets/images/responses/404-light.svg +40 -0
  7. package/assets/images/responses/429-dark.svg +33 -0
  8. package/assets/images/responses/429-light.svg +33 -0
  9. package/assets/images/responses/500-dark.svg +43 -0
  10. package/assets/images/responses/500-light.svg +43 -0
  11. package/assets/images/responses/503-dark.svg +43 -0
  12. package/assets/images/responses/503-light.svg +43 -0
  13. package/esm2020/lib/aeb-ui-kit.module.mjs +14 -7
  14. package/esm2020/lib/code-input/code-input.component.mjs +60 -19
  15. package/esm2020/lib/code-input/code-input.module.mjs +5 -5
  16. package/esm2020/lib/new-button/new-button.component.mjs +2 -2
  17. package/esm2020/lib/response/response.component.mjs +20 -0
  18. package/esm2020/lib/response/response.module.mjs +17 -0
  19. package/esm2020/public-api.mjs +5 -1
  20. package/fesm2015/aeb-ui-kit.mjs +109 -30
  21. package/fesm2015/aeb-ui-kit.mjs.map +1 -1
  22. package/fesm2020/aeb-ui-kit.mjs +106 -30
  23. package/fesm2020/aeb-ui-kit.mjs.map +1 -1
  24. package/lib/aeb-ui-kit.module.d.ts +2 -1
  25. package/lib/code-input/code-input.component.d.ts +13 -9
  26. package/lib/code-input/code-input.module.d.ts +1 -1
  27. package/lib/response/response.component.d.ts +10 -0
  28. package/lib/response/response.module.d.ts +8 -0
  29. package/package.json +1 -1
  30. package/public-api.d.ts +4 -0
@@ -3,7 +3,7 @@ import { Component, ViewEncapsulation, Input, ViewChild, NgModule, EventEmitter,
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';
6
- import { NG_VALUE_ACCESSOR, FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import { NG_VALUE_ACCESSOR, FormControl, Validators, FormsModule, ReactiveFormsModule, FormGroup, FormArray } from '@angular/forms';
7
7
  import * as i2 from '@angular/platform-browser';
8
8
  import * as i1$2 from 'ngx-mask';
9
9
  import { NgxMaskModule } from 'ngx-mask';
@@ -255,18 +255,45 @@ class CodeInputComponent {
255
255
  this.codeSet = new EventEmitter();
256
256
  this.timeOut = new EventEmitter();
257
257
  this.resendClick = new EventEmitter();
258
- this.inputs = ['', '', '', '', '', ''];
259
- this.isPaste = false;
260
258
  this.sendAgain = false;
261
- this.showLoader = false;
262
- this.wrongCode = false;
263
259
  this.showTimer = false;
264
- this.isDisabled = true;
265
260
  }
266
261
  get classes() {
267
262
  const mode = this.wrongCode ? 'input-wrong' : '';
268
263
  return `code-input__${mode}`;
269
264
  }
265
+ get inputs() {
266
+ return this.form.get('inputs');
267
+ }
268
+ ngOnInit() {
269
+ var _a;
270
+ this.form = new FormGroup({
271
+ inputs: new FormArray([
272
+ new FormControl(),
273
+ new FormControl(),
274
+ new FormControl(),
275
+ new FormControl(),
276
+ new FormControl(),
277
+ new FormControl()
278
+ ])
279
+ });
280
+ for (let i = 0; i < this.inputs.length; i++) {
281
+ if (i > 0) {
282
+ (_a = this.inputs.get(`${i}`)) === null || _a === void 0 ? void 0 : _a.disable();
283
+ }
284
+ }
285
+ }
286
+ writeValue(value) {
287
+ if (value) {
288
+ this.form.setValue(value, { emitEvent: false });
289
+ }
290
+ }
291
+ registerOnChange(fn) {
292
+ this.form.valueChanges.subscribe(fn);
293
+ }
294
+ registerOnTouched(fn) {
295
+ this.onTouch = fn;
296
+ }
270
297
  startTimer() {
271
298
  clearInterval(this.interval);
272
299
  this.time = this.secondsUntilRetry;
@@ -282,17 +309,15 @@ class CodeInputComponent {
282
309
  }
283
310
  }, 1000);
284
311
  }
285
- trackByInput(index) {
286
- return index;
287
- }
288
312
  onMove(e, i) {
289
- this.isPaste = true;
290
- const value = this.inputs[i];
313
+ var _a;
314
+ const value = this.inputs.controls[i].value;
291
315
  if (value.length > 0) {
292
316
  const nextIndex = i < 5 ? i + 1 : 5;
293
317
  const nextInput = document.getElementById(`${nextIndex}`);
294
318
  if (nextIndex <= 5) {
295
319
  nextInput.disabled = false;
320
+ (_a = this.inputs.get(`${i}`)) === null || _a === void 0 ? void 0 : _a.enable();
296
321
  nextInput.focus();
297
322
  }
298
323
  }
@@ -310,10 +335,15 @@ class CodeInputComponent {
310
335
  }
311
336
  }
312
337
  onPaste(e) {
338
+ var _a;
339
+ for (let i = 0; i < this.inputs.length; i++) {
340
+ (_a = this.inputs.get(`${i}`)) === null || _a === void 0 ? void 0 : _a.enable();
341
+ }
313
342
  const data = e.clipboardData.getData('text');
314
343
  const slicedData = data.split('');
315
- for (const i of this.inputs.keys()) {
316
- this.inputs[i] = slicedData[i];
344
+ for (let i = 0; i < slicedData.length; i++) {
345
+ const input = this.inputs.controls[i];
346
+ input.setValue(slicedData[i]);
317
347
  }
318
348
  if (!isFinite(Number(data))) {
319
349
  this.clear();
@@ -324,14 +354,13 @@ class CodeInputComponent {
324
354
  }
325
355
  }
326
356
  onSubmit() {
327
- this.wrongCode = true;
328
357
  this.showTimer = true;
329
358
  this.startTimer();
330
359
  this.codeSet.emit();
331
360
  }
332
361
  clear() {
333
- for (const i of this.inputs.keys()) {
334
- this.inputs[i] = '';
362
+ for (const control of this.inputs.controls) {
363
+ control.setValue('');
335
364
  }
336
365
  }
337
366
  resend() {
@@ -351,16 +380,30 @@ class CodeInputComponent {
351
380
  }
352
381
  }
353
382
  CodeInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
354
- CodeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CodeInputComponent, selector: "aeb-code-input", inputs: { title: "title", secondsUntilRetry: "secondsUntilRetry", tip: "tip" }, outputs: { codeSet: "codeSet", timeOut: "timeOut", resendClick: "resendClick" }, ngImport: i0, template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n </defs>\n </svg>\n </div>\n <div class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: 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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
383
+ CodeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CodeInputComponent, selector: "aeb-code-input", inputs: { title: "title", secondsUntilRetry: "secondsUntilRetry", tip: "tip", wrongCode: "wrongCode" }, outputs: { codeSet: "codeSet", timeOut: "timeOut", resendClick: "resendClick" }, providers: [
384
+ {
385
+ provide: NG_VALUE_ACCESSOR,
386
+ useExisting: forwardRef(() => CodeInputComponent),
387
+ multi: true
388
+ }
389
+ ], ngImport: i0, template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\"[ngClass]=\"classes\">\n <form [formGroup]=\"form\">\n <ng-container formArrayName=\"inputs\">\n <ng-container *ngFor=\"let input of inputs.controls; let i = index\">\n <input\n [formControlName]=\"i\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n [maxLength]=\"1\"\n id=\"{{ i }}\"\n />\n </ng-container>\n </ng-container>\n </form>\n </div>\n <div class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs form{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }] });
355
390
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputComponent, decorators: [{
356
391
  type: Component,
357
- args: [{ selector: 'aeb-code-input', template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\" *ngIf=\"!showLoader\" [ngClass]=\"classes\">\n <ng-container\n *ngFor=\"let input of inputs; let i = index; trackBy: trackByInput\"\n >\n <input\n [(ngModel)]=\"inputs[i]\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n value=\"input\"\n id=\"{{ i }}\"\n maxlength=\"1\"\n [disabled]=\"i === 0 ? false : true\"\n />\n </ng-container>\n </div>\n <div *ngIf=\"showLoader\" class=\"code-input__loader\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M30.2101 27.1713L27.2663 30.0952L29.223 34.7905L34.9375 29.1148L30.2101 27.1713ZM26.1754 30.5423H22.0021L20.0454 35.2376H28.1148L26.1754 30.5423ZM30.6776 21.9428V26.0706L35.3877 28.0141V19.9994L30.6776 21.9428ZM20.8939 30.0952L17.9501 27.1713L13.24 29.1148L18.9544 34.7905L20.8939 30.0952ZM29.223 13.223L27.2663 17.9183L30.2101 20.8421L34.9375 18.8986L29.223 13.223ZM22.0021 17.4539H26.1754L28.1148 12.7758H20.0454L22.0021 17.4539ZM17.4999 26.0706V21.9428L12.7898 19.9994V28.0141L17.4999 26.0706ZM17.9501 20.8421L20.8939 17.9183L18.9544 13.223L13.24 18.8986L17.9501 20.8421ZM26.4005 29.5448L29.656 26.2942V21.7021L26.4005 18.4687H21.777L18.5042 21.7021V26.2942L21.777 29.5448H26.4005ZM18.9891 36.2352C16.2011 35.2154 12.7898 31.6463 11.7681 29.0804C10.7465 26.5145 10.7414 21.9428 11.7681 18.933C12.7948 15.9232 15.875 12.7758 18.9891 11.7611C22.1031 10.7463 26.5877 10.7463 29.1884 11.7611C31.7891 12.7758 35.896 16.9272 36.4094 18.933C36.9227 20.9389 37.431 26.5145 36.4094 29.0804C35.3877 31.6463 31.7213 35.2154 29.1884 36.2352C26.6556 37.2549 21.777 37.2549 18.9891 36.2352Z\"\n fill=\"url(#paint0_linear_8482_9268)\"\n />\n <path\n d=\"M20 4C10.871 5.85308 4 13.9241 4 23.5999C4 32.183 9.40666 39.5032 17 42.3407\"\n stroke=\"url(#paint1_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <path\n d=\"M28 43.1998C37.129 41.3467 44 33.2757 44 23.5999C44 14.6446 38.1142 7.06403 30 4.5155\"\n stroke=\"url(#paint2_linear_8482_9268)\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <defs>\n <linearGradient\n id=\"paint0_linear_8482_9268\"\n x1=\"24.9013\"\n y1=\"37\"\n x2=\"24.9013\"\n y2=\"11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint1_linear_8482_9268\"\n x1=\"12.5547\"\n y1=\"42.3407\"\n x2=\"12.5547\"\n y2=\"4\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n <linearGradient\n id=\"paint2_linear_8482_9268\"\n x1=\"36.5547\"\n y1=\"43.1998\"\n x2=\"36.5547\"\n y2=\"4.5155\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#00B8FF\" />\n <stop offset=\"1\" stop-color=\"#0079D6\" />\n </linearGradient>\n </defs>\n </svg>\n </div>\n <div class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\n"] }]
392
+ args: [{ selector: 'aeb-code-input', providers: [
393
+ {
394
+ provide: NG_VALUE_ACCESSOR,
395
+ useExisting: forwardRef(() => CodeInputComponent),
396
+ multi: true
397
+ }
398
+ ], template: "<div class=\"code-input\">\n <h1>{{ title }}</h1>\n <span class=\"code-input__tip\">{{ tip }}</span>\n <div class=\"code-input__inputs\"[ngClass]=\"classes\">\n <form [formGroup]=\"form\">\n <ng-container formArrayName=\"inputs\">\n <ng-container *ngFor=\"let input of inputs.controls; let i = index\">\n <input\n [formControlName]=\"i\"\n autocomplete=\"off\"\n (keypress)=\"numberOnly($event)\"\n (keyup)=\"onMove($event, i)\"\n (paste)=\"onPaste($event)\"\n [maxLength]=\"1\"\n id=\"{{ i }}\"\n />\n </ng-container>\n </ng-container>\n </form>\n </div>\n <div class=\"code-input__text\">\n <span *ngIf=\"wrongCode\" class=\"code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n <div *ngIf=\"showTimer\">\n <span class=\"code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"code-input__text-time\">{{ time }}</span>\n </div>\n <span *ngIf=\"sendAgain\" class=\"code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n </div>\n</div>\n", styles: [".code-input{display:flex;flex-direction:column;align-items:center;width:632px;padding:48px;color:var(--darkblue);background-color:#fff}.code-input h1{width:-moz-fit-content;width:fit-content;margin:0 0 40px;font-size:24px}.code-input span{text-align:center}.code-input__tip{margin-bottom:40px}.code-input__inputs form{display:flex;gap:16px}.code-input__inputs input{width:51px;height:56px;font-size:32px;text-align:center;border:solid 2px var(--gray);border-radius:10px;outline:none}.code-input__inputs input:focus{border:solid 2px var(--blue)}.code-input__inputs input:disabled{background-color:inherit}.code-input__input-wrong input{border:solid 2px var(--red)}.code-input__input-wrong input:focus{border:solid 2px var(--red)}.code-input__text{display:flex;flex-direction:column;margin-top:24px;font-size:16px;line-height:20px}.code-input__text-info{color:var(--gray)}.code-input__text-time{color:var(--blue)}.code-input__text-again{color:var(--blue);text-decoration:underline;cursor:pointer}.code-input__text-wrong{margin-bottom:8px;color:var(--red)}\n"] }]
358
399
  }], propDecorators: { title: [{
359
400
  type: Input
360
401
  }], secondsUntilRetry: [{
361
402
  type: Input
362
403
  }], tip: [{
363
404
  type: Input
405
+ }], wrongCode: [{
406
+ type: Input
364
407
  }], codeSet: [{
365
408
  type: Output
366
409
  }], timeOut: [{
@@ -372,13 +415,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
372
415
  class CodeInputModule {
373
416
  }
374
417
  CodeInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
375
- CodeInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, declarations: [CodeInputComponent], imports: [CommonModule, FormsModule], exports: [CodeInputComponent] });
376
- CodeInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, imports: [CommonModule, FormsModule] });
418
+ CodeInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, declarations: [CodeInputComponent], imports: [CommonModule, FormsModule, ReactiveFormsModule], exports: [CodeInputComponent] });
419
+ CodeInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, imports: [CommonModule, FormsModule, ReactiveFormsModule] });
377
420
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CodeInputModule, decorators: [{
378
421
  type: NgModule,
379
422
  args: [{
380
423
  declarations: [CodeInputComponent],
381
- imports: [CommonModule, FormsModule],
424
+ imports: [CommonModule, FormsModule, ReactiveFormsModule],
382
425
  exports: [CodeInputComponent]
383
426
  }]
384
427
  }] });
@@ -771,10 +814,10 @@ class NewButtonComponent {
771
814
  }
772
815
  }
773
816
  NewButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NewButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
774
- NewButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: NewButtonComponent, selector: "aeb-new-button", inputs: { label: "label", fill: "fill", showIcon: "showIcon", iconSource: "iconSource", disabledIconSource: "disabledIconSource", hoveredIconSource: "hoveredIconSource", disabled: "disabled", leftIcon: "leftIcon", rightIcon: "rightIcon", size: "size", tabIndex: "tabIndex", solid: "solid" }, host: { listeners: { "mouseover": "onOver()", "mouseleave": "onLeave()" }, properties: { "tabIndex": "this.tabIndex", "class.aeb-button": "this.isButton", "class.aeb-button-primary": "this.isPrimary", "class.aeb-button-solid": "this.isSolid", "class.aeb-button--fill": "this.isFill", "class.aeb-button-solid--disabled": "this.isSolidDisabled", "class.aeb-button-primary--disabled": "this.isPrimaryDisabled", "class.aeb-button--small": "this.isSmall" } }, ngImport: i0, template: "<div class=\"aeb-button__label-wrapper\" *ngIf=\"label || showIcon; else content\">\n <div\n *ngIf=\"showIcon && leftIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('left'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--left': label !== '' && showIcon && leftIcon\n }\"\n ></div>\n <div>{{ label }}</div>\n <div\n *ngIf=\"showIcon && rightIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('right'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--right': label !== '' && showIcon && rightIcon\n }\"\n ></div>\n</div>\n<ng-template #content>\n <div class=\"aeb-button__label-wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".aeb-button{box-sizing:border-box;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;height:56px;font-size:18px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px}.aeb-button--small{height:40px}.aeb-button--fill{width:100%}.aeb-button--fill .aeb-button__label-wrapper{justify-content:space-between;width:100%}.aeb-button__label-wrapper{display:flex;padding:0 24px;-webkit-user-select:none;user-select:none}.aeb-button__label-wrapper--small{padding:0 16px}.aeb-button__label-image{display:flex;align-items:center;width:24px;height:24px;background-repeat:no-repeat;background-size:contain}.aeb-button__label-image--left{margin-right:8px}.aeb-button__label-image--right{margin-left:8px}.aeb-button-primary{color:var(--blue);background:var(--white);border:2px solid var(--blue)}.aeb-button-primary--disabled{color:var(--gray-primary);pointer-events:none;cursor:default;border:2px solid var(--gray-primary)}.aeb-button-primary:focus{outline:none}.aeb-button-primary:hover,.aeb-button-primary:focus{color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-button-primary:active{color:var(--blue-turquoise);background-image:linear-gradient(white,white),linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;border:double 2px transparent;border-radius:10px}.aeb-button-solid{color:var(--white);background:var(--blue);background-image:unset;border:2px solid var(--blue)}.aeb-button-solid--disabled{color:var(--gray-primary);color:var(--white);pointer-events:none;cursor:default;background:var(--gray-primary);border:2px solid var(--gray-primary)}.aeb-button-solid:focus{outline:none}.aeb-button-solid:hover,.aeb-button-solid:focus{color:var(--white);background:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-button-solid:active{color:var(--white);background-image:linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;background-origin:border-box;border:2px solid #02d1c5}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
817
+ NewButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: NewButtonComponent, selector: "aeb-new-button", inputs: { label: "label", fill: "fill", showIcon: "showIcon", iconSource: "iconSource", disabledIconSource: "disabledIconSource", hoveredIconSource: "hoveredIconSource", disabled: "disabled", leftIcon: "leftIcon", rightIcon: "rightIcon", size: "size", tabIndex: "tabIndex", solid: "solid" }, host: { listeners: { "mouseover": "onOver()", "mouseleave": "onLeave()" }, properties: { "tabIndex": "this.tabIndex", "class.aeb-button": "this.isButton", "class.aeb-button-primary": "this.isPrimary", "class.aeb-button-solid": "this.isSolid", "class.aeb-button--fill": "this.isFill", "class.aeb-button-solid--disabled": "this.isSolidDisabled", "class.aeb-button-primary--disabled": "this.isPrimaryDisabled", "class.aeb-button--small": "this.isSmall" } }, ngImport: i0, template: "<div class=\"aeb-button__label-wrapper\" *ngIf=\"label || showIcon; else content\">\n <div\n *ngIf=\"showIcon && leftIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('left'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--left': label !== '' && showIcon && leftIcon\n }\"\n ></div>\n <div>{{ label }}</div>\n <div\n *ngIf=\"showIcon && rightIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('right'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--right': label !== '' && showIcon && rightIcon\n }\"\n ></div>\n</div>\n<ng-template #content>\n <div class=\"aeb-button__label-wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".aeb-button{box-sizing:border-box;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;height:56px;font-size:18px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;-webkit-tap-highlight-color:transparent}.aeb-button--small{height:40px}.aeb-button--fill{width:100%}.aeb-button--fill .aeb-button__label-wrapper{justify-content:space-between;width:100%}.aeb-button__label-wrapper{display:flex;padding:0 24px;-webkit-user-select:none;user-select:none}.aeb-button__label-wrapper--small{padding:0 16px}.aeb-button__label-image{display:flex;align-items:center;width:24px;height:24px;background-repeat:no-repeat;background-size:contain}.aeb-button__label-image--left{margin-right:8px}.aeb-button__label-image--right{margin-left:8px}.aeb-button-primary{color:var(--blue);background:var(--white);border:2px solid var(--blue)}.aeb-button-primary--disabled{color:var(--gray-primary);pointer-events:none;cursor:default;border:2px solid var(--gray-primary)}.aeb-button-primary:focus{outline:none}@media (hover: hover){.aeb-button-primary:hover,.aeb-button-primary:focus{color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}}.aeb-button-primary:active{color:var(--blue-turquoise);background-image:linear-gradient(white,white),linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;border:double 2px transparent;border-radius:10px}.aeb-button-solid{color:var(--white);background:var(--blue);background-image:unset;border:2px solid var(--blue)}.aeb-button-solid--disabled{color:var(--gray-primary);color:var(--white);pointer-events:none;cursor:default;background:var(--gray-primary);border:2px solid var(--gray-primary)}.aeb-button-solid:focus{outline:none}@media (hover: hover){.aeb-button-solid:hover,.aeb-button-solid:focus{color:var(--white);background:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}}.aeb-button-solid:active{color:var(--white);background-image:linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;background-origin:border-box;border:2px solid #02d1c5}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
775
818
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NewButtonComponent, decorators: [{
776
819
  type: Component,
777
- args: [{ selector: 'aeb-new-button', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-button__label-wrapper\" *ngIf=\"label || showIcon; else content\">\n <div\n *ngIf=\"showIcon && leftIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('left'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--left': label !== '' && showIcon && leftIcon\n }\"\n ></div>\n <div>{{ label }}</div>\n <div\n *ngIf=\"showIcon && rightIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('right'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--right': label !== '' && showIcon && rightIcon\n }\"\n ></div>\n</div>\n<ng-template #content>\n <div class=\"aeb-button__label-wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".aeb-button{box-sizing:border-box;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;height:56px;font-size:18px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px}.aeb-button--small{height:40px}.aeb-button--fill{width:100%}.aeb-button--fill .aeb-button__label-wrapper{justify-content:space-between;width:100%}.aeb-button__label-wrapper{display:flex;padding:0 24px;-webkit-user-select:none;user-select:none}.aeb-button__label-wrapper--small{padding:0 16px}.aeb-button__label-image{display:flex;align-items:center;width:24px;height:24px;background-repeat:no-repeat;background-size:contain}.aeb-button__label-image--left{margin-right:8px}.aeb-button__label-image--right{margin-left:8px}.aeb-button-primary{color:var(--blue);background:var(--white);border:2px solid var(--blue)}.aeb-button-primary--disabled{color:var(--gray-primary);pointer-events:none;cursor:default;border:2px solid var(--gray-primary)}.aeb-button-primary:focus{outline:none}.aeb-button-primary:hover,.aeb-button-primary:focus{color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-button-primary:active{color:var(--blue-turquoise);background-image:linear-gradient(white,white),linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;border:double 2px transparent;border-radius:10px}.aeb-button-solid{color:var(--white);background:var(--blue);background-image:unset;border:2px solid var(--blue)}.aeb-button-solid--disabled{color:var(--gray-primary);color:var(--white);pointer-events:none;cursor:default;background:var(--gray-primary);border:2px solid var(--gray-primary)}.aeb-button-solid:focus{outline:none}.aeb-button-solid:hover,.aeb-button-solid:focus{color:var(--white);background:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-button-solid:active{color:var(--white);background-image:linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;background-origin:border-box;border:2px solid #02d1c5}\n"] }]
820
+ args: [{ selector: 'aeb-new-button', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-button__label-wrapper\" *ngIf=\"label || showIcon; else content\">\n <div\n *ngIf=\"showIcon && leftIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('left'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--left': label !== '' && showIcon && leftIcon\n }\"\n ></div>\n <div>{{ label }}</div>\n <div\n *ngIf=\"showIcon && rightIcon\"\n [ngStyle]=\"{\n 'background-image': wrapWithCssURL(getCurrentIconSource('right'))\n }\"\n class=\"aeb-button__label-image\"\n [ngClass]=\"{\n 'aeb-button__label-image--right': label !== '' && showIcon && rightIcon\n }\"\n ></div>\n</div>\n<ng-template #content>\n <div class=\"aeb-button__label-wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".aeb-button{box-sizing:border-box;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;height:56px;font-size:18px;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;-webkit-tap-highlight-color:transparent}.aeb-button--small{height:40px}.aeb-button--fill{width:100%}.aeb-button--fill .aeb-button__label-wrapper{justify-content:space-between;width:100%}.aeb-button__label-wrapper{display:flex;padding:0 24px;-webkit-user-select:none;user-select:none}.aeb-button__label-wrapper--small{padding:0 16px}.aeb-button__label-image{display:flex;align-items:center;width:24px;height:24px;background-repeat:no-repeat;background-size:contain}.aeb-button__label-image--left{margin-right:8px}.aeb-button__label-image--right{margin-left:8px}.aeb-button-primary{color:var(--blue);background:var(--white);border:2px solid var(--blue)}.aeb-button-primary--disabled{color:var(--gray-primary);pointer-events:none;cursor:default;border:2px solid var(--gray-primary)}.aeb-button-primary:focus{outline:none}@media (hover: hover){.aeb-button-primary:hover,.aeb-button-primary:focus{color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}}.aeb-button-primary:active{color:var(--blue-turquoise);background-image:linear-gradient(white,white),linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;border:double 2px transparent;border-radius:10px}.aeb-button-solid{color:var(--white);background:var(--blue);background-image:unset;border:2px solid var(--blue)}.aeb-button-solid--disabled{color:var(--gray-primary);color:var(--white);pointer-events:none;cursor:default;background:var(--gray-primary);border:2px solid var(--gray-primary)}.aeb-button-solid:focus{outline:none}@media (hover: hover){.aeb-button-solid:hover,.aeb-button-solid:focus{color:var(--white);background:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}}.aeb-button-solid:active{color:var(--white);background-image:linear-gradient(180deg,#11bef4 0%,#02d1c5 100%);background-clip:content-box,border-box;background-origin:border-box;border:2px solid #02d1c5}\n"] }]
778
821
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
779
822
  type: Input
780
823
  }], fill: [{
@@ -3837,6 +3880,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
3837
3880
  }]
3838
3881
  }] });
3839
3882
 
3883
+ class ResponseComponent {
3884
+ constructor() {
3885
+ this.mode = 'light';
3886
+ }
3887
+ ngOnInit() { }
3888
+ }
3889
+ ResponseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3890
+ ResponseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ResponseComponent, selector: "aeb-response", inputs: { code: "code", mode: "mode" }, ngImport: i0, template: "<img\n *ngIf=\"code\"\n [src]=\"'/images/responses/' + code + '-' + mode + '.svg'\"\n [alt]=\"code\"\n/>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
3891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponseComponent, decorators: [{
3892
+ type: Component,
3893
+ args: [{ selector: 'aeb-response', template: "<img\n *ngIf=\"code\"\n [src]=\"'/images/responses/' + code + '-' + mode + '.svg'\"\n [alt]=\"code\"\n/>\n" }]
3894
+ }], ctorParameters: function () { return []; }, propDecorators: { code: [{
3895
+ type: Input
3896
+ }], mode: [{
3897
+ type: Input
3898
+ }] } });
3899
+
3900
+ class ResponseModule {
3901
+ }
3902
+ ResponseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3903
+ ResponseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ResponseModule, declarations: [ResponseComponent], imports: [CommonModule] });
3904
+ ResponseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponseModule, imports: [CommonModule] });
3905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponseModule, decorators: [{
3906
+ type: NgModule,
3907
+ args: [{
3908
+ declarations: [ResponseComponent],
3909
+ imports: [CommonModule]
3910
+ }]
3911
+ }] });
3912
+
3840
3913
  class HighlightPipe {
3841
3914
  transform(value, ...args) {
3842
3915
  return `${value.replace(RegExp(args[0]), `<b>${args[0]}</b>`)}`;
@@ -4761,7 +4834,8 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4761
4834
  NewsCardModule,
4762
4835
  DropdownModule,
4763
4836
  TableModule,
4764
- ModalModule], exports: [NewButtonModule,
4837
+ ModalModule,
4838
+ ResponseModule], exports: [NewButtonModule,
4765
4839
  CheckboxModule,
4766
4840
  HeaderModule,
4767
4841
  SidebarModule,
@@ -4793,7 +4867,8 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4793
4867
  NewsCardModule,
4794
4868
  DropdownModule,
4795
4869
  TableModule,
4796
- ModalModule] });
4870
+ ModalModule,
4871
+ ResponseModule] });
4797
4872
  AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AebUiKitModule, imports: [CodeInputModule,
4798
4873
  NewButtonModule,
4799
4874
  CheckboxModule,
@@ -4827,7 +4902,8 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4827
4902
  NewsCardModule,
4828
4903
  DropdownModule,
4829
4904
  TableModule,
4830
- ModalModule, NewButtonModule,
4905
+ ModalModule,
4906
+ ResponseModule, NewButtonModule,
4831
4907
  CheckboxModule,
4832
4908
  HeaderModule,
4833
4909
  SidebarModule,
@@ -4859,7 +4935,8 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4859
4935
  NewsCardModule,
4860
4936
  DropdownModule,
4861
4937
  TableModule,
4862
- ModalModule] });
4938
+ ModalModule,
4939
+ ResponseModule] });
4863
4940
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AebUiKitModule, decorators: [{
4864
4941
  type: NgModule,
4865
4942
  args: [{
@@ -4898,7 +4975,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4898
4975
  NewsCardModule,
4899
4976
  DropdownModule,
4900
4977
  TableModule,
4901
- ModalModule
4978
+ ModalModule,
4979
+ ResponseModule
4902
4980
  ],
4903
4981
  exports: [
4904
4982
  NewButtonModule,
@@ -4933,7 +5011,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4933
5011
  NewsCardModule,
4934
5012
  DropdownModule,
4935
5013
  TableModule,
4936
- ModalModule
5014
+ ModalModule,
5015
+ ResponseModule
4937
5016
  ]
4938
5017
  }]
4939
5018
  }] });
@@ -5180,5 +5259,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
5180
5259
  * Generated bundle index. Do not edit.
5181
5260
  */
5182
5261
 
5183
- export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, CheckboxComponent, CheckboxGroupComponent, CheckboxModule, ClickOutsideDirective, ClickOutsideModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, FieldSliderComponent, FieldSliderModule, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, InputDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewButtonComponent, NewButtonModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OptionComponent, PaginationComponent, PaginationModule, PaginationOldComponent, PaginationOldModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TextareaDirective, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
5262
+ export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, CheckboxComponent, CheckboxGroupComponent, CheckboxModule, ClickOutsideDirective, ClickOutsideModule, CodeInputComponent, CodeInputModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, FieldSliderComponent, FieldSliderModule, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, InputDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewButtonComponent, NewButtonModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OptionComponent, PaginationComponent, PaginationModule, PaginationOldComponent, PaginationOldModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, ResponseComponent, ResponseModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TextareaDirective, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
5184
5263
  //# sourceMappingURL=aeb-ui-kit.mjs.map