@siemens/element-ng 49.1.0 → 49.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/fesm2022/siemens-element-ng-accordion.mjs +2 -2
  2. package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -1
  3. package/fesm2022/siemens-element-ng-application-header.mjs +11 -3
  4. package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
  5. package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs.map +1 -1
  6. package/fesm2022/siemens-element-ng-avatar.mjs.map +1 -1
  7. package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -1
  8. package/fesm2022/siemens-element-ng-common.mjs +2 -2
  9. package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
  10. package/fesm2022/siemens-element-ng-content-action-bar.mjs +2 -2
  11. package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -1
  12. package/fesm2022/siemens-element-ng-dashboard.mjs +1 -1
  13. package/fesm2022/siemens-element-ng-dashboard.mjs.map +1 -1
  14. package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -1
  15. package/fesm2022/siemens-element-ng-datepicker.mjs +22 -24
  16. package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
  17. package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -1
  18. package/fesm2022/siemens-element-ng-filtered-search.mjs +89 -95
  19. package/fesm2022/siemens-element-ng-filtered-search.mjs.map +1 -1
  20. package/fesm2022/siemens-element-ng-form.mjs.map +1 -1
  21. package/fesm2022/siemens-element-ng-formly.mjs +1 -1
  22. package/fesm2022/siemens-element-ng-formly.mjs.map +1 -1
  23. package/fesm2022/siemens-element-ng-header-dropdown.mjs +2 -2
  24. package/fesm2022/siemens-element-ng-header-dropdown.mjs.map +1 -1
  25. package/fesm2022/siemens-element-ng-list-details.mjs.map +1 -1
  26. package/fesm2022/siemens-element-ng-main-detail-container.mjs +21 -25
  27. package/fesm2022/siemens-element-ng-main-detail-container.mjs.map +1 -1
  28. package/fesm2022/siemens-element-ng-menu.mjs +6 -6
  29. package/fesm2022/siemens-element-ng-menu.mjs.map +1 -1
  30. package/fesm2022/siemens-element-ng-navbar-vertical.mjs +8 -4
  31. package/fesm2022/siemens-element-ng-navbar-vertical.mjs.map +1 -1
  32. package/fesm2022/siemens-element-ng-navbar.mjs.map +1 -1
  33. package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -1
  34. package/fesm2022/siemens-element-ng-phone-number.mjs.map +1 -1
  35. package/fesm2022/siemens-element-ng-photo-upload.mjs +1 -1
  36. package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -1
  37. package/fesm2022/siemens-element-ng-search-bar.mjs +7 -2
  38. package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -1
  39. package/fesm2022/siemens-element-ng-select.mjs +2 -2
  40. package/fesm2022/siemens-element-ng-select.mjs.map +1 -1
  41. package/fesm2022/siemens-element-ng-side-panel.mjs +164 -10
  42. package/fesm2022/siemens-element-ng-side-panel.mjs.map +1 -1
  43. package/fesm2022/siemens-element-ng-split.mjs.map +1 -1
  44. package/fesm2022/siemens-element-ng-status-bar.mjs.map +1 -1
  45. package/fesm2022/siemens-element-ng-status-toggle.mjs +1 -1
  46. package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -1
  47. package/fesm2022/siemens-element-ng-tree-view.mjs +11 -3
  48. package/fesm2022/siemens-element-ng-tree-view.mjs.map +1 -1
  49. package/fesm2022/siemens-element-ng-typeahead.mjs +14 -4
  50. package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -1
  51. package/package.json +4 -4
  52. package/schematics/vitest-setup.js +5 -0
  53. package/types/siemens-element-ng-application-header.d.ts +2 -1
  54. package/types/siemens-element-ng-auto-collapsable-list.d.ts +1 -1
  55. package/types/siemens-element-ng-avatar.d.ts +1 -1
  56. package/types/siemens-element-ng-circle-status.d.ts +1 -1
  57. package/types/siemens-element-ng-common.d.ts +1 -1
  58. package/types/siemens-element-ng-dashboard.d.ts +2 -2
  59. package/types/siemens-element-ng-date-range-filter.d.ts +1 -1
  60. package/types/siemens-element-ng-datepicker.d.ts +7 -7
  61. package/types/siemens-element-ng-file-uploader.d.ts +2 -2
  62. package/types/siemens-element-ng-filtered-search.d.ts +4 -10
  63. package/types/siemens-element-ng-form.d.ts +2 -2
  64. package/types/siemens-element-ng-list-details.d.ts +1 -1
  65. package/types/siemens-element-ng-main-detail-container.d.ts +10 -11
  66. package/types/siemens-element-ng-navbar-vertical.d.ts +7 -3
  67. package/types/siemens-element-ng-navbar.d.ts +1 -1
  68. package/types/siemens-element-ng-number-input.d.ts +1 -1
  69. package/types/siemens-element-ng-phone-number.d.ts +1 -1
  70. package/types/siemens-element-ng-photo-upload.d.ts +1 -1
  71. package/types/siemens-element-ng-search-bar.d.ts +1 -1
  72. package/types/siemens-element-ng-side-panel.d.ts +115 -5
  73. package/types/siemens-element-ng-split.d.ts +2 -2
  74. package/types/siemens-element-ng-status-bar.d.ts +1 -1
  75. package/types/siemens-element-ng-status-toggle.d.ts +1 -1
  76. package/types/siemens-element-ng-tree-view.d.ts +1 -1
  77. package/types/siemens-element-ng-typeahead.d.ts +8 -3
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-form.mjs","sources":["../../../../projects/element-ng/form/si-form-container/si-form-container.component.ts","../../../../projects/element-ng/form/si-form-container/si-form-container.component.html","../../../../projects/element-ng/form/form-fieldset/si-form-fieldset.component.ts","../../../../projects/element-ng/form/form-fieldset/si-form-fieldset.component.html","../../../../projects/element-ng/form/si-form-item.control.ts","../../../../projects/element-ng/form/si-form-validation-error.service.ts","../../../../projects/element-ng/form/si-form-item/si-form-field-native.control.ts","../../../../projects/element-ng/form/si-form-item/si-form-item.component.ts","../../../../projects/element-ng/form/si-form-item/si-form-item.component.html","../../../../projects/element-ng/form/si-form-validation-tooltip/si-form-validation-tooltip.component.ts","../../../../projects/element-ng/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.ts","../../../../projects/element-ng/form/si-form-validation-error.provider.ts","../../../../projects/element-ng/form/si-form.module.ts","../../../../projects/element-ng/form/index.ts","../../../../projects/element-ng/form/siemens-element-ng-form.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, Component, computed, inject, input } from '@angular/core';\nimport { AbstractControl, FormGroup } from '@angular/forms';\nimport { Breakpoints, SiResponsiveContainerDirective } from '@siemens/element-ng/resize-observer';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\n\nexport interface SiFormValidationError {\n controlName?: string;\n controlNameTranslationKey?: string;\n errorCode: TranslatableString;\n errorCodeTranslationKey?: string;\n errorParams?: any;\n}\n\n@Component({\n selector: 'si-form-container',\n imports: [NgTemplateOutlet, SiResponsiveContainerDirective],\n templateUrl: './si-form-container.component.html',\n styleUrl: './si-form-container.component.scss',\n host: {\n '[style.--si-form-label-width]': 'labelWidth()'\n }\n})\nexport class SiFormContainerComponent<TControl extends { [K in keyof TControl]: AbstractControl }> {\n /**\n * Set the form entity to the container to enable the overall form validation on in\n * the form container edit panel.\n */\n readonly form = input<FormGroup<TControl>>();\n\n /**\n * A form container in readonly mode is only displaying the form content without ability\n * to change it. The edit panel with typically save and cancel buttons is hidden. Set\n * to true to display the edit panel.\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n\n /**\n * The container hosts the form within a siResizeContainer to configure the breakpoint for\n * different screen sizes. Optionally, change the container breakpoints with the contentContainerBreakpoints\n * input.\n */\n readonly contentContainerBreakpoints = input<Breakpoints>();\n\n /**\n * In some scenarios, one may not want the form container to be responsible for the layout relevant\n * `si-container-[xs|...]` classes, but let this be done by a different, nested component, e.g. by a\n * group box. In these cases, the property should be set to true.\n *\n * @defaultValue false\n */\n readonly disableContainerBreakpoints = input(false, { transform: booleanAttribute });\n\n /**\n * Every validation error has an errorCode. This map holds translate keys for error codes. The keys can\n * be used to display a translated message for each validation error. The defaults old english readable\n * key defaults for the Angular standard validators of the `Validators` class like `min`, `max` or `required`.\n *\n * Use the input to set your own translate keys for the form validators you need.\n */\n readonly errorCodeTranslateKeyMap = input<\n Map<string, string> | SiFormValidationErrorMapper | undefined\n >();\n\n /**\n * A map the maps from control names of the form to their translate keys.\n * The initial map is empty and the user is responsible to add the required\n * translate keys.\n *\n * @defaultValue\n * ```\n * new Map<string, string>()\n * ```\n */\n readonly controlNameTranslateKeyMap = input(new Map<string, string>());\n\n /**\n * Disables the automatic error printing in all nested {@link SiFormItemComponent}. Error printing will be enabled by default in v46.\n *\n * @defaultValue false\n */\n readonly disableErrorPrinting = input(false, { transform: booleanAttribute });\n\n /**\n * A custom width value to be applied to all labels.\n *\n * @example labelWidth=\"100px\".\n */\n readonly labelWidth = input<string>();\n\n protected hasParentContainer = !!inject(SiFormContainerComponent, {\n optional: true,\n skipSelf: true\n });\n\n /** @internal */\n readonly formErrorMapper = computed(() => {\n const map = this.errorCodeTranslateKeyMap();\n\n let customMapper: SiFormValidationErrorMapper | undefined;\n if (map instanceof Map) {\n customMapper = Object.fromEntries(map.entries());\n } else if (map) {\n customMapper = map;\n }\n\n return {\n ...customMapper\n };\n });\n\n /**\n * Indicates whether the user interacted with the form.\n * @returns `true`, if the user selected at least one form element and\n * [blurred]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event} by losing focus again\n * (e.g. by setting focus on another element), or by editing the content of a form element.\n * Otherwise `false`.\n */\n get userInteractedWithForm(): boolean {\n const form = this.form();\n return !!form && (form.dirty || form.touched);\n }\n\n /**\n * Indicates whether content editor message shall be styled as success.\n * @returns `true`, if {@link SiFormContainerComponent.userInteractedWithForm} is true and\n * the form is valid.\n */\n get validFormContainerMessage(): boolean {\n return this.userInteractedWithForm && this.form()!.status === 'VALID';\n }\n\n /**\n * Indicates whether the content editor message shall be styled as warning.\n * @returns `true`, if {@link SiFormContainerComponent.userInteractedWithForm} is true and\n * the form is invalid.\n */\n get invalidFormContainerMessage(): boolean {\n return this.userInteractedWithForm && this.form()!.status === 'INVALID';\n }\n\n protected getControlNameTranslateKey(controlName: string): string | undefined {\n const controlNameTranslateKeyMap = this.controlNameTranslateKeyMap();\n if (!controlNameTranslateKeyMap) {\n return undefined;\n }\n return controlNameTranslateKeyMap.get(controlName) ?? controlName;\n }\n}\n","<div class=\"d-flex flex-column align-content-stretch flex-grow-1 flex-shrink-1\">\n @if (disableContainerBreakpoints() || hasParentContainer) {\n <div class=\"flex-grow-1 flex-shrink-1\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\" />\n </div>\n } @else {\n <div\n class=\"flex-grow-1 flex-shrink-1\"\n siResponsiveContainer\n [breakpoints]=\"contentContainerBreakpoints()\"\n >\n <ng-container *ngTemplateOutlet=\"contentTemplate\" />\n </div>\n }\n\n @if (!readonly()) {\n <div class=\"d-flex flex-row flex-nowrap flex-grow-0 flex-shrink-0 py-4\">\n <div\n class=\"d-flex flex-grow-1 flex-shrink-1 justify-content-end text-end overflow-hidden mx-6 my-auto\"\n [class.text-success]=\"validFormContainerMessage\"\n [class.text-danger]=\"invalidFormContainerMessage\"\n >\n <ng-content select=\"[si-form-container-message]\" />\n </div>\n\n <div class=\"m-auto flex-grow-0 flex-shrink-0\">\n <ng-content select=\"[si-form-container-buttons]\" />\n </div>\n </div>\n }\n</div>\n\n<ng-template #contentTemplate>\n <ng-content select=\"[si-form-container-content]\" />\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DoCheck,\n HostBinding,\n input,\n signal\n} from '@angular/core';\nimport { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormItemComponent } from '../si-form-item/si-form-item.component';\n\n@Component({\n selector: 'si-form-fieldset',\n imports: [SiTranslatePipe],\n templateUrl: './si-form-fieldset.component.html',\n styleUrl: '../si-form.shared.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n role: 'group',\n class: 'si-form-input',\n '[style.--si-form-label-width]': 'labelWidth()'\n }\n})\nexport class SiFormFieldsetComponent implements DoCheck {\n private static labelIdCounter = 0;\n\n /** The label for the entire fieldset. */\n readonly label = input.required<TranslatableString>();\n\n /** Overrides the parent label width. */\n readonly labelWidth = input<string>();\n\n /**\n * Adds a required marker to the label\n *\n * @defaultValue false\n */\n readonly required = input(false, { transform: booleanAttribute });\n\n /**\n * Switches all child inputs to inline mode\n *\n * @defaultValue false\n */\n readonly inline = input(false, { transform: booleanAttribute });\n\n private readonly formItems = signal<SiFormItemComponent[]>([]);\n\n /** @internal */\n readonly hasOnlyRadios = computed(() => {\n // Check if the fieldset only contains radio buttons.\n // We can safely assume that, if all items have the same control name and if there are at least 2 items.\n const items = this.formItems();\n if (items.length > 1) {\n const first = items[0];\n return items.every(item => item.ngControl()?.name === first.ngControl()?.name);\n }\n\n return false;\n });\n\n protected readonly errors = computed(() =>\n // All errors should be the same for radios, so we just take the first.\n this.hasOnlyRadios() ? this.formItems()[0].errors() : []\n );\n protected readonly touched = signal(false);\n protected readonly isRequired = computed(\n () =>\n this.required() || (this.hasOnlyRadios() && this.formItems().every(item => item.required()))\n );\n\n @HostBinding('attr.aria-labelledby')\n protected labelId = `__si-form-fieldset-label-${SiFormFieldsetComponent.labelIdCounter++}`;\n\n ngDoCheck(): void {\n this.touched.set(this.formItems().some(item => item.ngControl()?.touched));\n }\n\n /** @internal */\n registerFormItem(item: SiFormItemComponent): void {\n this.formItems.update(items => [...items, item]);\n }\n\n /** @internal */\n unregisterFormItem(item: SiFormItemComponent): void {\n this.formItems.update(items => items.filter(i => i !== item));\n }\n}\n","<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <ng-content />\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"touched()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { InjectionToken, Signal } from '@angular/core';\n\nexport const SI_FORM_ITEM_CONTROL = new InjectionToken<SiFormItemControl>('si.form-item.control');\n\n/**\n * Common interface for form item controls.\n * Controls that should be connected to {@link SiFormItemComponent} must implement this interface\n * and must be provided using the {@link SI_FORM_ITEM_CONTROL} token.\n */\nexport interface SiFormItemControl {\n /** The actual id of the control that should be used in the `for` attribute of a label. */\n readonly id?: string | Signal<string | undefined>;\n\n /**\n * ID that should be assigned to the label element inside the {@link SiFormItemComponent}.\n *\n * If the target control is not of type <i>input</i>, <i>select</i> or <i>button</i>, it cannot be referenced by a label.\n * Instead, aria-labelledby must be used to create a reference to a label.\n * In such a case, an implementation of {@link SiFormItemControl} must provide the id of the label in {@link labelledby}.\n * {@link SiFormItemComponent} will apply the id to the label\n * so that it can be used inside the control to reference it in the aria-labelledby attribute.\n */\n readonly labelledby?: string | Signal<string | undefined> | null;\n\n /**\n * Generated ID that the {@link SiFormItemComponent} will assign to the element containing the error messages.\n * Implementations of {@link SiFormItemControl} must generate this ID\n * and assign it to the `aria-describedby` attribute of their focusable elements.\n */\n readonly errormessageId: string | Signal<string>;\n\n /** If the control is meant to be used a checkbox. This affects the label positioning. */\n readonly isFormCheck?: boolean;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { inject, Injectable } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { t } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormError } from './si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\n\n/**\n * Creates the map of default error resolver.\n * This is a function as $localize requires an injection context.\n *\n * @internal\n */\nexport const buildDefaults = (): SiFormValidationErrorMapper => ({\n // Phone number specific\n notSupportedPhoneNumberCountry: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.PHONE_COUNTRY:Unsupported country/region code`\n ),\n invalidPhoneNumberFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.INVALID_PHONE:Invalid phone number`\n ),\n // IP address specific\n ipv4Address: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.IPV4:Invalid IPv4 address`),\n ipv6Address: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.IPV6:Invalid IPv6 address`),\n // Min / max\n max: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX:Max. {{max}}`),\n min: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN:Min. {{min}}`),\n maxlength: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_LENGTH:Max. {{requiredLength}} characters`\n ),\n minlength: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_LENGTH:Min. {{requiredLength}} characters`\n ),\n // Date specific\n dateFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT:Invalid date`),\n endBeforeStart: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.END_BEFORE_START:End date before start date`\n ),\n invalidEndDateFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT_END:Invalid end date`\n ),\n invalidStartDateFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT_START:Invalid start date`\n ),\n maxDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_DATE:Date prior to {{maxString}} required`\n ),\n minDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_DATE:Date after {{minString}} required`\n ),\n maxTime: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_TIME:Time prior to {{maxString}} required`\n ),\n minTime: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_TIME:Time after {{minString}} required`\n ),\n rangeAfterMaxDate: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.RANGE_AFTER_MAX_DATE:Period prior to {{maxString}} required`\n ),\n rangeBeforeMinDate: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.RANGE_BEFORE_MIN_DATE:Period after {{minString}} required`\n ),\n // Time units\n hours: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.HOURS:Integer between 0 and {{max}} required`\n ),\n minutes: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MINUTES:Integer between 0 and 59 required`),\n seconds: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.SECONDS:Integer between 0 and 59 required`),\n milliseconds: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MILLISECONDS:Integer between 0 and 999 required`\n ),\n // Various\n email: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.EMAIL:Invalid email address`),\n numberFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.NUMBER_FORMAT:Number required`),\n pattern: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.PATTERN:The value does not match the predefined pattern.`\n ),\n required: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED:Required`),\n requiredTrue: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED_TRUE:Required`)\n});\n\n/**\n * A service to resolve the validation error of an Angular control to a message or translation key.\n *\n * It can be provided using {@link provideFormValidationErrorMapper}.\n * If not provided, there will be a default instance in the root injector using only the default keys.\n *\n * There can be multiple instances to support providing in a lazy loaded module.\n * If the service cannot find a message, it will try to resolve it using a parent service if available.\n *\n * @internal\n */\n@Injectable({\n providedIn: 'root',\n useFactory: () => new SiFormValidationErrorService(buildDefaults())\n})\nexport class SiFormValidationErrorService {\n private readonly parent = inject(SiFormValidationErrorService, {\n optional: true,\n skipSelf: true\n });\n\n // eslint-disable-next-line @angular-eslint/prefer-inject\n constructor(private errorMapper: SiFormValidationErrorMapper) {}\n\n /**\n * Resolves the provided form errors to a list of {@link SiFormError}.\n * To resolution order is:\n * 1. componentMapper\n * 2. containerMapper using the controlName\n * 3. containerMapper without controlName\n * 4. errorMapper of the service using the controlName\n * 5. errorMapper of the service\n * 6: parent service\n */\n resolveErrors(\n controlName: string | number | null | undefined,\n errors: ValidationErrors | null,\n componentMapper?: SiFormValidationErrorMapper,\n containerMapper?: SiFormValidationErrorMapper\n ): SiFormError[] {\n if (!errors) {\n return [];\n }\n /*\n * Converts the angular error object (like: {required: true, minLength: {actualLength: 1, requiredLength: 3}})\n * to SiFormError[].\n * Therefore, the error key is look up in the error mappers.\n * If it can be resolved, the error will be printed using the resolved text.\n */\n return Object.entries(errors).map(([key, params]) =>\n this.resolveError(key, controlName, params, componentMapper, containerMapper)\n );\n }\n\n private resolveError(\n key: string,\n controlName: string | number | null | undefined,\n params: any,\n componentMapper?: SiFormValidationErrorMapper,\n containerMapper?: SiFormValidationErrorMapper\n ): SiFormError {\n return (\n this.resolveMessage(key, controlName, params, componentMapper) ??\n this.resolveMessage(key, controlName, params, containerMapper) ??\n this.resolveMessage(key, controlName, params, this.errorMapper) ??\n this.parent?.resolveError(key, controlName, params) ?? { key, params }\n );\n }\n\n private resolveMessage(\n key: string,\n controlName: string | number | null | undefined,\n params: any,\n mapper?: SiFormValidationErrorMapper\n ): SiFormError | undefined {\n if (!mapper) {\n return undefined;\n }\n\n const resolver = mapper[`${controlName}.${key}`] ?? mapper[key];\n\n if (resolver) {\n const message = typeof resolver === 'function' ? resolver(params) : resolver;\n return message ? { key, message, params } : undefined;\n }\n return undefined;\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ElementRef } from '@angular/core';\n\nimport { SiFormItemControl } from '../si-form-item.control';\n\n/**\n * This will be used by the `si-form-item` to create a form item control if none is provided.\n * This is typically the case for native form controls like `input`, `textarea` and `select`.\n * It allows accessing the control's id and type.\n */\nexport class SiFormFieldNativeControl implements SiFormItemControl {\n private static idCounter = 0;\n private static readonly supportedTypes = ['INPUT', 'TEXTAREA', 'SELECT', 'METER', 'PROGRESS'];\n\n static createForElementRef(\n element: ElementRef<HTMLElement> | undefined\n ): SiFormFieldNativeControl | undefined {\n if (!element) {\n return undefined;\n }\n\n if (!SiFormFieldNativeControl.supportedTypes.includes(element.nativeElement.tagName)) {\n return undefined;\n }\n\n return new SiFormFieldNativeControl(element.nativeElement);\n }\n\n private constructor(private readonly element: HTMLElement) {\n if (!element.id) {\n element.id = `__si-form-field-native-control-${SiFormFieldNativeControl.idCounter++}`;\n }\n\n this.errormessageId = `${this.id}-errormessage`;\n if (element instanceof HTMLInputElement) {\n this.isFormCheck = element.type === 'checkbox' || element.type === 'radio';\n } else {\n this.isFormCheck = false;\n }\n\n element.setAttribute('aria-describedby', this.errormessageId);\n }\n\n isFormCheck: boolean;\n\n get id(): string {\n return this.element?.id;\n }\n\n set id(value: string) {\n this.element.id = value;\n }\n\n readonly errormessageId: string;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentChecked,\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n inject,\n input,\n isSignal,\n OnChanges,\n OnDestroy,\n OnInit,\n signal,\n SimpleChanges\n} from '@angular/core';\nimport {\n FormControl,\n NgControl,\n RequiredValidator,\n ValidationErrors,\n ValidatorFn\n} from '@angular/forms';\nimport { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormFieldsetComponent } from '../form-fieldset/si-form-fieldset.component';\nimport { SiFormContainerComponent } from '../si-form-container/si-form-container.component';\nimport { SI_FORM_ITEM_CONTROL, SiFormItemControl } from '../si-form-item.control';\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\nimport { SiFormValidationErrorService } from '../si-form-validation-error.service';\nimport { SiFormFieldNativeControl } from './si-form-field-native.control';\n\n/** @internal */\nexport interface SiFormError {\n key: string;\n message?: TranslatableString;\n params: any;\n}\n\n@Component({\n selector: 'si-form-item',\n imports: [SiTranslatePipe, NgTemplateOutlet],\n templateUrl: './si-form-item.component.html',\n styleUrl: '../si-form.shared.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.required]': 'required()',\n '[style.--si-form-label-width]': 'labelWidthCssVar()',\n '[class.form-check]': 'fieldControl()?.isFormCheck',\n '[class.form-check-inline]': 'fieldset?.inline()',\n '[class.si-form-input]': '!fieldset'\n }\n})\nexport class SiFormItemComponent\n implements AfterContentInit, AfterContentChecked, OnChanges, OnInit, OnDestroy\n{\n /**\n * The label to be displayed in the form item.\n * It will be translated if a translation key is available.\n */\n readonly label = input.required<TranslatableString>();\n\n /**\n * A custom width value to be applied to the label.\n * A value of 0 is allowed as well to visually hide away the label area.\n *\n * Numbers will be converted to pixels.\n * Using numbers is discouraged and might be dropped.\n *\n * @example labelWidth=\"100px\"\n */\n readonly labelWidth = input<string | number>();\n\n /**\n * Disables the automatic error printing. Error printing will be enabled by default in v46.\n *\n * @defaultValue false\n */\n readonly disableErrorPrinting = input(false, { transform: booleanAttribute });\n\n readonly formErrorMapper = input<SiFormValidationErrorMapper>();\n\n /**\n * Defines that this form item is required for the overall form to be valid.\n *\n * @defaultValue false\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly requiredInput = input(false, { transform: booleanAttribute, alias: 'required' });\n\n protected readonly fieldControlQuery = contentChild(SI_FORM_ITEM_CONTROL, { descendants: true });\n /** @internal */\n readonly ngControl = contentChild(NgControl, { descendants: true });\n protected readonly controlElementRef = contentChild<NgControl, ElementRef<HTMLElement>>(\n NgControl,\n {\n read: ElementRef,\n descendants: true\n }\n );\n protected readonly requiredValidator = contentChild(RequiredValidator, { descendants: true });\n\n /** @internal */\n readonly errors = signal<SiFormError[]>([]);\n\n protected fieldset = inject(SiFormFieldsetComponent, { optional: true });\n protected container = inject(SiFormContainerComponent, { optional: true });\n\n protected get formItemId(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.id) ? (fieldControl.id() ?? null) : (fieldControl?.id ?? null);\n }\n\n protected get formItemLabelledBy(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.labelledby)\n ? (fieldControl.labelledby() ?? null)\n : (fieldControl?.labelledby ?? null);\n }\n\n protected get formItemErrormessageId(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.errormessageId)\n ? (fieldControl?.errormessageId() ?? null)\n : (fieldControl?.errormessageId ?? null);\n }\n\n protected readonly fieldControl = computed(\n () => this.fieldControlQuery() ?? this.fieldControlNative()\n );\n\n private validationErrorService = inject(SiFormValidationErrorService);\n private requiredTestControl = new FormControl('');\n private validator?: ValidatorFn | null;\n private previousErrors?: ValidationErrors | null;\n private readonly hasRequiredValidator = signal(false);\n private readonly fieldControlNative = signal<SiFormItemControl | undefined>(undefined);\n\n protected readonly labelWidthCssVar = computed(() => {\n const labelWidth = this.labelWidth();\n if (typeof labelWidth === 'number') {\n return `${labelWidth}px`;\n }\n\n return labelWidth;\n });\n\n protected readonly printErrors = computed(() => {\n return !this.disableErrorPrinting() && !(this.container?.disableErrorPrinting() ?? false);\n });\n\n /** @internal */\n readonly required = computed(() => this.requiredInput() || this.hasRequiredValidator());\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.formErrorMapper) {\n this.updateValidationMessages();\n }\n }\n\n ngOnInit(): void {\n this.fieldset?.registerFormItem(this);\n }\n\n ngAfterContentInit(): void {\n if (!this.fieldControlQuery()) {\n this.fieldControlNative.set(\n SiFormFieldNativeControl.createForElementRef(this.controlElementRef())\n );\n }\n }\n\n ngAfterContentChecked(): void {\n this.updateRequiredState();\n this.updateValidationMessages();\n }\n\n ngOnDestroy(): void {\n this.fieldset?.unregisterFormItem(this);\n }\n\n private updateRequiredState(): void {\n const requiredValidator = this.requiredValidator();\n if (requiredValidator) {\n // the easy case: required validator is applied in the template: <input required>\n this.hasRequiredValidator.set(booleanAttribute(requiredValidator.required));\n } else {\n // No required validator is applied via template, it could still be applied in the code.\n // If validators are applied via code, the validator object will change of controls.\n // So we only need to check for required if the validator object was changed.\n const validator = this.ngControl()?.control?.validator;\n\n if (this.validator !== validator) {\n this.validator = validator;\n this.requiredTestControl.setValidators(this.validator ?? null);\n this.requiredTestControl.updateValueAndValidity();\n this.hasRequiredValidator.set(this.requiredTestControl.errors?.required ?? false);\n }\n }\n }\n\n private updateValidationMessages(): void {\n const control = this.ngControl();\n const currentErrors = control?.errors;\n if (this.previousErrors !== currentErrors) {\n if (control && this.printErrors()) {\n this.errors.set(\n this.validationErrorService\n .resolveErrors(\n control.name,\n control.errors,\n this.formErrorMapper(),\n this.container?.formErrorMapper()\n )\n .filter(error => error.message)\n );\n this.previousErrors = currentErrors;\n } else if (this.errors().length) {\n this.errors.set([]);\n }\n }\n }\n}\n","<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { Component, inject, InjectionToken, Signal } from '@angular/core';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormError } from '../si-form-item/si-form-item.component';\n\nexport const SI_FORM_VALIDATION_TOOLTIP_DATA = new InjectionToken<Signal<SiFormError[]>>(\n 'SiFormValidationTooltipData'\n);\n\n@Component({\n selector: 'si-form-validation-tooltip',\n imports: [SiTranslatePipe],\n template: `\n @for (error of errors(); track error.key) {\n <div>{{ error.message | translate: error.params }}</div>\n }\n `,\n host: {\n 'class': 'd-flex flex-column gap-2 text-start'\n }\n})\nexport class SiFormValidationTooltipComponent {\n protected errors = inject(SI_FORM_VALIDATION_TOOLTIP_DATA);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n Directive,\n DoCheck,\n ElementRef,\n HostListener,\n inject,\n Injector,\n input,\n OnDestroy,\n signal\n} from '@angular/core';\nimport { NgControl, ValidationErrors } from '@angular/forms';\nimport { SiTooltipService, TooltipRef } from '@siemens/element-ng/tooltip';\n\nimport { SiFormContainerComponent } from '../si-form-container/si-form-container.component';\nimport { SiFormError } from '../si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\nimport { SiFormValidationErrorService } from '../si-form-validation-error.service';\nimport {\n SI_FORM_VALIDATION_TOOLTIP_DATA,\n SiFormValidationTooltipComponent\n} from './si-form-validation-tooltip.component';\n\n/**\n * Directive to show a tooltip with validation errors of a form control.\n *\n * In general, `si-form-item` should be used.\n * This directive is intended only for cases where the tooltip cannot be shown inline.\n * This is typically the case for tables and lists where the validation message would break the layout.\n *\n * @example\n * ```html\n * <input siFormValidationTooltip [formControl]=\"control\" />\n * ```\n */\n@Directive({\n selector: '[siFormValidationTooltip]',\n providers: [SiTooltipService],\n host: {\n '[attr.aria-describedby]': 'describedBy'\n }\n})\nexport class SiFormValidationTooltipDirective implements OnDestroy, DoCheck {\n private static idCounter = 0;\n\n private tooltipService = inject(SiTooltipService);\n private formValidationService = inject(SiFormValidationErrorService);\n private formContainer = inject(SiFormContainerComponent, { optional: true });\n readonly formErrorMapper = input<SiFormValidationErrorMapper>();\n private ngControl = inject(NgControl);\n private elementRef = inject(ElementRef);\n\n private tooltipRef?: TooltipRef;\n private readonly errors = signal<SiFormError[]>([]);\n private currentErrors: ValidationErrors | null = null;\n private touched: boolean | null = null;\n\n // Use a counter to track how many events are matched that keep the tooltip active.\n // Active means we are listening to error changes.\n private activationCount = 0;\n protected readonly describedBy = `__si-form-validation-tooltip-${SiFormValidationTooltipDirective.idCounter++}`;\n\n ngDoCheck(): void {\n if (\n this.activationCount &&\n (this.currentErrors !== this.ngControl.errors || this.touched !== this.ngControl.touched)\n ) {\n this.currentErrors = this.ngControl.errors;\n this.touched = this.ngControl.touched;\n this.updateErrors();\n }\n }\n\n ngOnDestroy(): void {\n this.destroyTooltip();\n }\n\n @HostListener('focus')\n @HostListener('mouseenter')\n protected increaseActivation(): void {\n this.activationCount++;\n if (this.activationCount === 1) {\n this.updateErrors();\n }\n }\n\n private updateErrors(): void {\n const errors = this.formValidationService\n .resolveErrors(\n this.ngControl.name,\n this.currentErrors,\n this.formErrorMapper(),\n this.formContainer?.formErrorMapper()\n )\n .filter(error => !!error.message);\n\n if (!this.tooltipRef && errors.length && this.ngControl.touched) {\n this.tooltipRef = this.tooltipService.createTooltip({\n placement: 'auto',\n element: this.elementRef,\n describedBy: this.describedBy,\n injector: Injector.create({\n providers: [{ provide: SI_FORM_VALIDATION_TOOLTIP_DATA, useValue: this.errors }]\n }),\n tooltip: () => SiFormValidationTooltipComponent,\n tooltipContext: () => undefined\n });\n this.tooltipRef.show();\n } else if (this.tooltipRef && (!errors.length || this.ngControl.pristine)) {\n this.destroyTooltip();\n }\n\n this.errors.set(errors);\n }\n\n @HostListener('blur')\n @HostListener('mouseleave')\n protected decreaseActivation(): void {\n this.activationCount--;\n if (!this.activationCount) {\n this.destroyTooltip();\n }\n }\n\n private destroyTooltip(): void {\n this.tooltipRef?.destroy();\n this.tooltipRef = undefined;\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { Provider } from '@angular/core';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\nimport { buildDefaults, SiFormValidationErrorService } from './si-form-validation-error.service';\n\n/**\n * The error mapper is used to resolve an angular validation error to a {@link TranslatableString}.\n * It will be merged with already existing error mappers.\n */\nexport const provideFormValidationErrorMapper = (\n mapper: SiFormValidationErrorMapper\n): Provider => ({\n provide: SiFormValidationErrorService,\n // defaults must always be provided in case this is called in app.config\n useFactory: () => new SiFormValidationErrorService({ ...buildDefaults(), ...mapper })\n});\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { SiFormFieldsetComponent } from './form-fieldset/si-form-fieldset.component';\nimport { SiFormContainerComponent } from './si-form-container/si-form-container.component';\nimport { SiFormItemComponent } from './si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\nimport { provideFormValidationErrorMapper } from './si-form-validation-error.provider';\n\n@NgModule({\n imports: [SiFormContainerComponent, SiFormFieldsetComponent, SiFormItemComponent],\n exports: [SiFormContainerComponent, SiFormFieldsetComponent, SiFormItemComponent]\n})\nexport class SiFormModule {\n /**\n * Overrides the default configuration of the form module.\n *\n * @param errorMapper - The error mappers is used to resolve angular validation errors.\n * It will be merged with already existing error mappers.\n */\n // We have the errorMapper wrapped in an object, to allow the addition of more configuration fields without breaking the API.\n static withConfiguration({\n validationErrorMapper\n }: {\n validationErrorMapper: SiFormValidationErrorMapper;\n }): ModuleWithProviders<SiFormModule> {\n return {\n ngModule: SiFormModule,\n providers: [provideFormValidationErrorMapper(validationErrorMapper)]\n };\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-form-container/si-form-container.component';\nexport * from './si-form-item/si-form-item.component';\nexport * from './si-form-validation-tooltip/si-form-validation-tooltip.directive';\nexport * from './form-fieldset/si-form-fieldset.component';\nexport * from './si-form.module';\nexport * from './si-form-item.control';\nexport * from './si-form-validation-error.provider';\nexport * from './si-form-validation-error.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;AAGG;MA0BU,wBAAwB,CAAA;AACnC;;;AAGG;IACM,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAuB;AAE5C;;;;;;AAMG;IACM,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;;;AAIG;IACM,2BAA2B,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAe;AAE3D;;;;;;AAMG;IACM,2BAA2B,GAAG,KAAK,CAAC,KAAK,wEAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AA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AZ,YAAY,EAAA,OAAA,EAAA,CAHb,wBAAwB,EAAE,uBAAuB,EAAE,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACtE,wBAAwB,EAAE,uBAAuB,EAAE,mBAAmB,CAAA,EAAA,CAAA;wGAErE,YAAY,EAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,mBAAmB,CAAC;AACjF,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,mBAAmB;AACjF,iBAAA;;;ACfD;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-form.mjs","sources":["../../../../projects/element-ng/form/si-form-container/si-form-container.component.ts","../../../../projects/element-ng/form/si-form-container/si-form-container.component.html","../../../../projects/element-ng/form/form-fieldset/si-form-fieldset.component.ts","../../../../projects/element-ng/form/form-fieldset/si-form-fieldset.component.html","../../../../projects/element-ng/form/si-form-item.control.ts","../../../../projects/element-ng/form/si-form-validation-error.service.ts","../../../../projects/element-ng/form/si-form-item/si-form-field-native.control.ts","../../../../projects/element-ng/form/si-form-item/si-form-item.component.ts","../../../../projects/element-ng/form/si-form-item/si-form-item.component.html","../../../../projects/element-ng/form/si-form-validation-tooltip/si-form-validation-tooltip.component.ts","../../../../projects/element-ng/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.ts","../../../../projects/element-ng/form/si-form-validation-error.provider.ts","../../../../projects/element-ng/form/si-form.module.ts","../../../../projects/element-ng/form/index.ts","../../../../projects/element-ng/form/siemens-element-ng-form.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, Component, computed, inject, input } from '@angular/core';\nimport { AbstractControl, FormGroup } from '@angular/forms';\nimport { Breakpoints, SiResponsiveContainerDirective } from '@siemens/element-ng/resize-observer';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\n\nexport interface SiFormValidationError {\n controlName?: string;\n controlNameTranslationKey?: string;\n errorCode: TranslatableString;\n errorCodeTranslationKey?: string;\n errorParams?: any;\n}\n\n@Component({\n selector: 'si-form-container',\n imports: [NgTemplateOutlet, SiResponsiveContainerDirective],\n templateUrl: './si-form-container.component.html',\n styleUrl: './si-form-container.component.scss',\n host: {\n '[style.--si-form-label-width]': 'labelWidth()'\n }\n})\nexport class SiFormContainerComponent<TControl extends { [K in keyof TControl]: AbstractControl }> {\n /**\n * Set the form entity to the container to enable the overall form validation on in\n * the form container edit panel.\n */\n readonly form = input<FormGroup<TControl>>();\n\n /**\n * A form container in readonly mode is only displaying the form content without ability\n * to change it. The edit panel with typically save and cancel buttons is hidden. Set\n * to true to display the edit panel.\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n\n /**\n * The container hosts the form within a siResizeContainer to configure the breakpoint for\n * different screen sizes. Optionally, change the container breakpoints with the contentContainerBreakpoints\n * input.\n */\n readonly contentContainerBreakpoints = input<Breakpoints>();\n\n /**\n * In some scenarios, one may not want the form container to be responsible for the layout relevant\n * `si-container-[xs|...]` classes, but let this be done by a different, nested component, e.g. by a\n * group box. In these cases, the property should be set to true.\n *\n * @defaultValue false\n */\n readonly disableContainerBreakpoints = input(false, { transform: booleanAttribute });\n\n /**\n * Every validation error has an errorCode. This map holds translate keys for error codes. The keys can\n * be used to display a translated message for each validation error. The defaults old english readable\n * key defaults for the Angular standard validators of the `Validators` class like `min`, `max` or `required`.\n *\n * Use the input to set your own translate keys for the form validators you need.\n */\n readonly errorCodeTranslateKeyMap = input<\n Map<string, string> | SiFormValidationErrorMapper | undefined\n >();\n\n /**\n * A map the maps from control names of the form to their translate keys.\n * The initial map is empty and the user is responsible to add the required\n * translate keys.\n *\n * @defaultValue\n * ```\n * new Map<string, string>()\n * ```\n */\n readonly controlNameTranslateKeyMap = input(new Map<string, string>());\n\n /**\n * Disables the automatic error printing in all nested {@link SiFormItemComponent}. Error printing will be enabled by default in v46.\n *\n * @defaultValue false\n */\n readonly disableErrorPrinting = input(false, { transform: booleanAttribute });\n\n /**\n * A custom width value to be applied to all labels.\n *\n * @example labelWidth=\"100px\".\n */\n readonly labelWidth = input<string>();\n\n protected hasParentContainer = !!inject(SiFormContainerComponent, {\n optional: true,\n skipSelf: true\n });\n\n /** @internal */\n readonly formErrorMapper = computed(() => {\n const map = this.errorCodeTranslateKeyMap();\n\n let customMapper: SiFormValidationErrorMapper | undefined;\n if (map instanceof Map) {\n customMapper = Object.fromEntries(map.entries());\n } else if (map) {\n customMapper = map;\n }\n\n return {\n ...customMapper\n };\n });\n\n /**\n * Indicates whether the user interacted with the form.\n * @returns `true`, if the user selected at least one form element and\n * [blurred]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event} by losing focus again\n * (e.g. by setting focus on another element), or by editing the content of a form element.\n * Otherwise `false`.\n */\n get userInteractedWithForm(): boolean {\n const form = this.form();\n return !!form && (form.dirty || form.touched);\n }\n\n /**\n * Indicates whether content editor message shall be styled as success.\n * @returns `true`, if {@link SiFormContainerComponent.userInteractedWithForm} is true and\n * the form is valid.\n */\n get validFormContainerMessage(): boolean {\n return this.userInteractedWithForm && this.form()!.status === 'VALID';\n }\n\n /**\n * Indicates whether the content editor message shall be styled as warning.\n * @returns `true`, if {@link SiFormContainerComponent.userInteractedWithForm} is true and\n * the form is invalid.\n */\n get invalidFormContainerMessage(): boolean {\n return this.userInteractedWithForm && this.form()!.status === 'INVALID';\n }\n\n protected getControlNameTranslateKey(controlName: string): string | undefined {\n const controlNameTranslateKeyMap = this.controlNameTranslateKeyMap();\n if (!controlNameTranslateKeyMap) {\n return undefined;\n }\n return controlNameTranslateKeyMap.get(controlName) ?? controlName;\n }\n}\n","<div class=\"d-flex flex-column align-content-stretch flex-grow-1 flex-shrink-1\">\n @if (disableContainerBreakpoints() || hasParentContainer) {\n <div class=\"flex-grow-1 flex-shrink-1\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\" />\n </div>\n } @else {\n <div\n class=\"flex-grow-1 flex-shrink-1\"\n siResponsiveContainer\n [breakpoints]=\"contentContainerBreakpoints()\"\n >\n <ng-container *ngTemplateOutlet=\"contentTemplate\" />\n </div>\n }\n\n @if (!readonly()) {\n <div class=\"d-flex flex-row flex-nowrap flex-grow-0 flex-shrink-0 py-4\">\n <div\n class=\"d-flex flex-grow-1 flex-shrink-1 justify-content-end text-end overflow-hidden mx-6 my-auto\"\n [class.text-success]=\"validFormContainerMessage\"\n [class.text-danger]=\"invalidFormContainerMessage\"\n >\n <ng-content select=\"[si-form-container-message]\" />\n </div>\n\n <div class=\"m-auto flex-grow-0 flex-shrink-0\">\n <ng-content select=\"[si-form-container-buttons]\" />\n </div>\n </div>\n }\n</div>\n\n<ng-template #contentTemplate>\n <ng-content select=\"[si-form-container-content]\" />\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DoCheck,\n HostBinding,\n input,\n signal\n} from '@angular/core';\nimport { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormItemComponent } from '../si-form-item/si-form-item.component';\n\n@Component({\n selector: 'si-form-fieldset',\n imports: [SiTranslatePipe],\n templateUrl: './si-form-fieldset.component.html',\n styleUrl: '../si-form.shared.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n role: 'group',\n class: 'si-form-input',\n '[style.--si-form-label-width]': 'labelWidth()'\n }\n})\nexport class SiFormFieldsetComponent implements DoCheck {\n private static labelIdCounter = 0;\n\n /** The label for the entire fieldset. */\n readonly label = input.required<TranslatableString>();\n\n /** Overrides the parent label width. */\n readonly labelWidth = input<string>();\n\n /**\n * Adds a required marker to the label\n *\n * @defaultValue false\n */\n readonly required = input(false, { transform: booleanAttribute });\n\n /**\n * Switches all child inputs to inline mode\n *\n * @defaultValue false\n */\n readonly inline = input(false, { transform: booleanAttribute });\n\n private readonly formItems = signal<SiFormItemComponent[]>([]);\n\n /** @internal */\n readonly hasOnlyRadios = computed(() => {\n // Check if the fieldset only contains radio buttons.\n // We can safely assume that, if all items have the same control name and if there are at least 2 items.\n const items = this.formItems();\n if (items.length > 1) {\n const first = items[0];\n return items.every(item => item.ngControl()?.name === first.ngControl()?.name);\n }\n\n return false;\n });\n\n protected readonly errors = computed(() =>\n // All errors should be the same for radios, so we just take the first.\n this.hasOnlyRadios() ? this.formItems()[0].errors() : []\n );\n protected readonly touched = signal(false);\n protected readonly isRequired = computed(\n () =>\n this.required() || (this.hasOnlyRadios() && this.formItems().every(item => item.required()))\n );\n\n @HostBinding('attr.aria-labelledby')\n protected labelId = `__si-form-fieldset-label-${SiFormFieldsetComponent.labelIdCounter++}`;\n\n ngDoCheck(): void {\n this.touched.set(this.formItems().some(item => item.ngControl()?.touched));\n }\n\n /** @internal */\n registerFormItem(item: SiFormItemComponent): void {\n this.formItems.update(items => [...items, item]);\n }\n\n /** @internal */\n unregisterFormItem(item: SiFormItemComponent): void {\n this.formItems.update(items => items.filter(i => i !== item));\n }\n}\n","<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <ng-content />\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"touched()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { InjectionToken, Signal } from '@angular/core';\n\nexport const SI_FORM_ITEM_CONTROL = new InjectionToken<SiFormItemControl>('si.form-item.control');\n\n/**\n * Common interface for form item controls.\n * Controls that should be connected to {@link SiFormItemComponent} must implement this interface\n * and must be provided using the {@link SI_FORM_ITEM_CONTROL} token.\n */\nexport interface SiFormItemControl {\n /** The actual id of the control that should be used in the `for` attribute of a label. */\n readonly id?: string | Signal<string | undefined>;\n\n /**\n * ID that should be assigned to the label element inside the {@link SiFormItemComponent}.\n *\n * If the target control is not of type <i>input</i>, <i>select</i> or <i>button</i>, it cannot be referenced by a label.\n * Instead, aria-labelledby must be used to create a reference to a label.\n * In such a case, an implementation of {@link SiFormItemControl} must provide the id of the label in {@link labelledby}.\n * {@link SiFormItemComponent} will apply the id to the label\n * so that it can be used inside the control to reference it in the aria-labelledby attribute.\n */\n readonly labelledby?: string | Signal<string | undefined> | null;\n\n /**\n * Generated ID that the {@link SiFormItemComponent} will assign to the element containing the error messages.\n * Implementations of {@link SiFormItemControl} must generate this ID\n * and assign it to the `aria-describedby` attribute of their focusable elements.\n */\n readonly errormessageId: string | Signal<string>;\n\n /** If the control is meant to be used a checkbox. This affects the label positioning. */\n readonly isFormCheck?: boolean;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { inject, Injectable } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { t } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormError } from './si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\n\n/**\n * Creates the map of default error resolver.\n * This is a function as $localize requires an injection context.\n *\n * @internal\n */\nexport const buildDefaults = (): SiFormValidationErrorMapper => ({\n // Phone number specific\n notSupportedPhoneNumberCountry: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.PHONE_COUNTRY:Unsupported country/region code`\n ),\n invalidPhoneNumberFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.INVALID_PHONE:Invalid phone number`\n ),\n // IP address specific\n ipv4Address: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.IPV4:Invalid IPv4 address`),\n ipv6Address: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.IPV6:Invalid IPv6 address`),\n // Min / max\n max: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX:Max. {{max}}`),\n min: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN:Min. {{min}}`),\n maxlength: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_LENGTH:Max. {{requiredLength}} characters`\n ),\n minlength: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_LENGTH:Min. {{requiredLength}} characters`\n ),\n // Date specific\n dateFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT:Invalid date`),\n endBeforeStart: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.END_BEFORE_START:End date before start date`\n ),\n invalidEndDateFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT_END:Invalid end date`\n ),\n invalidStartDateFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT_START:Invalid start date`\n ),\n maxDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_DATE:Date prior to {{maxString}} required`\n ),\n minDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_DATE:Date after {{minString}} required`\n ),\n maxTime: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_TIME:Time prior to {{maxString}} required`\n ),\n minTime: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_TIME:Time after {{minString}} required`\n ),\n rangeAfterMaxDate: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.RANGE_AFTER_MAX_DATE:Period prior to {{maxString}} required`\n ),\n rangeBeforeMinDate: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.RANGE_BEFORE_MIN_DATE:Period after {{minString}} required`\n ),\n // Time units\n hours: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.HOURS:Integer between 0 and {{max}} required`\n ),\n minutes: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MINUTES:Integer between 0 and 59 required`),\n seconds: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.SECONDS:Integer between 0 and 59 required`),\n milliseconds: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MILLISECONDS:Integer between 0 and 999 required`\n ),\n // Various\n email: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.EMAIL:Invalid email address`),\n numberFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.NUMBER_FORMAT:Number required`),\n pattern: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.PATTERN:The value does not match the predefined pattern.`\n ),\n required: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED:Required`),\n requiredTrue: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED_TRUE:Required`)\n});\n\n/**\n * A service to resolve the validation error of an Angular control to a message or translation key.\n *\n * It can be provided using {@link provideFormValidationErrorMapper}.\n * If not provided, there will be a default instance in the root injector using only the default keys.\n *\n * There can be multiple instances to support providing in a lazy loaded module.\n * If the service cannot find a message, it will try to resolve it using a parent service if available.\n *\n * @internal\n */\n@Injectable({\n providedIn: 'root',\n useFactory: () => new SiFormValidationErrorService(buildDefaults())\n})\nexport class SiFormValidationErrorService {\n private readonly parent = inject(SiFormValidationErrorService, {\n optional: true,\n skipSelf: true\n });\n\n // eslint-disable-next-line @angular-eslint/prefer-inject\n constructor(private errorMapper: SiFormValidationErrorMapper) {}\n\n /**\n * Resolves the provided form errors to a list of {@link SiFormError}.\n * To resolution order is:\n * 1. componentMapper\n * 2. containerMapper using the controlName\n * 3. containerMapper without controlName\n * 4. errorMapper of the service using the controlName\n * 5. errorMapper of the service\n * 6: parent service\n */\n resolveErrors(\n controlName: string | number | null | undefined,\n errors: ValidationErrors | null,\n componentMapper?: SiFormValidationErrorMapper,\n containerMapper?: SiFormValidationErrorMapper\n ): SiFormError[] {\n if (!errors) {\n return [];\n }\n /*\n * Converts the angular error object (like: {required: true, minLength: {actualLength: 1, requiredLength: 3}})\n * to SiFormError[].\n * Therefore, the error key is look up in the error mappers.\n * If it can be resolved, the error will be printed using the resolved text.\n */\n return Object.entries(errors).map(([key, params]) =>\n this.resolveError(key, controlName, params, componentMapper, containerMapper)\n );\n }\n\n private resolveError(\n key: string,\n controlName: string | number | null | undefined,\n params: any,\n componentMapper?: SiFormValidationErrorMapper,\n containerMapper?: SiFormValidationErrorMapper\n ): SiFormError {\n return (\n this.resolveMessage(key, controlName, params, componentMapper) ??\n this.resolveMessage(key, controlName, params, containerMapper) ??\n this.resolveMessage(key, controlName, params, this.errorMapper) ??\n this.parent?.resolveError(key, controlName, params) ?? { key, params }\n );\n }\n\n private resolveMessage(\n key: string,\n controlName: string | number | null | undefined,\n params: any,\n mapper?: SiFormValidationErrorMapper\n ): SiFormError | undefined {\n if (!mapper) {\n return undefined;\n }\n\n const resolver = mapper[`${controlName}.${key}`] ?? mapper[key];\n\n if (resolver) {\n const message = typeof resolver === 'function' ? resolver(params) : resolver;\n return message ? { key, message, params } : undefined;\n }\n return undefined;\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ElementRef } from '@angular/core';\n\nimport { SiFormItemControl } from '../si-form-item.control';\n\n/**\n * This will be used by the `si-form-item` to create a form item control if none is provided.\n * This is typically the case for native form controls like `input`, `textarea` and `select`.\n * It allows accessing the control's id and type.\n */\nexport class SiFormFieldNativeControl implements SiFormItemControl {\n private static idCounter = 0;\n private static readonly supportedTypes = ['INPUT', 'TEXTAREA', 'SELECT', 'METER', 'PROGRESS'];\n\n static createForElementRef(\n element: ElementRef<HTMLElement> | undefined\n ): SiFormFieldNativeControl | undefined {\n if (!element) {\n return undefined;\n }\n\n if (!SiFormFieldNativeControl.supportedTypes.includes(element.nativeElement.tagName)) {\n return undefined;\n }\n\n return new SiFormFieldNativeControl(element.nativeElement);\n }\n\n private constructor(private readonly element: HTMLElement) {\n if (!element.id) {\n element.id = `__si-form-field-native-control-${SiFormFieldNativeControl.idCounter++}`;\n }\n\n this.errormessageId = `${this.id}-errormessage`;\n if (element instanceof HTMLInputElement) {\n this.isFormCheck = element.type === 'checkbox' || element.type === 'radio';\n } else {\n this.isFormCheck = false;\n }\n\n element.setAttribute('aria-describedby', this.errormessageId);\n }\n\n isFormCheck: boolean;\n\n get id(): string {\n return this.element?.id;\n }\n\n set id(value: string) {\n this.element.id = value;\n }\n\n readonly errormessageId: string;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentChecked,\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n inject,\n input,\n isSignal,\n OnChanges,\n OnDestroy,\n OnInit,\n signal,\n SimpleChanges\n} from '@angular/core';\nimport {\n FormControl,\n NgControl,\n RequiredValidator,\n ValidationErrors,\n ValidatorFn\n} from '@angular/forms';\nimport { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormFieldsetComponent } from '../form-fieldset/si-form-fieldset.component';\nimport { SiFormContainerComponent } from '../si-form-container/si-form-container.component';\nimport { SI_FORM_ITEM_CONTROL, SiFormItemControl } from '../si-form-item.control';\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\nimport { SiFormValidationErrorService } from '../si-form-validation-error.service';\nimport { SiFormFieldNativeControl } from './si-form-field-native.control';\n\n/** @internal */\nexport interface SiFormError {\n key: string;\n message?: TranslatableString;\n params: any;\n}\n\n@Component({\n selector: 'si-form-item',\n imports: [SiTranslatePipe, NgTemplateOutlet],\n templateUrl: './si-form-item.component.html',\n styleUrl: '../si-form.shared.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.required]': 'required()',\n '[style.--si-form-label-width]': 'labelWidthCssVar()',\n '[class.form-check]': 'fieldControl()?.isFormCheck',\n '[class.form-check-inline]': 'fieldset?.inline()',\n '[class.si-form-input]': '!fieldset'\n }\n})\nexport class SiFormItemComponent\n implements AfterContentInit, AfterContentChecked, OnChanges, OnInit, OnDestroy\n{\n /**\n * The label to be displayed in the form item.\n * It will be translated if a translation key is available.\n */\n readonly label = input.required<TranslatableString>();\n\n /**\n * A custom width value to be applied to the label.\n * A value of 0 is allowed as well to visually hide away the label area.\n *\n * Numbers will be converted to pixels.\n * Using numbers is discouraged and might be dropped.\n *\n * @example labelWidth=\"100px\"\n */\n readonly labelWidth = input<string | number>();\n\n /**\n * Disables the automatic error printing. Error printing will be enabled by default in v46.\n *\n * @defaultValue false\n */\n readonly disableErrorPrinting = input(false, { transform: booleanAttribute });\n\n readonly formErrorMapper = input<SiFormValidationErrorMapper>();\n\n /**\n * Defines that this form item is required for the overall form to be valid.\n *\n * @defaultValue false\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly requiredInput = input(false, { transform: booleanAttribute, alias: 'required' });\n\n protected readonly fieldControlQuery = contentChild(SI_FORM_ITEM_CONTROL, { descendants: true });\n /** @internal */\n readonly ngControl = contentChild(NgControl, { descendants: true });\n protected readonly controlElementRef = contentChild<NgControl, ElementRef<HTMLElement>>(\n NgControl,\n {\n read: ElementRef,\n descendants: true\n }\n );\n protected readonly requiredValidator = contentChild(RequiredValidator, { descendants: true });\n\n /** @internal */\n readonly errors = signal<SiFormError[]>([]);\n\n protected fieldset = inject(SiFormFieldsetComponent, { optional: true });\n protected container = inject(SiFormContainerComponent, { optional: true });\n\n protected get formItemId(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.id) ? (fieldControl.id() ?? null) : (fieldControl?.id ?? null);\n }\n\n protected get formItemLabelledBy(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.labelledby)\n ? (fieldControl.labelledby() ?? null)\n : (fieldControl?.labelledby ?? null);\n }\n\n protected get formItemErrormessageId(): string | null {\n const fieldControl = this.fieldControl();\n return isSignal(fieldControl?.errormessageId)\n ? (fieldControl?.errormessageId() ?? null)\n : (fieldControl?.errormessageId ?? null);\n }\n\n protected readonly fieldControl = computed(\n () => this.fieldControlQuery() ?? this.fieldControlNative()\n );\n\n private validationErrorService = inject(SiFormValidationErrorService);\n private requiredTestControl = new FormControl('');\n private validator?: ValidatorFn | null;\n private previousErrors?: ValidationErrors | null;\n private readonly hasRequiredValidator = signal(false);\n private readonly fieldControlNative = signal<SiFormItemControl | undefined>(undefined);\n\n protected readonly labelWidthCssVar = computed(() => {\n const labelWidth = this.labelWidth();\n if (typeof labelWidth === 'number') {\n return `${labelWidth}px`;\n }\n\n return labelWidth;\n });\n\n protected readonly printErrors = computed(() => {\n return !this.disableErrorPrinting() && !(this.container?.disableErrorPrinting() ?? false);\n });\n\n /** @internal */\n readonly required = computed(() => this.requiredInput() || this.hasRequiredValidator());\n\n ngOnChanges(changes: SimpleChanges<this>): void {\n if (changes.formErrorMapper) {\n this.updateValidationMessages();\n }\n }\n\n ngOnInit(): void {\n this.fieldset?.registerFormItem(this);\n }\n\n ngAfterContentInit(): void {\n if (!this.fieldControlQuery()) {\n this.fieldControlNative.set(\n SiFormFieldNativeControl.createForElementRef(this.controlElementRef())\n );\n }\n }\n\n ngAfterContentChecked(): void {\n this.updateRequiredState();\n this.updateValidationMessages();\n }\n\n ngOnDestroy(): void {\n this.fieldset?.unregisterFormItem(this);\n }\n\n private updateRequiredState(): void {\n const requiredValidator = this.requiredValidator();\n if (requiredValidator) {\n // the easy case: required validator is applied in the template: <input required>\n this.hasRequiredValidator.set(booleanAttribute(requiredValidator.required));\n } else {\n // No required validator is applied via template, it could still be applied in the code.\n // If validators are applied via code, the validator object will change of controls.\n // So we only need to check for required if the validator object was changed.\n const validator = this.ngControl()?.control?.validator;\n\n if (this.validator !== validator) {\n this.validator = validator;\n this.requiredTestControl.setValidators(this.validator ?? null);\n this.requiredTestControl.updateValueAndValidity();\n this.hasRequiredValidator.set(this.requiredTestControl.errors?.required ?? false);\n }\n }\n }\n\n private updateValidationMessages(): void {\n const control = this.ngControl();\n const currentErrors = control?.errors;\n if (this.previousErrors !== currentErrors) {\n if (control && this.printErrors()) {\n this.errors.set(\n this.validationErrorService\n .resolveErrors(\n control.name,\n control.errors,\n this.formErrorMapper(),\n this.container?.formErrorMapper()\n )\n .filter(error => error.message)\n );\n this.previousErrors = currentErrors;\n } else if (this.errors().length) {\n this.errors.set([]);\n }\n }\n }\n}\n","<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { Component, inject, InjectionToken, Signal } from '@angular/core';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormError } from '../si-form-item/si-form-item.component';\n\nexport const SI_FORM_VALIDATION_TOOLTIP_DATA = new InjectionToken<Signal<SiFormError[]>>(\n 'SiFormValidationTooltipData'\n);\n\n@Component({\n selector: 'si-form-validation-tooltip',\n imports: [SiTranslatePipe],\n template: `\n @for (error of errors(); track error.key) {\n <div>{{ error.message | translate: error.params }}</div>\n }\n `,\n host: {\n 'class': 'd-flex flex-column gap-2 text-start'\n }\n})\nexport class SiFormValidationTooltipComponent {\n protected errors = inject(SI_FORM_VALIDATION_TOOLTIP_DATA);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n Directive,\n DoCheck,\n ElementRef,\n HostListener,\n inject,\n Injector,\n input,\n OnDestroy,\n signal\n} from '@angular/core';\nimport { NgControl, ValidationErrors } from '@angular/forms';\nimport { SiTooltipService, TooltipRef } from '@siemens/element-ng/tooltip';\n\nimport { SiFormContainerComponent } from '../si-form-container/si-form-container.component';\nimport { SiFormError } from '../si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\nimport { SiFormValidationErrorService } from '../si-form-validation-error.service';\nimport {\n SI_FORM_VALIDATION_TOOLTIP_DATA,\n SiFormValidationTooltipComponent\n} from './si-form-validation-tooltip.component';\n\n/**\n * Directive to show a tooltip with validation errors of a form control.\n *\n * In general, `si-form-item` should be used.\n * This directive is intended only for cases where the tooltip cannot be shown inline.\n * This is typically the case for tables and lists where the validation message would break the layout.\n *\n * @example\n * ```html\n * <input siFormValidationTooltip [formControl]=\"control\" />\n * ```\n */\n@Directive({\n selector: '[siFormValidationTooltip]',\n providers: [SiTooltipService],\n host: {\n '[attr.aria-describedby]': 'describedBy'\n }\n})\nexport class SiFormValidationTooltipDirective implements OnDestroy, DoCheck {\n private static idCounter = 0;\n\n private tooltipService = inject(SiTooltipService);\n private formValidationService = inject(SiFormValidationErrorService);\n private formContainer = inject(SiFormContainerComponent, { optional: true });\n readonly formErrorMapper = input<SiFormValidationErrorMapper>();\n private ngControl = inject(NgControl);\n private elementRef = inject(ElementRef);\n\n private tooltipRef?: TooltipRef;\n private readonly errors = signal<SiFormError[]>([]);\n private currentErrors: ValidationErrors | null = null;\n private touched: boolean | null = null;\n\n // Use a counter to track how many events are matched that keep the tooltip active.\n // Active means we are listening to error changes.\n private activationCount = 0;\n protected readonly describedBy = `__si-form-validation-tooltip-${SiFormValidationTooltipDirective.idCounter++}`;\n\n ngDoCheck(): void {\n if (\n this.activationCount &&\n (this.currentErrors !== this.ngControl.errors || this.touched !== this.ngControl.touched)\n ) {\n this.currentErrors = this.ngControl.errors;\n this.touched = this.ngControl.touched;\n this.updateErrors();\n }\n }\n\n ngOnDestroy(): void {\n this.destroyTooltip();\n }\n\n @HostListener('focus')\n @HostListener('mouseenter')\n protected increaseActivation(): void {\n this.activationCount++;\n if (this.activationCount === 1) {\n this.updateErrors();\n }\n }\n\n private updateErrors(): void {\n const errors = this.formValidationService\n .resolveErrors(\n this.ngControl.name,\n this.currentErrors,\n this.formErrorMapper(),\n this.formContainer?.formErrorMapper()\n )\n .filter(error => !!error.message);\n\n if (!this.tooltipRef && errors.length && this.ngControl.touched) {\n this.tooltipRef = this.tooltipService.createTooltip({\n placement: 'auto',\n element: this.elementRef,\n describedBy: this.describedBy,\n injector: Injector.create({\n providers: [{ provide: SI_FORM_VALIDATION_TOOLTIP_DATA, useValue: this.errors }]\n }),\n tooltip: () => SiFormValidationTooltipComponent,\n tooltipContext: () => undefined\n });\n this.tooltipRef.show();\n } else if (this.tooltipRef && (!errors.length || this.ngControl.pristine)) {\n this.destroyTooltip();\n }\n\n this.errors.set(errors);\n }\n\n @HostListener('blur')\n @HostListener('mouseleave')\n protected decreaseActivation(): void {\n this.activationCount--;\n if (!this.activationCount) {\n this.destroyTooltip();\n }\n }\n\n private destroyTooltip(): void {\n this.tooltipRef?.destroy();\n this.tooltipRef = undefined;\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { Provider } from '@angular/core';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\nimport { buildDefaults, SiFormValidationErrorService } from './si-form-validation-error.service';\n\n/**\n * The error mapper is used to resolve an angular validation error to a {@link TranslatableString}.\n * It will be merged with already existing error mappers.\n */\nexport const provideFormValidationErrorMapper = (\n mapper: SiFormValidationErrorMapper\n): Provider => ({\n provide: SiFormValidationErrorService,\n // defaults must always be provided in case this is called in app.config\n useFactory: () => new SiFormValidationErrorService({ ...buildDefaults(), ...mapper })\n});\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { SiFormFieldsetComponent } from './form-fieldset/si-form-fieldset.component';\nimport { SiFormContainerComponent } from './si-form-container/si-form-container.component';\nimport { SiFormItemComponent } from './si-form-item/si-form-item.component';\nimport { SiFormValidationErrorMapper } from './si-form-validation-error.model';\nimport { provideFormValidationErrorMapper } from './si-form-validation-error.provider';\n\n@NgModule({\n imports: [SiFormContainerComponent, SiFormFieldsetComponent, SiFormItemComponent],\n exports: [SiFormContainerComponent, SiFormFieldsetComponent, SiFormItemComponent]\n})\nexport class SiFormModule {\n /**\n * Overrides the default configuration of the form module.\n *\n * @param errorMapper - The error mappers is used to resolve angular validation errors.\n * It will be merged with already existing error mappers.\n */\n // We have the errorMapper wrapped in an object, to allow the addition of more configuration fields without breaking the API.\n static withConfiguration({\n validationErrorMapper\n }: {\n validationErrorMapper: SiFormValidationErrorMapper;\n }): ModuleWithProviders<SiFormModule> {\n return {\n ngModule: SiFormModule,\n providers: [provideFormValidationErrorMapper(validationErrorMapper)]\n };\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-form-container/si-form-container.component';\nexport * from './si-form-item/si-form-item.component';\nexport * from './si-form-validation-tooltip/si-form-validation-tooltip.directive';\nexport * from './form-fieldset/si-form-fieldset.component';\nexport * from './si-form.module';\nexport * from './si-form-item.control';\nexport * from './si-form-validation-error.provider';\nexport * from './si-form-validation-error.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;AAGG;MA0BU,wBAAwB,CAAA;AACnC;;;AAGG;IACM,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAuB;AAE5C;;;;;;AAMG;IACM,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;;;AAIG;IACM,2BAA2B,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAe;AAE3D;;;;;;AAMG;IACM,2BAA2B,GAAG,KAAK,CAAC,KAAK,wEAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEpF;;;;;;AAMG;IACM,wBAAwB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,0BAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAEtC;AAEH;;;;;;;;;AASG;AACM,IAAA,0BAA0B,GAAG,KAAK,CAAC,IAAI,GAAG,EAAkB,sEAAC;AAEtE;;;;AAIG;IACM,oBAAoB,GAAG,KAAK,CAAC,KAAK,iEAAI,SAAS,EAAE,g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,EAAE,uBAAuB,EAAE,mBAAmB,CAAC;AACjF,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,mBAAmB;AACjF,iBAAA;;;ACfD;;;AAGG;;ACHH;;AAEG;;;;"}
@@ -191,7 +191,7 @@ const getKeyPath = (key) => {
191
191
  if (!key) {
192
192
  return [];
193
193
  }
194
- let path = [];
194
+ let path;
195
195
  if (typeof key === 'string') {
196
196
  const k = !key.includes('[') ? key : key.replace(/\[(\w+)\]/g, '.$1');
197
197
  path = k.includes('.') ? k.split('.') : [k];