{"version":3,"file":"gerandon-ngx-widgets.mjs","sources":["../../../projects/ngx-widgets/src/lib/core/base-value-accessor.ts","../../../projects/ngx-widgets/src/lib/core/base-input.ts","../../../projects/ngx-widgets/src/lib/core/base-text-input.ts","../../../projects/ngx-widgets/src/lib/core/base-mask-input.ts","../../../projects/ngx-widgets/src/lib/core/component-unsubscribe.ts","../../../projects/ngx-widgets/src/lib/basic-input/basic-input.component.ts","../../../projects/ngx-widgets/src/lib/basic-input/basic-input.component.html","../../../projects/ngx-widgets/src/lib/select/select.component.ts","../../../projects/ngx-widgets/src/lib/select/select.component.html","../../../projects/ngx-widgets/src/lib/textarea-input/textarea-input.component.ts","../../../projects/ngx-widgets/src/lib/textarea-input/textarea-input.component.html","../../../projects/ngx-widgets/src/lib/basic-chips/basic-chips.component.ts","../../../projects/ngx-widgets/src/lib/basic-chips/basic-chips.component.html","../../../projects/ngx-widgets/src/public-api.ts","../../../projects/ngx-widgets/src/gerandon-ngx-widgets.ts"],"sourcesContent":["import {\n  AfterViewInit,\n  ChangeDetectorRef, Directive,\n  ElementRef, inject,\n  Injector, OnDestroy, Type,\n  ViewChild,\n  input\n} from '@angular/core';\r\nimport {\r\n  AbstractControl,\r\n  ControlValueAccessor, FormControl,\r\n  NgControl,\r\n  ValidationErrors,\r\n  Validator, ValidatorFn,\r\n} from '@angular/forms';\r\n\r\nimport {Observable, of, Subject} from 'rxjs';\r\n\r\n@Directive()\r\nexport class BaseValueAccessor<T> implements ControlValueAccessor, AfterViewInit, Validator, OnDestroy {\r\n\r\n  public readonly validator = input<Observable<ValidationErrors>>(of({}));\r\n  @ViewChild('inputElement') inputElement!: ElementRef;\r\n  @ViewChild('input') input!: NgControl;\r\n\r\n  public control: FormControl;\r\n\r\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n  private onChange = (value: T) => {\r\n  };\r\n  private onTouched = () => {\r\n  };\r\n  private readonly injector: Injector = inject(Injector);\r\n  protected controlDir!: NgControl;\r\n  protected readonly cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\r\n  protected _validate: ValidatorFn;\r\n  protected readonly _defaultValidate: ValidatorFn = () => null;\r\n\r\n  protected readonly destroy$ = new Subject<void>();\r\n\r\n  constructor() {\r\n    this._validate = this._defaultValidate;\r\n    // Temporarily, AfterViewInit will handle the correct setting\r\n    this.control = new FormControl();\r\n  }\r\n\r\n  validate(control: AbstractControl): Observable<ValidationErrors> {\r\n    control.setErrors({ ...control.errors, pending: true });\r\n    return this.validator();\r\n  }\r\n\r\n  ngAfterViewInit() {\r\n    this.controlDir = this.injector.get<NgControl>(NgControl as Type<NgControl>);\r\n    this.control = <FormControl>this.controlDir.control;\r\n    // For ng-valid expression changed error workaround purposes\r\n    this.cdr.detectChanges();\r\n  }\r\n\r\n  writeValue(obj: T): void {\r\n    this.valueAccessor?.writeValue(obj);\r\n  }\r\n\r\n  registerOnChange(fn: (value: T) => unknown): void {\r\n    this.onChange = fn;\r\n    this.valueAccessor?.registerOnChange(fn);\r\n  }\r\n\r\n  registerOnTouched(fn: () => unknown) {\r\n    this.onTouched = fn;\r\n    this.valueAccessor?.registerOnTouched(fn);\r\n  }\r\n\r\n  protected get valueAccessor(): ControlValueAccessor | null {\r\n    return this.input ? this.input.valueAccessor : null;\r\n  }\r\n\r\n  ngOnDestroy() {\r\n    this.destroy$.next();\r\n    this.destroy$.complete();\r\n  }\r\n}\r\n","import {\r\n  AfterViewInit,\r\n  Directive, Inject, inject, InjectionToken,\r\n  Input, OnChanges,\r\n  OnInit, Optional, SimpleChanges,\r\n  input, signal, WritableSignal, effect, viewChild\r\n} from '@angular/core';\r\nimport {\r\n  FloatLabelType,\r\n  MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n  MatFormFieldAppearance,\r\n  SubscriptSizing\r\n} from '@angular/material/form-field';\r\n\r\nimport {BaseValueAccessor} from './base-value-accessor';\r\nimport {isEmpty, keys} from 'lodash-es';\r\nimport {LiveAnnouncer} from \"@angular/cdk/a11y\";\r\nimport {ThemePalette} from \"@angular/material/core\";\r\nimport {debounceTime, startWith, takeUntil} from \"rxjs\";\r\nimport {MatInput} from \"@angular/material/input\";\r\n\r\nexport interface NgxWidgetsValidationErrorTypes {\r\n  required?: string;\r\n  selectGlobalPlaceholder?: string;\r\n}\r\n\r\nexport const NGX_WIDGETS_VALIDATION_TRANSLATIONS = new InjectionToken<NgxWidgetsValidationErrorTypes>('NGX_WIDGETS_VALIDATION_TRANSLATIONS');\r\n/**\r\n * @deprecated\r\n * This token is deprecated and will be removed in Angular v21. Use MAT_FORM_FIELD_DEFAULT_OPTIONS instead.\r\n */\r\nexport const NGX_WIDGETS_FORM_FIELD_APPEARANCE = new InjectionToken<MatFormFieldAppearance>('NGX_WIDGETS_FORM_FIELD_APPEARANCE');\r\n\r\n@Directive()\r\nexport class BaseInput<T, ANNOUNCER_TYPE = object> extends BaseValueAccessor<T> implements OnInit, AfterViewInit, OnChanges {\r\n\r\n  public readonly appearance = input<MatFormFieldAppearance>();\r\n  protected readonly _appearance: WritableSignal<MatFormFieldAppearance>;\r\n  public readonly color = input<ThemePalette>();\r\n  protected readonly _color: WritableSignal<ThemePalette>;\r\n  // TODO: Skipped for migration because:\r\n  //  Your application code writes to the input. This prevents migration.\r\n  @Input() public id!: string;\r\n  // TODO: Skipped for migration because:\r\n  //  Your application code writes to the input. This prevents migration.\r\n  @Input() public name!: string;\r\n  // TODO: Skipped for migration because:\r\n  //  Your application code writes to the input. This prevents migration.\r\n  @Input() public label!: string;\r\n  public readonly translateParams = input<unknown>();\r\n  // TODO: Skipped for migration because:\r\n  //  Your application code writes to the input. This prevents migration.\r\n  @Input() public placeholder!: string;\r\n  public readonly isDisabled = input<boolean | undefined>(false);\r\n  public readonly floatLabel = input<FloatLabelType>('auto');\r\n  // TODO: Skipped for migration because:\r\n  //  This input is used in a control flow expression (e.g. `@if` or `*ngIf`)\r\n  //  and migrating would break narrowing currently.\r\n  @Input() public prefixIcon?: string;\r\n  // TODO: Skipped for migration because:\r\n  //  This input is used in a control flow expression (e.g. `@if` or `*ngIf`)\r\n  //  and migrating would break narrowing currently.\r\n  @Input() public suffixIcon?: string;\r\n  // TODO: Skipped for migration because:\r\n  //  This input is used in a control flow expression (e.g. `@if` or `*ngIf`)\r\n  //  and migrating would break narrowing currently.\r\n  @Input() public suffix?: string;\r\n  public readonly formControlName = input<string>();\r\n  public readonly validatorMessages = input<{\r\n    [key: string]: string;\r\n  }>();\r\n  public readonly subscriptSizing = input<SubscriptSizing>('fixed');\r\n  public readonly hintLabel = input('');\r\n  public readonly ariaLabel = input('', { alias: 'aria-label' });\r\n  public readonly ariaPlaceholder = input('', { alias: 'aria-placeholder' });\r\n  public readonly ariaDescribedBy = input('', { alias: 'aria-describedby' });\r\n  public readonly ariaDescription = input('', { alias: 'aria-description' });\r\n  public readonly focusOnInit = input(false);\r\n  protected readonly matInput = viewChild(MatInput);\r\n  protected controlErrorKeys: string[] = [];\r\n  private readonly liveAnnouncer = inject(LiveAnnouncer);\r\n  private readonly matFormFieldConfig = inject(MAT_FORM_FIELD_DEFAULT_OPTIONS);\r\n  public readonly announcerTranslations = input<ANNOUNCER_TYPE>();\r\n  public validatorMessagesArray: { key: string, value: unknown }[] = [];\r\n  protected _defaultAnnouncerTranslations?: { [P in keyof ANNOUNCER_TYPE]-?: ANNOUNCER_TYPE[P] };\r\n\r\n  constructor(@Optional() @Inject(NGX_WIDGETS_VALIDATION_TRANSLATIONS) protected readonly validationTranslations: NgxWidgetsValidationErrorTypes | any = {}) {\r\n    super();\r\n    this._appearance = signal<MatFormFieldAppearance>(this.matFormFieldConfig.appearance ?? 'fill');\r\n    this._color = signal<ThemePalette>(this.matFormFieldConfig.color ?? 'primary');\r\n  }\r\n\r\n  ngOnInit() {\r\n    this.placeholder = this.placeholder === undefined ? this.label : this.placeholder;\r\n    if (!this.name) {\r\n      this.name = this.formControlName()!;\r\n      /*\r\n      console.warn(`name attribute is not defined for ${this.formControlName}! Please beware, that using this control multiple\r\n      times with the same control name could result in wrong focus, clicking on the label!`);\r\n       */\r\n    }\r\n    // *ngIf seems like does not re-render component when label is used with dynamic value (e.g.: translate pipe). Strange\r\n    this.label = this.label || ' ';\r\n  }\r\n\r\n  ngOnChanges(changes: SimpleChanges) {\r\n    if (changes['validatorMessages']) {\r\n      const validatorMessages = this.validatorMessages();\r\n      if (!isEmpty(validatorMessages)) {\r\n        this.validatorMessagesArray = keys(validatorMessages).map((key) => ({\r\n          key,\r\n          value: this.validatorMessages()![key],\r\n        }));\r\n      }\r\n    }\r\n  }\r\n\r\n  override ngAfterViewInit() {\r\n    super.ngAfterViewInit();\r\n    this.control.statusChanges.pipe(\r\n      startWith(this.control.status),\r\n      takeUntil(this.destroy$),\r\n      debounceTime(100),\r\n    ).subscribe(() => {\r\n      if (!this.control.hasError('server')) {\r\n        this.controlErrorKeys = keys(this.control.errors).map((key) => key);\r\n        this.cdr.detectChanges();\r\n      }\r\n    });\r\n    if (this.focusOnInit()) {\r\n      this.matInput()?.focus();\r\n    }\r\n    this.cdr.detectChanges();\r\n  }\r\n\r\n  protected announce(key: keyof ANNOUNCER_TYPE | string) {\r\n    if (this._defaultAnnouncerTranslations?.[key as keyof ANNOUNCER_TYPE]) {\r\n      const _key = key as keyof ANNOUNCER_TYPE\r\n      const inputTranslation = this.announcerTranslations()?.[_key] as string;\r\n      if (inputTranslation) {\r\n        return this.liveAnnouncer.announce(inputTranslation, 'assertive');\r\n      } else {\r\n        return this.liveAnnouncer.announce(this._defaultAnnouncerTranslations![_key] as string, 'assertive');\r\n      }\r\n    } else {\r\n      return this.liveAnnouncer.announce(key as string, 'assertive');\r\n    }\r\n  }\r\n}\r\n","import {\r\n  Directive,\r\n  input\r\n} from '@angular/core';\r\n\r\nimport { BaseInput } from './base-input';\r\n\r\n@Directive()\r\nexport class BaseTextInput<T, ANNOUNCER_TYPE = object> extends BaseInput<T, ANNOUNCER_TYPE> {\r\n\r\n  public readonly type = input<('text' | 'password' | 'number' | 'email' | 'tel')>('text');\r\n  public readonly maxLength = input<number | undefined>(512);\r\n}\r\n","import {BaseTextInput} from \"./base-text-input\";\nimport {AfterViewInit, Directive, ViewChild, input} from \"@angular/core\";\nimport {NgxMaskDirective} from \"ngx-mask\";\n\n@Directive()\nexport class BaseMaskInput extends BaseTextInput<string> implements AfterViewInit {\n\n  public readonly mask = input<string>();\n  public readonly showMaskTyped = input(false);\n  public readonly dropSpecialCharacters = input<string[] | boolean | readonly string[] | null>();\n  public readonly specialCharacters = input<string[]>();\n  public readonly placeHolderCharacter = input<string>('_');\n  public readonly maskPrefix = input<string>('');\n  public readonly maskSuffix = input<string>('');\n\n  @ViewChild('maskInput') maskInput!: NgxMaskDirective;\n\n  override ngAfterViewInit() {\n    super.ngAfterViewInit();\n\n    if (this.maskInput) {\n    this.maskInput._maskService.dropSpecialCharacters = this.dropSpecialCharacters()!;\n    this.maskInput['_applyMask']();\n    }\n  }\n}\n","import { isDevMode } from '@angular/core';\n\nimport { Observable, Subject, takeUntil } from 'rxjs';\nimport { SafeSubscriber } from 'rxjs/internal/Subscriber';\n\n/**\n * Automatically unsubscribe from an Observable when the view is destroyed\n * Tested with checking the \"complete\" event of a subscribe method\n * @description\n * An Annotation that should be used with an Observable typed variable to handle its subscriptions\n * @author gergo.asztalos\n */\nexport function UnsubscribeOnDestroy<ObservableType>(): PropertyDecorator {\n  return function (target: any, propertyKey: string | symbol) {\n    const ngOnDestroy = target.ngOnDestroy;\n\n    const secretKey = `_${<string>propertyKey}$`;\n    // Probably with function we could use own context\n    const destroyKey = (_this: any) =>\n      _this.hasOwnProperty('destroy$') ? 'destroy$' : `${_this.constructor.name}_destroy$`;\n    Object.defineProperty(target, secretKey, { enumerable: false, writable: true });\n    Object.defineProperty(target, propertyKey, {\n      configurable: true,\n      enumerable: true,\n      get: function() {\n        return this[secretKey];\n      },\n      set: function(newValue: Observable<ObservableType> | SafeSubscriber<ObservableType>) {\n        if (!this[destroyKey(this)]) {\n          this[destroyKey(this)] =  new Subject();\n        }\n        if (newValue instanceof Observable) {\n          this[secretKey] = newValue.pipe(\n            takeUntil(this[destroyKey(this)]),\n          );\n        } else {\n          this[secretKey] = newValue;\n        }\n      },\n    });\n\n    target.ngOnDestroy = function () {\n      if (this[propertyKey] instanceof SafeSubscriber) {\n        this[propertyKey].unsubscribe();\n        this[secretKey].unsubscribe();\n      } else if (this.hasOwnProperty(destroyKey(this))) {\n        this[destroyKey(this)].next();\n        this[destroyKey(this)].complete();\n      }\n      delete this[secretKey];\n      if (isDevMode()) {\n        // eslint-disable-next-line no-console,max-len\n        console.debug(`<UnsubscribeOnDestroy> - Observable/Subscription <${<string>propertyKey}> completed in class: ${this.constructor.name}`);\n      }\n      ngOnDestroy && ngOnDestroy.call(this);\n    };\n  };\n}\n","import {\r\n  Component,\r\n  forwardRef,\r\n  OnInit,\r\n  ViewEncapsulation,\r\n  output\r\n} from '@angular/core';\r\nimport { NG_ASYNC_VALIDATORS, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\n\r\nimport {NgxMaskDirective} from \"ngx-mask\";\r\nimport {BaseMaskInput} from \"../core/base-mask-input\";\r\n\r\n@Component({\r\n  selector: 'gerandon-basic-input',\r\n  templateUrl: './basic-input.component.html',\r\n  styleUrls: ['./basic-input.component.scss'],\r\n  encapsulation: ViewEncapsulation.None,\r\n  standalone: true,\r\n  imports: [\r\n    ReactiveFormsModule,\r\n    MatIconModule,\r\n    MatFormFieldModule,\r\n    MatInputModule,\r\n    NgxMaskDirective,\r\n  ],\r\n  providers: [\r\n    { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BasicInputComponent), multi: true },\r\n    { provide: NG_ASYNC_VALIDATORS, useExisting: forwardRef(() => BasicInputComponent), multi: true },\r\n  ],\r\n})\r\nexport class BasicInputComponent extends BaseMaskInput implements OnInit {\r\n\r\n  readonly iconClick = output();\r\n\r\n  override ngOnInit() {\r\n    super.ngOnInit();\r\n    this.id = this.id || this.name;\r\n  }\r\n}\r\n","<div class=\"basic-input cva-input\">\r\n  <mat-form-field [appearance]=\"appearance() ?? _appearance()\"\r\n                  [color]=\"color() ?? _color()\"\r\n                  [subscriptSizing]=\"subscriptSizing()\"\r\n                  [hintLabel]=\"hintLabel()\"\r\n                  [floatLabel]=\"floatLabel()\">\r\n    @if (label) {\r\n      <mat-label [class.disabled]=\"isDisabled()\">{{label}}</mat-label>\r\n    }\r\n    @if(mask()) {\r\n      <input\r\n        [id]=\"id\"\r\n        #inputElement\r\n        #input=\"ngForm\"\r\n        #maskInput=\"ngxMask\"\r\n        matInput\r\n        [style.padding-right]=\"(suffix || prefixIcon) && '35px'\"\r\n        [type]=\"type()\"\r\n        [attr.disabled]=\"isDisabled() || control.disabled ? '' : null\"\r\n        [attr.aria-placeholder]=\"ariaPlaceholder() || placeholder\"\r\n        [attr.aria-label]=\"ariaLabel() || label\"\r\n        [attr.aria-describedby]=\"ariaDescribedBy()\"\r\n        [attr.aria-description]=\"ariaDescription()\"\r\n        [readonly]=\"isDisabled()\"\r\n        [placeholder]=\"placeholder\"\r\n        [formControl]=\"control\"\r\n        [maxLength]=\"maxLength()\"\r\n        [name]=\"name\"\r\n        [mask]=\"mask()\"\r\n        [triggerOnMaskChange]=\"true\"\r\n        [showMaskTyped]=\"showMaskTyped()\"\r\n        [specialCharacters]=\"specialCharacters()!\"\r\n        [placeHolderCharacter]=\"placeHolderCharacter()!\"\r\n        [prefix]=\"maskPrefix()\"\r\n        [suffix]=\"maskSuffix()\"\r\n      />\r\n    } @else {\r\n      <input\r\n        [id]=\"id\"\r\n        #inputElement\r\n        #input=\"ngForm\"\r\n        matInput\r\n        [style.padding-right]=\"(suffix || prefixIcon) && '35px'\"\r\n        [type]=\"type()\"\r\n        [attr.disabled]=\"isDisabled() || control.disabled ? '' : null\"\r\n        [attr.aria-placeholder]=\"ariaPlaceholder() || placeholder\"\r\n        [attr.aria-label]=\"ariaLabel() || label\"\r\n        [attr.aria-describedby]=\"ariaDescribedBy()\"\r\n        [attr.aria-description]=\"ariaDescription()\"\r\n        [readonly]=\"isDisabled()\"\r\n        [placeholder]=\"placeholder\"\r\n        [formControl]=\"control\"\r\n        [maxLength]=\"maxLength()\"\r\n        [name]=\"name\"\r\n      />\r\n    }\r\n    @if (prefixIcon) {\r\n      <mat-icon matPrefix color=\"accent\">\r\n        {{prefixIcon}}\r\n      </mat-icon>\r\n    }\r\n    @if (suffixIcon) {\r\n      <mat-icon matSuffix color=\"accent\">\r\n        {{suffixIcon}}\r\n      </mat-icon>\r\n    }\r\n    @if (suffix) {\r\n      <span matSuffix style=\"margin-right: 10px\">{{suffix}}</span>\r\n    }\r\n\r\n    @if (control.errors?.['server']) {\r\n      <mat-error>{{ control.errors?.['server'] }}</mat-error>\r\n    }\r\n    @for (errorKey of controlErrorKeys; track errorKey) {\r\n      <mat-error>\r\n        @if(validatorMessages()?.[errorKey]) {\r\n          {{ validatorMessages()![errorKey] }}\r\n        } @else if (!!validationTranslations?.[errorKey]) {\r\n          {{ validationTranslations[errorKey] }}\r\n        }\r\n      </mat-error>\r\n    }\r\n  </mat-form-field>\r\n</div>\r\n","import {\r\n  Component,\r\n  ElementRef,\r\n  forwardRef,\r\n  Input,\r\n  OnInit,\r\n  QueryList,\r\n  ViewChildren,\r\n  input, signal\r\n} from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport {MatSelectModule} from '@angular/material/select';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport {BaseInput} from '../core/base-input';\r\nimport { isEqual } from 'lodash-es';\r\nimport {first, Observable, Subscription} from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport {MatProgressSpinner} from \"@angular/material/progress-spinner\";\r\n\r\nexport interface SelectOptionType {\r\n  label: string;\r\n  value: string | number | null | unknown;\r\n}\r\n\r\ninterface SelectAnnouncerTranslations {\r\n  inputReset?: string;\r\n  asyncLoading?: string;\r\n}\r\n\r\n@Component({\r\n  selector: 'gerandon-select',\r\n  templateUrl: './select.component.html',\r\n  styleUrls: ['./select.component.scss'],\r\n  standalone: true,\r\n  providers: [\r\n    { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SelectComponent), multi: true }\r\n  ],\r\n  imports: [\r\n    MatInputModule,\r\n    MatSelectModule,\r\n    ReactiveFormsModule,\r\n    MatTooltipModule,\r\n    MatProgressSpinner,\r\n  ],\r\n})\r\nexport class SelectComponent extends BaseInput<unknown, SelectAnnouncerTranslations> implements OnInit {\r\n\r\n  /**\r\n   * In this case, an empty option appears that resets the control, to an empty value state\r\n   */\r\n  // TODO: Skipped for migration because:\r\n  //  This input is used in a control flow expression (e.g. `@if` or `*ngIf`)\r\n  //  and migrating would break narrowing currently.\r\n  @Input() public emptyOptionLabel?: string;\r\n  @Input() public emptyOptionAriaLabel?: string = 'Üres';\r\n  public readonly multiple = input<boolean>();\r\n  public readonly options = input<SelectOptionType[]>([]);\r\n  public readonly initialOptionGetFn = input<(controlValue: any) => Observable<SelectOptionType>>();\r\n  public readonly asyncOptions = input<Observable<SelectOptionType[]>>();\r\n  public readonly lazy = input<boolean>(false);\r\n  public readonly optionsLoading = signal(false);\r\n  @ViewChildren('optionElements') public optionElements!: QueryList<ElementRef>;\r\n  protected override _defaultAnnouncerTranslations: { [P in keyof SelectAnnouncerTranslations]-?: SelectAnnouncerTranslations[P] } = {\r\n    inputReset: 'Lenyíló mező törölve!',\r\n    asyncLoading: 'Értékkészlet betöltése a szerverről folyamatban!'\r\n  }\r\n  private lastOptions: SelectOptionType[] = [];\r\n  private __options: SelectOptionType[] = [];\r\n  get _options() {\r\n    return this.__options;\r\n  }\r\n  set _options(value: SelectOptionType[]) {\r\n    this.__options = value;\r\n    if (value.length) {\r\n      this.lastOptions = value;\r\n    }\r\n  }\r\n\r\n  /**\r\n   * Angular Material - Select component comparsion is only '===', does not work with Array values\r\n   * https://github.com/angular/components/blob/a07c0758a5ec2eb4de1bb822354be08178c66aa4/src/lib/select/select.ts#L242C48-L242C58\r\n   */\r\n  public readonly _isEqual = isEqual;\r\n\r\n  private optionSubscription?: Subscription;\r\n\r\n  override ngOnInit() {\r\n    this.placeholder = !this.placeholder ? (this.validationTranslations?.selectGlobalPlaceholder || this.label) : this.placeholder;\r\n    super.ngOnInit();\r\n    this.id = this.id || this.formControlName() || this.name;\r\n    this._options = this.options();\r\n\r\n    const asyncOptions = this.asyncOptions();\r\n    if (asyncOptions && !this.lazy()) {\r\n      this.announce('asyncLoading');\r\n      asyncOptions.pipe(takeUntil(this.destroy$)).subscribe((resp) => {\r\n        this._options = resp;\r\n        this.cdr.detectChanges();\r\n      });\r\n    }\r\n  }\r\n\r\n  override ngAfterViewInit() {\r\n    super.ngAfterViewInit();\r\n    if (this.lazy()) {\r\n      this.initialOptionGetFn()!(this.control.value).pipe(\r\n        first()\r\n      ).subscribe((response) => {\r\n        this._options = [response];\r\n        this.cdr.detectChanges();\r\n      })\r\n    }\r\n  }\r\n\r\n  opened(opened: boolean) {\r\n    if (opened) {\r\n      const asyncOptions = this.asyncOptions();\r\n      if (asyncOptions && this.lazy()) {\r\n        this.announce('asyncLoading');\r\n        this.optionsLoading.set(true);\r\n        this.optionSubscription = asyncOptions.pipe(first()).subscribe((resp) => {\r\n          this._options = resp;\r\n          this.optionsLoading.set(false);\r\n          this.cdr.detectChanges();\r\n        });\r\n      }\r\n    } else if(this.optionSubscription && !this.optionSubscription.closed) {\r\n      // Cancelling request if select is closed before response arrived\r\n      this.optionsLoading.set(false);\r\n      this.optionSubscription?.unsubscribe();\r\n      if (this.lazy()) {\r\n        const lastOption = this.lastOptions.find((act) => act.value === this.control.value);\r\n        if (lastOption) {\r\n          this._options = [lastOption];\r\n          this.cdr.detectChanges();\r\n        }\r\n      }\r\n    }\r\n  }\r\n\r\n  reset() {\r\n    this.control.reset();\r\n    this.announce('inputReset');\r\n  }\r\n}\r\n","<mat-form-field [appearance]=\"appearance() ?? _appearance()\"\r\n                [color]=\"color() ?? _color()\"\r\n                [subscriptSizing]=\"subscriptSizing()\"\r\n                [floatLabel]=\"floatLabel()\">\r\n  @if (label) {\r\n    <mat-label>{{ label }}</mat-label>\r\n  }\r\n  <mat-select #inputElement\r\n              #input=\"ngForm\"\r\n              [multiple]=\"multiple()\"\r\n              (openedChange)=\"opened($event)\"\r\n              [placeholder]=\"!floatLabel() ? label : placeholder\"\r\n              [formControl]=\"control\"\r\n              [id]=\"id\"\r\n              [class.input-disabled]=\"isDisabled() || control.disabled\"\r\n              [attr.aria-placeholder]=\"ariaPlaceholder() || placeholder\"\r\n              [attr.aria-label]=\"ariaLabel() || label\"\r\n              [attr.aria-describedby]=\"ariaDescribedBy()\"\r\n              [attr.aria-description]=\"ariaDescription()\"\r\n              [compareWith]=\"_isEqual\"\r\n              [attr.disabled]=\"isDisabled() || control.disabled ? '' : null\">\r\n    @if (lazy() && optionsLoading()) {\r\n      <mat-option class=\"gerandon-select-spinner-option\" disabled>\r\n        <mat-progress-spinner mode=\"indeterminate\"></mat-progress-spinner>\r\n      </mat-option>\r\n    } @else {\r\n      @if (emptyOptionLabel) {\r\n        <mat-option (click)=\"reset()\" [attr.aria-label]=\"emptyOptionAriaLabel\">\r\n          {{ emptyOptionLabel }}\r\n        </mat-option>\r\n      }\r\n    }\r\n    @for(option of _options; track option) {\r\n      <mat-option [value]=\"option.value\"\r\n                  [disabled]=\"optionsLoading()\"\r\n                  [attr.aria-label]=\"option.label\">\r\n        {{ option.label }}\r\n      </mat-option>\r\n    }\r\n  </mat-select>\r\n  @if (suffix) {\r\n    <span matSuffix>{{suffix}}</span>\r\n  }\r\n  @if (control.errors?.['server']) {\r\n    <mat-error>{{ control.errors?.['server'] }}</mat-error>\r\n  }\r\n  @for (errorKey of controlErrorKeys; track errorKey) {\r\n    <mat-error>\r\n      @if(validatorMessages()?.[errorKey]) {\r\n        {{ validatorMessages()![errorKey] }}\r\n      } @else if (!!validationTranslations?.[errorKey]) {\r\n        {{ validationTranslations[errorKey] }}\r\n      }\r\n    </mat-error>\r\n  }\r\n</mat-form-field>\r\n","import {Component, forwardRef, ViewEncapsulation, input, AfterViewInit, inject} from '@angular/core';\r\nimport { FormsModule, NG_ASYNC_VALIDATORS, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport {BaseTextInput} from \"../core/base-text-input\";\r\nimport {takeUntil} from \"rxjs\";\r\nimport {LiveAnnouncer} from \"@angular/cdk/a11y\";\r\n\r\ninterface TextareaAnnouncerTranslations {\r\n  maxLengthReached?: string;\r\n}\r\n\r\n@Component({\r\n  selector: 'gerandon-textarea-input',\r\n  templateUrl: 'textarea-input.component.html',\r\n  styleUrls: ['textarea-input.component.scss'],\r\n  standalone: true,\r\n  encapsulation: ViewEncapsulation.None,\r\n  imports: [\r\n    FormsModule,\r\n    MatFormFieldModule,\r\n    MatIconModule,\r\n    MatInputModule,\r\n    ReactiveFormsModule,\r\n  ],\r\n  providers: [\r\n    { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TextareaInputComponent), multi: true },\r\n    { provide: NG_ASYNC_VALIDATORS, useExisting: forwardRef(() => TextareaInputComponent), multi: true },\r\n  ],\r\n})\r\nexport class TextareaInputComponent extends BaseTextInput<string> implements AfterViewInit {\r\n\r\n  public readonly rows = input(10);\r\n  protected override _defaultAnnouncerTranslations: { [P in keyof TextareaAnnouncerTranslations]-?: TextareaAnnouncerTranslations[P] } = {\r\n    maxLengthReached: 'Elérte a maximális karakter számot!',\r\n  }\r\n\r\n  override ngAfterViewInit() {\r\n    super.ngAfterViewInit();\r\n    this.control.valueChanges.pipe(\r\n      takeUntil(this.destroy$)\r\n    ).subscribe((value) => {\r\n      if (value && value.length !== 0 && value.length >= (this.maxLength() ?? 0)) {\r\n        this.announce('maxLengthReached');\r\n      }\r\n    })\r\n  }\r\n}\r\n","<div class=\"textarea-input cva-input\">\r\n  <mat-form-field [appearance]=\"appearance() ?? _appearance()\"\r\n                  [color]=\"color() ?? _color()\"\r\n                  [subscriptSizing]=\"subscriptSizing()\"\r\n                  [floatLabel]=\"floatLabel()\">\r\n    @if (label) {\r\n      <mat-label [class.disabled]=\"isDisabled()\">{{ label }}</mat-label>\r\n    }\r\n    <textarea\r\n      [id]=\"id\"\r\n      #inputElement\r\n      #input=\"ngForm\"\r\n      #autosize=\"cdkTextareaAutosize\"\r\n      matInput\r\n      cdkTextareaAutosize\r\n      [cdkAutosizeMinRows]=\"rows()\"\r\n      class=\"w-100 cva-control\"\r\n      [attr.disabled]=\"isDisabled() || control.disabled ? '' : null\"\r\n      [attr.aria-placeholder]=\"ariaPlaceholder() || placeholder\"\r\n      [attr.aria-label]=\"ariaLabel() || label\"\r\n      [attr.aria-describedby]=\"ariaDescribedBy()\"\r\n      [attr.aria-description]=\"ariaDescription()\"\r\n      [readonly]=\"isDisabled()\"\r\n      [placeholder]=\"placeholder\"\r\n      [formControl]=\"control\"\r\n      [maxLength]=\"maxLength()\"\r\n      [name]=\"name\">\r\n    </textarea>\r\n    <span class=\"counter\">{{control.value?.length || 0}} / {{ maxLength() }}</span>\r\n    @if (prefixIcon) {\r\n      <mat-icon matPrefix color=\"accent\">\r\n        {{prefixIcon}}\r\n      </mat-icon>\r\n    }\r\n    @if (suffixIcon) {\r\n      <mat-icon matSuffix color=\"accent\">\r\n        {{suffixIcon}}\r\n      </mat-icon>\r\n    }\r\n    @if (suffix) {\r\n      <span matSuffix>{{suffix}}</span>\r\n    }\r\n    @if (control.errors?.['server']) {\r\n      <mat-error>{{ control.errors?.['server'] }}</mat-error>\r\n    }\r\n    @for (errorKey of controlErrorKeys; track errorKey) {\r\n      <mat-error>\r\n        @if(validatorMessages()?.[errorKey]) {\r\n          {{ validatorMessages()![errorKey] }}\r\n        } @else if (!!validationTranslations?.[errorKey]) {\r\n          {{ validationTranslations[errorKey] }}\r\n        }\r\n      </mat-error>\r\n    }\r\n  </mat-form-field>\r\n</div>\r\n","import {COMMA, ENTER} from '@angular/cdk/keycodes';\nimport {AsyncPipe} from '@angular/common';\nimport {\n  Component,\n  forwardRef,\n  Input,\n  ViewEncapsulation,\n  input,\n  viewChild,\n  ElementRef,\n  OnInit,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR, ReactiveFormsModule} from '@angular/forms';\nimport {MatAutocompleteModule, MatAutocompleteSelectedEvent} from '@angular/material/autocomplete';\nimport {MatChipInputEvent, MatChipsModule} from '@angular/material/chips';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {debounceTime, map, Observable, of, Subject, switchMap, tap} from 'rxjs';\nimport {BaseInput} from \"../core/base-input\";\nimport {MatError, MatFormField, MatLabel} from \"@angular/material/form-field\";\nimport {MatInput} from \"@angular/material/input\";\nimport {find, isEqual} from \"lodash-es\";\n\ninterface ChipsAnnouncerTranslations {\n  asyncFilterStart?: string;\n  asyncFilterEnd?: string;\n  itemRemoved?: string;\n  itemAdded?: string;\n  selectableItems?: string;\n}\n\n@Component({\n  selector: 'gerandon-basic-chips',\n  templateUrl: 'basic-chips.component.html',\n  styleUrls: ['basic-chips.component.scss'],\n  standalone: true,\n  encapsulation: ViewEncapsulation.None,\n  providers: [{provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BasicChipsComponent), multi: true}],\n    imports: [\n        MatChipsModule,\n        MatIconModule,\n        ReactiveFormsModule,\n        MatAutocompleteModule,\n        AsyncPipe,\n        MatFormField,\n        MatInput,\n        MatLabel,\n        MatError,\n    ],\n})\nexport class BasicChipsComponent<T> extends BaseInput<T[], ChipsAnnouncerTranslations> implements OnInit {\n\n  public readonly tsFilterInput = viewChild<ElementRef>('inputElement');\n  public readonly asyncFilterFn = input<(value: string) => Observable<T[]>>();\n  public readonly asyncOptions = input<Observable<T[]>>();\n  public readonly startTypingLabel = input('Kezdjen el gépelni...');\n  public readonly emptyListLabel = input('Nincs megjeleníthető elem!');\n  /**\n   * How much character you need to type before triggering search\n   */\n  public readonly startAsyncFnAt = input<number>(1);\n  // TODO: Skipped for migration because:\n  //  This input is used in a control flow expression (e.g. `@if` or `*ngIf`)\n  //  and migrating would break narrowing currently.\n  @Input() public labelProperty?: keyof T;\n  public readonly separatorKeysCodes = [ENTER, COMMA] as const;\n  public filterOptions$?: Observable<T[]>;\n  protected _hintLabel!: string;\n  private readonly inputChange = new Subject<string>();\n  protected override _defaultAnnouncerTranslations: { [P in keyof ChipsAnnouncerTranslations]-?: ChipsAnnouncerTranslations[P] } = {\n    asyncFilterStart: 'Szerver keresés elindítva',\n    asyncFilterEnd: 'A szerver keresés lefutott',\n    selectableItems: 'Választható elemek:',\n    itemRemoved: 'Elem sikeresen eltávolítva',\n    itemAdded: 'Elem hozzáadva'\n  }\n\n  override ngOnInit() {\n    super.ngOnInit();\n    this._hintLabel = this.hintLabel();\n    if (this.asyncFilterFn()) {\n      this.filterOptions$ = this.inputChange.pipe(\n        debounceTime(300),\n        tap(() => this.announce('asyncFilterStart')),\n        switchMap((value) => {\n          if (value && value.length >= this.startAsyncFnAt()) {\n            return this.asyncFilterFn()!(value).pipe(\n              map((responseList) => {\n                this.announce('asyncFilterEnd');\n                return responseList.filter((responseListItem) => {\n                  return !find(this.control.value, (controlAct) => isEqual(controlAct, responseListItem));\n                })\n              })\n            );\n          }\n          return of([]);\n        }),\n        tap((responseList) => {\n          this.announce('selectableItems').then(() => {\n            this.announce(responseList.map((act) => this.labelProperty ? act[this.labelProperty] : act).join(','))\n          });\n          if (!this.tsFilterInput()?.nativeElement.value && !this.control.value) {\n            this._hintLabel = this.hintLabel() ?? 'Kezdjen el gépelni...';\n          } else {\n            this._hintLabel = !responseList.length ? this.emptyListLabel() : '';\n          }\n        })\n      )\n    } else {\n      this.filterOptions$ = this.asyncOptions();\n    }\n  }\n\n  filter() {\n    const filterValue = this.tsFilterInput()!.nativeElement.value;\n    this.inputChange.next(filterValue);\n  }\n\n  remove(item: T) {\n    const values: T[] = this.control.value;\n    const index = values.indexOf(item);\n    if (index >= 0) {\n      values.splice(index, 1);\n      this.control.setValue(values);\n    }\n\n    this.mark();\n    this.announce('itemRemoved');\n  }\n\n  add(event: MatChipInputEvent): void {\n    const value = (event.value || '').trim();\n    if (value) {\n      this.updateValue(value as T);\n    }\n    event.chipInput!.clear();\n\n    this.mark();\n    this.announce('itemAdded');\n  }\n\n  selected(event: MatAutocompleteSelectedEvent): void {\n    if (!this.control.value?.includes(event.option.value)) {\n      this.updateValue(<T>event.option.value);\n    }\n    this.inputElement.nativeElement.value = '';\n\n    this.mark();\n  }\n\n  private updateValue(value: T) {\n    this.control.setValue([\n      ...(this.control.value || []),\n      value,\n    ]);\n  }\n\n  private mark() {\n    if (!this.control.touched) {\n      this.control.markAsTouched();\n      this.control.markAsDirty();\n    }\n  }\n}\n","<mat-form-field [appearance]=\"appearance() ?? _appearance()\"\r\n                [color]=\"color() ?? _color()\"\r\n                [subscriptSizing]=\"subscriptSizing()\"\r\n                [hintLabel]=\"_hintLabel\"\r\n                [floatLabel]=\"floatLabel()\">\r\n  @if (label) {\r\n    <mat-label [class.disabled]=\"isDisabled()\">{{ label }}</mat-label>\r\n  }\r\n  <mat-chip-grid #chipGrid class=\"w-100\">\r\n    @for(item of control.value; track item) {\r\n      <mat-chip-row (removed)=\"remove(item)\" color=\"primary\" highlighted>\r\n        {{ labelProperty ? item[labelProperty] : item}}\r\n        <button matChipRemove [attr.aria-label]=\"(labelProperty ? item[labelProperty] : item) + ' eltávolítása'\">\r\n          <mat-icon>cancel</mat-icon>\r\n        </button>\r\n      </mat-chip-row>\r\n    }\r\n    <input #inputElement\r\n           matInput\r\n           [placeholder]=\"placeholder || label\"\r\n           [matAutocomplete]=\"auto\"\r\n           (input)=\"filter()\"\r\n           [attr.aria-placeholder]=\"ariaPlaceholder() || placeholder\"\r\n           [attr.aria-label]=\"ariaLabel() || label\"\r\n           [attr.aria-describedby]=\"ariaDescribedBy()\"\r\n           [attr.aria-description]=\"ariaDescription()\"\r\n           [matChipInputFor]=\"chipGrid\"\r\n           [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\r\n           (matChipInputTokenEnd)=\"!labelProperty && add($event)\"/>\r\n    <mat-autocomplete #auto=\"matAutocomplete\"\r\n                      (optionSelected)=\"selected($event)\">\r\n      @for (filterItem of filterOptions$ | async; track filterItem) {\r\n        <mat-option [value]=\"filterItem\" [attr.aria-label]=\"labelProperty ? filterItem[labelProperty] : filterItem\">\r\n          {{labelProperty ? filterItem[labelProperty] : filterItem}}\r\n        </mat-option>\r\n      }\r\n    </mat-autocomplete>\r\n  </mat-chip-grid>\r\n  <input #input=\"ngForm\" [style.display]=\"'none'\" [formControl]=\"control\" />\r\n  @if (control.errors?.['server']) {\r\n    <mat-error>{{ control.errors?.['server'] }}</mat-error>\r\n  }\r\n  @for (errorKey of controlErrorKeys; track errorKey) {\r\n    <mat-error>\r\n      @if(validatorMessages()?.[errorKey]) {\r\n        {{ validatorMessages()![errorKey] }}\r\n      } @else if (!!validationTranslations?.[errorKey]) {\r\n        {{ validationTranslations[errorKey] }}\r\n      }\r\n    </mat-error>\r\n  }\r\n</mat-form-field>\r\n","/*\n * Public API Surface of ngx-widgets\n */\n\nexport * from './lib/core/base-value-accessor';\nexport * from './lib/core/base-input';\nexport * from './lib/core/base-text-input';\nexport * from './lib/core/base-mask-input';\nexport * from './lib/core/component-unsubscribe';\n\nexport * from './lib/basic-input/basic-input.component';\nexport * from './lib/select/select.component';\nexport * from './lib/textarea-input/textarea-input.component';\nexport * from './lib/basic-chips/basic-chips.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["takeUntil","i1","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBa,iBAAiB,CAAA;AAqB5B,IAAA,WAAA,GAAA;QAnBgB,IAAA,CAAA,SAAS,GAAG,KAAK,CAA+B,EAAE,CA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