{"version":3,"file":"bloomreach-brie-form.mjs","sources":["../../../../projects/brie/form/components/form-checkbox/form-checkbox.component.ts","../../../../projects/brie/form/components/form-checkbox/form-checkbox.component.html","../../../../projects/brie/form/components/form-toggle/form-toggle.component.ts","../../../../projects/brie/form/components/form-toggle/form-toggle.component.html","../../../../projects/brie/form/models/form.ts","../../../../projects/brie/form/components/form-text/form-text.component.ts","../../../../projects/brie/form/components/form-text/form-text.component.html","../../../../projects/brie/form/components/form-radio/form-radio.component.ts","../../../../projects/brie/form/components/form-radio/form-radio.component.html","../../../../projects/brie/form/components/form-datetime/datetime-field/date-format.ts","../../../../projects/brie/form/components/form-datetime/datetime-field/datetime-field.component.ts","../../../../projects/brie/form/components/form-datetime/datetime-field/datetime-field.component.html","../../../../projects/brie/form/components/form-datetime/form-datetime.component.ts","../../../../projects/brie/form/components/form-datetime/form-datetime.component.html","../../../../projects/brie/form/components/form-linkpicker/form-linkpicker.component.ts","../../../../projects/brie/form/components/form-linkpicker/form-linkpicker.component.html","../../../../projects/brie/form/components/form-select/form-select.component.ts","../../../../projects/brie/form/components/form-select/form-select.component.html","../../../../projects/brie/form/components/form-input/form-input.component.ts","../../../../projects/brie/form/components/form-input/form-input.component.html","../../../../projects/brie/form/components/form-hidden/form-hidden.component.ts","../../../../projects/brie/form/components/form-hidden/form-hidden.component.html","../../../../projects/brie/form/components/form-control/form-control.component.ts","../../../../projects/brie/form/components/form-control/form-control.component.html","../../../../projects/brie/form/services/form.service.ts","../../../../projects/brie/form/components/form-group-repeater/form-group-repeater.component.ts","../../../../projects/brie/form/components/form-group-repeater/form-group-repeater.component.html","../../../../projects/brie/form/components/form-fields-group/form-fields-group.component.ts","../../../../projects/brie/form/components/form-fields-group/form-fields-group.component.html","../../../../projects/brie/form/components/form.component.ts","../../../../projects/brie/form/components/form.component.html","../../../../projects/brie/form/utils/focus-first-invalid-control.ts","../../../../projects/brie/form/services/form-validation.service.ts","../../../../projects/brie/form/directives/show-errors-on-submit.directive.ts","../../../../projects/brie/form/form.module.ts","../../../../projects/brie/form/models/form-validation.ts","../../../../projects/brie/form/public-api.ts","../../../../projects/brie/form/bloomreach-brie-form.ts"],"sourcesContent":["/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ContentChild, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\n\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrieFormCheckboxField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-checkbox',\n  templateUrl: './form-checkbox.component.html',\n  styleUrls: ['./form-checkbox.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    CommonModule,\n    FormsModule,\n    ReactiveFormsModule,\n    MatCheckboxModule,\n    MatFormFieldModule,\n    BrieIconModule,\n    MatTooltipModule,\n  ],\n})\nexport class BrieFormCheckboxComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormCheckboxField;\n  iconSizes = BrieIconSize;\n\n  @ContentChild('labelTemplate', { static: false }) labelTemplate: TemplateRef<any>;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get checkboxId(): string {\n    return `${this.fieldId}-checkbox`;\n  }\n\n  get effectiveLabelTemplate(): TemplateRef<any> | null {\n    return this.field.labelTemplate || this.labelTemplate || null;\n  }\n}\n","<!--\n  Copyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<ng-container [formGroup]=\"group\">\n\n  <mat-checkbox [attr.data-qid]=\"field.name\" [formControlName]=\"field.name\" [id]=\"checkboxId\" [attr.name]=\"field.name\" color=\"primary\">\n\n    <!-- Custom label template support using new control flow -->\n    @if (effectiveLabelTemplate) {\n      <ng-container *ngTemplateOutlet=\"effectiveLabelTemplate; context: { $implicit: field, group: group }\"></ng-container>\n    } @else {\n      <!-- Default label -->\n      <div class=\"checkbox-label-container\">\n        <mat-label>{{ field.label }}</mat-label>\n        @if (field.tooltip) {\n          <brie-icon class=\"tooltip-icon qa-tooltip\" [matTooltip]=\"field.tooltip\"\n            [size]=\"iconSizes.SM\" name=\"info_outline\">\n          </brie-icon>\n        }\n      </div>\n    }\n\n  </mat-checkbox>\n\n  @if (field.errors) {\n    @for (error of field.errors; track error.message) {\n      @if (error.validate(group.get([field.name]))) {\n        <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n      }\n    }\n  }\n\n</ng-container>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { BrieIconModule } from '@bloomreach/brie/icon';\n\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { BrieFormToggleField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-toggle',\n  templateUrl: './form-toggle.component.html',\n  styleUrls: ['./form-toggle.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    BrieIconModule,\n    MatSlideToggleModule,\n    MatFormFieldModule,\n  ],\n})\nexport class BrieFormToggleComponent {\n  @Input() group: FormGroup;\n  @Input() field: BrieFormToggleField;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get toggleId(): string {\n    return `${this.fieldId}-toggle`;\n  }\n}\n","<!--\nCopyright 2022-2025 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<ng-container [formGroup]=\"group\">\n\n  <mat-slide-toggle [attr.data-qid]=\"field.name\" [formControlName]=\"field.name\" [id]=\"toggleId\" [attr.name]=\"field.name\" color=\"primary\">\n    <span>{{ field.label }}</span>\n  </mat-slide-toggle>\n\n  @for (error of field.errors; track error) {\n    <ng-container ngProjectAs=\"mat-error\">\n      @if (error.validate(group.get([field.name]))) {\n        <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n      }\n    </ng-container>\n  }\n\n</ng-container>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AbstractControl, ValidatorFn } from '@angular/forms';\nimport { TemplateRef } from '@angular/core';\nimport { BrieIcon } from '@bloomreach/brie/icon';\n\nexport type BrieFormField =\n  BrieFormInputField\n  | BrieFormCheckboxField\n  | BrieFormToggleField\n  | BrieFormSelectField\n  | BrieFormTextField\n  | BrieFormDateField\n  | BrieFormDateTimeField\n  | BrieFormLinkpickerField\n  | BrieFormRadioField\n  | BrieFormHiddenField;\nexport type BrieFormDataSource = Array<BrieFormField | BrieFormGroupRepeaterField | BrieFormFieldsGroup>;\n\nexport interface BrieFormFieldsGroup {\n  id: string;\n  name?: string;\n  type: BrieFormFieldType.FIELDS_GROUP;\n  label: string;\n  collapsable?: boolean;\n  hidden?: boolean;\n  fields: Array<BrieFormField | BrieFormGroupRepeaterField>;\n  panel?: {\n    title: string;\n    content: string;\n  }\n}\n\nexport interface BrieFormGroupRepeaterField {\n  id: string;\n  name: string;\n  type: BrieFormFieldType.GROUP_REPEATER;\n  hidden?: boolean;\n  fields: BrieFormField[];\n  values?: BrieFormGroupRepeaterValues;\n  draggable?: boolean;\n  readOnly?: boolean;\n}\n\nexport type BrieFormGroupRepeaterValues = Record<string, string | number | boolean | BrieFormSelectOption>[];\n\nexport interface BrieFormFieldBase {\n  id: string;\n  name: string;\n  label?: string;\n  tooltip?: string;\n  validators?: ValidatorFn[];\n  errors?: BrieFormFieldError[];\n  disabled?: boolean;\n  width?: string;\n  hint?: string;\n}\n\nexport enum BrieFormInputIconPosition {\n  SUFFIX = 'suffix',\n  PREFIX = 'prefix',\n  TRAILING_OUTSIDE = 'trailing-outside',\n  LEADING_OUTSIDE = 'leading-outside',\n}\n\nexport interface BrieFormInputIcon {\n  icon: BrieIcon;\n  position: BrieFormInputIconPosition;\n  onClick?: (control: AbstractControl, field: BrieFormInputField) => void;\n  visible?: (control: AbstractControl | null) => boolean;\n}\n\nexport interface BrieFormInputField extends BrieFormFieldBase {\n  type: BrieFormFieldType.INPUT;\n  inputType?: string;\n  placeholder?: string;\n  value?: string | number;\n  readOnly?: boolean;\n  options?: string[];\n  icons?: BrieFormInputIcon[];\n}\n\nexport interface BrieFormHiddenField extends BrieFormFieldBase {\n  type: BrieFormFieldType.HIDDEN;\n  value?: string | number;\n}\n\nexport interface BrieFormLinkpickerField extends BrieFormFieldBase {\n  type: BrieFormFieldType.LINK_PICKER;\n  placeholder?: string;\n  value?: string;\n  openPicker: (value: string, field: BrieFormLinkpickerField) => void;\n  icons?: BrieFormInputIcon[];\n}\n\nexport interface BrieFormDateField extends BrieFormFieldBase {\n  type: BrieFormFieldType.DATE;\n  inputType?: string;\n  placeholder?: string;\n  value?: string | Date;\n  readOnly?: boolean;\n  options?: string[];\n  icons?: BrieFormInputIcon[];\n}\n\nexport interface BrieFormDateTimeField extends BrieFormFieldBase {\n  type: BrieFormFieldType.DATE_TIME;\n  inputType?: string;\n  placeholder?: string;\n  value?: string | Date;\n  readOnly?: boolean;\n  options?: string[];\n  icons?: BrieFormInputIcon[];\n}\n\nexport interface BrieFormCheckboxField extends BrieFormFieldBase {\n  type: BrieFormFieldType.CHECKBOX;\n  value?: boolean;\n  labelTemplate?: TemplateRef<any>;\n}\n\nexport interface BrieFormToggleField extends BrieFormFieldBase {\n  type: BrieFormFieldType.TOGGLE;\n  value?: boolean;\n}\n\nexport interface BrieFormSelectField extends BrieFormFieldBase {\n  type: BrieFormFieldType.SELECT;\n  placeholder?: string;\n  value?: BrieFormSelectOption['value'] | BrieFormSelectOption['value'][];\n  readOnly?: boolean;\n  multiple?: boolean;\n  options?: BrieFormSelectOption[];\n}\n\nexport interface BrieFormSelectOption {\n  disabled?: boolean;\n  value: string | number;\n  label: string;\n}\n\nexport interface BrieFormTextField extends BrieFormFieldBase {\n  maxLength?: number;\n  maxRows?: number;\n  minLength?: number;\n  minRows?: number;\n  placeholder?: string;\n  readOnly?: boolean;\n  resizable?: boolean;\n  type: BrieFormFieldType.TEXT;\n  value?: string | number;\n}\n\nexport interface BrieFormFieldError {\n  message: string;\n\n  validate(control: AbstractControl | null): boolean;\n}\n\nexport enum BrieFormFieldType {\n  INPUT = 'input',\n  CHECKBOX = 'checkbox',\n  TOGGLE = 'toggle',\n  RADIO = 'radio',\n  SELECT = 'select',\n  GROUP_REPEATER = 'group-repeater',\n  TEXT = 'text',\n  FIELDS_GROUP = 'fields-group',\n  DATE = 'date',\n  DATE_TIME = 'date-time',\n  LINK_PICKER = 'link-picker',\n  HIDDEN = 'hidden',\n}\n\nexport interface BrieFormControls {\n  [controlId: string]: AbstractControl;\n}\n\nexport interface BrieFormRadioField extends BrieFormFieldBase {\n  buttons: BrieFormRadioButton[];\n  required?: boolean;\n  type: BrieFormFieldType.RADIO;\n  value?: string | number;\n}\n\nexport interface BrieFormRadioButton {\n  id?: string;\n  disabled?: boolean;\n  value: string | number;\n  label: string;\n  icon?: BrieIcon;\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\n\nimport { MatInputModule } from '@angular/material/input';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrieFormTextField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-text',\n  templateUrl: './form-text.component.html',\n  styleUrls: ['./form-text.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    MatInputModule,\n    MatIconModule,\n    MatTooltipModule,\n    BrieIconModule,\n  ],\n\n})\nexport class BrieFormTextComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormTextField;\n  @Input() hasLabel?: boolean;\n\n  iconSizes = BrieIconSize;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get textId(): string {\n    return `${this.fieldId}-textarea`;\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<mat-form-field appearance=\"outline\" [formGroup]=\"group\" [attr.data-qid]=\"field.name\">\n\n  @if (hasLabel) {\n    <ng-container ngProjectAs=\"mat-label\">\n      <mat-label>{{ field.label }}</mat-label>\n      @if (field.tooltip) {\n        <brie-icon class=\"info-tooltip\" [size]=\"iconSizes.SM\" [tooltip]=\"field.tooltip\" [name]=\"'info_outline'\"></brie-icon>\n      }\n    </ng-container>\n  }\n\n  @if (!field.resizable) {\n    <textarea\n      matInput\n      [formControlName]=\"field.name\"\n      [id]=\"textId\"\n      [attr.data-qid]=\"textId\"\n      [name]=\"field.name\"\n      [placeholder]=\"field.placeholder ?? ''\"\n      [readonly]=\"field.readOnly ?? false\"\n      [attr.maxLength]=\"field.maxLength ?? null\"\n      [attr.minLength]=\"field.minLength ?? null\"\n      cdkTextareaAutosize\n      [cdkAutosizeMinRows]=\"field.minRows ?? 1\"\n      [cdkAutosizeMaxRows]=\"field.maxRows ?? 5\">\n    </textarea>\n  }\n  @if (field.resizable) {\n    <textarea\n      matInput\n      [formControlName]=\"field.name\"\n      [id]=\"textId\"\n      [name]=\"field.name\"\n      [placeholder]=\"field.placeholder ?? ''\"\n      [readonly]=\"field.readOnly ?? false\"\n      [attr.maxLength]=\"field.maxLength ?? null\"\n      [attr.minLength]=\"field.minLength ?? null\"\n      [rows]=\"field.minRows ?? 5\"\n      >\n    </textarea>\n  }\n\n  @if (field.hint) {\n    <mat-hint>{{ field.hint }}</mat-hint>\n  }\n\n  @for (error of field.errors; track error) {\n    <ng-container ngProjectAs=\"mat-error\">\n      @if (error.validate(group.get([field.name]))) {\n        <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n      }\n    </ng-container>\n  }\n\n</mat-form-field>\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatIconModule } from '@angular/material/icon';\nimport { BrieIconModule } from '@bloomreach/brie/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { BrieFormRadioButton, BrieFormRadioField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-radio',\n  templateUrl: './form-radio.component.html',\n  styleUrls: ['./form-radio.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    MatRadioModule,\n    MatIconModule,\n    BrieIconModule,\n    MatTooltipModule,\n    MatFormFieldModule,\n  ],\n\n})\nexport class BrieFormRadioComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormRadioField;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  getFieldId(): string {\n    return `${this.field.id}-radio-group`;\n  }\n\n  getButtonId(button: BrieFormRadioButton, index: number): string {\n    return `${this.field.id}-radio-button-${button.id || index}`;\n  }\n}\n","<!--\nCopyright 2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<ng-container [formGroup]=\"group\">\n  <mat-radio-group [formControlName]=\"field.name\" [id]=\"getFieldId()\" [name]=\"field.name\" [value]=\"field.value\"\n    [attr.data-qid]=\"field.name\" color=\"primary\">\n    @for (button of field.buttons; track button; let i = $index) {\n      <mat-radio-button [id]=\"getButtonId(button, i)\"\n        [value]=\"button.value\" [disabled]=\"button.disabled\" [attr.data-qid]=\"getButtonId(button, i)\">\n        <span>{{ button.label }}</span>\n        @if (button.icon) {\n          <brie-icon [name]=\"button.icon.name\" [type]=\"button.icon.type\" [fontSet]=\"button.icon.fontSet\"\n            [size]=\"button.icon.size\" [tooltip]=\"button.icon.tooltip || ''\">\n        </brie-icon>\n      }\n    </mat-radio-button>\n  }\n</mat-radio-group>\n\n@for (error of field.errors; track error) {\n  <ng-container ngProjectAs=\"mat-error\">\n    @if (error.validate(group.get([field.name]))) {\n      <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n    }\n  </ng-container>\n}\n</ng-container>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MAT_NATIVE_DATE_FORMATS, MatDateFormats } from '@angular/material/core';\n\nexport const DATE_FORMATS: MatDateFormats = {\n  ...MAT_NATIVE_DATE_FORMATS,\n  display: {\n    ...MAT_NATIVE_DATE_FORMATS.display,\n    dateInput: {\n      year: 'numeric',\n      month: '2-digit',\n      day: '2-digit',\n    } as Intl.DateTimeFormatOptions,\n  },\n};\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, ElementRef, Input, OnInit, ViewChild, ChangeDetectionStrategy } from '@angular/core';\nimport {\n  AbstractControl,\n  ControlValueAccessor,\n  FormControl,\n  FormGroup,\n  FormsModule,\n  NG_VALUE_ACCESSOR,\n  UntypedFormGroup,\n  Validators,\n  ReactiveFormsModule,\n} from '@angular/forms';\nimport { MAT_DATE_FORMATS, MatNativeDateModule, ErrorStateMatcher } from '@angular/material/core';\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { DATE_FORMATS } from './date-format';\nimport { BrieFormDateField, BrieFormDateTimeField } from '../../../models/form';\n\n@Component({\n  selector: 'brie-datetime-field',\n  templateUrl: './datetime-field.component.html',\n  styleUrl: './datetime-field.component.scss',\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: DatetimeFieldComponent,\n      multi: true,\n    },\n    { provide: MAT_DATE_FORMATS, useValue: DATE_FORMATS },\n  ],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    MatIconModule,\n    MatButtonModule,\n    MatTooltipModule,\n    BrieIconModule,\n    MatInputModule,\n    FormsModule,\n    ReactiveFormsModule,\n    MatDatepickerModule,\n    MatNativeDateModule,\n  ],\n\n})\nexport class DatetimeFieldComponent implements ControlValueAccessor, OnInit {\n  @Input() field: BrieFormDateField | BrieFormDateTimeField;\n  @Input() isDateAndTime: boolean = false;\n  @Input() hasLabel?: boolean;\n  @Input() group: UntypedFormGroup;\n\n  @ViewChild('dateField', { static: false }) dateField!: ElementRef;\n\n  iconSizes = BrieIconSize;\n\n  date: Date | null = null;\n  formGroup: FormGroup;\n  isDisabled = false;\n\n  // We added this custom ErrorStateMatcher to ensure that the field displays an error\n  // only when its control is both touched and invalid since it's a custom form field.\n  errorStateMatcher: ErrorStateMatcher = {\n    isErrorState: () => {\n      const parent = this.group?.get(this.field?.name);\n      return !!parent && parent.touched && parent.invalid;\n    },\n  };\n\n  private _onChange: (value: Date | null) => void;\n  private _onTouched: () => void;\n\n  setDisabledState(isDisabled: boolean): void {\n    this.isDisabled = isDisabled;\n  }\n\n  ngOnInit(): void {\n    this.formGroup = new FormGroup({\n      date: new FormControl('', this.isFieldRequired() ? Validators.required : []),\n      hours: new FormControl('', this.isFieldRequired() && this.isDateAndTime ? Validators.required : []),\n      minutes: new FormControl('', this.isFieldRequired() && this.isDateAndTime ? Validators.required : []),\n    });\n  }\n\n  writeValue(value: Date | null): void {\n    this.date = value;\n    this.updateFormFields();\n  }\n\n  registerOnChange(fn: (value: Date | null) => void): void {\n    this._onChange = fn;\n  }\n\n  registerOnTouched(fn: () => void): void {\n    this._onTouched = fn;\n  }\n\n  onDateEvent(value: Date): void {\n    if (value) {\n      if (!this.date) {\n        this.date = new Date();\n      }\n      this.date.setFullYear(value.getFullYear(), value.getMonth(), value.getDate());\n    } else {\n      this.date = null;\n    }\n    this._onChange(this.date);\n  }\n\n  onTimeChange(): void {\n    if (!this.date) {\n      this.date = new Date();\n    }\n    const h = parseInt(this.formGroup.get('hours')?.value as string, 10);\n    const m = parseInt(this.formGroup.get('minutes')?.value as string, 10);\n    if (!Number.isNaN(h) && h >= 0 && h <= 23) {\n      this.date.setHours(h);\n    } else if (h > 23) {\n      this.date.setHours(23);\n    } else {\n      this.date.setHours(1);\n    }\n\n    if (!Number.isNaN(m) && m >= 0 && m <= 59) {\n      this.date.setMinutes(m);\n    } else if (m <= 59) {\n      this.date.setMinutes(59);\n    } else {\n      this.date.setMinutes(0);\n    }\n    this._onChange(this.date);\n  }\n\n  setDateToNow(): void {\n    this.date = new Date();\n    this._onChange(this.date);\n    this.updateFormFields();\n  }\n\n  updateFormFields(): void {\n    if (this.date) {\n      this.formGroup.get('date')?.setValue(this.date.toISOString().split('T')[0]);\n      const hours = this.date.getHours().toString().padStart(2, '0');\n      const minutes = this.date.getMinutes().toString().padStart(2, '0');\n\n      this.formGroup.get('hours')?.setValue(hours);\n      this.formGroup.get('minutes')?.setValue(minutes);\n    }\n  }\n\n  isFieldRequired(): boolean {\n    const { disabled, validator } = this.group.get([this.field.name]) || {};\n    const { required } = validator?.({} as AbstractControl) || {};\n    return !(disabled || this.field.readOnly) && !!required;\n  }\n}\n","<!--\nCopyright 2011-2023 Bloomreach\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<div [formGroup]=\"formGroup\">\n  <mat-form-field appearance=\"outline\" hideRequiredMarker class=\"date-field qa-date-field\"\n    [attr.data-qid]=\"field.name\">\n    @if (hasLabel) {\n      <ng-container ngProjectAs=\"mat-label\">\n        <mat-label>{{ field.label }}</mat-label>\n        @if (isFieldRequired()) {\n          <span> *</span>\n        }\n        @if (field.tooltip) {\n          <brie-icon class=\"info-tooltip\" [size]=\"iconSizes.SM\" [tooltip]=\"field.tooltip\"\n          [name]=\"'info_outline'\"></brie-icon>\n        }\n      </ng-container>\n    }\n    <input [readonly]=\"field.readOnly || isDisabled\" formControlName=\"date\" matInput #dateField\n      [matDatepicker]=\"picker\" [placeholder]=\"hasLabel ? (field.placeholder ?? '') : ''\"\n      [errorStateMatcher]=\"errorStateMatcher\"\n      (dateChange)=\"onDateEvent($event.value)\">\n\n    <mat-datepicker-toggle [disabled]=\"field.readOnly || isDisabled\" matSuffix\n    [for]=\"picker\"></mat-datepicker-toggle>\n    <mat-datepicker #picker></mat-datepicker>\n    @for (error of field.errors; track error) {\n      <ng-container ngProjectAs=\"mat-error\">\n        @if (error.validate(group.get([field.name]))) {\n          <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n        }\n      </ng-container>\n    }\n  </mat-form-field>\n\n  @if (isDateAndTime) {\n    <mat-form-field appearance=\"outline\" class=\"date-field-hours qa-date-field-hours\">\n      <input (blur)=\"updateFormFields()\" matInput formControlName=\"hours\" [readonly]=\"field.readOnly || isDisabled\"\n        [attr.maxlength]=\"2\" (change)=\"onTimeChange()\" pattern=\"^(0\\d|1\\d|2[0-3])$\">\n    </mat-form-field>\n  }\n\n  @if (isDateAndTime) {\n    <span class=\"time-separator\">:</span>\n  }\n\n  @if (isDateAndTime) {\n    <mat-form-field appearance=\"outline\" class=\"date-field-minutes qa-date-field-minutes\">\n      <input matInput (blur)=\"updateFormFields()\" formControlName=\"minutes\" [readonly]=\"field.readOnly || isDisabled\"\n        [attr.maxlength]=\"2\" (change)=\"onTimeChange()\" pattern=\"^[0-5]?[0-9]$\">\n    </mat-form-field>\n  }\n\n  <button [disabled]=\"field.readOnly  || isDisabled\" type=\"button\" mat-icon-button\n    class=\"qa-date-field-button\" (click)=\"setDateToNow()\">\n    <mat-icon>sync</mat-icon>\n  </button>\n</div>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { AbstractControl, UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { BrieFormDateField, BrieFormDateTimeField, BrieFormFieldType } from '../../models/form';\nimport { DatetimeFieldComponent } from './datetime-field/datetime-field.component';\n\n@Component({\n  selector: 'brie-form-datetime',\n  templateUrl: './form-datetime.component.html',\n  styleUrls: ['./form-datetime.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    DatetimeFieldComponent,\n  ],\n\n})\nexport class BrieFormDateTimeComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormDateField | BrieFormDateTimeField;\n  @Input() hasLabel?: boolean;\n  @Input() type?: BrieFormFieldType.DATE_TIME | BrieFormFieldType.DATE;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get textId(): string {\n    return `${this.fieldId}-textarea`;\n  }\n\n  get isDateAndTime(): boolean {\n    return this.type === BrieFormFieldType.DATE_TIME;\n  }\n\n  isFieldRequired(): boolean {\n    const { disabled, validator } = this.group.get([this.field.name]) || {};\n    const { required } = validator?.({} as AbstractControl) || {};\n    return !(disabled || this.field.readOnly) && !!required;\n  }\n}\n","<!--\n  Copyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div [formGroup]=\"group\">\n  <brie-datetime-field [id]=\"textId\" [field]=\"field\" [group]=\"group\" [isDateAndTime]=\"isDateAndTime\" [formControlName]=\"field.name\" [hasLabel]=\"hasLabel\"></brie-datetime-field>\n</div>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { AbstractControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatInputModule } from '@angular/material/input';\nimport { BrieFormInputIcon, BrieFormInputIconPosition, BrieFormLinkpickerField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-linkpicker',\n  templateUrl: './form-linkpicker.component.html',\n  styleUrls: ['./form-linkpicker.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    MatIconModule,\n    MatButtonModule,\n    MatTooltipModule,\n    BrieIconModule,\n    CommonModule,\n    MatInputModule,\n    FormsModule,\n    ReactiveFormsModule,\n  ],\n\n})\nexport class BrieFormLinkpickerComponent {\n  @Input() group: FormGroup;\n  @Input() field: BrieFormLinkpickerField;\n  @Input() hasLabel?: boolean;\n\n  iconPositions = BrieFormInputIconPosition;\n  iconSizes = BrieIconSize;\n\n  icons: BrieFormInputIcon[] = [\n    {\n      icon: {\n        name: 'close',\n      },\n      position: BrieFormInputIconPosition.SUFFIX,\n      visible: (control) => !!control?.value,\n      onClick: () => {\n        this.control.setValue('');\n        this.control.markAsDirty();\n      },\n    },\n    {\n      icon: {\n        name: 'search',\n      },\n      position: BrieFormInputIconPosition.SUFFIX,\n      onClick: () => {\n        this.field.openPicker(this.control.value, this.field);\n      },\n    },\n  ];\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get inputId(): string {\n    return `${this.fieldId}-input`;\n  }\n\n  get control(): AbstractControl {\n    return this.group.get([this.field.name]) as AbstractControl;\n  }\n\n  getIcons(): BrieFormInputIcon[] {\n    return [...(this.field.icons || []), ...this.icons];\n  }\n\n  isFieldRequired(): boolean {\n    const { disabled, validator } = this.group.get([this.field.name]) || {};\n    const { required } = validator?.({} as AbstractControl) || {};\n    return !disabled && !!required;\n  }\n\n  isFieldDisabled(): boolean {\n    const { disabled } = this.group.get([this.field.name]) || {};\n    return !!disabled;\n  }\n}\n","<!--\nCopyright 2024-2025 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<div class=\"input-container\">\n  @for (inputIcon of getIcons(); track inputIcon) {\n    @if (inputIcon.position === iconPositions.LEADING_OUTSIDE && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n      <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n    }\n  }\n\n  <mat-form-field [formGroup]=\"group\" [attr.data-qid]=\"field.name\" appearance=\"outline\">\n\n    @if (hasLabel) {\n      <ng-container ngProjectAs=\"mat-label\">\n        <mat-label>{{ field.label }}</mat-label>\n        @if (field.tooltip) {\n          <brie-icon class=\"tooltip-icon qa-tooltip\" [matTooltip]=\"field.tooltip\"\n            [size]=\"iconSizes.SM\" name=\"info_outline\">\n        </brie-icon>\n      }\n    </ng-container>\n  }\n\n  @for (inputIcon of getIcons(); track inputIcon) {\n    <ng-container matPrefix>\n      @if (inputIcon.position === iconPositions.PREFIX && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n        <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n      }\n    </ng-container>\n  }\n\n  <input (click)=\"field.openPicker(control.value,this.field)\" matInput [formControlName]=\"field.name\" [id]=\"inputId\"\n    [name]=\"field.name\" [placeholder]=\"field.placeholder ?? ''\" [readonly]=\"true\" type=\"text\" [attr.data-qid]=\"inputId\" />\n\n  @for (inputIcon of getIcons(); track inputIcon) {\n    <ng-container matSuffix>\n      @if (inputIcon.position === iconPositions.SUFFIX && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n        <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n      }\n    </ng-container>\n  }\n\n  @if (field.hint) {\n    <mat-hint>{{ field.hint }}</mat-hint>\n  }\n\n  @for (error of field.errors; track error) {\n    <ng-container ngProjectAs=\"mat-error\">\n      @if (error.validate(group.get([field.name]))) {\n        <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n      }\n    </ng-container>\n  }\n</mat-form-field>\n\n@for (inputIcon of getIcons(); track inputIcon) {\n  @if (inputIcon.position === iconPositions.TRAILING_OUTSIDE && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n    <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n  }\n}\n</div>\n\n<ng-template #iconTemplate let-inputIcon=\"inputIcon\">\n  <button type=\"button\" mat-icon-button [disabled]=\"isFieldDisabled()\"\n    (click)=\"inputIcon.onClick && inputIcon.onClick(control, field)\">\n    <brie-icon [style]=\"inputIcon.icon.style\" [attr.data-qid]=\"inputIcon.icon.name\" [name]=\"inputIcon.icon.name\" [fontSet]=\"inputIcon.icon.fontSet\"\n      [tooltip]=\"inputIcon.icon.tooltip\" [size]=\"inputIcon.icon.size || iconSizes.SM\" [type]=\"inputIcon.icon.type\">\n  </brie-icon>\n</button>\n</ng-template>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrieFormSelectField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-select',\n  templateUrl: './form-select.component.html',\n  styleUrls: ['./form-select.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    MatSelectModule,\n    MatIconModule,\n    MatButtonModule,\n    MatTooltipModule,\n    BrieIconModule,\n  ],\n\n})\nexport class BrieFormSelectComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormSelectField;\n  @Input() hasLabel?: boolean;\n\n  iconSizes = BrieIconSize;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get selectId(): string {\n    return `${this.fieldId}-select`;\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<mat-form-field [attr.data-qid]=\"field.name\" appearance=\"outline\" [formGroup]=\"group\">\n\n  @if (hasLabel) {\n    <ng-container ngProjectAs=\"mat-label\">\n      <mat-label>{{ field.label }}</mat-label>\n      @if (field.tooltip) {\n        <brie-icon class=\"tooltip-icon qa-tooltip\"\n        [size]=\"iconSizes.SM\" [matTooltip]=\"field.tooltip\" [name]=\"'info_outline'\"></brie-icon>\n      }\n    </ng-container>\n  }\n\n  <mat-select [attr.data-qid]=\"selectId\" [multiple]=\"field.multiple ?? false\" [formControlName]=\"field.name\" [id]=\"selectId\"\n    [placeholder]=\"field.placeholder ?? ''\" panelClass=\"brie-select-panel\" disableOptionCentering>\n  @for (option of field.options; track option) {\n    <mat-option [disabled]=\"option.disabled ?? false\" [value]=\"option.value\">\n      {{ option.label }}\n    </mat-option>\n  }\n</mat-select>\n\n@if (field.hint) {\n  <mat-hint>{{ field.hint }}</mat-hint>\n}\n\n\n@for (error of field.errors; track error) {\n  <ng-container ngProjectAs=\"mat-error\">\n    @if (error.validate(group.get([field.name]))) {\n      <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n    }\n  </ng-container>\n}\n\n</mat-form-field>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, OnInit, ChangeDetectionStrategy } from '@angular/core';\nimport { AbstractControl, UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { Observable } from 'rxjs';\nimport { filter, map, startWith } from 'rxjs/operators';\n\nimport { BrieIconModule, BrieIconSize } from '@bloomreach/brie/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { BrieFormInputField, BrieFormInputIcon, BrieFormInputIconPosition } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-input',\n  templateUrl: './form-input.component.html',\n  styleUrls: ['./form-input.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    CommonModule,\n    FormsModule,\n    ReactiveFormsModule,\n    MatInputModule,\n    MatIconModule,\n    MatButtonModule,\n    MatTooltipModule,\n    BrieIconModule,\n    MatAutocompleteModule,\n  ],\n\n})\nexport class BrieFormInputComponent implements OnInit {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormInputField;\n  @Input() hasLabel?: boolean;\n\n  filteredOptions?: Observable<string[]>;\n\n  iconPositions = BrieFormInputIconPosition;\n  iconSizes = BrieIconSize;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get inputId(): string {\n    return `${this.fieldId}-input`;\n  }\n\n  get control(): AbstractControl {\n    return this.group.get([this.field.name]) as AbstractControl;\n  }\n\n  ngOnInit(): void {\n    this.filteredOptions = this.group.get([this.field.id])?.valueChanges.pipe(\n      startWith(''),\n      filter((value) => typeof value === 'string' || typeof value === 'number'),\n      map((value) => String(value)),\n      map((value) => this.filterOptions(value)),\n    );\n  }\n\n  isFieldDisabled(): boolean {\n    const { disabled } = this.control || {};\n    return !!disabled;\n  }\n\n  isIconEnabled(inputIcon: BrieFormInputIcon): boolean {\n    return !this.isFieldDisabled() || inputIcon.position === this.iconPositions.TRAILING_OUTSIDE;\n  }\n\n  private filterOptions(value: string): string[] {\n    if (value === '') {\n      return [];\n    }\n\n    const search = value.toLowerCase();\n\n    return this.field.options?.filter((option) => option.toLowerCase().includes(search)) || [];\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<div class=\"input-container\">\n  @for (inputIcon of field.icons; track inputIcon) {\n    @if (inputIcon.position === iconPositions.LEADING_OUTSIDE && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n      <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n    }\n  }\n\n  <mat-form-field [formGroup]=\"group\" [attr.data-qid]=\"field.name\" appearance=\"outline\">\n\n    @if (hasLabel) {\n      <ng-container ngProjectAs=\"mat-label\">\n        <mat-label>{{ field.label }}</mat-label>\n        @if (field.tooltip) {\n          <brie-icon class=\"tooltip-icon qa-tooltip\"\n          [size]=\"iconSizes.SM\" [matTooltip]=\"field.tooltip\" [name]=\"'info_outline'\"></brie-icon>\n        }\n      </ng-container>\n    }\n\n    @for (inputIcon of field.icons; track inputIcon) {\n      <ng-container matPrefix>\n        @if (inputIcon.position === iconPositions.PREFIX && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n          <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n        }\n      </ng-container>\n    }\n\n    <input matInput [formControlName]=\"field.name\" [attr.data-qid]=\"inputId\" [id]=\"inputId\" [name]=\"field.name\"\n      [placeholder]=\"field.placeholder ?? ''\" [readonly]=\"field.readOnly ?? false\"\n      [type]=\"field.inputType ?? 'text'\" [matAutocomplete]=\"auto\" (keydown.enter)=\"$event.preventDefault()\" />\n\n    @for (inputIcon of field.icons; track inputIcon) {\n      <ng-container matSuffix>\n        @if (inputIcon.position === iconPositions.SUFFIX && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n          <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n        }\n      </ng-container>\n    }\n\n    @if (field.hint) {\n      <mat-hint>{{ field.hint }}</mat-hint>\n    }\n\n    @for (error of field.errors; track error) {\n      <ng-container ngProjectAs=\"mat-error\">\n        @if (error.validate(group.get([field.name]))) {\n          <mat-error class=\"brie-error-message\">{{ error.message }}</mat-error>\n        }\n      </ng-container>\n    }\n\n    <mat-autocomplete #auto=\"matAutocomplete\">\n      @for (option of filteredOptions | async; track option) {\n        <mat-option [value]=\"option\">\n          {{option}}\n        </mat-option>\n      }\n    </mat-autocomplete>\n\n  </mat-form-field>\n\n  @for (inputIcon of field.icons; track inputIcon) {\n    @if (inputIcon.position === iconPositions.TRAILING_OUTSIDE && (!inputIcon.visible || inputIcon.visible(group.get([field.name])) !== false)) {\n      <ng-container *ngTemplateOutlet=\"iconTemplate; context: { inputIcon }\"></ng-container>\n    }\n  }\n</div>\n\n<ng-template #iconTemplate let-inputIcon=\"inputIcon\">\n  <button type=\"button\" mat-icon-button\n    (click)=\"isIconEnabled(inputIcon) && inputIcon.onClick && inputIcon.onClick(control, field)\">\n    <brie-icon [style]=\"inputIcon.icon.style\" [attr.data-qid]=\"inputIcon.icon.name\" [name]=\"inputIcon.icon.name\" [fontSet]=\"inputIcon.icon.fontSet\"\n      [tooltip]=\"inputIcon.icon.tooltip\" [size]=\"inputIcon.icon.size || iconSizes.SM\" [type]=\"inputIcon.icon.type\">\n  </brie-icon>\n</button>\n</ng-template>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { AbstractControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { MatInputModule } from '@angular/material/input';\nimport { BrieFormHiddenField } from '../../models/form';\n\n@Component({\n  selector: 'brie-form-hidden',\n  standalone: true,\n  templateUrl: './form-hidden.component.html',\n  styleUrls: ['./form-hidden.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    MatInputModule,\n  ],\n})\nexport class BrieFormHiddenComponent {\n  @Input() group: FormGroup;\n  @Input() field: BrieFormHiddenField;\n\n  @HostBinding('attr.id') get fieldId(): string {\n    return this.field.id;\n  }\n\n  get inputId(): string {\n    return `${this.fieldId}-input`;\n  }\n\n  get control(): AbstractControl {\n    return this.group.get([this.field.name]) as AbstractControl;\n  }\n}\n","<!--\n  Copyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div [formGroup]=\"group\" [attr.data-qid]=\"field.name\">\n  <input [formControlName]=\"field.name\" [id]=\"inputId\" [name]=\"field.name\" type=\"hidden\" />\n</div>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { BrieFormFieldType, BrieFormField } from '../../models/form';\nimport { BrieFormCheckboxComponent } from '../form-checkbox/form-checkbox.component';\nimport { BrieFormTextComponent } from '../form-text/form-text.component';\nimport { BrieFormRadioComponent } from '../form-radio/form-radio.component';\nimport { BrieFormDateTimeComponent } from '../form-datetime/form-datetime.component';\nimport { BrieFormLinkpickerComponent } from '../form-linkpicker/form-linkpicker.component';\nimport { BrieFormSelectComponent } from '../form-select/form-select.component';\nimport { BrieFormInputComponent } from '../form-input/form-input.component';\nimport { BrieFormToggleComponent } from '../form-toggle/form-toggle.component';\nimport { BrieFormHiddenComponent } from '../form-hidden/form-hidden.component';\n\n@Component({\n  selector: 'brie-form-control',\n  templateUrl: './form-control.component.html',\n  styleUrls: ['./form-control.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    BrieFormCheckboxComponent,\n    BrieFormTextComponent,\n    BrieFormRadioComponent,\n    BrieFormDateTimeComponent,\n    BrieFormLinkpickerComponent,\n    BrieFormSelectComponent,\n    BrieFormInputComponent,\n    BrieFormToggleComponent,\n    BrieFormHiddenComponent,\n  ],\n\n})\nexport class BrieFormControlComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormField;\n  @Input() index: number;\n\n  get FieldTypes(): typeof BrieFormFieldType {\n    return BrieFormFieldType;\n  }\n\n  get hasLabel(): boolean {\n    return !!this.field.label && (this.index ?? 0) === 0;\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<div [formGroup]=\"group\">\n  @if (field.type === FieldTypes.INPUT) {\n    <brie-form-input\n      [hasLabel]=\"hasLabel\"\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-input>\n  }\n\n  @if (field.type === FieldTypes.HIDDEN) {\n    <brie-form-hidden\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-hidden>\n  }\n\n  @if (field.type === FieldTypes.SELECT) {\n    <brie-form-select\n      [hasLabel]=\"hasLabel\"\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-select>\n  }\n\n  @if (field.type === FieldTypes.CHECKBOX) {\n    <brie-form-checkbox\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-checkbox>\n  }\n\n  @if (field.type === FieldTypes.TOGGLE) {\n    <brie-form-toggle\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-toggle>\n  }\n\n  @if (field.type === FieldTypes.TEXT) {\n    <brie-form-text\n      [hasLabel]=\"hasLabel\"\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-text>\n  }\n\n  @if (field.type === FieldTypes.RADIO) {\n    <brie-form-radio\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-radio>\n  }\n\n  @if (field.type === FieldTypes.DATE) {\n    <brie-form-datetime\n      [group]=\"group\"\n      [hasLabel]=\"hasLabel\"\n      [type]=\"FieldTypes.DATE\"\n    [field]=\"field\"></brie-form-datetime>\n  }\n\n  @if (field.type === FieldTypes.DATE_TIME) {\n    <brie-form-datetime\n      [group]=\"group\"\n      [hasLabel]=\"hasLabel\"\n      [type]=\"FieldTypes.DATE_TIME\"\n    [field]=\"field\"></brie-form-datetime>\n  }\n\n  @if (field.type === FieldTypes.LINK_PICKER) {\n    <brie-form-linkpicker\n      [hasLabel]=\"hasLabel\"\n      [group]=\"group\"\n    [field]=\"field\"></brie-form-linkpicker>\n  }\n</div>\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AbstractControlOptions, UntypedFormArray, UntypedFormControl, UntypedFormGroup } from '@angular/forms';\nimport {\n  BrieFormControls,\n  BrieFormField,\n  BrieFormFieldType,\n  BrieFormDataSource,\n  BrieFormGroupRepeaterField,\n  BrieFormGroupRepeaterValues,\n} from '../models/form';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrieFormService {\n  createFormGroup(fields: BrieFormDataSource, options: AbstractControlOptions | null = null): UntypedFormGroup {\n    const controls = this.buildBrieFormControls(fields);\n\n    return new UntypedFormGroup(controls, options);\n  }\n\n  createGroupRepeaterFormArray(\n    field: BrieFormGroupRepeaterField,\n    values?: BrieFormGroupRepeaterValues,\n  ): UntypedFormArray {\n    const fieldValue = field?.values?.length ? field.values : [{}];\n    const groupRepeaterValues = values || fieldValue;\n\n    const groupRepeaterFieldsArray = groupRepeaterValues.map((groupRepeaterFieldItem) => {\n      const groupRepeaterFields: BrieFormField[] = field.fields.map((groupRepeaterField) => ({\n        ...groupRepeaterField,\n        value: groupRepeaterFieldItem[groupRepeaterField.name] as any,\n      }));\n      return this.createFormGroup(groupRepeaterFields);\n    });\n\n    return new UntypedFormArray(groupRepeaterFieldsArray);\n  }\n\n  private buildBrieFormControls(fields: BrieFormDataSource): BrieFormControls {\n    return fields.reduce((controls: BrieFormControls, field) => {\n      switch (field.type) {\n      case BrieFormFieldType.GROUP_REPEATER:\n        controls[field.name] = this.createGroupRepeaterFormArray(field);\n\n        return controls;\n      case BrieFormFieldType.FIELDS_GROUP:\n        return { ...controls, ...this.buildBrieFormControls(field.fields) };\n      default: {\n        const controlState = { value: field.value, disabled: field.disabled };\n\n        controls[field.name] = new UntypedFormControl(controlState, { validators: field.validators });\n\n        return controls;\n      }\n      }\n    }, {});\n  }\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, ElementRef, Input, QueryList, ViewChildren, ChangeDetectionStrategy } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormArray, UntypedFormGroup } from '@angular/forms';\nimport { CdkDragDrop, DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrieIconModule } from '@bloomreach/brie/icon';\nimport { BrieFormField, BrieFormGroupRepeaterField } from '../../models/form';\nimport { BrieFormService } from '../../services/form.service';\nimport { BrieFormControlComponent } from '../form-control/form-control.component';\n\n@Component({\n  selector: 'brie-form-group-repeater',\n  templateUrl: './form-group-repeater.component.html',\n  styleUrls: ['./form-group-repeater.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    CommonModule,\n    FormsModule,\n    ReactiveFormsModule,\n    MatIconModule,\n    MatButtonModule,\n    MatTooltipModule,\n    BrieIconModule,\n    BrieFormControlComponent,\n    DragDropModule,\n  ],\n\n})\nexport class BrieFormGroupRepeaterComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormGroupRepeaterField;\n\n  @ViewChildren('formGroupControl', { read: ElementRef })\n  formGroupControl: QueryList<ElementRef<HTMLInputElement | HTMLSelectElement>>;\n\n  constructor(\n    private readonly formService: BrieFormService,\n  ) { }\n\n  get fieldsFormArray(): UntypedFormArray {\n    return this.group.get([this.field.name]) as UntypedFormArray;\n  }\n\n  get fields(): BrieFormField[] {\n    return this.field?.fields || [];\n  }\n\n  getFormGroup(id: number): UntypedFormGroup {\n    return this.fieldsFormArray.controls[id] as UntypedFormGroup;\n  }\n\n  add(event: Event): void {\n    event.preventDefault();\n\n    if (this.group.pristine) {\n      this.group.markAsDirty();\n    }\n\n    const formGroup = this.formService.createFormGroup(this.fields);\n    this.fieldsFormArray.push(formGroup);\n\n    setTimeout(() => {\n      const nodeList = this.formGroupControl.last.nativeElement.querySelectorAll('brie-form-control');\n\n      if (nodeList) {\n        this.focusFormControl(nodeList, 0);\n      }\n    });\n  }\n\n  remove(event: Event, i: number): void {\n    event.preventDefault();\n\n    const arr = this.fieldsFormArray;\n\n    if (arr.length === 1) {\n      arr.reset();\n    } else {\n      arr.removeAt(i);\n    }\n\n    if (this.group.pristine) {\n      this.group.markAsDirty();\n    }\n\n    setTimeout(() => {\n      const elementRef = this.formGroupControl.get(Math.max(0, i - 1));\n      const nodeList = elementRef?.nativeElement.querySelectorAll('brie-form-control');\n\n      if (nodeList) {\n        this.focusFormControl(nodeList, 0);\n      }\n    });\n  }\n\n  drop(event: CdkDragDrop<string[]>): void {\n    const arr = this.fieldsFormArray;\n    const fromIndex = event.previousIndex;\n    const toIndex = event.currentIndex;\n    const dir = toIndex > fromIndex ? 1 : -1;\n    const item = arr.at(fromIndex);\n\n    for (let i = fromIndex; i * dir < toIndex * dir; i += dir) {\n      const current = arr.at(i + dir);\n      arr.setControl(i, current);\n    }\n\n    arr.setControl(toIndex, item);\n  }\n\n  isDragDisabled(): boolean {\n    return !this.field.draggable || this.fieldsFormArray.length < 2;\n  }\n\n  isReadOnly(): boolean {\n    return !!this.field.readOnly;\n  }\n\n  private focusFormControl(nodeList: NodeListOf<Element>, index: number): void {\n    const control = nodeList[index];\n    const input = control?.querySelector<HTMLInputElement>('input, mat-select');\n\n    if (input && document.activeElement !== input) {\n      if (this.isFieldDisabled(input)) {\n        this.focusFormControl(nodeList, index + 1);\n        return;\n      }\n\n      input.focus();\n    }\n  }\n\n  private isFieldDisabled(input: HTMLInputElement): boolean {\n    switch (input.tagName) {\n    case 'INPUT':\n      return input.disabled;\n    case 'MAT-SELECT':\n      return input.getAttribute('aria-disabled') === 'true';\n    default:\n      return false;\n    }\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<div [formGroup]=\"group\"\n  class=\"brie-group-repeater\"\n  [id]=\"field.id\">\n  <div [formArrayName]=\"field.name\"\n    class=\"brie-group-repeater-items\"\n    cdkDropList\n    (cdkDropListDropped)=\"drop($event)\">\n    @for (_ of fieldsFormArray.controls; track _; let i = $index) {\n      <div\n        class=\"brie-group-repeater-fields\">\n        <div #formGroupControl\n          [formGroupName]=\"i\"\n          class=\"brie-group-repeater-item\"\n          cdkDrag\n          [cdkDragDisabled]=\"isDragDisabled()\"\n          cdkDragBoundary=\".brie-group-repeater-items\"\n          cdkDragLockAxis=\"y\">\n          @for (field of fields; track field) {\n            <div\n              class=\"brie-group-repeater-field\"\n              [ngStyle]=\"{'width': field.width}\">\n              <brie-form-control [group]=\"getFormGroup(i)\"\n                [index]=\"i\"\n              [field]=\"field\"></brie-form-control>\n            </div>\n          }\n          @if (!isDragDisabled()) {\n            <button\n              mat-icon-button\n              class=\"brie-group-repeater-drag-button\"\n              cdkDragHandle>\n            <mat-icon>menu_outlined</mat-icon>\n          </button>\n        }\n        @if (!isReadOnly()) {\n          <button\n            mat-icon-button\n            class=\"brie-group-repeater-remove-button\"\n            (click)=\"remove($event, i)\">\n            <mat-icon>highlight_off</mat-icon>\n          </button>\n        }\n      </div>\n    </div>\n  }\n</div>\n@if (!isReadOnly()) {\n  <button\n    mat-icon-button\n    class=\"brie-group-repeater-add-button\"\n    (click)=\"add($event)\">\n    <mat-icon>add_circle_outline</mat-icon>\n  </button>\n}\n</div>\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { BrieExpansionPanelIcon, BrieExpansionPanelComponent } from '@bloomreach/brie/expansion-panel';\nimport { BrieIconType } from '@bloomreach/brie/icon';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { BrieFormFieldType, BrieFormFieldsGroup } from '../../models/form';\nimport { BrieFormControlComponent } from '../form-control/form-control.component';\nimport { BrieFormGroupRepeaterComponent } from '../form-group-repeater/form-group-repeater.component';\n\n@Component({\n  selector: 'brie-form-fields-group',\n  templateUrl: './form-fields-group.component.html',\n  styleUrls: ['./form-fields-group.component.scss'],\n  animations: [\n    trigger('collapseAnimation', [\n      state('expanded', style({\n        height: '*',\n      })),\n      state('collapsed', style({\n        height: '0',\n        overflow: 'hidden',\n      })),\n      transition('expanded <=> collapsed', [\n        animate('0.2s ease-out'),\n      ]),\n    ]),\n  ],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    CommonModule,\n    FormsModule,\n    ReactiveFormsModule,\n    MatIconModule,\n    MatButtonModule,\n    BrieExpansionPanelComponent,\n    BrieFormControlComponent,\n    BrieFormGroupRepeaterComponent,\n  ],\n\n})\nexport class BrieFormFieldsGroupComponent {\n  @Input() group: UntypedFormGroup;\n  @Input() field: BrieFormFieldsGroup;\n\n  isCollapsed = false;\n\n  @HostBinding('attr.id') get groupId(): string {\n    return this.field.id;\n  }\n\n  get FieldTypes(): typeof BrieFormFieldType {\n    return BrieFormFieldType;\n  }\n\n  get fields(): BrieFormFieldsGroup['fields'] {\n    return this.field.fields;\n  }\n\n  get panelIcon(): BrieExpansionPanelIcon {\n    return {\n      name: 'info',\n      type: BrieIconType.MATERIAL,\n      fontSet: 'material-icons-outlined',\n    };\n  }\n\n  toggleCollapse(): void {\n    if (this.field.collapsable) {\n      this.isCollapsed = !this.isCollapsed;\n    }\n  }\n\n  trackByFn(_index: number, field: BrieFormFieldsGroup['fields'][0]): string {\n    return field.id;\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<div [ngClass]=\"{collapsable:this.field.collapsable}\" (click)=\"toggleCollapse()\" class=\"brie-form-fields-group-label\">\n  @if (this.field.collapsable) {\n    <mat-icon class=\"collapse-toggle-icon\" [ngClass]=\"{ 'icon-collapsed': isCollapsed }\">\n      expand_more\n    </mat-icon>\n  }\n  {{field.label }}\n</div>\n\n<div [@collapseAnimation]=\"isCollapsed ? 'collapsed' : 'expanded'\">\n  @if (!!field.panel) {\n    <brie-expansion-panel class='brie-form-fields-group-panel' [title]=\"field.panel.title\"\n      [icon]=\"panelIcon\">\n    <div [innerHTML]=\"field.panel.content\"></div>\n  </brie-expansion-panel>\n}\n@for (field of fields; track trackByFn($index, field)) {\n  @if (field.type !== FieldTypes.GROUP_REPEATER) {\n    <div class=\"brie-form-controls\">\n      <brie-form-control #formControl [group]=\"group\" [field]=\"field\"></brie-form-control>\n    </div>\n  }\n  @if (field.type === FieldTypes.GROUP_REPEATER) {\n    <div class=\"brie-form-controls\">\n      <brie-form-group-repeater #repeaterControl [group]=\"group\" [field]=\"field\"></brie-form-group-repeater>\n    </div>\n  }\n}\n</div>","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n  AfterViewInit,\n  ChangeDetectorRef,\n  Component,\n  ElementRef,\n  EventEmitter,\n  Input,\n  OnDestroy,\n  QueryList,\n  ViewChildren,\n  ChangeDetectionStrategy,\n} from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\nimport {\n  BrieFormField,\n  BrieFormFieldType,\n  BrieFormDataSource,\n  BrieFormGroupRepeaterField,\n  BrieFormFieldsGroup,\n} from '../models/form';\nimport { BrieFormControlComponent } from './form-control/form-control.component';\nimport { BrieFormGroupRepeaterComponent } from './form-group-repeater/form-group-repeater.component';\nimport { BrieFormFieldsGroupComponent } from './form-fields-group/form-fields-group.component';\n\n@Component({\n  selector: 'brie-form',\n  templateUrl: './form.component.html',\n  styleUrls: ['./form.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n    BrieFormControlComponent,\n    BrieFormGroupRepeaterComponent,\n    BrieFormFieldsGroupComponent,\n  ],\n\n})\nexport class BrieFormComponent implements AfterViewInit, OnDestroy {\n  @Input() group: UntypedFormGroup;\n  @Input() dataSource: BrieFormDataSource = [];\n  @Input() autofocus = true;\n  @Input() focusChanged = new EventEmitter<void>();\n\n  @ViewChildren('formControl', { read: ElementRef })\n  formControl: QueryList<ElementRef<HTMLInputElement | HTMLSelectElement>>;\n\n  @ViewChildren('repeaterControl', { read: ElementRef })\n  repeaterControl: QueryList<ElementRef<HTMLInputElement | HTMLSelectElement>>;\n\n  private subscriptions = new Subscription();\n\n  constructor(\n    private readonly detectorRef: ChangeDetectorRef,\n  ) { }\n\n  ngAfterViewInit(): void {\n    if (this.autofocus) {\n      this.focusForm();\n    }\n\n    const focusChanged$ = this.focusChanged.subscribe(() => {\n      this.focusForm();\n    });\n\n    this.subscriptions.add(focusChanged$);\n  }\n\n  ngOnDestroy(): void {\n    this.subscriptions.unsubscribe();\n  }\n\n  get FieldTypes(): typeof BrieFormFieldType {\n    return BrieFormFieldType;\n  }\n\n  trackByFn(_index: number, field: BrieFormField | BrieFormGroupRepeaterField | BrieFormFieldsGroup): string {\n    return field.id;\n  }\n\n  private focusForm(): void {\n    if (this.formControl?.first) {\n      const control = this.formControl.first.nativeElement;\n\n      if (control) {\n        this.focusFormControl(control, 1);\n      }\n    } else if (this.repeaterControl?.first) {\n      const nodeList = this.repeaterControl.first.nativeElement.querySelectorAll('brie-form-control');\n\n      if (nodeList) {\n        this.focusRepeaterControl(nodeList, 0);\n      }\n    }\n  }\n\n  private focusFormControl(control: HTMLInputElement | HTMLSelectElement, index: number): void {\n    const input = control.querySelector<HTMLInputElement>('input, mat-select');\n\n    if (input && document.activeElement !== input) {\n      if (this.isFieldDisabled(input)) {\n        const next = this.formControl.get(index)?.nativeElement;\n\n        if (next) {\n          this.focusFormControl(next, index + 1);\n          return;\n        }\n\n        if (this.repeaterControl?.first) {\n          const nodeList = this.repeaterControl.first.nativeElement.querySelectorAll('brie-form-control');\n\n          if (nodeList) {\n            this.focusRepeaterControl(nodeList, 0);\n          }\n\n          return;\n        }\n      }\n\n      input.focus();\n      this.detectorRef.detectChanges();\n    }\n  }\n\n  private focusRepeaterControl(nodeList: NodeListOf<Element>, index: number): void {\n    const control = nodeList[index];\n    const input = control?.querySelector<HTMLInputElement>('input, mat-select');\n\n    if (input && document.activeElement !== input) {\n      if (this.isFieldDisabled(input)) {\n        this.focusRepeaterControl(nodeList, index + 1);\n        return;\n      }\n\n      input.focus();\n      this.detectorRef.detectChanges();\n    }\n  }\n\n  private isFieldDisabled(input: HTMLInputElement): boolean {\n    switch (input.tagName) {\n    case 'INPUT':\n      return input.disabled;\n    case 'MAT-SELECT':\n      return input.getAttribute('aria-disabled') === 'true';\n    default:\n      return false;\n    }\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n@for (field of dataSource; track trackByFn($index, field)) {\n  @if (field.type !== FieldTypes.GROUP_REPEATER && field.type !== FieldTypes.FIELDS_GROUP) {\n    <div class=\"brie-form-controls\">\n      <brie-form-control #formControl [group]=\"group\" [field]=\"field\"></brie-form-control>\n    </div>\n  }\n  @if (field.type === FieldTypes.GROUP_REPEATER) {\n    <div [hidden]=\"field.hidden\" class=\"brie-form-controls\">\n      <brie-form-group-repeater #repeaterControl [group]=\"group\" [field]=\"field\"></brie-form-group-repeater>\n    </div>\n  }\n  @if (field.type === FieldTypes.FIELDS_GROUP) {\n    <div [hidden]=\"field.hidden\" class=\"brie-form-controls\">\n      <brie-form-fields-group [group]=\"group\" [field]=\"field\"></brie-form-fields-group>\n    </div>\n  }\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport function focusFirstInvalidControl(container: HTMLElement): void {\n  const invalidSelector = [\n    '[aria-invalid=\"true\"]',\n    '.ng-invalid input',\n    '.ng-invalid textarea',\n    '.ng-invalid select',\n    'input.ng-invalid',\n    'textarea.ng-invalid',\n    'select.ng-invalid',\n  ].join(',');\n\n  const el = container.querySelector<HTMLElement>(invalidSelector);\n  if (el && typeof el.focus === 'function') {\n    el.focus();\n  }\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AbstractControl, FormArray, FormGroup } from '@angular/forms';\n\nimport { BrieFormValidationOptions, BrieFormValidationResult } from '../models/form-validation';\nimport { focusFirstInvalidControl } from '../utils/focus-first-invalid-control';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrieFormValidationService {\n  showValidationErrors(\n    form: AbstractControl,\n    options: BrieFormValidationOptions = {},\n  ): BrieFormValidationResult {\n    form.markAllAsTouched();\n\n    if (options.updateValueAndValidity !== false) {\n      form.updateValueAndValidity({ onlySelf: false, emitEvent: true });\n    }\n\n    const firstInvalidControl = this.findFirstInvalidControl(form);\n    const { valid } = form;\n\n    if (options.focusFirstError && !valid && options.focusRoot) {\n      focusFirstInvalidControl(options.focusRoot);\n    }\n\n    return { valid, firstInvalidControl };\n  }\n\n  private findFirstInvalidControl(control: AbstractControl): AbstractControl | undefined {\n    if (!control.invalid) {\n      return undefined;\n    }\n\n    if (control instanceof FormGroup) {\n      const invalidChild = Object.keys(control.controls)\n        .map((key) => this.findFirstInvalidControl(control.controls[key]))\n        .find((result) => result !== undefined);\n\n      if (invalidChild) {\n        return invalidChild;\n      }\n    } else if (control instanceof FormArray) {\n      const invalidChild = control.controls\n        .map((child) => this.findFirstInvalidControl(child))\n        .find((result) => result !== undefined);\n\n      if (invalidChild) {\n        return invalidChild;\n      }\n    }\n\n    return control;\n  }\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ElementRef, HostListener, Input, Optional } from '@angular/core';\nimport { FormGroupDirective } from '@angular/forms';\n\nimport { BrieFormValidationService } from '../services/form-validation.service';\n\n@Directive({\n  selector: 'form[brieShowErrorsOnSubmit]',\n  standalone: true,\n})\nexport class BrieShowErrorsOnSubmitDirective {\n  @Input() brieShowErrorsOnSubmit: boolean | '' = true;\n  @Input() brieFocusFirstError: boolean | '' = false;\n\n  constructor(\n    private readonly host: ElementRef<HTMLElement>,\n    private readonly validationService: BrieFormValidationService,\n    @Optional() private readonly formGroupDirective?: FormGroupDirective,\n  ) {}\n\n  @HostListener('submit')\n  onSubmit(): void {\n    if (!this.isEnabled()) {\n      return;\n    }\n\n    const form = this.formGroupDirective?.form;\n    if (!form) {\n      return;\n    }\n\n    this.validationService.showValidationErrors(form, {\n      focusFirstError: this.shouldFocusFirstError(),\n      focusRoot: this.host.nativeElement,\n    });\n  }\n\n  private isEnabled(): boolean {\n    return this.brieShowErrorsOnSubmit === '' || this.brieShowErrorsOnSubmit === true;\n  }\n\n  private shouldFocusFirstError(): boolean {\n    return this.brieFocusFirstError === '' || this.brieFocusFirstError === true;\n  }\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatSelectModule } from '@angular/material/select';\nimport { BrieExpansionPanelModule } from '@bloomreach/brie/expansion-panel';\nimport { BrieIconModule } from '@bloomreach/brie/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { BrieFormCheckboxComponent } from './components/form-checkbox/form-checkbox.component';\nimport { BrieFormToggleComponent } from './components/form-toggle/form-toggle.component';\nimport { BrieFormControlComponent } from './components/form-control/form-control.component';\nimport { BrieFormFieldsGroupComponent } from './components/form-fields-group/form-fields-group.component';\nimport { BrieFormGroupRepeaterComponent } from './components/form-group-repeater/form-group-repeater.component';\nimport { BrieFormInputComponent } from './components/form-input/form-input.component';\nimport { BrieFormRadioComponent } from './components/form-radio/form-radio.component';\nimport { BrieFormSelectComponent } from './components/form-select/form-select.component';\nimport { BrieFormTextComponent } from './components/form-text/form-text.component';\nimport { BrieFormComponent } from './components/form.component';\nimport { BrieFormDateTimeComponent } from './components/form-datetime/form-datetime.component';\nimport { DatetimeFieldComponent } from './components/form-datetime/datetime-field/datetime-field.component';\nimport { BrieFormLinkpickerComponent } from './components/form-linkpicker/form-linkpicker.component';\nimport { BrieShowErrorsOnSubmitDirective } from './directives/show-errors-on-submit.directive';\nimport { BrieFormHiddenComponent } from './components/form-hidden/form-hidden.component';\n\n@NgModule({\n  imports: [\n    BrieExpansionPanelModule,\n    CommonModule,\n    DragDropModule,\n    FormsModule,\n    MatAutocompleteModule,\n    MatButtonModule,\n    MatCheckboxModule,\n    MatSlideToggleModule,\n    MatFormFieldModule,\n    MatIconModule,\n    MatInputModule,\n    MatSelectModule,\n    MatDatepickerModule,\n    ReactiveFormsModule,\n    MatRadioModule,\n    MatTooltipModule,\n    BrieIconModule,\n    BrieFormComponent,\n    BrieFormInputComponent,\n    BrieFormLinkpickerComponent,\n    BrieFormControlComponent,\n    BrieFormSelectComponent,\n    BrieFormCheckboxComponent,\n    BrieFormToggleComponent,\n    BrieFormGroupRepeaterComponent,\n    BrieFormTextComponent,\n    BrieFormFieldsGroupComponent,\n    BrieFormRadioComponent,\n    DatetimeFieldComponent,\n    BrieFormDateTimeComponent,\n    BrieShowErrorsOnSubmitDirective,\n    BrieFormHiddenComponent,\n  ],\n  exports: [\n    BrieFormComponent,\n    BrieShowErrorsOnSubmitDirective,\n  ],\n})\nexport class BrieFormModule {\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AbstractControl } from '@angular/forms';\n\nexport interface BrieFormValidationOptions {\n  /** Re-run updateValueAndValidity on the form tree. Default: true */\n  updateValueAndValidity?: boolean;\n  /** Focus the first invalid control after marking touched. Default: false */\n  focusFirstError?: boolean;\n  /** DOM scope for focus; directive passes the form element */\n  focusRoot?: HTMLElement;\n}\n\nexport interface BrieFormValidationResult {\n  valid: boolean;\n  firstInvalidControl?: AbstractControl;\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './form.module';\nexport * from './components/form.component';\nexport * from './components/form-checkbox/form-checkbox.component';\nexport * from './components/form-toggle/form-toggle.component';\nexport * from './components/form-control/form-control.component';\nexport * from './components/form-group-repeater/form-group-repeater.component';\nexport * from './components/form-input/form-input.component';\nexport * from './components/form-hidden/form-hidden.component';\nexport * from './components/form-select/form-select.component';\nexport * from './components/form-radio/form-radio.component';\nexport * from './models/form';\nexport * from './models/form-validation';\nexport * from './services/form.service';\nexport * from './services/form-validation.service';\nexport * from './directives/show-errors-on-submit.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i1","i3","i4","i5","i6","i7","i9","i1.BrieFormService","i1.BrieFormValidationService"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;MA2BU,yBAAyB,CAAA;AAftC,IAAA,WAAA,GAAA;QAkBE,IAAA,CAAA,SAAS,GAAG,YAAY;AAezB,IAAA;AAXC,IAAA,IAA4B,OAAO,GAAA;AACjC,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE;IACtB;AAEA,IAAA,IAAI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAA,EAAG,IAAI,CAAC,OAAO,WAAW;IACnC;AAEA,IAAA,IAAI,sBAAsB,GAAA;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI;IAC/D;8GAjBW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IA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