aeb-ui-kit 4.0.1-preview.721 → 4.0.1-preview.727

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 (35) hide show
  1. package/esm2020/lib/comment/comment.component.mjs +5 -5
  2. package/esm2020/lib/datepicker/datepicker.component.mjs +5 -5
  3. package/esm2020/lib/dropdown/components/dropdown-container/dropdown-container.component.mjs +98 -0
  4. package/esm2020/lib/dropdown/dropdown.component.mjs +65 -119
  5. package/esm2020/lib/dropdown/dropdown.module.mjs +4 -3
  6. package/esm2020/lib/dropdown/dropdown.namespace.mjs +2 -0
  7. package/esm2020/lib/form-field/{error-message.directive.mjs → directives/error-message.directive.mjs} +2 -3
  8. package/esm2020/lib/form-field/directives/form-field.directive.mjs +86 -0
  9. package/esm2020/lib/form-field/directives/icon.directive.mjs +15 -0
  10. package/esm2020/lib/form-field/directives/label.directive.mjs +15 -0
  11. package/esm2020/lib/form-field/form-field.component.mjs +9 -9
  12. package/esm2020/lib/form-field/form-field.module.mjs +5 -5
  13. package/esm2020/lib/slider/slider.component.mjs +5 -5
  14. package/esm2020/public-api.mjs +6 -5
  15. package/fesm2015/aeb-ui-kit.mjs +204 -165
  16. package/fesm2015/aeb-ui-kit.mjs.map +1 -1
  17. package/fesm2020/aeb-ui-kit.mjs +204 -163
  18. package/fesm2020/aeb-ui-kit.mjs.map +1 -1
  19. package/lib/datepicker/datepicker.component.d.ts +1 -1
  20. package/lib/dropdown/components/dropdown-container/dropdown-container.component.d.ts +28 -0
  21. package/lib/dropdown/dropdown.component.d.ts +24 -29
  22. package/lib/dropdown/dropdown.module.d.ts +6 -5
  23. package/lib/dropdown/dropdown.namespace.d.ts +6 -0
  24. package/lib/form-field/{error-message.directive.d.ts → directives/error-message.directive.d.ts} +0 -1
  25. package/lib/form-field/{form-field.directive.d.ts → directives/form-field.directive.d.ts} +1 -1
  26. package/lib/form-field/{icon.directive.d.ts → directives/icon.directive.d.ts} +2 -2
  27. package/lib/form-field/directives/label.directive.d.ts +6 -0
  28. package/lib/form-field/form-field.component.d.ts +2 -2
  29. package/lib/form-field/form-field.module.d.ts +4 -4
  30. package/package.json +1 -1
  31. package/public-api.d.ts +5 -4
  32. package/esm2020/lib/form-field/form-field.directive.mjs +0 -84
  33. package/esm2020/lib/form-field/icon.directive.mjs +0 -14
  34. package/esm2020/lib/form-field/label.directive.mjs +0 -14
  35. package/lib/form-field/label.directive.d.ts +0 -6
@@ -4,7 +4,7 @@ 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
6
  import { NG_VALUE_ACCESSOR, FormsModule, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
7
- import { timer, map, takeUntil, Subject, Subscription, fromEvent } from 'rxjs';
7
+ import { timer, map, takeUntil, Observable, BehaviorSubject, Subscription, withLatestFrom, filter, switchMap, take, startWith, mergeMap, iif, of, tap, Subject, fromEvent } from 'rxjs';
8
8
  import { trigger, state, style, transition, animate } from '@angular/animations';
9
9
  import * as i2 from '@angular/platform-browser';
10
10
  import { provideNgxMask } from 'ngx-mask';
@@ -620,7 +620,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
620
620
  }] });
621
621
 
622
622
  class ErrorMessageDirective {
623
- constructor() { }
624
623
  }
625
624
  ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ErrorMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
626
625
  ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorMessage: "errorMessage" }, ngImport: i0 });
@@ -629,7 +628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
629
628
  args: [{
630
629
  selector: '[errorMessage]'
631
630
  }]
632
- }], ctorParameters: function () { return []; }, propDecorators: { errorMessage: [{
631
+ }], propDecorators: { errorMessage: [{
633
632
  type: Input
634
633
  }] } });
635
634
 
@@ -637,7 +636,6 @@ class FormFieldDirective {
637
636
  constructor(ngControl, elementRef) {
638
637
  this.ngControl = ngControl;
639
638
  this.elementRef = elementRef;
640
- this.class = 'aeb-input';
641
639
  this.isFocused = false;
642
640
  this.hasValue = false;
643
641
  this._value = '';
@@ -667,6 +665,9 @@ class FormFieldDirective {
667
665
  blur() {
668
666
  this.isFocused = false;
669
667
  }
668
+ get hostClasses() {
669
+ return ['aeb-input'];
670
+ }
670
671
  disable() {
671
672
  if (this.ngControl) {
672
673
  this.ngControl.control.disable();
@@ -685,7 +686,7 @@ class FormFieldDirective {
685
686
  }
686
687
  }
687
688
  FormFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldDirective, deps: [{ token: i1$1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
688
- FormFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: { value: "value" }, host: { listeners: { "input": "change($event.target.value)", "focus": "focus()", "blur": "blur()" }, properties: { "class": "this.class", "attr.disabled": "this.isDisabled" } }, ngImport: i0 });
689
+ FormFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: { value: "value" }, host: { listeners: { "input": "change($event.target.value)", "focus": "focus()", "blur": "blur()" }, properties: { "attr.disabled": "this.isDisabled", "class": "this.hostClasses" } }, ngImport: i0 });
689
690
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldDirective, decorators: [{
690
691
  type: Directive,
691
692
  args: [{
@@ -695,10 +696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
695
696
  type: Optional
696
697
  }, {
697
698
  type: Self
698
- }] }, { type: i0.ElementRef }]; }, propDecorators: { class: [{
699
- type: HostBinding,
700
- args: ['class']
701
- }], isDisabled: [{
699
+ }] }, { type: i0.ElementRef }]; }, propDecorators: { isDisabled: [{
702
700
  type: HostBinding,
703
701
  args: ['attr.disabled']
704
702
  }], value: [{
@@ -712,6 +710,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
712
710
  }], blur: [{
713
711
  type: HostListener,
714
712
  args: ['blur']
713
+ }], hostClasses: [{
714
+ type: HostBinding,
715
+ args: ['class']
716
+ }] } });
717
+
718
+ class IconDirective {
719
+ }
720
+ IconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
721
+ IconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: IconDirective, selector: "[aebIcon]", inputs: { aebIcon: "aebIcon" }, ngImport: i0 });
722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconDirective, decorators: [{
723
+ type: Directive,
724
+ args: [{
725
+ selector: '[aebIcon]'
726
+ }]
727
+ }], propDecorators: { aebIcon: [{
728
+ type: Input
729
+ }] } });
730
+
731
+ class LabelDirective {
732
+ }
733
+ LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
734
+ LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LabelDirective, selector: "[aebLabel]", inputs: { aebLabel: "aebLabel" }, ngImport: i0 });
735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelDirective, decorators: [{
736
+ type: Directive,
737
+ args: [{
738
+ selector: '[aebLabel]'
739
+ }]
740
+ }], propDecorators: { aebLabel: [{
741
+ type: Input
715
742
  }] } });
716
743
 
717
744
  class FormFieldComponent {
@@ -776,7 +803,7 @@ class FormFieldComponent {
776
803
  }
777
804
  }
778
805
  FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
779
- FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldComponent, selector: "aeb-form-field", inputs: { isInvalid: "isInvalid", showIcon: "showIcon", showErrorMessage: "showErrorMessage", disabled: "disabled" }, host: { properties: { "class": "this.class", "class.focused": "this.focused", "class.has-value": "this.hasValue", "class.error": "this.error", "class.disabled": "this.isDisabled", "class.has-icon": "this.hasIcon" } }, queries: [{ propertyName: "formField", first: true, predicate: FormFieldDirective, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<div class=\"aeb-label\">\n <ng-content select=\"aeb-label\"></ng-content>\n</div>\n\n<ng-content *ngIf=\"showIcon\" select=\"[aebIcon]\"></ng-content>\n\n<div\n [@showErrorMessageVisibility]=\"\n showErrorMessage && error && !disabled && !isFocused ? 'visible' : 'void'\n \"\n *ngIf=\"showErrorMessage && error && !disabled && !isFocused\"\n class=\"aeb-form-field--error-message\"\n>\n <ng-content select=\"[errorMessage]\"></ng-content>\n</div>\n", styles: [".aeb-form-field{--border-color-default: var(--color-mono-gray-light);--border-color-active: var(--color-blue-brand);--border-color-disabled: var(--color-mono-gray-light);--border-color-error: var(--color-red-neutral);--label-color-default: var(--color-mono-gray-soft);--label-color-active: var(--color-blue-brand);--label-color-disabled: var(--color-mono-gray-light);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--color-mono-clear);--input-text-color-default: var(--color-mono-brand-dark);--input-text-color-disabled: var(--color-mono-gray-light);--error-text-color: var(--color-red-neutral);position:relative;display:flex;flex-direction:column;color:var(--label-color-default)}.aeb-form-field.error .aeb-input{border-color:var(--border-color-error)}.aeb-form-field.error .aeb-label{color:var(--label-color-error)}.aeb-form-field--error-message{padding:8px 0;font-size:var(--font-size-xxs);color:var(--error-text-color);overflow-wrap:break-word}.aeb-form-field--error-message:has(*:empty){display:none}.aeb-form-field.disabled .aeb-input{border:var(--border-skinny) solid var(--border-color-disabled);color:var(--input-text-color-disabled)}.aeb-form-field.disabled .aeb-label{color:var(--label-color-disabled)}.aeb-form-field .aeb-input{display:block;box-sizing:border-box;width:100%;min-height:auto;color:var(--input-text-color-default);line-height:18px;padding:16px 14px;font-size:var(--font-size-m);border:var(--border-skinny) solid var(--border-color-default);border-radius:var(--border-medium-rounded);background:transparent;box-shadow:none;transition:all ease-in-out .2s linear}.aeb-form-field .aeb-input:focus{outline:none}.aeb-form-field .aeb-input,.aeb-form-field .aeb-input::-webkit-search-cancel-button,.aeb-form-field .aeb-input::-webkit-search-decoration,.aeb-form-field .aeb-input::-webkit-search-results-button,.aeb-form-field .aeb-input::-webkit-search-results-decoration{appearance:none}.aeb-form-field .aeb-input::-webkit-contacts-auto-fill-button,.aeb-form-field .aeb-input::-webkit-caps-lock-indicator,.aeb-form-field .aeb-input::-webkit-credentials-auto-fill-button{visibility:hidden}.aeb-form-field .aeb-input::-webkit-outer-spin-button,.aeb-form-field .aeb-input::-webkit-inner-spin-button{appearance:none;margin:0}.aeb-form-field .aeb-input[type=number]{appearance:textfield}.aeb-form-field textarea{resize:vertical;cursor:auto;scroll-behavior:smooth}.aeb-form-field textarea.aeb-input{min-height:70px;scrollbar-color:var(--color-blue-soft) transparent;scrollbar-width:thin}@-moz-document url-prefix(){.aeb-form-field textarea.aeb-input{overflow:clip}}.aeb-form-field textarea.aeb-input::-webkit-scrollbar{width:16px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-thumb{border:6px solid rgba(0,0,0,0);background-color:var(--color-blue-soft);background-clip:padding-box;border-radius:9999px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-corner{background-color:transparent}.aeb-form-field textarea.aeb-input::-webkit-resizer{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KPHBhdGggZD0iTTMuMjc5NTMgNC44Mzg1NkMzLjA2NDI3IDUuMDUzODEgMi43MTUyNyA1LjA1MzgxIDIuNTAwMDEgNC44Mzg1NkMyLjI4NDc1IDQuNjIzMyAyLjI4NDc1IDQuMjc0MyAyLjUwMDAxIDQuMDU5MDVMNC4wNTkwNCAyLjUwMDAzQzQuMjc0MyAyLjI4NDc3IDQuNjIzMyAyLjI4NDc3IDQuODM4NTYgMi41MDAwM0M1LjA1MzgxIDIuNzE1MjggNS4wNTM4MSAzLjA2NDI4IDQuODM4NTYgMy4yNzk1NEwzLjI3OTUzIDQuODM4NTZaIiBmaWxsPSIjM0I0MDRBIi8+DQo8cGF0aCBkPSJNMC45NDA5NTkgNC4wNTlDMC43MjU3MDIgNC4yNzQyNSAwLjM3NjcgNC4yNzQyNSAwLjE2MTQ0MyA0LjA1OUMtMC4wNTM4MTQzIDMuODQzNzQgLTAuMDUzODE0NCAzLjQ5NDc0IDAuMTYxNDQzIDMuMjc5NDlMMy4yNzk1MSAwLjE2MTQ0MkMzLjQ5NDc2IC0wLjA1MzgxNCAzLjg0Mzc2IC0wLjA1MzgxNCA0LjA1OTAyIDAuMTYxNDQyQzQuMjc0MjggMC4zNzY2OTggNC4yNzQyOCAwLjcyNTY5NyA0LjA1OTAyIDAuOTQwOTUzTDAuOTQwOTU5IDQuMDU5WiIgZmlsbD0iIzNCNDA0QSIvPg0KPC9zdmc+DQo=);background-repeat:no-repeat;background-position:center}.aeb-form-field .aeb-label{display:inline-block;position:absolute;top:0;left:16px;max-width:calc(100% - 32px);padding-top:calc(var(--border-skinny) + 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-m);pointer-events:none;background-color:#0000;transition:all .2s ease-out;box-sizing:border-box;-webkit-user-select:none;user-select:none}.aeb-form-field.focused .aeb-label,.aeb-form-field.has-value .aeb-label{margin-top:10px;padding:0 4px;line-height:14px;font-size:var(--font-size-xxs);background-color:var(--label-active-background-color);transform:translateY(-1rem)}.aeb-form-field.focused .aeb-input{border-color:var(--border-color-active)}.aeb-form-field.focused .aeb-label{color:var(--label-color-active)}.aeb-form-field.has-icon .aeb-input{padding:16px 38px 16px 14px}.aeb-form-field.has-icon .aeb-label{max-width:calc(100% - 56px)}.aeb-form-field *[aebIcon]{position:absolute;top:16px;right:12px;width:24px;height:24px;-webkit-user-select:none;user-select:none}.aeb-form-field *[aebIcon] img{width:24px;height:24px}body.dark .aeb-form-field,body.sd-dark .aeb-form-field{--border-color-default: var(--gray-primary-dark-theme);--border-color-active: var(--blue-primary-dark-theme);--border-color-disabled: var(--gray-primary-dark-theme);--border-color-error: var(--color-red-neutral);--label-color-default: var(--gray-primary-dark-theme);--label-color-active: var(--blue-primary-dark-theme);--label-color-disabled: var(--gray-primary-dark-theme);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--darkblue-primary-dark-theme);--input-text-color-default: var(--color-mono-clear);--input-text-color-disabled: var(--gray-primary-dark-theme);--error-text-color: var(--color-red-neutral)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
806
+ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldComponent, selector: "aeb-form-field", inputs: { isInvalid: "isInvalid", showIcon: "showIcon", showErrorMessage: "showErrorMessage", disabled: "disabled" }, host: { properties: { "class": "this.class", "class.aeb-form-field--focused": "this.focused", "class.aeb-form-field--has-value": "this.hasValue", "class.aeb-form-field--error": "this.error", "class.aeb-form-field--disabled": "this.isDisabled", "class.aeb-form-field--has-icon": "this.hasIcon" } }, queries: [{ propertyName: "formField", first: true, predicate: FormFieldDirective, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<div class=\"aeb-label\">\n <ng-content select=\"[aebLabel]\"></ng-content>\n</div>\n\n<ng-content *ngIf=\"showIcon\" select=\"[aebIcon]\"></ng-content>\n\n<div\n [@showErrorMessageVisibility]=\"\n showErrorMessage && error && !disabled && !isFocused ? 'visible' : 'void'\n \"\n *ngIf=\"showErrorMessage && error && !disabled && !isFocused\"\n class=\"aeb-form-field--error-message\"\n>\n <ng-content select=\"[errorMessage]\"></ng-content>\n</div>\n", styles: [".aeb-form-field{--border-color-default: var(--color-mono-gray-light);--border-color-active: var(--color-blue-brand);--border-color-disabled: var(--color-mono-gray-light);--border-color-error: var(--color-red-neutral);--label-color-default: var(--color-mono-gray-soft);--label-color-active: var(--color-blue-brand);--label-color-disabled: var(--color-mono-gray-light);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--color-mono-clear);--input-text-color-default: var(--color-mono-brand-dark);--input-text-color-disabled: var(--color-mono-gray-light);--error-text-color: var(--color-red-neutral);position:relative;display:flex;flex-direction:column;color:var(--label-color-default)}.aeb-form-field.aeb-form-field--error .aeb-input{border-color:var(--border-color-error)}.aeb-form-field.aeb-form-field--error .aeb-label{color:var(--label-color-error)}.aeb-form-field--error-message{padding:8px 0;font-size:var(--font-size-xxs);color:var(--error-text-color);overflow-wrap:break-word}.aeb-form-field--error-message:has(*:empty){display:none}.aeb-form-field.aeb-form-field--disabled .aeb-input{border:var(--border-skinny) solid var(--border-color-disabled);color:var(--input-text-color-disabled)}.aeb-form-field.aeb-form-field--disabled .aeb-label{color:var(--label-color-disabled)}.aeb-form-field .aeb-input{display:block;box-sizing:border-box;width:100%;min-height:auto;color:var(--input-text-color-default);line-height:18px;padding:15px 14px;font-size:var(--font-size-m);border:var(--border-skinny) solid var(--border-color-default);border-radius:var(--border-medium-rounded);background:transparent;box-shadow:none;transition:all ease-in-out .2s linear}.aeb-form-field .aeb-input:focus{outline:none}.aeb-form-field .aeb-input,.aeb-form-field .aeb-input::-webkit-search-cancel-button,.aeb-form-field .aeb-input::-webkit-search-decoration,.aeb-form-field .aeb-input::-webkit-search-results-button,.aeb-form-field .aeb-input::-webkit-search-results-decoration{appearance:none}.aeb-form-field .aeb-input::-webkit-contacts-auto-fill-button,.aeb-form-field .aeb-input::-webkit-caps-lock-indicator,.aeb-form-field .aeb-input::-webkit-credentials-auto-fill-button{visibility:hidden}.aeb-form-field .aeb-input::-webkit-outer-spin-button,.aeb-form-field .aeb-input::-webkit-inner-spin-button{appearance:none;margin:0}.aeb-form-field .aeb-input[type=number]{appearance:textfield}.aeb-form-field textarea{resize:vertical;cursor:auto;scroll-behavior:smooth}.aeb-form-field textarea.aeb-input{min-height:70px;scrollbar-color:var(--color-blue-soft) transparent;scrollbar-width:thin}@-moz-document url-prefix(){.aeb-form-field textarea.aeb-input{overflow:clip}}.aeb-form-field textarea.aeb-input::-webkit-scrollbar{width:16px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-thumb{border:6px solid rgba(0,0,0,0);background-color:var(--color-blue-soft);background-clip:padding-box;border-radius:9999px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-corner{background-color:transparent}.aeb-form-field textarea.aeb-input::-webkit-resizer{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KPHBhdGggZD0iTTMuMjc5NTMgNC44Mzg1NkMzLjA2NDI3IDUuMDUzODEgMi43MTUyNyA1LjA1MzgxIDIuNTAwMDEgNC44Mzg1NkMyLjI4NDc1IDQuNjIzMyAyLjI4NDc1IDQuMjc0MyAyLjUwMDAxIDQuMDU5MDVMNC4wNTkwNCAyLjUwMDAzQzQuMjc0MyAyLjI4NDc3IDQuNjIzMyAyLjI4NDc3IDQuODM4NTYgMi41MDAwM0M1LjA1MzgxIDIuNzE1MjggNS4wNTM4MSAzLjA2NDI4IDQuODM4NTYgMy4yNzk1NEwzLjI3OTUzIDQuODM4NTZaIiBmaWxsPSIjM0I0MDRBIi8+DQo8cGF0aCBkPSJNMC45NDA5NTkgNC4wNTlDMC43MjU3MDIgNC4yNzQyNSAwLjM3NjcgNC4yNzQyNSAwLjE2MTQ0MyA0LjA1OUMtMC4wNTM4MTQzIDMuODQzNzQgLTAuMDUzODE0NCAzLjQ5NDc0IDAuMTYxNDQzIDMuMjc5NDlMMy4yNzk1MSAwLjE2MTQ0MkMzLjQ5NDc2IC0wLjA1MzgxNCAzLjg0Mzc2IC0wLjA1MzgxNCA0LjA1OTAyIDAuMTYxNDQyQzQuMjc0MjggMC4zNzY2OTggNC4yNzQyOCAwLjcyNTY5NyA0LjA1OTAyIDAuOTQwOTUzTDAuOTQwOTU5IDQuMDU5WiIgZmlsbD0iIzNCNDA0QSIvPg0KPC9zdmc+DQo=);background-repeat:no-repeat;background-position:center}.aeb-form-field .aeb-label{display:inline-block;position:absolute;top:0;left:16px;max-width:calc(100% - 32px);padding-top:calc(var(--border-skinny) + 15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-m);pointer-events:none;background-color:#0000;transition:all .2s ease-out;box-sizing:border-box;-webkit-user-select:none;user-select:none}.aeb-form-field.aeb-form-field--focused .aeb-label,.aeb-form-field.aeb-form-field--has-value .aeb-label{margin-top:10px;padding:0 4px;line-height:14px;font-size:var(--font-size-xxs);background-color:var(--label-active-background-color);transform:translateY(-1rem)}.aeb-form-field.aeb-form-field--focused .aeb-input{border-color:var(--border-color-active)}.aeb-form-field.aeb-form-field--focused .aeb-label{color:var(--label-color-active)}.aeb-form-field.aeb-form-field--has-icon .aeb-input{padding-right:38px}.aeb-form-field.aeb-form-field--has-icon .aeb-label{max-width:calc(100% - 56px)}.aeb-form-field *[aebIcon]{position:absolute;top:16px;right:12px;width:24px;height:24px;-webkit-user-select:none;user-select:none}.aeb-form-field *[aebIcon] img{width:24px;height:24px}body.dark .aeb-form-field,body.sd-dark .aeb-form-field{--border-color-default: var(--gray-primary-dark-theme);--border-color-active: var(--blue-primary-dark-theme);--border-color-disabled: var(--gray-primary-dark-theme);--border-color-error: var(--color-red-neutral);--label-color-default: var(--gray-primary-dark-theme);--label-color-active: var(--blue-primary-dark-theme);--label-color-disabled: var(--gray-primary-dark-theme);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--darkblue-primary-dark-theme);--input-text-color-default: var(--color-mono-clear);--input-text-color-disabled: var(--gray-primary-dark-theme);--error-text-color: var(--color-red-neutral)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
780
807
  trigger('showErrorMessageVisibility', [
781
808
  state('void', style({
782
809
  'font-size': '0'
@@ -801,7 +828,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
801
828
  transition('void => visible', [animate('.1s')]),
802
829
  transition('visible => void', [animate('.05s')])
803
830
  ])
804
- ], template: "<ng-content></ng-content>\n\n<div class=\"aeb-label\">\n <ng-content select=\"aeb-label\"></ng-content>\n</div>\n\n<ng-content *ngIf=\"showIcon\" select=\"[aebIcon]\"></ng-content>\n\n<div\n [@showErrorMessageVisibility]=\"\n showErrorMessage && error && !disabled && !isFocused ? 'visible' : 'void'\n \"\n *ngIf=\"showErrorMessage && error && !disabled && !isFocused\"\n class=\"aeb-form-field--error-message\"\n>\n <ng-content select=\"[errorMessage]\"></ng-content>\n</div>\n", styles: [".aeb-form-field{--border-color-default: var(--color-mono-gray-light);--border-color-active: var(--color-blue-brand);--border-color-disabled: var(--color-mono-gray-light);--border-color-error: var(--color-red-neutral);--label-color-default: var(--color-mono-gray-soft);--label-color-active: var(--color-blue-brand);--label-color-disabled: var(--color-mono-gray-light);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--color-mono-clear);--input-text-color-default: var(--color-mono-brand-dark);--input-text-color-disabled: var(--color-mono-gray-light);--error-text-color: var(--color-red-neutral);position:relative;display:flex;flex-direction:column;color:var(--label-color-default)}.aeb-form-field.error .aeb-input{border-color:var(--border-color-error)}.aeb-form-field.error .aeb-label{color:var(--label-color-error)}.aeb-form-field--error-message{padding:8px 0;font-size:var(--font-size-xxs);color:var(--error-text-color);overflow-wrap:break-word}.aeb-form-field--error-message:has(*:empty){display:none}.aeb-form-field.disabled .aeb-input{border:var(--border-skinny) solid var(--border-color-disabled);color:var(--input-text-color-disabled)}.aeb-form-field.disabled .aeb-label{color:var(--label-color-disabled)}.aeb-form-field .aeb-input{display:block;box-sizing:border-box;width:100%;min-height:auto;color:var(--input-text-color-default);line-height:18px;padding:16px 14px;font-size:var(--font-size-m);border:var(--border-skinny) solid var(--border-color-default);border-radius:var(--border-medium-rounded);background:transparent;box-shadow:none;transition:all ease-in-out .2s linear}.aeb-form-field .aeb-input:focus{outline:none}.aeb-form-field .aeb-input,.aeb-form-field .aeb-input::-webkit-search-cancel-button,.aeb-form-field .aeb-input::-webkit-search-decoration,.aeb-form-field .aeb-input::-webkit-search-results-button,.aeb-form-field .aeb-input::-webkit-search-results-decoration{appearance:none}.aeb-form-field .aeb-input::-webkit-contacts-auto-fill-button,.aeb-form-field .aeb-input::-webkit-caps-lock-indicator,.aeb-form-field .aeb-input::-webkit-credentials-auto-fill-button{visibility:hidden}.aeb-form-field .aeb-input::-webkit-outer-spin-button,.aeb-form-field .aeb-input::-webkit-inner-spin-button{appearance:none;margin:0}.aeb-form-field .aeb-input[type=number]{appearance:textfield}.aeb-form-field textarea{resize:vertical;cursor:auto;scroll-behavior:smooth}.aeb-form-field textarea.aeb-input{min-height:70px;scrollbar-color:var(--color-blue-soft) transparent;scrollbar-width:thin}@-moz-document url-prefix(){.aeb-form-field textarea.aeb-input{overflow:clip}}.aeb-form-field textarea.aeb-input::-webkit-scrollbar{width:16px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-thumb{border:6px solid rgba(0,0,0,0);background-color:var(--color-blue-soft);background-clip:padding-box;border-radius:9999px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-corner{background-color:transparent}.aeb-form-field textarea.aeb-input::-webkit-resizer{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KPHBhdGggZD0iTTMuMjc5NTMgNC44Mzg1NkMzLjA2NDI3IDUuMDUzODEgMi43MTUyNyA1LjA1MzgxIDIuNTAwMDEgNC44Mzg1NkMyLjI4NDc1IDQuNjIzMyAyLjI4NDc1IDQuMjc0MyAyLjUwMDAxIDQuMDU5MDVMNC4wNTkwNCAyLjUwMDAzQzQuMjc0MyAyLjI4NDc3IDQuNjIzMyAyLjI4NDc3IDQuODM4NTYgMi41MDAwM0M1LjA1MzgxIDIuNzE1MjggNS4wNTM4MSAzLjA2NDI4IDQuODM4NTYgMy4yNzk1NEwzLjI3OTUzIDQuODM4NTZaIiBmaWxsPSIjM0I0MDRBIi8+DQo8cGF0aCBkPSJNMC45NDA5NTkgNC4wNTlDMC43MjU3MDIgNC4yNzQyNSAwLjM3NjcgNC4yNzQyNSAwLjE2MTQ0MyA0LjA1OUMtMC4wNTM4MTQzIDMuODQzNzQgLTAuMDUzODE0NCAzLjQ5NDc0IDAuMTYxNDQzIDMuMjc5NDlMMy4yNzk1MSAwLjE2MTQ0MkMzLjQ5NDc2IC0wLjA1MzgxNCAzLjg0Mzc2IC0wLjA1MzgxNCA0LjA1OTAyIDAuMTYxNDQyQzQuMjc0MjggMC4zNzY2OTggNC4yNzQyOCAwLjcyNTY5NyA0LjA1OTAyIDAuOTQwOTUzTDAuOTQwOTU5IDQuMDU5WiIgZmlsbD0iIzNCNDA0QSIvPg0KPC9zdmc+DQo=);background-repeat:no-repeat;background-position:center}.aeb-form-field .aeb-label{display:inline-block;position:absolute;top:0;left:16px;max-width:calc(100% - 32px);padding-top:calc(var(--border-skinny) + 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-m);pointer-events:none;background-color:#0000;transition:all .2s ease-out;box-sizing:border-box;-webkit-user-select:none;user-select:none}.aeb-form-field.focused .aeb-label,.aeb-form-field.has-value .aeb-label{margin-top:10px;padding:0 4px;line-height:14px;font-size:var(--font-size-xxs);background-color:var(--label-active-background-color);transform:translateY(-1rem)}.aeb-form-field.focused .aeb-input{border-color:var(--border-color-active)}.aeb-form-field.focused .aeb-label{color:var(--label-color-active)}.aeb-form-field.has-icon .aeb-input{padding:16px 38px 16px 14px}.aeb-form-field.has-icon .aeb-label{max-width:calc(100% - 56px)}.aeb-form-field *[aebIcon]{position:absolute;top:16px;right:12px;width:24px;height:24px;-webkit-user-select:none;user-select:none}.aeb-form-field *[aebIcon] img{width:24px;height:24px}body.dark .aeb-form-field,body.sd-dark .aeb-form-field{--border-color-default: var(--gray-primary-dark-theme);--border-color-active: var(--blue-primary-dark-theme);--border-color-disabled: var(--gray-primary-dark-theme);--border-color-error: var(--color-red-neutral);--label-color-default: var(--gray-primary-dark-theme);--label-color-active: var(--blue-primary-dark-theme);--label-color-disabled: var(--gray-primary-dark-theme);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--darkblue-primary-dark-theme);--input-text-color-default: var(--color-mono-clear);--input-text-color-disabled: var(--gray-primary-dark-theme);--error-text-color: var(--color-red-neutral)}\n"] }]
831
+ ], template: "<ng-content></ng-content>\n\n<div class=\"aeb-label\">\n <ng-content select=\"[aebLabel]\"></ng-content>\n</div>\n\n<ng-content *ngIf=\"showIcon\" select=\"[aebIcon]\"></ng-content>\n\n<div\n [@showErrorMessageVisibility]=\"\n showErrorMessage && error && !disabled && !isFocused ? 'visible' : 'void'\n \"\n *ngIf=\"showErrorMessage && error && !disabled && !isFocused\"\n class=\"aeb-form-field--error-message\"\n>\n <ng-content select=\"[errorMessage]\"></ng-content>\n</div>\n", styles: [".aeb-form-field{--border-color-default: var(--color-mono-gray-light);--border-color-active: var(--color-blue-brand);--border-color-disabled: var(--color-mono-gray-light);--border-color-error: var(--color-red-neutral);--label-color-default: var(--color-mono-gray-soft);--label-color-active: var(--color-blue-brand);--label-color-disabled: var(--color-mono-gray-light);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--color-mono-clear);--input-text-color-default: var(--color-mono-brand-dark);--input-text-color-disabled: var(--color-mono-gray-light);--error-text-color: var(--color-red-neutral);position:relative;display:flex;flex-direction:column;color:var(--label-color-default)}.aeb-form-field.aeb-form-field--error .aeb-input{border-color:var(--border-color-error)}.aeb-form-field.aeb-form-field--error .aeb-label{color:var(--label-color-error)}.aeb-form-field--error-message{padding:8px 0;font-size:var(--font-size-xxs);color:var(--error-text-color);overflow-wrap:break-word}.aeb-form-field--error-message:has(*:empty){display:none}.aeb-form-field.aeb-form-field--disabled .aeb-input{border:var(--border-skinny) solid var(--border-color-disabled);color:var(--input-text-color-disabled)}.aeb-form-field.aeb-form-field--disabled .aeb-label{color:var(--label-color-disabled)}.aeb-form-field .aeb-input{display:block;box-sizing:border-box;width:100%;min-height:auto;color:var(--input-text-color-default);line-height:18px;padding:15px 14px;font-size:var(--font-size-m);border:var(--border-skinny) solid var(--border-color-default);border-radius:var(--border-medium-rounded);background:transparent;box-shadow:none;transition:all ease-in-out .2s linear}.aeb-form-field .aeb-input:focus{outline:none}.aeb-form-field .aeb-input,.aeb-form-field .aeb-input::-webkit-search-cancel-button,.aeb-form-field .aeb-input::-webkit-search-decoration,.aeb-form-field .aeb-input::-webkit-search-results-button,.aeb-form-field .aeb-input::-webkit-search-results-decoration{appearance:none}.aeb-form-field .aeb-input::-webkit-contacts-auto-fill-button,.aeb-form-field .aeb-input::-webkit-caps-lock-indicator,.aeb-form-field .aeb-input::-webkit-credentials-auto-fill-button{visibility:hidden}.aeb-form-field .aeb-input::-webkit-outer-spin-button,.aeb-form-field .aeb-input::-webkit-inner-spin-button{appearance:none;margin:0}.aeb-form-field .aeb-input[type=number]{appearance:textfield}.aeb-form-field textarea{resize:vertical;cursor:auto;scroll-behavior:smooth}.aeb-form-field textarea.aeb-input{min-height:70px;scrollbar-color:var(--color-blue-soft) transparent;scrollbar-width:thin}@-moz-document url-prefix(){.aeb-form-field textarea.aeb-input{overflow:clip}}.aeb-form-field textarea.aeb-input::-webkit-scrollbar{width:16px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-thumb{border:6px solid rgba(0,0,0,0);background-color:var(--color-blue-soft);background-clip:padding-box;border-radius:9999px}.aeb-form-field textarea.aeb-input::-webkit-scrollbar-corner{background-color:transparent}.aeb-form-field textarea.aeb-input::-webkit-resizer{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KPHBhdGggZD0iTTMuMjc5NTMgNC44Mzg1NkMzLjA2NDI3IDUuMDUzODEgMi43MTUyNyA1LjA1MzgxIDIuNTAwMDEgNC44Mzg1NkMyLjI4NDc1IDQuNjIzMyAyLjI4NDc1IDQuMjc0MyAyLjUwMDAxIDQuMDU5MDVMNC4wNTkwNCAyLjUwMDAzQzQuMjc0MyAyLjI4NDc3IDQuNjIzMyAyLjI4NDc3IDQuODM4NTYgMi41MDAwM0M1LjA1MzgxIDIuNzE1MjggNS4wNTM4MSAzLjA2NDI4IDQuODM4NTYgMy4yNzk1NEwzLjI3OTUzIDQuODM4NTZaIiBmaWxsPSIjM0I0MDRBIi8+DQo8cGF0aCBkPSJNMC45NDA5NTkgNC4wNTlDMC43MjU3MDIgNC4yNzQyNSAwLjM3NjcgNC4yNzQyNSAwLjE2MTQ0MyA0LjA1OUMtMC4wNTM4MTQzIDMuODQzNzQgLTAuMDUzODE0NCAzLjQ5NDc0IDAuMTYxNDQzIDMuMjc5NDlMMy4yNzk1MSAwLjE2MTQ0MkMzLjQ5NDc2IC0wLjA1MzgxNCAzLjg0Mzc2IC0wLjA1MzgxNCA0LjA1OTAyIDAuMTYxNDQyQzQuMjc0MjggMC4zNzY2OTggNC4yNzQyOCAwLjcyNTY5NyA0LjA1OTAyIDAuOTQwOTUzTDAuOTQwOTU5IDQuMDU5WiIgZmlsbD0iIzNCNDA0QSIvPg0KPC9zdmc+DQo=);background-repeat:no-repeat;background-position:center}.aeb-form-field .aeb-label{display:inline-block;position:absolute;top:0;left:16px;max-width:calc(100% - 32px);padding-top:calc(var(--border-skinny) + 15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-m);pointer-events:none;background-color:#0000;transition:all .2s ease-out;box-sizing:border-box;-webkit-user-select:none;user-select:none}.aeb-form-field.aeb-form-field--focused .aeb-label,.aeb-form-field.aeb-form-field--has-value .aeb-label{margin-top:10px;padding:0 4px;line-height:14px;font-size:var(--font-size-xxs);background-color:var(--label-active-background-color);transform:translateY(-1rem)}.aeb-form-field.aeb-form-field--focused .aeb-input{border-color:var(--border-color-active)}.aeb-form-field.aeb-form-field--focused .aeb-label{color:var(--label-color-active)}.aeb-form-field.aeb-form-field--has-icon .aeb-input{padding-right:38px}.aeb-form-field.aeb-form-field--has-icon .aeb-label{max-width:calc(100% - 56px)}.aeb-form-field *[aebIcon]{position:absolute;top:16px;right:12px;width:24px;height:24px;-webkit-user-select:none;user-select:none}.aeb-form-field *[aebIcon] img{width:24px;height:24px}body.dark .aeb-form-field,body.sd-dark .aeb-form-field{--border-color-default: var(--gray-primary-dark-theme);--border-color-active: var(--blue-primary-dark-theme);--border-color-disabled: var(--gray-primary-dark-theme);--border-color-error: var(--color-red-neutral);--label-color-default: var(--gray-primary-dark-theme);--label-color-active: var(--blue-primary-dark-theme);--label-color-disabled: var(--gray-primary-dark-theme);--label-color-error: var(--color-red-neutral);--label-active-background-color: var(--darkblue-primary-dark-theme);--input-text-color-default: var(--color-mono-clear);--input-text-color-disabled: var(--gray-primary-dark-theme);--error-text-color: var(--color-red-neutral)}\n"] }]
805
832
  }], propDecorators: { formField: [{
806
833
  type: ContentChild,
807
834
  args: [FormFieldDirective]
@@ -818,45 +845,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
818
845
  type: Input
819
846
  }], focused: [{
820
847
  type: HostBinding,
821
- args: ['class.focused']
848
+ args: ['class.aeb-form-field--focused']
822
849
  }], hasValue: [{
823
850
  type: HostBinding,
824
- args: ['class.has-value']
851
+ args: ['class.aeb-form-field--has-value']
825
852
  }], error: [{
826
853
  type: HostBinding,
827
- args: ['class.error']
854
+ args: ['class.aeb-form-field--error']
828
855
  }], isDisabled: [{
829
856
  type: HostBinding,
830
- args: ['class.disabled']
857
+ args: ['class.aeb-form-field--disabled']
831
858
  }], hasIcon: [{
832
859
  type: HostBinding,
833
- args: ['class.has-icon']
860
+ args: ['class.aeb-form-field--has-icon']
834
861
  }] } });
835
862
 
836
- class IconDirective {
837
- constructor() { }
838
- }
839
- IconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
840
- IconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: IconDirective, selector: "[aebIcon]", ngImport: i0 });
841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconDirective, decorators: [{
842
- type: Directive,
843
- args: [{
844
- selector: '[aebIcon]'
845
- }]
846
- }], ctorParameters: function () { return []; } });
847
-
848
- class LabelDirective {
849
- constructor() { }
850
- }
851
- LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
852
- LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LabelDirective, selector: "aeb-label", ngImport: i0 });
853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelDirective, decorators: [{
854
- type: Directive,
855
- args: [{
856
- selector: 'aeb-label'
857
- }]
858
- }], ctorParameters: function () { return []; } });
859
-
860
863
  class FormFieldModule {
861
864
  }
862
865
  FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1346,10 +1349,10 @@ class CommentComponent {
1346
1349
  }
1347
1350
  }
1348
1351
  CommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommentComponent, deps: [{ token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
1349
- CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommentComponent, selector: "aeb-comment", inputs: { comment: "comment" }, outputs: { response: "response" }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], ngImport: i0, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-old-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-old-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--color-mono-brand-dark)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--color-blue-brand);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--color-mono-clear)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:var(--font-size-xxs);color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:var(--font-size-s);color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-mono-brand-dark)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__comment-response{font-size:var(--font-size-xs);color:var(--color-blue-brand);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:var(--font-size-xs);color:var(--color-mono-brand-dark)}.aeb-comment__response-counter{margin-right:12px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: OldButtonComponent, selector: "aeb-old-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "component", type: CommentComponent, selector: "aeb-comment", inputs: ["comment"], outputs: ["response"] }], encapsulation: i0.ViewEncapsulation.None });
1352
+ CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommentComponent, selector: "aeb-comment", inputs: { comment: "comment" }, outputs: { response: "response" }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], ngImport: i0, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <label aebLabel>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <label aebLabel>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-old-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-old-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--color-mono-brand-dark)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--color-blue-brand);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--color-mono-clear)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:var(--font-size-xxs);color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:var(--font-size-s);color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-mono-brand-dark)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__comment-response{font-size:var(--font-size-xs);color:var(--color-blue-brand);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:var(--font-size-xs);color:var(--color-mono-brand-dark)}.aeb-comment__response-counter{margin-right:12px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TooltipDirective, selector: "[aebTooltip]", inputs: ["tooltip-data", "position", "overflow"], outputs: ["clickOutside"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: OldButtonComponent, selector: "aeb-old-button", inputs: ["label", "fill", "showIcon", "iconSource", "disabledIconSource", "hoveredIconSource", "disabled", "leftIcon", "rightIcon", "size", "tabIndex", "solid"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { kind: "component", type: CommentComponent, selector: "aeb-comment", inputs: ["comment"], outputs: ["response"] }], encapsulation: i0.ViewEncapsulation.None });
1350
1353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommentComponent, decorators: [{
1351
1354
  type: Component,
1352
- args: [{ selector: 'aeb-comment', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-old-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-old-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--color-mono-brand-dark)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--color-blue-brand);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--color-mono-clear)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:var(--font-size-xxs);color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:var(--font-size-s);color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-mono-brand-dark)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__comment-response{font-size:var(--font-size-xs);color:var(--color-blue-brand);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:var(--font-size-xs);color:var(--color-mono-brand-dark)}.aeb-comment__response-counter{margin-right:12px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\n"] }]
1355
+ args: [{ selector: 'aeb-comment', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-comment\">\n <div class=\"aeb-comment__avatar-column\">\n <div class=\"aeb-comment__avatar\">\n <img\n [src]=\"comment.avatar\"\n *ngIf=\"comment.avatar; else nameTemplate\"\n alt=\"Avatar\"\n />\n <ng-template #nameTemplate>\n <div class=\"aeb-comment__initials\">\n {{ comment.firstName.slice(0, 1) }}{{ comment.lastName.slice(0, 1) }}\n </div>\n </ng-template>\n </div>\n </div>\n <div class=\"aeb-comment__comment-column\">\n <div class=\"aeb-comment__author-wrapper\">\n <div class=\"aeb-comment__author-group\">\n {{ comment.group }}\n <ng-container *ngIf=\"comment.parentName\">\n <div class=\"aeb-comment__reply-icon\">\n <svg\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </div>\n <span class=\"aeb-comment__reply-host\">\n {{ comment.parentName }}\n </span>\n </ng-container>\n </div>\n <div class=\"aeb-comment__author-name\">\n {{ comment.fullName }}\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\"\n stroke=\"#27303E\"\n />\n <path\n d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\"\n fill=\"#27303E\"\n />\n </svg>\n <div>\n <div class=\"aeb-comment__tooltip\">\n {{ comment.aboutAuthor }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"aeb-comment__comment-wrapper\">\n <div class=\"aeb-comment__comment-header\">\n {{ comment.title }}\n </div>\n <div class=\"aeb-comment__comment-txt\">\n {{ comment.content }}\n </div>\n </div>\n <div class=\"aeb-comment__date-response\">\n <div class=\"aeb-comment__comment-date\">\n {{ comment.date }}\n </div>\n <div class=\"aeb-comment__comment-response\" (click)=\"responseHandler()\">\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\n </div>\n </div>\n <form\n class=\"aeb-comment__response-form\"\n *ngIf=\"onResponse\"\n [formGroup]=\"responseForm\"\n (submit)=\"nullTarget($event)\"\n >\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': titleError\n }\"\n >\n <aeb-form-field>\n <label aebLabel>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</label>\n <input aebInput type=\"text\" formControlName=\"title\" />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-comment__input\"\n [ngClass]=\"{\n 'aeb-comment__input--error': contentError\n }\"\n >\n <aeb-form-field>\n <label aebLabel>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</label>\n <textarea\n aebTextarea\n style=\"height: 140px\"\n formControlName=\"content\"\n required\n >\n </textarea>\n </aeb-form-field>\n </div>\n <div class=\"aeb-comment__submit\">\n <aeb-old-button\n [label]=\"'\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'\"\n (click)=\"submitHandler()\"\n ></aeb-old-button>\n </div>\n </form>\n <div\n (click)=\"expandHandler()\"\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\n class=\"aeb-comment__response-ctrls\"\n >\n <div class=\"aeb-comment__responses\">\u041E\u0442\u0432\u0435\u0442\u044B</div>\n <div class=\"aeb-comment__response-counter\">\n {{ comment.nestedComments.length }}\n </div>\n <div\n class=\"aeb-comment__arrow-icon\"\n [ngClass]=\"{\n 'aeb-comment__arrow-icon--active': isExpanded\n }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <ng-container\n *ngIf=\"\n comment.nestedComments && comment.nestedComments.length && isExpanded\n \"\n >\n <ng-container *ngFor=\"let nestedComment of comment.nestedComments\">\n <aeb-comment\n (response)=\"hoistHandler($event)\"\n [comment]=\"nestedComment\"\n >\n </aeb-comment>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".aeb-comment{display:flex;width:100%;color:var(--color-mono-brand-dark)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--color-blue-brand);border-radius:50%}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{position:relative;bottom:1px;color:var(--color-mono-clear)}.aeb-comment__author-group{display:flex;align-items:center;margin-bottom:4px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.aeb-comment__reply-icon{position:relative;bottom:4px;margin-left:32px}.aeb-comment__reply-host{margin-left:8px;font-size:var(--font-size-xxs);color:var(--gray-primary)}.aeb-comment__author-name{display:flex;align-items:center;font-size:var(--font-size-s);color:var(--gray-primary)}.aeb-comment__author-info{position:relative;top:3px;margin-left:12px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{box-sizing:border-box;width:100%;padding:16px;background:var(--web-white);border-radius:8px}.aeb-comment__comment-header{margin-bottom:10px;font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-mono-brand-dark)}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{margin-right:30px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__comment-response{font-size:var(--font-size-xs);color:var(--color-blue-brand);cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;align-items:center;margin-bottom:28px;cursor:pointer}.aeb-comment__responses{margin-right:15px;font-size:var(--font-size-xs);color:var(--color-mono-brand-dark)}.aeb-comment__response-counter{margin-right:12px;font-size:var(--font-size-xs);color:var(--gray-primary)}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{top:unset;bottom:3px;transform:none}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{display:flex;justify-content:flex-end;width:100%;margin-top:24px}.aeb-comment__response-form{margin-bottom:24px}\n"] }]
1353
1356
  }], ctorParameters: function () { return [{ type: i1$1.FormBuilder }]; }, propDecorators: { comment: [{
1354
1357
  type: Input,
1355
1358
  args: ['comment']
@@ -2379,7 +2382,7 @@ DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
2379
2382
  useExisting: forwardRef(() => DatepickerComponent),
2380
2383
  multi: true
2381
2384
  }
2382
- ], viewQueries: [{ propertyName: "core", first: true, predicate: ["core"], descendants: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <aeb-label class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </aeb-label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#27303E\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#27303E\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#27303E\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{ 'aeb-datepicker-core--disabled': !isOpen }\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-brand-dark)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-neutral)!important;border:var(--border-skinny) solid var(--color-red-neutral)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-neutral)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;z-index:100;cursor:pointer}.aeb-datepicker-core{position:fixed}.aeb-datepicker-core--disabled{pointer-events:none;opacity:var(--100-total)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { 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"] }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "component", type: DatepickerCoreComponent, selector: "aeb-datepicker-core", inputs: ["date", "minDate", "maxDate", "excludedDates", "minYear", "maxYear", "withBackground", "align", "withoutDays"], outputs: ["dateChange", "woDaysMonth", "woDaysYear", "woDaysMonthSubInc"] }], encapsulation: i0.ViewEncapsulation.None });
2385
+ ], viewQueries: [{ propertyName: "core", first: true, predicate: ["core"], descendants: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <label aebLabel class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#27303E\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#27303E\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#27303E\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{ 'aeb-datepicker-core--disabled': !isOpen }\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-brand-dark)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-neutral)!important;border:var(--border-skinny) solid var(--color-red-neutral)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-neutral)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;z-index:100;cursor:pointer}.aeb-datepicker-core{position:fixed}.aeb-datepicker-core--disabled{pointer-events:none;opacity:var(--100-total)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { 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"] }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "component", type: DatepickerCoreComponent, selector: "aeb-datepicker-core", inputs: ["date", "minDate", "maxDate", "excludedDates", "minYear", "maxYear", "withBackground", "align", "withoutDays"], outputs: ["dateChange", "woDaysMonth", "woDaysYear", "woDaysMonthSubInc"] }], encapsulation: i0.ViewEncapsulation.None });
2383
2386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatepickerComponent, decorators: [{
2384
2387
  type: Component,
2385
2388
  args: [{ selector: 'aeb-datepicker', encapsulation: ViewEncapsulation.None, providers: [
@@ -2388,7 +2391,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2388
2391
  useExisting: forwardRef(() => DatepickerComponent),
2389
2392
  multi: true
2390
2393
  }
2391
- ], template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <aeb-label class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </aeb-label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#27303E\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#27303E\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#27303E\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{ 'aeb-datepicker-core--disabled': !isOpen }\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-brand-dark)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-neutral)!important;border:var(--border-skinny) solid var(--color-red-neutral)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-neutral)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;z-index:100;cursor:pointer}.aeb-datepicker-core{position:fixed}.aeb-datepicker-core--disabled{pointer-events:none;opacity:var(--100-total)}\n"] }]
2394
+ ], template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <label aebLabel class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#27303E\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#27303E\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#27303E\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{ 'aeb-datepicker-core--disabled': !isOpen }\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-brand-dark)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-neutral)!important;border:var(--border-skinny) solid var(--color-red-neutral)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-neutral)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;z-index:100;cursor:pointer}.aeb-datepicker-core{position:fixed}.aeb-datepicker-core--disabled{pointer-events:none;opacity:var(--100-total)}\n"] }]
2392
2395
  }], ctorParameters: function () { return [{ type: DatepickerUtilsService }, { type: MaskUtilsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { date: [{
2393
2396
  type: Input
2394
2397
  }], hasError: [{
@@ -2464,21 +2467,116 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2464
2467
  }]
2465
2468
  }] });
2466
2469
 
2467
- class DropdownComponent {
2470
+ class DropdownContainerComponent {
2468
2471
  constructor() {
2472
+ this.options = [];
2473
+ this.filter = true;
2474
+ this.hasError = false;
2475
+ this.dropdownFieldValueChanges$ = new Observable();
2476
+ this.arrowKeyPress$ = new Observable();
2477
+ this.enterKeyPress$ = new Observable();
2478
+ this.isOpen$ = new Observable();
2479
+ this.selected = new EventEmitter();
2480
+ this.viewOptionsChange = new EventEmitter();
2481
+ this.viewOptions$ = new Observable();
2482
+ this.focusedOption$ = new BehaviorSubject(-1);
2483
+ this.subscriptions = new Subscription();
2484
+ this.viewOptionsLength = 0;
2485
+ }
2486
+ ngOnInit() {
2487
+ this.subscriptions.add(this.arrowKeyPress$.subscribe({
2488
+ next: (direction) => {
2489
+ this.handleArrowKeys(direction, this.focusedOption$.value);
2490
+ }
2491
+ }));
2492
+ this.subscriptions.add(this.enterKeyPress$
2493
+ .pipe(withLatestFrom(this.isOpen$, this.focusedOption$), filter(([, isOpen, focused]) => isOpen && focused !== -1), switchMap(() => this.viewOptions$.pipe(take(1))))
2494
+ .subscribe({
2495
+ next: (value) => {
2496
+ this.selectHandler(value.at(this.focusedOption$.value), this.focusedOption$.value);
2497
+ }
2498
+ }));
2499
+ this.viewOptions$ = this.dropdownFieldValueChanges$.pipe(startWith(''), mergeMap((value) => iif(() => this.filter, of(this.filterOptions(value)), of(this.options))), tap((options) => {
2500
+ this.viewOptionsLength = options.length;
2501
+ this.viewOptionsChange.emit([...options]);
2502
+ }));
2503
+ }
2504
+ ngOnDestroy() {
2505
+ this.subscriptions.unsubscribe();
2506
+ }
2507
+ selectHandler(item, index) {
2508
+ this.optionElementList.toArray().at(index).nativeElement.focus();
2509
+ this.selected.emit([item, index]);
2510
+ }
2511
+ handleArrowKeys(direction, index) {
2512
+ const indexVary = direction === 'down' ? 1 : -1;
2513
+ let nextOptionIndex = index + indexVary;
2514
+ if (nextOptionIndex === this.viewOptionsLength) {
2515
+ nextOptionIndex -= 1;
2516
+ }
2517
+ else if (nextOptionIndex < -1) {
2518
+ nextOptionIndex = -1;
2519
+ }
2520
+ this.focusedOption$.next(nextOptionIndex);
2521
+ }
2522
+ handleMouse(type, index) {
2523
+ if (type === 'move') {
2524
+ this.focusedOption$.next(index);
2525
+ }
2526
+ else if (type === 'leave') {
2527
+ this.focusedOption$.next(-1);
2528
+ }
2529
+ }
2530
+ filterOptions(value) {
2531
+ const values = (this.options || []).filter((item) => item.label.slice(0, value.length).toLocaleLowerCase() ===
2532
+ value.toLocaleLowerCase());
2533
+ return values;
2534
+ }
2535
+ }
2536
+ DropdownContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2537
+ DropdownContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DropdownContainerComponent, selector: "aeb-dropdown-container", inputs: { options: "options", filter: "filter", hasError: "hasError", dropdownFieldValueChanges$: "dropdownFieldValueChanges$", arrowKeyPress$: "arrowKeyPress$", enterKeyPress$: "enterKeyPress$", isOpen$: "isOpen$" }, outputs: { selected: "selected", viewOptionsChange: "viewOptionsChange" }, viewQueries: [{ propertyName: "optionElementList", predicate: ["option"], descendants: true }], ngImport: i0, template: "<ul\n *ngIf=\"(isOpen$ | async) && viewOptions$ | async as viewOptions\"\n class=\"aeb-dropdown-container\"\n [ngClass]=\"{\n 'aeb-dropdown-container--empty': viewOptions.length === 0,\n 'aeb-dropdown-container--on-error': hasError\n }\"\n>\n <li\n #option\n *ngFor=\"let option of viewOptions; let i = index\"\n tabindex=\"{{ i }}\"\n class=\"aeb-dropdown-container__option\"\n (click)=\"selectHandler(option, i)\"\n (mousemove)=\"handleMouse('move', i)\"\n (mouseleave)=\"handleMouse('leave', i)\"\n [ngClass]=\"{\n 'aeb-dropdown__option--active': (focusedOption$ | async) === i\n }\"\n >\n {{ option.label }}\n </li>\n</ul>\n", styles: [".aeb-dropdown-container{position:absolute;z-index:1;box-sizing:border-box;width:100%;padding-left:0;margin:0;list-style-type:none;border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown-container--empty{border:none}.aeb-dropdown-container--on-error{border-color:var(--color-red-neutral)}.aeb-dropdown-container__option{box-sizing:border-box;width:100%;padding:18px 16px;line-height:20px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown-container__option--active{background-color:var(--lightblue)}.aeb-dropdown-container__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown-container__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown-container__option--active{background-color:var(--color-mono-brand-dark)}\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: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownContainerComponent, decorators: [{
2539
+ type: Component,
2540
+ args: [{ selector: 'aeb-dropdown-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul\n *ngIf=\"(isOpen$ | async) && viewOptions$ | async as viewOptions\"\n class=\"aeb-dropdown-container\"\n [ngClass]=\"{\n 'aeb-dropdown-container--empty': viewOptions.length === 0,\n 'aeb-dropdown-container--on-error': hasError\n }\"\n>\n <li\n #option\n *ngFor=\"let option of viewOptions; let i = index\"\n tabindex=\"{{ i }}\"\n class=\"aeb-dropdown-container__option\"\n (click)=\"selectHandler(option, i)\"\n (mousemove)=\"handleMouse('move', i)\"\n (mouseleave)=\"handleMouse('leave', i)\"\n [ngClass]=\"{\n 'aeb-dropdown__option--active': (focusedOption$ | async) === i\n }\"\n >\n {{ option.label }}\n </li>\n</ul>\n", styles: [".aeb-dropdown-container{position:absolute;z-index:1;box-sizing:border-box;width:100%;padding-left:0;margin:0;list-style-type:none;border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown-container--empty{border:none}.aeb-dropdown-container--on-error{border-color:var(--color-red-neutral)}.aeb-dropdown-container__option{box-sizing:border-box;width:100%;padding:18px 16px;line-height:20px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown-container__option--active{background-color:var(--lightblue)}.aeb-dropdown-container__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown-container__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown-container__option--active{background-color:var(--color-mono-brand-dark)}\n"] }]
2541
+ }], propDecorators: { optionElementList: [{
2542
+ type: ViewChildren,
2543
+ args: ['option']
2544
+ }], options: [{
2545
+ type: Input
2546
+ }], filter: [{
2547
+ type: Input
2548
+ }], hasError: [{
2549
+ type: Input
2550
+ }], dropdownFieldValueChanges$: [{
2551
+ type: Input
2552
+ }], arrowKeyPress$: [{
2553
+ type: Input
2554
+ }], enterKeyPress$: [{
2555
+ type: Input
2556
+ }], isOpen$: [{
2557
+ type: Input
2558
+ }], selected: [{
2559
+ type: Output
2560
+ }], viewOptionsChange: [{
2561
+ type: Output
2562
+ }] } });
2563
+
2564
+ class DropdownComponent {
2565
+ constructor(cdr) {
2566
+ this.cdr = cdr;
2469
2567
  this.optionSelect = new EventEmitter();
2470
2568
  this.inputChange = new EventEmitter();
2471
2569
  this.label = '';
2472
2570
  this.options = [];
2473
2571
  this.filter = true;
2474
2572
  this.hasError = false;
2475
- this.disabled = false;
2476
- this.viewOptions = this.options;
2477
- this.isOpen = false;
2478
- this.activeOption = -1;
2573
+ this.dropdownIsOpen$ = new BehaviorSubject(false);
2574
+ this.arrowKeyPress$ = new Subject();
2575
+ this.enterKeyPress$ = new Subject();
2576
+ this.viewOptionsLength = 0;
2479
2577
  this._fieldValue = '';
2480
2578
  this._value = '';
2481
- this.touched = false;
2579
+ this._disabled = false;
2482
2580
  }
2483
2581
  get fieldValue() {
2484
2582
  return this._fieldValue;
@@ -2486,6 +2584,15 @@ class DropdownComponent {
2486
2584
  get value() {
2487
2585
  return this._value;
2488
2586
  }
2587
+ set disabled(value) {
2588
+ if (value === true) {
2589
+ this.dropdownIsOpen$.next(false);
2590
+ }
2591
+ this._disabled = value;
2592
+ }
2593
+ get disabled() {
2594
+ return this._disabled;
2595
+ }
2489
2596
  set fieldValue(vl) {
2490
2597
  const match = (this.options || []).find((item) => item.value === vl);
2491
2598
  if (match) {
@@ -2501,19 +2608,39 @@ class DropdownComponent {
2501
2608
  }
2502
2609
  this._value = value;
2503
2610
  }
2504
- openHandler() {
2611
+ writeValue(value) {
2505
2612
  if (this.disabled) {
2506
2613
  return;
2507
2614
  }
2508
- if (this.isOpen) {
2509
- this.input.nativeElement.classList.remove('aeb-dropdown__input--lock');
2615
+ this.fieldValue = value;
2616
+ this.onChange(value);
2617
+ this.onTouch();
2618
+ this.optionSelect.emit(this.selected);
2619
+ }
2620
+ registerOnChange(fn) {
2621
+ this.onChange = fn;
2622
+ }
2623
+ registerOnTouched(fn) {
2624
+ this.onTouch = fn;
2625
+ }
2626
+ setDisabledState(disabled) {
2627
+ this.disabled = disabled;
2628
+ }
2629
+ handleArrowKeys(direction) {
2630
+ this.arrowKeyPress$.next(direction);
2631
+ }
2632
+ handleEnterKey() {
2633
+ this.enterKeyPress$.next();
2634
+ }
2635
+ openHandler() {
2636
+ if (this.disabled) {
2637
+ return;
2510
2638
  }
2511
- this.isOpen = !this.isOpen;
2639
+ this.dropdownIsOpen$.next(!this.dropdownIsOpen$.value);
2512
2640
  }
2513
2641
  clickOutsideHandler() {
2514
- if (this.isOpen) {
2515
- this.isOpen = false;
2516
- this.input.nativeElement.classList.remove('aeb-dropdown__input--lock');
2642
+ if (this.dropdownIsOpen$.value) {
2643
+ this.dropdownIsOpen$.next(false);
2517
2644
  }
2518
2645
  }
2519
2646
  inputHandler(term) {
@@ -2524,129 +2651,55 @@ class DropdownComponent {
2524
2651
  this.value = target.value;
2525
2652
  this.inputChange.emit(this.value);
2526
2653
  if (!this.value) {
2527
- this.viewOptions = this.options;
2528
2654
  return;
2529
2655
  }
2530
- if (this.value !== this.fieldValue) {
2531
- this.selected = null;
2532
- this.writeValue(null);
2533
- }
2534
2656
  const match = (this.options || []).find((item) => item.label === this.value);
2535
2657
  if (match) {
2658
+ if (match.value !== this.fieldValue) {
2659
+ this.selected = null;
2660
+ this.writeValue(null);
2661
+ }
2536
2662
  this.writeValue(match.value);
2537
2663
  this.selected = match;
2538
2664
  }
2539
- this.filterOptions();
2540
2665
  }
2541
2666
  clickInput() {
2542
- this.activeOption = -1;
2543
2667
  if (this.disabled) {
2544
2668
  return;
2545
2669
  }
2546
- if (!this.isOpen) {
2547
- this.isOpen = true;
2548
- this.input.nativeElement.classList.add('aeb-dropdown__input--lock');
2670
+ if (!this.dropdownIsOpen$.value) {
2671
+ this.dropdownIsOpen$.next(true);
2549
2672
  }
2550
2673
  }
2551
- selectHandler(item) {
2674
+ selectHandler(selectionData) {
2675
+ const [item] = selectionData;
2552
2676
  this.value = item.label;
2553
2677
  this.selected = item;
2554
- this.filterOptions();
2555
2678
  this.fieldValue = item.value;
2556
2679
  this.writeValue(item.value);
2557
- this.input.nativeElement.classList.remove('aeb-dropdown__input--lock');
2558
- this.isOpen = false;
2680
+ this.dropdownIsOpen$.next(false);
2559
2681
  }
2560
- registerOnChange(fn) {
2561
- this.onChange = fn;
2562
- }
2563
- registerOnTouched(fn) {
2564
- this.onTouch = fn;
2565
- }
2566
- writeValue(value) {
2567
- if (this.disabled) {
2568
- return;
2569
- }
2570
- this.fieldValue = value;
2571
- this.onChange(value);
2572
- this.onTouch();
2573
- if (!this.touched) {
2574
- this.touched = true;
2575
- }
2576
- this.optionSelect.emit(this.selected);
2577
- }
2578
- setDisabledState(disabled) {
2579
- this.disabled = disabled;
2580
- }
2581
- arrowHandler(direction, index) {
2582
- const options = this.option.toArray();
2583
- const length = options.length;
2584
- const term = direction === 'down' ? 1 : -1;
2585
- const option = options.filter((o) => {
2586
- const attributes = o.nativeElement.attributes;
2587
- return (attributes.aebDropdownOptionIndex.value === (index + term).toString());
2588
- })[0]?.nativeElement;
2589
- const inputField = this.inputField.nativeElement;
2590
- if (index + term === length) {
2591
- }
2592
- else if (index > 0 || direction === 'down') {
2593
- this.activeOption = index + term;
2594
- option.focus();
2595
- }
2596
- else {
2597
- this.activeOption = -1;
2598
- inputField.focus();
2599
- }
2600
- }
2601
- mouseHandler(type, index) {
2602
- const options = this.option.toArray();
2603
- const option = options.filter((o) => {
2604
- const attributes = o.nativeElement.attributes;
2605
- return attributes.aebDropdownOptionIndex.value === index.toString();
2606
- })[0]?.nativeElement;
2607
- const inputField = this.inputField.nativeElement;
2608
- if (type === 'move') {
2609
- this.activeOption = index;
2610
- option.focus();
2611
- }
2612
- else if (type === 'leave') {
2613
- this.activeOption = -1;
2614
- inputField.focus();
2615
- }
2616
- }
2617
- ngOnInit() {
2618
- this.viewOptions = this.options;
2619
- }
2620
- ngOnChanges(changes) {
2621
- if (changes.options) {
2622
- this.viewOptions = this.options;
2623
- }
2682
+ viewOptionsChangeHandler(options) {
2683
+ this.viewOptionsLength = options.length;
2684
+ this.cdr.detectChanges();
2624
2685
  }
2625
2686
  resetValue() {
2626
2687
  this._value = '';
2627
2688
  this.selected = null;
2628
2689
  this.writeValue(null);
2629
- this.viewOptions = this.options;
2630
- }
2631
- filterOptions() {
2632
- if (!this.filter) {
2633
- return;
2634
- }
2635
- this.viewOptions = (this.options || []).filter((item) => item.label.slice(0, this.value.length).toLocaleLowerCase() ===
2636
- this.value.toLocaleLowerCase());
2637
2690
  }
2638
2691
  // eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
2639
2692
  onChange(value) { }
2640
2693
  onTouch() { }
2641
2694
  }
2642
- DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2695
+ DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2643
2696
  DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DropdownComponent, selector: "aeb-dropdown", inputs: { label: "label", options: "options", filter: "filter", hasError: "hasError", disabled: "disabled", fieldValue: "fieldValue", value: "value" }, outputs: { optionSelect: "optionSelect", inputChange: "inputChange" }, providers: [
2644
2697
  {
2645
2698
  provide: NG_VALUE_ACCESSOR,
2646
2699
  useExisting: forwardRef(() => DropdownComponent),
2647
2700
  multi: true
2648
2701
  }
2649
- ], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "inputField", first: true, predicate: ["inputField"], descendants: true }, { propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true }, { propertyName: "option", predicate: ["option"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #dropdown\n class=\"aeb-dropdown\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n [ngClass]=\"{\n 'aeb-dropdown--on-error': hasError,\n 'aeb-dropdown--disabled': disabled\n }\"\n (keyup.enter)=\"clickInput()\"\n (keydown.tab)=\"clickOutsideHandler()\"\n>\n <div class=\"aeb-dropdown__input-wrapper\">\n <div\n class=\"aeb-dropdown__input\"\n [ngClass]=\"{\n 'aeb-dropdown__input--isOpen': isOpen\n }\"\n (click)=\"clickInput()\"\n #input\n (keyup.arrowdown)=\"arrowHandler('down', -1)\"\n >\n <aeb-form-field #field>\n <aeb-label>{{ label }}</aeb-label>\n <input\n #inputField\n aebInput\n type=\"text\"\n (input)=\"inputHandler($event)\"\n (keydown.tab)=\"clickInput()\"\n [(ngModel)]=\"value\"\n (focus)=\"clickInput()\"\n />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-dropdown__icon\"\n [ngClass]=\"{\n 'aeb-dropdown__icon--isOpen': isOpen\n }\"\n (click)=\"openHandler()\"\n >\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\n stroke=\"#94A8BE\"\n stroke-width=\"1.6\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n </div>\n <ul *ngIf=\"isOpen\" class=\"aeb-dropdown__items\">\n <li\n #option\n *ngFor=\"let option of viewOptions; let i = index\"\n tabindex=\"0\"\n class=\"aeb-dropdown__option\"\n (click)=\"selectHandler(option)\"\n (keydown.enter)=\"selectHandler(option)\"\n (keyup.arrowdown)=\"arrowHandler('down', i)\"\n (keyup.arrowup)=\"arrowHandler('up', i)\"\n (mousemove)=\"mouseHandler('move', i)\"\n (mouseleave)=\"mouseHandler('leave', i)\"\n [ngClass]=\"{ 'aeb-dropdown__option--active': activeOption === i }\"\n [attr.aebDropdownOptionIndex]=\"i\"\n >\n {{ option.label }}\n </li>\n </ul>\n</div>\n", styles: [".aeb-dropdown{position:relative;width:100%}.aeb-dropdown--disabled{pointer-events:none;opacity:var(--50-medium)}.aeb-dropdown--on-error .aeb-input{border-color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-label{color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-dropdown__icon svg path{stroke:var(--color-red-neutral)}.aeb-dropdown__input-wrapper{position:relative;width:100%}.aeb-dropdown__icon{position:absolute;top:calc(50% - 12px);right:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.aeb-dropdown__icon svg{transition:transform,.2s}.aeb-dropdown__icon--isOpen svg{transform:rotate(180deg)}.aeb-dropdown__input--isOpen .aeb-input{border:var(--border-skinny) solid var(--color-blue-brand)!important}.aeb-dropdown__input--lock .aeb-label{font-size:var(--font-size-xxs)!important;transform:translateY(calc(var(--input-height) / -2 - 50%))!important}.aeb-dropdown__items{position:absolute;top:calc(100% - 8px);z-index:1;box-sizing:border-box;width:100%;padding-top:8px;padding-left:0;margin:0;list-style-type:none;background-color:var(--color-mono-clear);border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown__option{box-sizing:border-box;width:100%;padding:18px 16px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown__option--active{background-color:var(--lightblue)}.aeb-dropdown__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown .aeb-input,body.dark .aeb-dropdown .aeb-label{color:var(--color-mono-clear);background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__items{background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown__option--active{background-color:var(--color-mono-brand-dark)}\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: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0.ViewEncapsulation.None });
2702
+ ], ngImport: i0, template: "<div\n #dropdown\n class=\"aeb-dropdown\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n [ngClass]=\"{\n 'aeb-dropdown--on-error': hasError,\n 'aeb-dropdown--disabled': disabled\n }\"\n (keydown.tab)=\"clickOutsideHandler()\"\n>\n <div class=\"aeb-dropdown__input-wrapper\">\n <div\n class=\"aeb-dropdown__input\"\n [ngClass]=\"{\n 'aeb-dropdown__input--is-open': dropdownIsOpen$ | async,\n 'aeb-dropdown__input--is-empty': viewOptionsLength === 0\n }\"\n (click)=\"clickInput()\"\n (keydown.arrowdown)=\"handleArrowKeys('down')\"\n (keydown.arrowup)=\"handleArrowKeys('up')\"\n (keydown.enter)=\"handleEnterKey()\"\n >\n <aeb-form-field #field>\n <label aebLabel>{{ label }}</label>\n <input\n aebInput\n type=\"text\"\n [(ngModel)]=\"value\"\n (input)=\"inputHandler($event)\"\n (keydown.tab)=\"clickInput()\"\n (focus)=\"clickInput()\"\n />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-dropdown__icon\"\n [ngClass]=\"{\n 'aeb-dropdown__icon--is-open': this.dropdownIsOpen$ | async\n }\"\n (click)=\"openHandler()\"\n >\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\n stroke=\"#94A8BE\"\n stroke-width=\"1.6\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n </div>\n <aeb-dropdown-container\n [options]=\"options\"\n [filter]=\"filter\"\n [dropdownFieldValueChanges$]=\"inputChange.asObservable()\"\n [isOpen$]=\"dropdownIsOpen$.asObservable()\"\n [arrowKeyPress$]=\"arrowKeyPress$.asObservable()\"\n [enterKeyPress$]=\"enterKeyPress$.asObservable()\"\n [hasError]=\"hasError\"\n (selected)=\"selectHandler($event)\"\n (viewOptionsChange)=\"viewOptionsChangeHandler($event)\"\n ></aeb-dropdown-container>\n</div>\n", styles: [".aeb-dropdown{position:relative;width:100%}.aeb-dropdown--disabled{pointer-events:none;opacity:var(--50-medium)}.aeb-dropdown--on-error .aeb-input{border-color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-label{color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-dropdown__icon svg path{stroke:var(--color-red-neutral)}.aeb-dropdown__input-wrapper{position:relative;width:100%}.aeb-dropdown__icon{position:absolute;top:16px;right:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.aeb-dropdown__icon svg{transition:transform,.2s}.aeb-dropdown__icon--is-open svg{transform:rotate(180deg)}.aeb-dropdown__icon--is-open svg path{stroke:var(--color-blue-brand)}.aeb-dropdown__input--is-open:not(.aeb-dropdown__input--is-empty) .aeb-form-field .aeb-input{border:var(--border-skinny) solid var(--color-blue-brand);padding-bottom:17px;border-bottom:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.aeb-dropdown__items{position:absolute;z-index:1;box-sizing:border-box;width:100%;padding-left:0;margin:0;list-style-type:none;background-color:var(--color-mono-clear);border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown__items--is-empty{border:none}.aeb-dropdown__option{box-sizing:border-box;width:100%;padding:18px 16px;line-height:20px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown__option--active{background-color:var(--lightblue)}.aeb-dropdown__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown .aeb-input,body.dark .aeb-dropdown .aeb-label{color:var(--color-mono-clear)}body.dark .aeb-dropdown__items{background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown__option--active{background-color:var(--color-mono-brand-dark)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: DropdownContainerComponent, selector: "aeb-dropdown-container", inputs: ["options", "filter", "hasError", "dropdownFieldValueChanges$", "arrowKeyPress$", "enterKeyPress$", "isOpen$"], outputs: ["selected", "viewOptionsChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None });
2650
2703
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownComponent, decorators: [{
2651
2704
  type: Component,
2652
2705
  args: [{ selector: 'aeb-dropdown', encapsulation: ViewEncapsulation.None, providers: [
@@ -2655,20 +2708,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2655
2708
  useExisting: forwardRef(() => DropdownComponent),
2656
2709
  multi: true
2657
2710
  }
2658
- ], template: "<div\n #dropdown\n class=\"aeb-dropdown\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n [ngClass]=\"{\n 'aeb-dropdown--on-error': hasError,\n 'aeb-dropdown--disabled': disabled\n }\"\n (keyup.enter)=\"clickInput()\"\n (keydown.tab)=\"clickOutsideHandler()\"\n>\n <div class=\"aeb-dropdown__input-wrapper\">\n <div\n class=\"aeb-dropdown__input\"\n [ngClass]=\"{\n 'aeb-dropdown__input--isOpen': isOpen\n }\"\n (click)=\"clickInput()\"\n #input\n (keyup.arrowdown)=\"arrowHandler('down', -1)\"\n >\n <aeb-form-field #field>\n <aeb-label>{{ label }}</aeb-label>\n <input\n #inputField\n aebInput\n type=\"text\"\n (input)=\"inputHandler($event)\"\n (keydown.tab)=\"clickInput()\"\n [(ngModel)]=\"value\"\n (focus)=\"clickInput()\"\n />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-dropdown__icon\"\n [ngClass]=\"{\n 'aeb-dropdown__icon--isOpen': isOpen\n }\"\n (click)=\"openHandler()\"\n >\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\n stroke=\"#94A8BE\"\n stroke-width=\"1.6\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n </div>\n <ul *ngIf=\"isOpen\" class=\"aeb-dropdown__items\">\n <li\n #option\n *ngFor=\"let option of viewOptions; let i = index\"\n tabindex=\"0\"\n class=\"aeb-dropdown__option\"\n (click)=\"selectHandler(option)\"\n (keydown.enter)=\"selectHandler(option)\"\n (keyup.arrowdown)=\"arrowHandler('down', i)\"\n (keyup.arrowup)=\"arrowHandler('up', i)\"\n (mousemove)=\"mouseHandler('move', i)\"\n (mouseleave)=\"mouseHandler('leave', i)\"\n [ngClass]=\"{ 'aeb-dropdown__option--active': activeOption === i }\"\n [attr.aebDropdownOptionIndex]=\"i\"\n >\n {{ option.label }}\n </li>\n </ul>\n</div>\n", styles: [".aeb-dropdown{position:relative;width:100%}.aeb-dropdown--disabled{pointer-events:none;opacity:var(--50-medium)}.aeb-dropdown--on-error .aeb-input{border-color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-label{color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-dropdown__icon svg path{stroke:var(--color-red-neutral)}.aeb-dropdown__input-wrapper{position:relative;width:100%}.aeb-dropdown__icon{position:absolute;top:calc(50% - 12px);right:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.aeb-dropdown__icon svg{transition:transform,.2s}.aeb-dropdown__icon--isOpen svg{transform:rotate(180deg)}.aeb-dropdown__input--isOpen .aeb-input{border:var(--border-skinny) solid var(--color-blue-brand)!important}.aeb-dropdown__input--lock .aeb-label{font-size:var(--font-size-xxs)!important;transform:translateY(calc(var(--input-height) / -2 - 50%))!important}.aeb-dropdown__items{position:absolute;top:calc(100% - 8px);z-index:1;box-sizing:border-box;width:100%;padding-top:8px;padding-left:0;margin:0;list-style-type:none;background-color:var(--color-mono-clear);border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown__option{box-sizing:border-box;width:100%;padding:18px 16px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown__option--active{background-color:var(--lightblue)}.aeb-dropdown__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown .aeb-input,body.dark .aeb-dropdown .aeb-label{color:var(--color-mono-clear);background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__items{background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown__option--active{background-color:var(--color-mono-brand-dark)}\n"] }]
2659
- }], ctorParameters: function () { return []; }, propDecorators: { input: [{
2660
- type: ViewChild,
2661
- args: ['input']
2662
- }], inputField: [{
2663
- type: ViewChild,
2664
- args: ['inputField']
2665
- }], dropdown: [{
2666
- type: ViewChild,
2667
- args: ['dropdown']
2668
- }], option: [{
2669
- type: ViewChildren,
2670
- args: ['option']
2671
- }], optionSelect: [{
2711
+ ], template: "<div\n #dropdown\n class=\"aeb-dropdown\"\n clickOutside\n (clickOutside)=\"clickOutsideHandler()\"\n [ngClass]=\"{\n 'aeb-dropdown--on-error': hasError,\n 'aeb-dropdown--disabled': disabled\n }\"\n (keydown.tab)=\"clickOutsideHandler()\"\n>\n <div class=\"aeb-dropdown__input-wrapper\">\n <div\n class=\"aeb-dropdown__input\"\n [ngClass]=\"{\n 'aeb-dropdown__input--is-open': dropdownIsOpen$ | async,\n 'aeb-dropdown__input--is-empty': viewOptionsLength === 0\n }\"\n (click)=\"clickInput()\"\n (keydown.arrowdown)=\"handleArrowKeys('down')\"\n (keydown.arrowup)=\"handleArrowKeys('up')\"\n (keydown.enter)=\"handleEnterKey()\"\n >\n <aeb-form-field #field>\n <label aebLabel>{{ label }}</label>\n <input\n aebInput\n type=\"text\"\n [(ngModel)]=\"value\"\n (input)=\"inputHandler($event)\"\n (keydown.tab)=\"clickInput()\"\n (focus)=\"clickInput()\"\n />\n </aeb-form-field>\n </div>\n <div\n class=\"aeb-dropdown__icon\"\n [ngClass]=\"{\n 'aeb-dropdown__icon--is-open': this.dropdownIsOpen$ | async\n }\"\n (click)=\"openHandler()\"\n >\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\n stroke=\"#94A8BE\"\n stroke-width=\"1.6\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n </div>\n <aeb-dropdown-container\n [options]=\"options\"\n [filter]=\"filter\"\n [dropdownFieldValueChanges$]=\"inputChange.asObservable()\"\n [isOpen$]=\"dropdownIsOpen$.asObservable()\"\n [arrowKeyPress$]=\"arrowKeyPress$.asObservable()\"\n [enterKeyPress$]=\"enterKeyPress$.asObservable()\"\n [hasError]=\"hasError\"\n (selected)=\"selectHandler($event)\"\n (viewOptionsChange)=\"viewOptionsChangeHandler($event)\"\n ></aeb-dropdown-container>\n</div>\n", styles: [".aeb-dropdown{position:relative;width:100%}.aeb-dropdown--disabled{pointer-events:none;opacity:var(--50-medium)}.aeb-dropdown--on-error .aeb-input{border-color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-label{color:var(--color-red-neutral)!important}.aeb-dropdown--on-error .aeb-dropdown__icon svg path{stroke:var(--color-red-neutral)}.aeb-dropdown__input-wrapper{position:relative;width:100%}.aeb-dropdown__icon{position:absolute;top:16px;right:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.aeb-dropdown__icon svg{transition:transform,.2s}.aeb-dropdown__icon--is-open svg{transform:rotate(180deg)}.aeb-dropdown__icon--is-open svg path{stroke:var(--color-blue-brand)}.aeb-dropdown__input--is-open:not(.aeb-dropdown__input--is-empty) .aeb-form-field .aeb-input{border:var(--border-skinny) solid var(--color-blue-brand);padding-bottom:17px;border-bottom:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.aeb-dropdown__items{position:absolute;z-index:1;box-sizing:border-box;width:100%;padding-left:0;margin:0;list-style-type:none;background-color:var(--color-mono-clear);border:var(--border-skinny) solid var(--color-blue-brand);border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown__items--is-empty{border:none}.aeb-dropdown__option{box-sizing:border-box;width:100%;padding:18px 16px;line-height:20px;text-decoration:none;cursor:pointer;outline:none}.aeb-dropdown__option--active{background-color:var(--lightblue)}.aeb-dropdown__option:last-child{border-radius:0 0 10px 10px}body.dark .aeb-dropdown .aeb-input,body.dark .aeb-dropdown .aeb-label{color:var(--color-mono-clear)}body.dark .aeb-dropdown__items{background-color:var(--color-mono-darker)}body.dark .aeb-dropdown__option{color:var(--color-mono-clear)}body.dark .aeb-dropdown__option--active{background-color:var(--color-mono-brand-dark)}\n"] }]
2712
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { optionSelect: [{
2672
2713
  type: Output
2673
2714
  }], inputChange: [{
2674
2715
  type: Output
@@ -2691,12 +2732,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2691
2732
  class DropdownModule {
2692
2733
  }
2693
2734
  DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2694
- DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropdownModule, declarations: [DropdownComponent], imports: [CommonModule, FormFieldModule, ClickOutsideModule, FormsModule], exports: [DropdownComponent] });
2735
+ DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropdownModule, declarations: [DropdownComponent, DropdownContainerComponent], imports: [CommonModule, FormFieldModule, ClickOutsideModule, FormsModule], exports: [DropdownComponent] });
2695
2736
  DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownModule, imports: [CommonModule, FormFieldModule, ClickOutsideModule, FormsModule] });
2696
2737
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropdownModule, decorators: [{
2697
2738
  type: NgModule,
2698
2739
  args: [{
2699
- declarations: [DropdownComponent],
2740
+ declarations: [DropdownComponent, DropdownContainerComponent],
2700
2741
  imports: [CommonModule, FormFieldModule, ClickOutsideModule, FormsModule],
2701
2742
  exports: [DropdownComponent]
2702
2743
  }]
@@ -4655,7 +4696,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
4655
4696
  useExisting: forwardRef(() => SliderComponent),
4656
4697
  multi: true
4657
4698
  }
4658
- ], viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"mode === 'standard'\">\n <div class=\"aeb-slider__header\">\n <div class=\"aeb-slider__label\">{{ label }}</div>\n <div class=\"aeb-slider__value\">\n {{ value | number: \"1.0-0\" | replace: \",\" : valueSeparator }}\n {{ prefix }}\n </div>\n </div>\n</ng-container>\n<ng-container *ngIf=\"mode === 'input'\">\n <aeb-form-field>\n <aeb-label>{{ label }}</aeb-label>\n <input\n type=\"string\"\n aebInput\n aebNumbersOnly\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"onInputBlur()\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n />\n </aeb-form-field>\n</ng-container>\n<div class=\"aeb-slider__line__container\" #slider>\n <div class=\"aeb-slider__line__indicator\">\n <div\n class=\"aeb-slider__line\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ 'aeb-slider__line--pressed': isPressed }\"\n ></div>\n </div>\n</div>\n<div class=\"aeb-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n</div>\n", styles: [".aeb-slider{--standard-value-color: var(--color-mono-brand-dark);--line-background-color: var(--color-blue-brand);display:block;color:var(--color-mono-brand-dark);padding:6px 0 8px}.aeb-slider__line{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--line-background-color);border-radius:2px}.aeb-slider__line:after{position:absolute;top:-8px;right:-10px;width:20px;height:20px;cursor:pointer;content:\"\";background-color:var(--line-background-color);border-radius:var(--border-medium-rounded)}.aeb-slider__line:hover{background-color:var(--color-turquoise-neutral)}.aeb-slider__line:hover:after{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__container{margin-top:26px}.aeb-slider__line--pressed:after{top:-11px;right:-13px;width:26px;height:26px;transition:all .05s ease-in;background-color:var(--color-turquoise-neutral);border-radius:var(--border-rounded)}.aeb-slider__line--pressed{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__indicator{position:relative;width:100%;height:4px;border-radius:2px;background-color:var(--lightgray-secondary)}.aeb-slider__line__wrapper{display:flex;justify-content:center;align-items:center;width:100%}.aeb-slider--standard .aeb-slider__header{display:flex;justify-content:space-between;align-items:center}.aeb-slider--standard .aeb-slider__label{display:flex;align-items:center;font-size:var(--font-size-s);line-height:20px;color:var(--color-mono-gray-soft)}.aeb-slider--standard .aeb-slider__value{font-size:var(--font-size-md);font-weight:700;line-height:var(--line-height-medium);color:var(--standard-value-color)}.aeb-slider--standard .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:var(--font-size-xxs);line-height:14px;color:var(--color-mono-gray-soft)}.aeb-slider--input .aeb-slider__field-wrapper{width:100%}.aeb-slider--input .aeb-slider__field-wrapper input:focus{outline:none}.aeb-slider--input .aeb-slider__line{border-top-left-radius:4px;border-bottom-left-radius:0}.aeb-slider--input .aeb-slider__line__indicator{position:absolute;background-color:transparent}.aeb-slider--input .aeb-slider__line__container{position:relative;margin-top:0;top:-4px;left:10px;width:calc(100% - 20px)}.aeb-slider--input .aeb-slider__line:after{width:10px;height:10px;top:-3px;right:-5px}.aeb-slider--input .aeb-slider__line--pressed:after{width:14px;height:14px;top:-5px;right:-7px;transition:all .05s ease-in}.aeb-slider--input .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding-bottom:8px;font-size:var(--font-size-xxs);line-height:14px;color:var(--gray-primary)}body.dark .aeb-slider{--standard-value-color: var(--color-mono-clear);--line-background-color: var(--blue-primary-dark-theme)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "aeb-label" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NumbersOnlyDirective, selector: "[aebNumbersOnly]" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: ReplacePipe, name: "replace" }], encapsulation: i0.ViewEncapsulation.None });
4699
+ ], viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"mode === 'standard'\">\n <div class=\"aeb-slider__header\">\n <div class=\"aeb-slider__label\">{{ label }}</div>\n <div class=\"aeb-slider__value\">\n {{ value | number: \"1.0-0\" | replace: \",\" : valueSeparator }}\n {{ prefix }}\n </div>\n </div>\n</ng-container>\n<ng-container *ngIf=\"mode === 'input'\">\n <aeb-form-field>\n <label aebLabel>{{ label }}</label>\n <input\n type=\"string\"\n aebInput\n aebNumbersOnly\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"onInputBlur()\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n />\n </aeb-form-field>\n</ng-container>\n<div class=\"aeb-slider__line__container\" #slider>\n <div class=\"aeb-slider__line__indicator\">\n <div\n class=\"aeb-slider__line\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ 'aeb-slider__line--pressed': isPressed }\"\n ></div>\n </div>\n</div>\n<div class=\"aeb-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n</div>\n", styles: [".aeb-slider{--standard-value-color: var(--color-mono-brand-dark);--line-background-color: var(--color-blue-brand);display:block;color:var(--color-mono-brand-dark);padding:6px 0 8px}.aeb-slider__line{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--line-background-color);border-radius:2px}.aeb-slider__line:after{position:absolute;top:-8px;right:-10px;width:20px;height:20px;cursor:pointer;content:\"\";background-color:var(--line-background-color);border-radius:var(--border-medium-rounded)}.aeb-slider__line:hover{background-color:var(--color-turquoise-neutral)}.aeb-slider__line:hover:after{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__container{margin-top:26px}.aeb-slider__line--pressed:after{top:-11px;right:-13px;width:26px;height:26px;transition:all .05s ease-in;background-color:var(--color-turquoise-neutral);border-radius:var(--border-rounded)}.aeb-slider__line--pressed{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__indicator{position:relative;width:100%;height:4px;border-radius:2px;background-color:var(--lightgray-secondary)}.aeb-slider__line__wrapper{display:flex;justify-content:center;align-items:center;width:100%}.aeb-slider--standard .aeb-slider__header{display:flex;justify-content:space-between;align-items:center}.aeb-slider--standard .aeb-slider__label{display:flex;align-items:center;font-size:var(--font-size-s);line-height:20px;color:var(--color-mono-gray-soft)}.aeb-slider--standard .aeb-slider__value{font-size:var(--font-size-md);font-weight:700;line-height:var(--line-height-medium);color:var(--standard-value-color)}.aeb-slider--standard .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:var(--font-size-xxs);line-height:14px;color:var(--color-mono-gray-soft)}.aeb-slider--input .aeb-slider__field-wrapper{width:100%}.aeb-slider--input .aeb-slider__field-wrapper input:focus{outline:none}.aeb-slider--input .aeb-slider__line{border-top-left-radius:4px;border-bottom-left-radius:0}.aeb-slider--input .aeb-slider__line__indicator{position:absolute;background-color:transparent}.aeb-slider--input .aeb-slider__line__container{position:relative;margin-top:0;top:-4px;left:10px;width:calc(100% - 20px)}.aeb-slider--input .aeb-slider__line:after{width:10px;height:10px;top:-3px;right:-5px}.aeb-slider--input .aeb-slider__line--pressed:after{width:14px;height:14px;top:-5px;right:-7px;transition:all .05s ease-in}.aeb-slider--input .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding-bottom:8px;font-size:var(--font-size-xxs);line-height:14px;color:var(--gray-primary)}body.dark .aeb-slider{--standard-value-color: var(--color-mono-clear);--line-background-color: var(--blue-primary-dark-theme)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showErrorMessage", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NumbersOnlyDirective, selector: "[aebNumbersOnly]" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: ReplacePipe, name: "replace" }], encapsulation: i0.ViewEncapsulation.None });
4659
4700
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderComponent, decorators: [{
4660
4701
  type: Component,
4661
4702
  args: [{ selector: 'aeb-slider', encapsulation: ViewEncapsulation.None, providers: [
@@ -4664,7 +4705,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4664
4705
  useExisting: forwardRef(() => SliderComponent),
4665
4706
  multi: true
4666
4707
  }
4667
- ], template: "<ng-container *ngIf=\"mode === 'standard'\">\n <div class=\"aeb-slider__header\">\n <div class=\"aeb-slider__label\">{{ label }}</div>\n <div class=\"aeb-slider__value\">\n {{ value | number: \"1.0-0\" | replace: \",\" : valueSeparator }}\n {{ prefix }}\n </div>\n </div>\n</ng-container>\n<ng-container *ngIf=\"mode === 'input'\">\n <aeb-form-field>\n <aeb-label>{{ label }}</aeb-label>\n <input\n type=\"string\"\n aebInput\n aebNumbersOnly\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"onInputBlur()\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n />\n </aeb-form-field>\n</ng-container>\n<div class=\"aeb-slider__line__container\" #slider>\n <div class=\"aeb-slider__line__indicator\">\n <div\n class=\"aeb-slider__line\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ 'aeb-slider__line--pressed': isPressed }\"\n ></div>\n </div>\n</div>\n<div class=\"aeb-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n</div>\n", styles: [".aeb-slider{--standard-value-color: var(--color-mono-brand-dark);--line-background-color: var(--color-blue-brand);display:block;color:var(--color-mono-brand-dark);padding:6px 0 8px}.aeb-slider__line{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--line-background-color);border-radius:2px}.aeb-slider__line:after{position:absolute;top:-8px;right:-10px;width:20px;height:20px;cursor:pointer;content:\"\";background-color:var(--line-background-color);border-radius:var(--border-medium-rounded)}.aeb-slider__line:hover{background-color:var(--color-turquoise-neutral)}.aeb-slider__line:hover:after{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__container{margin-top:26px}.aeb-slider__line--pressed:after{top:-11px;right:-13px;width:26px;height:26px;transition:all .05s ease-in;background-color:var(--color-turquoise-neutral);border-radius:var(--border-rounded)}.aeb-slider__line--pressed{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__indicator{position:relative;width:100%;height:4px;border-radius:2px;background-color:var(--lightgray-secondary)}.aeb-slider__line__wrapper{display:flex;justify-content:center;align-items:center;width:100%}.aeb-slider--standard .aeb-slider__header{display:flex;justify-content:space-between;align-items:center}.aeb-slider--standard .aeb-slider__label{display:flex;align-items:center;font-size:var(--font-size-s);line-height:20px;color:var(--color-mono-gray-soft)}.aeb-slider--standard .aeb-slider__value{font-size:var(--font-size-md);font-weight:700;line-height:var(--line-height-medium);color:var(--standard-value-color)}.aeb-slider--standard .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:var(--font-size-xxs);line-height:14px;color:var(--color-mono-gray-soft)}.aeb-slider--input .aeb-slider__field-wrapper{width:100%}.aeb-slider--input .aeb-slider__field-wrapper input:focus{outline:none}.aeb-slider--input .aeb-slider__line{border-top-left-radius:4px;border-bottom-left-radius:0}.aeb-slider--input .aeb-slider__line__indicator{position:absolute;background-color:transparent}.aeb-slider--input .aeb-slider__line__container{position:relative;margin-top:0;top:-4px;left:10px;width:calc(100% - 20px)}.aeb-slider--input .aeb-slider__line:after{width:10px;height:10px;top:-3px;right:-5px}.aeb-slider--input .aeb-slider__line--pressed:after{width:14px;height:14px;top:-5px;right:-7px;transition:all .05s ease-in}.aeb-slider--input .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding-bottom:8px;font-size:var(--font-size-xxs);line-height:14px;color:var(--gray-primary)}body.dark .aeb-slider{--standard-value-color: var(--color-mono-clear);--line-background-color: var(--blue-primary-dark-theme)}\n"] }]
4708
+ ], template: "<ng-container *ngIf=\"mode === 'standard'\">\n <div class=\"aeb-slider__header\">\n <div class=\"aeb-slider__label\">{{ label }}</div>\n <div class=\"aeb-slider__value\">\n {{ value | number: \"1.0-0\" | replace: \",\" : valueSeparator }}\n {{ prefix }}\n </div>\n </div>\n</ng-container>\n<ng-container *ngIf=\"mode === 'input'\">\n <aeb-form-field>\n <label aebLabel>{{ label }}</label>\n <input\n type=\"string\"\n aebInput\n aebNumbersOnly\n (focus)=\"setCurrentDisplayValue()\"\n (blur)=\"onInputBlur()\"\n [ngModel]=\"displayValue\"\n (ngModelChange)=\"changeValueByInput($event)\"\n />\n </aeb-form-field>\n</ng-container>\n<div class=\"aeb-slider__line__container\" #slider>\n <div class=\"aeb-slider__line__indicator\">\n <div\n class=\"aeb-slider__line\"\n [ngStyle]=\"{\n width: position + '%'\n }\"\n [ngClass]=\"{ 'aeb-slider__line--pressed': isPressed }\"\n ></div>\n </div>\n</div>\n<div class=\"aeb-slider__limits\">\n <div>\n {{ min | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n <div>\n {{ max | number: \"1.0-0\" | replace: \",\" : valueSeparator }} {{ prefix }}\n </div>\n</div>\n", styles: [".aeb-slider{--standard-value-color: var(--color-mono-brand-dark);--line-background-color: var(--color-blue-brand);display:block;color:var(--color-mono-brand-dark);padding:6px 0 8px}.aeb-slider__line{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--line-background-color);border-radius:2px}.aeb-slider__line:after{position:absolute;top:-8px;right:-10px;width:20px;height:20px;cursor:pointer;content:\"\";background-color:var(--line-background-color);border-radius:var(--border-medium-rounded)}.aeb-slider__line:hover{background-color:var(--color-turquoise-neutral)}.aeb-slider__line:hover:after{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__container{margin-top:26px}.aeb-slider__line--pressed:after{top:-11px;right:-13px;width:26px;height:26px;transition:all .05s ease-in;background-color:var(--color-turquoise-neutral);border-radius:var(--border-rounded)}.aeb-slider__line--pressed{background-color:var(--color-turquoise-neutral)}.aeb-slider__line__indicator{position:relative;width:100%;height:4px;border-radius:2px;background-color:var(--lightgray-secondary)}.aeb-slider__line__wrapper{display:flex;justify-content:center;align-items:center;width:100%}.aeb-slider--standard .aeb-slider__header{display:flex;justify-content:space-between;align-items:center}.aeb-slider--standard .aeb-slider__label{display:flex;align-items:center;font-size:var(--font-size-s);line-height:20px;color:var(--color-mono-gray-soft)}.aeb-slider--standard .aeb-slider__value{font-size:var(--font-size-md);font-weight:700;line-height:var(--line-height-medium);color:var(--standard-value-color)}.aeb-slider--standard .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:var(--font-size-xxs);line-height:14px;color:var(--color-mono-gray-soft)}.aeb-slider--input .aeb-slider__field-wrapper{width:100%}.aeb-slider--input .aeb-slider__field-wrapper input:focus{outline:none}.aeb-slider--input .aeb-slider__line{border-top-left-radius:4px;border-bottom-left-radius:0}.aeb-slider--input .aeb-slider__line__indicator{position:absolute;background-color:transparent}.aeb-slider--input .aeb-slider__line__container{position:relative;margin-top:0;top:-4px;left:10px;width:calc(100% - 20px)}.aeb-slider--input .aeb-slider__line:after{width:10px;height:10px;top:-3px;right:-5px}.aeb-slider--input .aeb-slider__line--pressed:after{width:14px;height:14px;top:-5px;right:-7px;transition:all .05s ease-in}.aeb-slider--input .aeb-slider__limits{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding-bottom:8px;font-size:var(--font-size-xxs);line-height:14px;color:var(--gray-primary)}body.dark .aeb-slider{--standard-value-color: var(--color-mono-clear);--line-background-color: var(--blue-primary-dark-theme)}\n"] }]
4668
4709
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { slider: [{
4669
4710
  type: ViewChild,
4670
4711
  args: ['slider']