{"version":3,"file":"siemens-element-ng-info-page.mjs","sources":["../../../../projects/element-ng/info-page/si-info-page.component.ts","../../../../projects/element-ng/info-page/si-info-page.component.html","../../../../projects/element-ng/info-page/index.ts","../../../../projects/element-ng/info-page/siemens-element-ng-info-page.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { Component, input } from '@angular/core';\nimport { SiIconComponent } from '@siemens/element-ng/icon';\nimport { Link, SiLinkDirective } from '@siemens/element-ng/link';\nimport { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate';\n\n/**\n * The component displays application info messages. A message uses an icon and a title, optionally a description\n * and a link. Replace the integrated icon by content projection of another icon or image with the\n * CSS class `.si-info-image`. Use content projection with the CSS class `si-info-actions` to inject more buttons\n * and options to interact with the page.\n */\n@Component({\n  selector: 'si-info-page',\n  imports: [SiLinkDirective, SiIconComponent, SiTranslatePipe],\n  templateUrl: './si-info-page.component.html',\n  styleUrl: './si-info-page.component.scss'\n})\nexport class SiInfoPageComponent {\n  /**\n   * The element warning icon.\n   *\n   * @defaultValue 'element-warning-filled'\n   */\n  readonly icon = input<string>('element-warning-filled');\n  /**\n   * Icon color class, see {@link https://element.siemens.io/fundamentals/typography/#color-variants-classes}\n   *\n   * @defaultValue 'status-warning'\n   */\n  readonly iconColor = input<string | undefined>('status-warning');\n  /** A short and concise title to explain the error. */\n  readonly titleText = input.required<TranslatableString>();\n  /**\n   * Brief supporting text that explains the situation or the next step.\n   */\n  readonly description = input<TranslatableString>();\n  /**\n   * A more detailed explanation of the error, outlining the reasoning for it and how a user can resolve it.\n   *\n   * @deprecated Use {@link description} instead.\n   */\n  readonly copyText = input<TranslatableString>();\n  /**\n   * A detailed instruction on how a user can resolve the error.\n   *\n   * @deprecated Use {@link description} instead.\n   */\n  readonly instructions = input<TranslatableString>();\n  /**\n   * Use the link object if you have one option to follow. A link object\n   * has a title to be displayed and can be configured with an external link,\n   * a router link, or a custom action. If you want to provide multiple options,\n   * add your own content into the component.\n   */\n  readonly link = input<Link>();\n}\n","<div class=\"h-100 d-flex flex-column justify-content-center align-items-center text-center p-6\">\n  <ng-content select=\".si-info-image\">\n    <si-icon class=\"icon-size\" [class]=\"iconColor()\" [icon]=\"icon()\" />\n  </ng-content>\n  <h1 class=\"si-h1 si-info-page-title\">{{ titleText() | translate }}</h1>\n  @if (description()) {\n    <p class=\"text-pre-wrap si-body-lg mt-6 mb-0\">{{ description() | translate }}</p>\n  } @else {\n    @if (copyText()) {\n      <h2 class=\"mt-6 mb-0\">{{ copyText() | translate }}</h2>\n    }\n    @if (instructions()) {\n      <p class=\"text-pre-wrap si-body-lg mt-6 mb-0\">{{ instructions() | translate }}</p>\n    }\n  }\n  @if (link()?.title) {\n    <a class=\"btn btn-primary si-info-page-link\" [siLink]=\"link()\">\n      {{ link()?.title | translate }}\n    </a>\n  }\n  <div class=\"si-info-action-container\">\n    <ng-content select=\".si-info-actions\" />\n  </div>\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-info-page.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAMH;;;;;AAKG;MAOU,mBAAmB,CAAA;AAC9B;;;;AAIG;IACM,IAAI,GAAG,KAAK,CAAS,wBAAwB;6EAAC;AACvD;;;;AAIG;IACM,SAAS,GAAG,KAAK,CAAqB,gBAAgB;kFAAC;;IAEvD,SAAS,GAAG,KAAK,CAAC,QAAQ;kFAAsB;AACzD;;AAEG;AACM,IAAA,WAAW,GAAG,KAAK;+FAAsB;AAClD;;;;AAIG;AACM,IAAA,QAAQ,GAAG,KAAK;4FAAsB;AAC/C;;;;AAIG;AACM,IAAA,YAAY,GAAG,KAAK;gGAAsB;AACnD;;;;;AAKG;AACM,IAAA,IAAI,GAAG,KAAK;wFAAQ;uGArClB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,M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