{"version":3,"file":"skyux-errors.mjs","sources":["../../../../../libs/components/errors/src/lib/modules/error/error-modal-config.ts","../../../../../libs/components/errors/src/lib/modules/error/error-modal-form.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error-modal-form.component.html","../../../../../libs/components/errors/src/lib/modules/error/error-modal.service.ts","../../../../../libs/components/errors/src/lib/modules/shared/sky-errors-resources.module.ts","../../../../../libs/components/errors/src/lib/modules/error/error-action.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error.service.ts","../../../../../libs/components/errors/src/lib/modules/error/error-description.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error-image.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error-title.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error.component.ts","../../../../../libs/components/errors/src/lib/modules/error/error.component.html","../../../../../libs/components/errors/src/lib/modules/error/error.module.ts","../../../../../libs/components/errors/src/skyux-errors.ts"],"sourcesContent":["/* istanbul ignore next */\n/**\n * @deprecated We recommend using a standard modal with an error component instead.\n */\nexport class ErrorModalConfig {\n  /**\n   * The title to display in the modal error message.\n   * @required\n   */\n  public errorTitle: string | undefined;\n  /**\n   * The description to provide additional details in the modal error message.\n   * @required\n   */\n  public errorDescription: string | undefined;\n  /**\n   * The label for the action button that closes the modal error message.\n   * @required\n   */\n  public errorCloseText: string | undefined;\n}\n","import { Component } from '@angular/core';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyModalInstance, SkyModalModule } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\n\n/**\n * @internal\n */\n@Component({\n  selector: 'sky-error-modal-form',\n  templateUrl: './error-modal-form.component.html',\n  styleUrls: ['./error-modal-form.component.scss'],\n  imports: [SkyIdModule, SkyModalModule],\n})\nexport class SkyErrorModalFormComponent {\n  constructor(\n    public context: ErrorModalConfig,\n    public instance: SkyModalInstance,\n  ) {}\n}\n","<sky-modal [ariaLabelledBy]=\"title.id\">\n  <sky-modal-content>\n    <div class=\"sky-error-modal-container\">\n      <span #title=\"skyId\" class=\"sky-error-modal-title\" skyId>{{\n        context.errorTitle\n      }}</span>\n      <span class=\"sky-error-modal-description\">{{\n        context.errorDescription\n      }}</span>\n      <div class=\"sky-error-modal-close\">\n        <button\n          type=\"button\"\n          class=\"sky-btn sky-btn-primary\"\n          (click)=\"instance.close()\"\n        >\n          {{ context.errorCloseText }}\n        </button>\n      </div>\n    </div>\n  </sky-modal-content>\n</sky-modal>\n","import { Injectable, Optional } from '@angular/core';\nimport { SkyLogService } from '@skyux/core';\nimport { SkyModalService } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\nimport { SkyErrorModalFormComponent } from './error-modal-form.component';\n\n/**\n * Opens a modal to display a SKY UX-themed error message.\n * @deprecated We recommend using a standard modal with an error component instead.\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class SkyErrorModalService {\n  #modalSvc: SkyModalService;\n  #logSvc: SkyLogService | undefined;\n\n  constructor(\n    modalSvc: SkyModalService,\n    @Optional() logService?: SkyLogService,\n  ) {\n    this.#modalSvc = modalSvc;\n    this.#logSvc = logService;\n  }\n  /**\n   * Text for the the error message, including title, description, and action label.\n   * @deprecated We recommend using a standard modal with an error component instead.\n   */\n  public open(config: ErrorModalConfig): void {\n    this.#logSvc?.deprecated(\"SkyErrorModalService's open method\", {\n      deprecationMajorVersion: 6,\n      replacementRecommendation:\n        'We recommend using a standard modal with an error component instead.',\n    });\n\n    const providers = [{ provide: ErrorModalConfig, useValue: config }];\n\n    this.#modalSvc.open(SkyErrorModalFormComponent, {\n      ariaRole: 'alertdialog',\n      providers: providers,\n    });\n  }\n}\n","/* istanbul ignore file */\n\n/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-errors' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n  SkyI18nModule,\n  SkyLibResources,\n  SkyLibResourcesService,\n} from '@skyux/i18n';\n\nconst RESOURCES: Record<string, SkyLibResources> = {\n  'EN-US': {\n    skyux_errors_broken_description: {\n      message: 'Something went wrong.\\nTry again or come back later.',\n    },\n    skyux_errors_broken_title: { message: \"That's odd...\" },\n    skyux_errors_construction_description: {\n      message: 'We appreciate your patience while we\\nmake improvements.',\n    },\n    skyux_errors_construction_title: { message: 'Work in progress.' },\n    skyux_errors_not_found_description: {\n      message: 'Pardon us, but this page\\nis missing or has moved.',\n    },\n    skyux_errors_not_found_title: { message: 'Nothing to see here.' },\n    skyux_errors_security_description: {\n      message: 'Ask your administrator for access.',\n    },\n    skyux_errors_security_title: {\n      message: \"Heads up!\\nYou're in a restricted area.\",\n    },\n  },\n  'FR-CA': {\n    skyux_errors_broken_description: {\n      message:\n        'Un problème est survenu.\\nEssayez à nouveau ou revenez plus tard.',\n    },\n    skyux_errors_broken_title: { message: 'C’est curieux…' },\n    skyux_errors_construction_description: {\n      message:\n        'Nous apprécions votre patience pendant que \\nnous apportons des améliorations.',\n    },\n    skyux_errors_construction_title: { message: 'Travaux en cours.' },\n    skyux_errors_not_found_description: {\n      message:\n        'Nous sommes désolés, mais cette page \\nest manquante ou a été déplacée.',\n    },\n    skyux_errors_not_found_title: { message: 'Il n’y a rien à voir ici.' },\n    skyux_errors_security_description: {\n      message: 'Demandez à votre administrateur de vous accorder l’accès.',\n    },\n    skyux_errors_security_title: {\n      message: 'Attention!\\nVous êtes dans une zone restreinte.',\n    },\n  },\n};\n\nSkyLibResourcesService.addResources(RESOURCES);\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n  exports: [SkyI18nModule],\n})\nexport class SkyErrorsResourcesModule {}\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an interactive element to include with the error message.\n * For example, you can include a button to reload the page or to refresh data.\n */\n@Component({\n  selector: 'sky-error-action',\n  template: '<ng-content />',\n  standalone: false,\n})\nexport class SkyErrorActionComponent {}\n","import { Injectable } from '@angular/core';\n\nimport { BehaviorSubject } from 'rxjs';\n\n/**\n * internal\n */\n@Injectable()\nexport class SkyErrorService {\n  public replaceDefaultDescription = new BehaviorSubject<boolean>(false);\n  public replaceDefaultTitle = new BehaviorSubject<boolean>(false);\n}\n","import { Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a description to provide additional details about the error.\n */\n@Component({\n  selector: 'sky-error-description',\n  template: '<ng-content />',\n  standalone: false,\n})\nexport class SkyErrorDescriptionComponent {\n  /**\n   * Whether to replace the default description. If `false`, the content\n   * from this component is added after the default description.\n   * @default false\n   */\n  @Input()\n  public set replaceDefaultDescription(value: boolean | undefined) {\n    this.#errorSvc.replaceDefaultDescription.next(!!value);\n  }\n\n  #errorSvc: SkyErrorService;\n\n  constructor(errorSvc: SkyErrorService) {\n    this.#errorSvc = errorSvc;\n    errorSvc.replaceDefaultDescription.next(false);\n  }\n}\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an image to display with the error message.\n */\n@Component({\n  selector: 'sky-error-image',\n  template: '<ng-content />',\n  standalone: false,\n})\nexport class SkyErrorImageComponent {}\n","import { Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a title to display with the error message.\n */\n@Component({\n  selector: 'sky-error-title',\n  template: '<ng-content />',\n  standalone: false,\n})\nexport class SkyErrorTitleComponent {\n  /**\n   * Whether to replace the default title. If `false`, the content\n   * from this component is added after the default title.\n   * @default false\n   */\n  @Input()\n  public set replaceDefaultTitle(value: boolean | undefined) {\n    this.#errorSvc.replaceDefaultTitle.next(!!value);\n  }\n\n  #errorSvc: SkyErrorService;\n\n  constructor(errorSvc: SkyErrorService) {\n    this.#errorSvc = errorSvc;\n    errorSvc.replaceDefaultTitle.next(false);\n  }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { SkyLibResourcesService } from '@skyux/i18n';\n\nimport { SkyErrorType } from './error-type';\nimport { SkyErrorService } from './error.service';\n\n/**\n * Displays a SKY UX-themed error message.\n */\n@Component({\n  selector: 'sky-error',\n  styleUrls: ['./error.component.scss'],\n  templateUrl: './error.component.html',\n  providers: [SkyErrorService],\n  standalone: false,\n})\nexport class SkyErrorComponent implements OnInit {\n  /**\n   * The set of pre-defined values for the image,\n   * title, and description.\n   */\n  @Input()\n  public set errorType(value: SkyErrorType | undefined) {\n    this.#_errorType = value;\n    this.setErrorTypeFields();\n  }\n\n  public get errorType(): SkyErrorType | undefined {\n    return this.#_errorType;\n  }\n\n  /**\n   * Whether to display the error image.\n   * @default true\n   */\n  @Input()\n  public showImage: boolean | undefined = true;\n\n  @HostBinding('attr.errorType') public get hostErrorType():\n    | SkyErrorType\n    | undefined {\n    return this.errorType;\n  }\n\n  public defaultTitle: string | undefined;\n  public defaultDescription: string | undefined;\n\n  #resourcesSvc: SkyLibResourcesService;\n\n  #_errorType: SkyErrorType | undefined;\n\n  constructor(\n    resourcesSvc: SkyLibResourcesService,\n    public errorSvc: SkyErrorService,\n  ) {\n    this.#resourcesSvc = resourcesSvc;\n  }\n\n  public ngOnInit(): void {\n    if (this.errorType) {\n      this.setErrorTypeFields();\n    }\n  }\n\n  public setErrorTypeFields(): void {\n    switch (this.errorType?.toLowerCase()) {\n      case 'broken':\n        this.defaultTitle = this.#getString('skyux_errors_broken_title');\n        this.defaultDescription = this.#getString(\n          'skyux_errors_broken_description',\n        );\n        break;\n      case 'notfound':\n        this.defaultTitle = this.#getString('skyux_errors_not_found_title');\n        this.defaultDescription = this.#getString(\n          'skyux_errors_not_found_description',\n        );\n        break;\n      case 'construction':\n        this.defaultTitle = this.#getString('skyux_errors_construction_title');\n        this.defaultDescription = this.#getString(\n          'skyux_errors_construction_description',\n        );\n        break;\n      case 'security':\n        this.defaultTitle = this.#getString('skyux_errors_security_title');\n        this.defaultDescription = this.#getString(\n          'skyux_errors_security_description',\n        );\n        break;\n      default:\n        this.defaultTitle = this.defaultDescription = undefined;\n    }\n  }\n\n  #getString(key: string): string {\n    // TODO: Need to implement the async `getString` method in a breaking change.\n    return this.#resourcesSvc.getStringForLocale({ locale: 'en-US' }, key);\n  }\n}\n","<div class=\"sky-error\">\n  @if (showImage) {\n    <div class=\"sky-error-image-container sky-margin-stacked-lg\">\n      @if (errorType) {\n        <div\n          class=\"sky-error-image-svg\"\n          [ngClass]=\"['sky-error-' + errorType + '-image']\"\n        ></div>\n      }\n      <ng-content select=\"sky-error-image\" />\n    </div>\n  }\n\n  <div class=\"sky-error-title sky-font-heading-1 sky-margin-stacked-lg\">\n    @if (defaultTitle && (errorSvc.replaceDefaultTitle | async) === false) {\n      <ng-container>{{ defaultTitle }}</ng-container>\n    }\n    <ng-content select=\"sky-error-title\" />\n  </div>\n\n  <div\n    class=\"sky-error-description sky-font-body-default sky-margin-stacked-xl\"\n  >\n    @if (\n      defaultDescription &&\n      (errorSvc.replaceDefaultDescription | async) === false\n    ) {\n      <span>{{ defaultDescription }}</span>\n    }\n    <ng-content select=\"sky-error-description\" />\n  </div>\n\n  <div class=\"sky-error-action\">\n    <ng-content select=\"sky-error-action\" />\n  </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyErrorsResourcesModule } from '../shared/sky-errors-resources.module';\n\nimport { SkyErrorActionComponent } from './error-action.component';\nimport { SkyErrorDescriptionComponent } from './error-description.component';\nimport { SkyErrorImageComponent } from './error-image.component';\nimport { SkyErrorTitleComponent } from './error-title.component';\nimport { SkyErrorComponent } from './error.component';\n\n@NgModule({\n  declarations: [\n    SkyErrorComponent,\n    SkyErrorImageComponent,\n    SkyErrorTitleComponent,\n    SkyErrorDescriptionComponent,\n    SkyErrorActionComponent,\n  ],\n  imports: [CommonModule, SkyErrorsResourcesModule],\n  exports: [\n    SkyErrorComponent,\n    SkyErrorImageComponent,\n    SkyErrorTitleComponent,\n    SkyErrorDescriptionComponent,\n    SkyErrorActionComponent,\n  ],\n})\nexport class SkyErrorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ErrorModalConf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