@siemens/element-ng 48.0.2 → 48.1.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.
- package/README.md +9 -0
- package/accordion/index.d.ts +2 -1
- package/avatar/index.d.ts +3 -4
- package/card/index.d.ts +1 -1
- package/circle-status/index.d.ts +2 -1
- package/dashboard/index.d.ts +5 -1
- package/datepicker/index.d.ts +6 -2
- package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-avatar.mjs +32 -36
- package/fesm2022/siemens-element-ng-avatar.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-card.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +2 -2
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-dashboard.mjs +32 -35
- package/fesm2022/siemens-element-ng-dashboard.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-datepicker.mjs +15 -3
- package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-file-uploader.mjs +7 -0
- package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-filtered-search.mjs +21 -12
- package/fesm2022/siemens-element-ng-filtered-search.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-form.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-formly.mjs +18 -18
- package/fesm2022/siemens-element-ng-formly.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-list-details.mjs +8 -2
- package/fesm2022/siemens-element-ng-list-details.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-main-detail-container.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-navbar-vertical.mjs +15 -2
- package/fesm2022/siemens-element-ng-navbar-vertical.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-notification-item.mjs +71 -0
- package/fesm2022/siemens-element-ng-notification-item.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-progressbar.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-resize-observer.mjs +0 -1
- package/fesm2022/siemens-element-ng-resize-observer.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-result-details-list.mjs +5 -0
- package/fesm2022/siemens-element-ng-result-details-list.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-split.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-status-bar.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-tabs.mjs +41 -8
- package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-tree-view.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -1
- package/file-uploader/index.d.ts +3 -1
- package/filter-bar/index.d.ts +4 -2
- package/form/index.d.ts +28 -29
- package/inline-notification/index.d.ts +3 -2
- package/landing-page/index.d.ts +3 -2
- package/language-switcher/index.d.ts +3 -1
- package/list-details/index.d.ts +2 -0
- package/main-detail-container/index.d.ts +4 -4
- package/navbar/index.d.ts +1 -1
- package/notification-item/index.d.ts +141 -0
- package/notification-item/package.json +3 -0
- package/package.json +19 -15
- package/progressbar/index.d.ts +3 -3
- package/result-details-list/index.d.ts +4 -2
- package/select/index.d.ts +7 -5
- package/sort-bar/index.d.ts +3 -3
- package/split/index.d.ts +3 -2
- package/status-bar/index.d.ts +3 -2
- package/tabs/index.d.ts +15 -1
- package/template-i18n.json +1 -0
- package/translate/index.d.ts +1 -0
- package/tree-view/index.d.ts +4 -4
- package/wizard/index.d.ts +2 -1
|
@@ -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 - 2025\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';\n\nimport { SiFormValidationErrorMapper } from '../si-form-validation-error.model';\n\nexport interface SiFormValidationError {\n controlName?: string;\n controlNameTranslationKey?: string;\n errorCode: string;\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 - 2025\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 } 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<string>();\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 - 2025\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 * This property will be required with v48.\n */\n readonly errormessageId?: string | Signal<string | undefined>;\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 - 2025\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 min: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN:The value is too small`),\n max: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX:The value is too large.`),\n required: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED:A value is required.`),\n requiredTrue: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED_TRUE:The value should be true.`\n ),\n email: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.EMAIL:The email is not valid.`),\n minlength: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_LENGTH:The minimum number of characters is not met.`\n ),\n maxlength: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_LENGTH:A maximum number of characters is exceeded.`\n ),\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 pattern: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.PATTERN:The value does not match the predefined pattern.`\n ),\n numberFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.NUMBER_FORMAT:The value is not a valid number.`\n ),\n dateFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT:Invalid date format.`),\n maxDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_DATE:The date is too far in the future.`\n ),\n minDate: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_DATE:The date is too far in the past.`)\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 - 2025\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 - 2025\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 } 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?: string;\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<string | null>();\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 - 2025\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'\n }\n})\nexport class SiFormValidationTooltipComponent {\n protected errors = inject(SI_FORM_VALIDATION_TOOLTIP_DATA);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\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 });\n this.tooltipRef.show(SiFormValidationTooltipComponent);\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 - 2025\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 - 2025\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 - 2025\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;MAyBU,wBAAwB,CAAA;AACnC;;;AAGG;IACM,IAAI,GAAG,KAAK,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BQ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAZ,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 - 2025\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 - 2025\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 - 2025\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 * This property will be required with v48.\n */\n readonly errormessageId?: string | Signal<string | undefined>;\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 - 2025\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 min: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN:The value is too small`),\n max: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX:The value is too large.`),\n required: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED:A value is required.`),\n requiredTrue: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.REQUIRED_TRUE:The value should be true.`\n ),\n email: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.EMAIL:The email is not valid.`),\n minlength: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_LENGTH:The minimum number of characters is not met.`\n ),\n maxlength: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_LENGTH:A maximum number of characters is exceeded.`\n ),\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 pattern: t(\n () =>\n $localize`:@@SI_FORM_CONTAINER.ERROR.PATTERN:The value does not match the predefined pattern.`\n ),\n numberFormat: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.NUMBER_FORMAT:The value is not a valid number.`\n ),\n dateFormat: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.DATE_FORMAT:Invalid date format.`),\n maxDate: t(\n () => $localize`:@@SI_FORM_CONTAINER.ERROR.MAX_DATE:The date is too far in the future.`\n ),\n minDate: t(() => $localize`:@@SI_FORM_CONTAINER.ERROR.MIN_DATE:The date is too far in the past.`)\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 - 2025\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 - 2025\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<TranslatableString | null>();\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 - 2025\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'\n }\n})\nexport class SiFormValidationTooltipComponent {\n protected errors = inject(SI_FORM_VALIDATION_TOOLTIP_DATA);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\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 });\n this.tooltipRef.show(SiFormValidationTooltipComponent);\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 - 2025\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 - 2025\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 - 2025\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,EAAuB;AAE5C;;;;;;AAMG;IACM,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAEjE;;;;AAIG;IACM,2BAA2B,GAAG,KAAK,EAAe;AAE3D;;;;;;AAMG;IACM,2BAA2B,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAEpF;;;;;;AAMG;IACM,wBAAwB,GAAG,KAAK,EAEtC;AAEH;;;;;;;;;AASG;AACM,IAAA,0BAA0B,GAAG,KAAK,CAAC,IAAI,GAAG,EAAkB,CAAC;AAEtE;;;;AAIG;IACM,oBAAoB,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE7E;;;;AAIG;IAC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;AACjF,iBAAA;;;ACfD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -534,11 +534,11 @@ class SiFormlyAccordionComponent extends FieldType {
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyAccordionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
537
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyAccordionComponent, isStandalone: true, selector: "si-formly-accordion", usesInheritance: true, ngImport: i0, template: "<si-accordion\n #accordion\n [expandFirstPanel]=\"props.expandFirstPanel ?? accordion.expandFirstPanel()\"\n [fullHeight]=\"props.fullHeight ?? accordion.fullHeight()\"\n [hcollapsed]=\"props.hcollapsed ?? accordion.collapsed()\"\n>\n @for (f of field.fieldGroup; track $index) {\n <si-collapsible-panel\n #panel\n [heading]=\"f.props?.label\"\n [contentCssClasses]=\"f.props?.cssClasses ?? 'p-5'\"\n [headerCssClasses]=\"f.props?.headerCssClasses ?? panel.headerCssClasses()\"\n [contentBgClasses]=\"f.props?.contentBgClasses ?? panel.contentBgClasses()\"\n [badge]=\"f.props?.badge ?? panel.badge()\"\n [badgeColor]=\"f.props?.badgeColor ?? panel.badgeColor()\"\n [icon]=\"f.props?.icon ?? panel.icon()\"\n [opened]=\"f.props?.opened ?? panel.opened()\"\n [disabled]=\"f.props?.disabled ?? panel.disabled()\"\n [colorVariant]=\"f.props?.colorVariant ?? panel.colorVariant()\"\n (panelToggle)=\"panelToggle($event, f)\"\n >\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </si-collapsible-panel>\n }\n</si-accordion>\n", dependencies: [{ kind: "component", type: SiCollapsiblePanelComponent, selector: "si-collapsible-panel", inputs: ["heading", "headerCssClasses", "contentBgClasses", "contentCssClasses", "opened", "icon", "disabled", "colorVariant", "badge", "badgeColor"], outputs: ["openedChange", "panelToggle"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i1$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: SiAccordionComponent, selector: "si-accordion", inputs: ["expandFirstPanel", "fullHeight", "hcollapsed"] }] });
|
|
537
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyAccordionComponent, isStandalone: true, selector: "si-formly-accordion", usesInheritance: true, ngImport: i0, template: "<si-accordion\n #accordion\n [expandFirstPanel]=\"props.expandFirstPanel ?? accordion.expandFirstPanel()\"\n [fullHeight]=\"props.fullHeight ?? accordion.fullHeight()\"\n [hcollapsed]=\"props.hcollapsed ?? accordion.collapsed()\"\n>\n @for (f of field.fieldGroup; track $index) {\n <si-collapsible-panel\n #panel\n [heading]=\"f.props?.label\"\n [contentCssClasses]=\"f.props?.cssClasses ?? 'p-5'\"\n [headerCssClasses]=\"f.props?.headerCssClasses ?? panel.headerCssClasses()\"\n [contentBgClasses]=\"f.props?.contentBgClasses ?? panel.contentBgClasses()\"\n [badge]=\"f.props?.badge ?? panel.badge()\"\n [badgeColor]=\"f.props?.badgeColor ?? panel.badgeColor()\"\n [icon]=\"f.props?.icon ?? panel.icon()\"\n [opened]=\"f.props?.opened ?? panel.opened()\"\n [disabled]=\"f.props?.disabled ?? panel.disabled()\"\n [colorVariant]=\"f.props?.colorVariant ?? panel.colorVariant()\"\n (panelToggle)=\"panelToggle($event, f)\"\n >\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </si-collapsible-panel>\n }\n</si-accordion>\n", dependencies: [{ kind: "component", type: SiCollapsiblePanelComponent, selector: "si-collapsible-panel", inputs: ["heading", "headerCssClasses", "contentBgClasses", "contentCssClasses", "opened", "icon", "disabled", "colorVariant", "badge", "badgeColor"], outputs: ["openedChange", "panelToggle"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i1$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: SiAccordionComponent, selector: "si-accordion", inputs: ["expandFirstPanel", "fullHeight", "hcollapsed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
538
538
|
}
|
|
539
539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyAccordionComponent, decorators: [{
|
|
540
540
|
type: Component,
|
|
541
|
-
args: [{ selector: 'si-formly-accordion', imports: [SiCollapsiblePanelComponent, FormlyModule, SiAccordionComponent], template: "<si-accordion\n #accordion\n [expandFirstPanel]=\"props.expandFirstPanel ?? accordion.expandFirstPanel()\"\n [fullHeight]=\"props.fullHeight ?? accordion.fullHeight()\"\n [hcollapsed]=\"props.hcollapsed ?? accordion.collapsed()\"\n>\n @for (f of field.fieldGroup; track $index) {\n <si-collapsible-panel\n #panel\n [heading]=\"f.props?.label\"\n [contentCssClasses]=\"f.props?.cssClasses ?? 'p-5'\"\n [headerCssClasses]=\"f.props?.headerCssClasses ?? panel.headerCssClasses()\"\n [contentBgClasses]=\"f.props?.contentBgClasses ?? panel.contentBgClasses()\"\n [badge]=\"f.props?.badge ?? panel.badge()\"\n [badgeColor]=\"f.props?.badgeColor ?? panel.badgeColor()\"\n [icon]=\"f.props?.icon ?? panel.icon()\"\n [opened]=\"f.props?.opened ?? panel.opened()\"\n [disabled]=\"f.props?.disabled ?? panel.disabled()\"\n [colorVariant]=\"f.props?.colorVariant ?? panel.colorVariant()\"\n (panelToggle)=\"panelToggle($event, f)\"\n >\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </si-collapsible-panel>\n }\n</si-accordion>\n" }]
|
|
541
|
+
args: [{ selector: 'si-formly-accordion', imports: [SiCollapsiblePanelComponent, FormlyModule, SiAccordionComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<si-accordion\n #accordion\n [expandFirstPanel]=\"props.expandFirstPanel ?? accordion.expandFirstPanel()\"\n [fullHeight]=\"props.fullHeight ?? accordion.fullHeight()\"\n [hcollapsed]=\"props.hcollapsed ?? accordion.collapsed()\"\n>\n @for (f of field.fieldGroup; track $index) {\n <si-collapsible-panel\n #panel\n [heading]=\"f.props?.label\"\n [contentCssClasses]=\"f.props?.cssClasses ?? 'p-5'\"\n [headerCssClasses]=\"f.props?.headerCssClasses ?? panel.headerCssClasses()\"\n [contentBgClasses]=\"f.props?.contentBgClasses ?? panel.contentBgClasses()\"\n [badge]=\"f.props?.badge ?? panel.badge()\"\n [badgeColor]=\"f.props?.badgeColor ?? panel.badgeColor()\"\n [icon]=\"f.props?.icon ?? panel.icon()\"\n [opened]=\"f.props?.opened ?? panel.opened()\"\n [disabled]=\"f.props?.disabled ?? panel.disabled()\"\n [colorVariant]=\"f.props?.colorVariant ?? panel.colorVariant()\"\n (panelToggle)=\"panelToggle($event, f)\"\n >\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </si-collapsible-panel>\n }\n</si-accordion>\n" }]
|
|
542
542
|
}] });
|
|
543
543
|
|
|
544
544
|
/**
|
|
@@ -547,11 +547,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
547
547
|
*/
|
|
548
548
|
class SiFormlyArrayComponent extends FieldArrayType {
|
|
549
549
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyArrayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
550
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyArrayComponent, isStandalone: true, selector: "si-formly-array", usesInheritance: true, ngImport: i0, template: "<div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (field of field.fieldGroup; track $index) {\n <div class=\"row\">\n <formly-field class=\"col-10\" [field]=\"field\" />\n @if (!props.readonly && !props.disabled && !props.noRemove) {\n <div class=\"col-1 text-end\">\n @if (props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\">\n {{ props.removeText | translate }}\n </button>\n }\n @if (!props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\"> - </button>\n }\n </div>\n }\n </div>\n }\n @if (!props.readonly && !props.disabled && !props.noAdd) {\n <div class=\"d-flex flex-row-reverse\">\n @if (props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\">\n {{ props.addText | translate }}\n </button>\n }\n @if (!props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\"> + </button>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
|
|
550
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyArrayComponent, isStandalone: true, selector: "si-formly-array", usesInheritance: true, ngImport: i0, template: "<div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (field of field.fieldGroup; track $index) {\n <div class=\"row\">\n <formly-field class=\"col-10\" [field]=\"field\" />\n @if (!props.readonly && !props.disabled && !props.noRemove) {\n <div class=\"col-1 text-end\">\n @if (props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\">\n {{ props.removeText | translate }}\n </button>\n }\n @if (!props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\"> - </button>\n }\n </div>\n }\n </div>\n }\n @if (!props.readonly && !props.disabled && !props.noAdd) {\n <div class=\"d-flex flex-row-reverse\">\n @if (props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\">\n {{ props.addText | translate }}\n </button>\n }\n @if (!props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\"> + </button>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
551
551
|
}
|
|
552
552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyArrayComponent, decorators: [{
|
|
553
553
|
type: Component,
|
|
554
|
-
args: [{ selector: 'si-formly-array', imports: [FormlyModule, SiTranslatePipe], template: "<div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (field of field.fieldGroup; track $index) {\n <div class=\"row\">\n <formly-field class=\"col-10\" [field]=\"field\" />\n @if (!props.readonly && !props.disabled && !props.noRemove) {\n <div class=\"col-1 text-end\">\n @if (props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\">\n {{ props.removeText | translate }}\n </button>\n }\n @if (!props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\"> - </button>\n }\n </div>\n }\n </div>\n }\n @if (!props.readonly && !props.disabled && !props.noAdd) {\n <div class=\"d-flex flex-row-reverse\">\n @if (props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\">\n {{ props.addText | translate }}\n </button>\n }\n @if (!props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\"> + </button>\n }\n </div>\n }\n</div>\n" }]
|
|
554
|
+
args: [{ selector: 'si-formly-array', imports: [FormlyModule, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (field of field.fieldGroup; track $index) {\n <div class=\"row\">\n <formly-field class=\"col-10\" [field]=\"field\" />\n @if (!props.readonly && !props.disabled && !props.noRemove) {\n <div class=\"col-1 text-end\">\n @if (props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\">\n {{ props.removeText | translate }}\n </button>\n }\n @if (!props.removeText) {\n <button class=\"btn btn-danger\" type=\"button\" (click)=\"remove($index)\"> - </button>\n }\n </div>\n }\n </div>\n }\n @if (!props.readonly && !props.disabled && !props.noAdd) {\n <div class=\"d-flex flex-row-reverse\">\n @if (props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\">\n {{ props.addText | translate }}\n </button>\n }\n @if (!props.addText) {\n <button class=\"btn btn-primary\" type=\"button\" (click)=\"add()\"> + </button>\n }\n </div>\n }\n</div>\n" }]
|
|
555
555
|
}] });
|
|
556
556
|
|
|
557
557
|
/**
|
|
@@ -608,11 +608,11 @@ class SiFormlyObjectGridComponent extends FieldType {
|
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
610
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
611
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectGridComponent, isStandalone: true, selector: "si-formly-object-grid", usesInheritance: true, ngImport: i0, template: "@if (props.hidden !== true) {\n <div>\n @if (props.label && props.plain !== true) {\n <b>{{ props.label }}</b>\n }\n @if (props.description && props.plain !== true) {\n <p>{{ props.description }}</p>\n }\n @if (displayErrorMessages) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n <div [class]=\"containerClass\">\n @for (row of rows; track $index) {\n <div [class]=\"row.classes\">\n @for (column of row.columns; track $index) {\n <div [class]=\"column.classes\">\n <si-form-container>\n <div si-form-container-content>\n @for (f of column.fields; track $index) {\n <formly-field class=\"d-block\" [field]=\"f\" />\n }\n </div>\n </si-form-container>\n </div>\n }\n </div>\n }\n </div>\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: SiFormContainerComponent, selector: "si-form-container", inputs: ["form", "readonly", "contentContainerBreakpoints", "disableContainerBreakpoints", "errorCodeTranslateKeyMap", "controlNameTranslateKeyMap", "disableErrorPrinting", "labelWidth"] }] });
|
|
611
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectGridComponent, isStandalone: true, selector: "si-formly-object-grid", usesInheritance: true, ngImport: i0, template: "@if (props.hidden !== true) {\n <div>\n @if (props.label && props.plain !== true) {\n <b>{{ props.label }}</b>\n }\n @if (props.description && props.plain !== true) {\n <p>{{ props.description }}</p>\n }\n @if (displayErrorMessages) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n <div [class]=\"containerClass\">\n @for (row of rows; track $index) {\n <div [class]=\"row.classes\">\n @for (column of row.columns; track $index) {\n <div [class]=\"column.classes\">\n <si-form-container>\n <div si-form-container-content>\n @for (f of column.fields; track $index) {\n <formly-field class=\"d-block\" [field]=\"f\" />\n }\n </div>\n </si-form-container>\n </div>\n }\n </div>\n }\n </div>\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: SiFormContainerComponent, selector: "si-form-container", inputs: ["form", "readonly", "contentContainerBreakpoints", "disableContainerBreakpoints", "errorCodeTranslateKeyMap", "controlNameTranslateKeyMap", "disableErrorPrinting", "labelWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
612
612
|
}
|
|
613
613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectGridComponent, decorators: [{
|
|
614
614
|
type: Component,
|
|
615
|
-
args: [{ selector: 'si-formly-object-grid', imports: [FormlyModule, SiFormContainerComponent], template: "@if (props.hidden !== true) {\n <div>\n @if (props.label && props.plain !== true) {\n <b>{{ props.label }}</b>\n }\n @if (props.description && props.plain !== true) {\n <p>{{ props.description }}</p>\n }\n @if (displayErrorMessages) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n <div [class]=\"containerClass\">\n @for (row of rows; track $index) {\n <div [class]=\"row.classes\">\n @for (column of row.columns; track $index) {\n <div [class]=\"column.classes\">\n <si-form-container>\n <div si-form-container-content>\n @for (f of column.fields; track $index) {\n <formly-field class=\"d-block\" [field]=\"f\" />\n }\n </div>\n </si-form-container>\n </div>\n }\n </div>\n }\n </div>\n </div>\n}\n" }]
|
|
615
|
+
args: [{ selector: 'si-formly-object-grid', imports: [FormlyModule, SiFormContainerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (props.hidden !== true) {\n <div>\n @if (props.label && props.plain !== true) {\n <b>{{ props.label }}</b>\n }\n @if (props.description && props.plain !== true) {\n <p>{{ props.description }}</p>\n }\n @if (displayErrorMessages) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n <div [class]=\"containerClass\">\n @for (row of rows; track $index) {\n <div [class]=\"row.classes\">\n @for (column of row.columns; track $index) {\n <div [class]=\"column.classes\">\n <si-form-container>\n <div si-form-container-content>\n @for (f of column.fields; track $index) {\n <formly-field class=\"d-block\" [field]=\"f\" />\n }\n </div>\n </si-form-container>\n </div>\n }\n </div>\n }\n </div>\n </div>\n}\n" }]
|
|
616
616
|
}] });
|
|
617
617
|
|
|
618
618
|
/**
|
|
@@ -621,11 +621,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
621
621
|
*/
|
|
622
622
|
class SiFormlyObjectPlainComponent extends FieldType {
|
|
623
623
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectPlainComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
624
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectPlainComponent, isStandalone: true, selector: "si-formly-object-plain", usesInheritance: true, ngImport: i0, template: "<div>\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }] });
|
|
624
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectPlainComponent, isStandalone: true, selector: "si-formly-object-plain", usesInheritance: true, ngImport: i0, template: "<div>\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
625
625
|
}
|
|
626
626
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectPlainComponent, decorators: [{
|
|
627
627
|
type: Component,
|
|
628
|
-
args: [{ selector: 'si-formly-object-plain', imports: [FormlyModule], template: "<div>\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n</div>\n" }]
|
|
628
|
+
args: [{ selector: 'si-formly-object-plain', imports: [FormlyModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n</div>\n" }]
|
|
629
629
|
}] });
|
|
630
630
|
|
|
631
631
|
/**
|
|
@@ -634,11 +634,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
634
634
|
*/
|
|
635
635
|
class SiFormlyObjectComponent extends FieldType {
|
|
636
636
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
637
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectComponent, isStandalone: true, selector: "si-formly-object", usesInheritance: true, ngImport: i0, template: "@if (props.hidden !== true) {\n <div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
|
|
637
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectComponent, isStandalone: true, selector: "si-formly-object", usesInheritance: true, ngImport: i0, template: "@if (props.hidden !== true) {\n <div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
638
638
|
}
|
|
639
639
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectComponent, decorators: [{
|
|
640
640
|
type: Component,
|
|
641
|
-
args: [{ selector: 'si-formly-object', imports: [FormlyModule], template: "@if (props.hidden !== true) {\n <div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n </div>\n}\n" }]
|
|
641
|
+
args: [{ selector: 'si-formly-object', imports: [FormlyModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (props.hidden !== true) {\n <div class=\"mb-3\">\n @if (props.label) {\n <b>{{ props.label }}</b>\n }\n @if (props.description) {\n <p>{{ props.description }}</p>\n }\n @if (showError && formControl.errors) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n @for (f of field.fieldGroup; track $index) {\n <formly-field [field]=\"f\" />\n }\n </div>\n}\n" }]
|
|
642
642
|
}] });
|
|
643
643
|
|
|
644
644
|
/**
|
|
@@ -652,11 +652,11 @@ class SiFormlyObjectTabsetComponent extends FieldType {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectTabsetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
655
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectTabsetComponent, isStandalone: true, selector: "si-formly-object-tabset", usesInheritance: true, ngImport: i0, template: "<si-tabset class=\"d-flex si-layout-fixed-height\">\n @for (f of field.fieldGroup; track $index) {\n @let isTabActive = options.formState.selectedTabIndex === $index;\n @if (!(f.props?.hidden === true)) {\n <si-tab\n [heading]=\"f.props?.label || ''\"\n [active]=\"isTabActive\"\n (activeChange)=\"tabIndexChange($event, $index)\"\n >\n <div class=\"pt-8\">\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </div>\n </si-tab>\n }\n }\n</si-tabset>\n", dependencies: [{ kind: "component", type: SiTabsetComponent, selector: "si-tabset" }, { kind: "component", type: SiTabComponent, selector: "si-tab", inputs: ["active"], outputs: ["activeChange"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i1$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
|
|
655
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyObjectTabsetComponent, isStandalone: true, selector: "si-formly-object-tabset", usesInheritance: true, ngImport: i0, template: "<si-tabset class=\"d-flex si-layout-fixed-height\">\n @for (f of field.fieldGroup; track $index) {\n @let isTabActive = options.formState.selectedTabIndex === $index;\n @if (!(f.props?.hidden === true)) {\n <si-tab\n [heading]=\"f.props?.label || ''\"\n [active]=\"isTabActive\"\n (activeChange)=\"tabIndexChange($event, $index)\"\n >\n <div class=\"pt-8\">\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </div>\n </si-tab>\n }\n }\n</si-tabset>\n", dependencies: [{ kind: "component", type: SiTabsetComponent, selector: "si-tabset" }, { kind: "component", type: SiTabComponent, selector: "si-tab", inputs: ["active", "canActivate", "canDeactivate"], outputs: ["activeChange"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i1$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
656
656
|
}
|
|
657
657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyObjectTabsetComponent, decorators: [{
|
|
658
658
|
type: Component,
|
|
659
|
-
args: [{ selector: 'si-formly-object-tabset', imports: [SiTabsetComponent, SiTabComponent, FormlyModule], template: "<si-tabset class=\"d-flex si-layout-fixed-height\">\n @for (f of field.fieldGroup; track $index) {\n @let isTabActive = options.formState.selectedTabIndex === $index;\n @if (!(f.props?.hidden === true)) {\n <si-tab\n [heading]=\"f.props?.label || ''\"\n [active]=\"isTabActive\"\n (activeChange)=\"tabIndexChange($event, $index)\"\n >\n <div class=\"pt-8\">\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </div>\n </si-tab>\n }\n }\n</si-tabset>\n" }]
|
|
659
|
+
args: [{ selector: 'si-formly-object-tabset', imports: [SiTabsetComponent, SiTabComponent, FormlyModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<si-tabset class=\"d-flex si-layout-fixed-height\">\n @for (f of field.fieldGroup; track $index) {\n @let isTabActive = options.formState.selectedTabIndex === $index;\n @if (!(f.props?.hidden === true)) {\n <si-tab\n [heading]=\"f.props?.label || ''\"\n [active]=\"isTabActive\"\n (activeChange)=\"tabIndexChange($event, $index)\"\n >\n <div class=\"pt-8\">\n <formly-field [field]=\"f\" [formlyAttributes]=\"field\" />\n </div>\n </si-tab>\n }\n }\n</si-tabset>\n" }]
|
|
660
660
|
}] });
|
|
661
661
|
|
|
662
662
|
/**
|
|
@@ -671,11 +671,11 @@ class SiFormlyFieldsetComponent extends FieldWrapper {
|
|
|
671
671
|
return this.props.labelWidth ? this.props.labelWidth + 'px' : undefined;
|
|
672
672
|
}
|
|
673
673
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyFieldsetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
674
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: SiFormlyFieldsetComponent, isStandalone: true, selector: "si-formly-fieldset", usesInheritance: true, ngImport: i0, template: "<si-form-fieldset [label]=\"label!\" [labelWidth]=\"labelWidth\" [required]=\"props.required\">\n <ng-template #fieldComponent />\n <div class=\"invalid-feedback\" [class.d-block]=\"showError\">\n <formly-validation-message [field]=\"field\" />\n </div>\n</si-form-fieldset>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: SiFormFieldsetComponent, selector: "si-form-fieldset", inputs: ["label", "labelWidth", "required", "inline"] }] });
|
|
674
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: SiFormlyFieldsetComponent, isStandalone: true, selector: "si-formly-fieldset", usesInheritance: true, ngImport: i0, template: "<si-form-fieldset [label]=\"label!\" [labelWidth]=\"labelWidth\" [required]=\"props.required\">\n <ng-template #fieldComponent />\n <div class=\"invalid-feedback\" [class.d-block]=\"showError\">\n <formly-validation-message [field]=\"field\" />\n </div>\n</si-form-fieldset>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "component", type: SiFormFieldsetComponent, selector: "si-form-fieldset", inputs: ["label", "labelWidth", "required", "inline"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
675
675
|
}
|
|
676
676
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyFieldsetComponent, decorators: [{
|
|
677
677
|
type: Component,
|
|
678
|
-
args: [{ selector: 'si-formly-fieldset', imports: [FormlyModule, SiFormFieldsetComponent], template: "<si-form-fieldset [label]=\"label!\" [labelWidth]=\"labelWidth\" [required]=\"props.required\">\n <ng-template #fieldComponent />\n <div class=\"invalid-feedback\" [class.d-block]=\"showError\">\n <formly-validation-message [field]=\"field\" />\n </div>\n</si-form-fieldset>\n" }]
|
|
678
|
+
args: [{ selector: 'si-formly-fieldset', imports: [FormlyModule, SiFormFieldsetComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<si-form-fieldset [label]=\"label!\" [labelWidth]=\"labelWidth\" [required]=\"props.required\">\n <ng-template #fieldComponent />\n <div class=\"invalid-feedback\" [class.d-block]=\"showError\">\n <formly-validation-message [field]=\"field\" />\n </div>\n</si-form-fieldset>\n" }]
|
|
679
679
|
}] });
|
|
680
680
|
|
|
681
681
|
/**
|
|
@@ -684,11 +684,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
684
684
|
*/
|
|
685
685
|
class SiFormlyHorizontalWrapperComponent extends FieldWrapper {
|
|
686
686
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyHorizontalWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
687
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyHorizontalWrapperComponent, isStandalone: true, selector: "si-formly-horizontal-wrapper", usesInheritance: true, ngImport: i0, template: "<div class=\"mb-6 row\">\n @if (props.label) {\n <label class=\"col-sm-2 col-form-label\" [attr.for]=\"id\">\n {{ props.label }}\n @if (props.required && props.hideRequiredMarker !== true) {\n *\n }\n </label>\n }\n <div class=\"col-sm-10\">\n <ng-template #fieldComponent />\n </div>\n\n @if (showError) {\n <div class=\"col-sm-3 invalid-feedback d-block\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
|
|
687
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyHorizontalWrapperComponent, isStandalone: true, selector: "si-formly-horizontal-wrapper", usesInheritance: true, ngImport: i0, template: "<div class=\"mb-6 row\">\n @if (props.label) {\n <label class=\"col-sm-2 col-form-label\" [attr.for]=\"id\">\n {{ props.label }}\n @if (props.required && props.hideRequiredMarker !== true) {\n *\n }\n </label>\n }\n <div class=\"col-sm-10\">\n <ng-template #fieldComponent />\n </div>\n\n @if (showError) {\n <div class=\"col-sm-3 invalid-feedback d-block\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
688
688
|
}
|
|
689
689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyHorizontalWrapperComponent, decorators: [{
|
|
690
690
|
type: Component,
|
|
691
|
-
args: [{ selector: 'si-formly-horizontal-wrapper', imports: [FormlyModule], template: "<div class=\"mb-6 row\">\n @if (props.label) {\n <label class=\"col-sm-2 col-form-label\" [attr.for]=\"id\">\n {{ props.label }}\n @if (props.required && props.hideRequiredMarker !== true) {\n *\n }\n </label>\n }\n <div class=\"col-sm-10\">\n <ng-template #fieldComponent />\n </div>\n\n @if (showError) {\n <div class=\"col-sm-3 invalid-feedback d-block\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n</div>\n" }]
|
|
691
|
+
args: [{ selector: 'si-formly-horizontal-wrapper', imports: [FormlyModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mb-6 row\">\n @if (props.label) {\n <label class=\"col-sm-2 col-form-label\" [attr.for]=\"id\">\n {{ props.label }}\n @if (props.required && props.hideRequiredMarker !== true) {\n *\n }\n </label>\n }\n <div class=\"col-sm-10\">\n <ng-template #fieldComponent />\n </div>\n\n @if (showError) {\n <div class=\"col-sm-3 invalid-feedback d-block\">\n <formly-validation-message [field]=\"field\" />\n </div>\n }\n</div>\n" }]
|
|
692
692
|
}] });
|
|
693
693
|
|
|
694
694
|
/**
|
|
@@ -697,11 +697,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
697
697
|
*/
|
|
698
698
|
class SiFormlyIconWrapperComponent extends FieldWrapper {
|
|
699
699
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyIconWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
700
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyIconWrapperComponent, isStandalone: true, selector: "si-formly-icon-wrapper", usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex\">\n <div class=\"flex-1 me-2\">\n <ng-template #fieldComponent />\n </div>\n @if (props.icon) {\n <div\n class=\"wrapper-icon\"\n [style]=\"'font-size: ' + (props.iconSize ? props.iconSize : 24) + 'px'\"\n [siTooltip]=\"props.iconTooltip | translate\"\n >\n <i [class]=\"props.icon\"></i>\n </div>\n }\n</div>\n", styles: [".flex-1{flex:1}.wrapper-icon{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: SiTooltipDirective, selector: "[siTooltip]", inputs: ["siTooltip", "placement", "triggers", "isDisabled", "tooltipContext"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
|
|
700
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiFormlyIconWrapperComponent, isStandalone: true, selector: "si-formly-icon-wrapper", usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex\">\n <div class=\"flex-1 me-2\">\n <ng-template #fieldComponent />\n </div>\n @if (props.icon) {\n <div\n class=\"wrapper-icon\"\n [style]=\"'font-size: ' + (props.iconSize ? props.iconSize : 24) + 'px'\"\n [siTooltip]=\"props.iconTooltip | translate\"\n >\n <i [class]=\"props.icon\"></i>\n </div>\n }\n</div>\n", styles: [".flex-1{flex:1}.wrapper-icon{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: SiTooltipDirective, selector: "[siTooltip]", inputs: ["siTooltip", "placement", "triggers", "isDisabled", "tooltipContext"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
701
701
|
}
|
|
702
702
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiFormlyIconWrapperComponent, decorators: [{
|
|
703
703
|
type: Component,
|
|
704
|
-
args: [{ selector: 'si-formly-icon-wrapper', imports: [SiTooltipDirective, SiTranslatePipe], template: "<div class=\"d-flex\">\n <div class=\"flex-1 me-2\">\n <ng-template #fieldComponent />\n </div>\n @if (props.icon) {\n <div\n class=\"wrapper-icon\"\n [style]=\"'font-size: ' + (props.iconSize ? props.iconSize : 24) + 'px'\"\n [siTooltip]=\"props.iconTooltip | translate\"\n >\n <i [class]=\"props.icon\"></i>\n </div>\n }\n</div>\n", styles: [".flex-1{flex:1}.wrapper-icon{display:flex;align-items:center}\n"] }]
|
|
704
|
+
args: [{ selector: 'si-formly-icon-wrapper', imports: [SiTooltipDirective, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"d-flex\">\n <div class=\"flex-1 me-2\">\n <ng-template #fieldComponent />\n </div>\n @if (props.icon) {\n <div\n class=\"wrapper-icon\"\n [style]=\"'font-size: ' + (props.iconSize ? props.iconSize : 24) + 'px'\"\n [siTooltip]=\"props.iconTooltip | translate\"\n >\n <i [class]=\"props.icon\"></i>\n </div>\n }\n</div>\n", styles: [".flex-1{flex:1}.wrapper-icon{display:flex;align-items:center}\n"] }]
|
|
705
705
|
}] });
|
|
706
706
|
|
|
707
707
|
/**
|