@skyux/errors 5.0.0-beta.2 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/bundles/skyux-errors-testing.umd.js +2 -2
  2. package/bundles/skyux-errors-testing.umd.js.map +1 -1
  3. package/bundles/skyux-errors.umd.js +170 -123
  4. package/bundles/skyux-errors.umd.js.map +1 -1
  5. package/documentation.json +553 -512
  6. package/esm2015/modules/error/error-action.component.js +11 -7
  7. package/esm2015/modules/error/error-description.component.js +13 -10
  8. package/esm2015/modules/error/error-image.component.js +11 -7
  9. package/esm2015/modules/error/error-modal-form.component.js +14 -14
  10. package/esm2015/modules/error/error-modal.service.js +10 -12
  11. package/esm2015/modules/error/error-title.component.js +13 -10
  12. package/esm2015/modules/error/error.component.js +26 -19
  13. package/esm2015/modules/error/error.module.js +36 -29
  14. package/esm2015/modules/shared/sky-errors-resources.module.js +45 -13
  15. package/esm2015/public-api.js +8 -1
  16. package/esm2015/skyux-errors.js +1 -8
  17. package/esm2015/testing/error-fixture.js +1 -1
  18. package/fesm2015/skyux-errors-testing.js.map +1 -1
  19. package/fesm2015/skyux-errors.js +163 -111
  20. package/fesm2015/skyux-errors.js.map +1 -1
  21. package/modules/error/error-action.component.d.ts +3 -0
  22. package/modules/error/error-description.component.d.ts +3 -0
  23. package/modules/error/error-image.component.d.ts +3 -0
  24. package/modules/error/error-modal-form.component.d.ts +3 -0
  25. package/modules/error/error-modal.service.d.ts +3 -0
  26. package/modules/error/error-title.component.d.ts +3 -0
  27. package/modules/error/error.component.d.ts +3 -0
  28. package/modules/error/error.module.d.ts +13 -0
  29. package/modules/shared/sky-errors-resources.module.d.ts +5 -6
  30. package/package.json +6 -7
  31. package/public-api.d.ts +5 -0
  32. package/skyux-errors.d.ts +1 -7
  33. package/testing/package.json +0 -1
  34. package/testing/skyux-errors-testing.d.ts +1 -0
  35. package/esm2015/modules/error/error-action.component.ngfactory.js +0 -16
  36. package/esm2015/modules/error/error-action.component.ngsummary.json +0 -1
  37. package/esm2015/modules/error/error-description.component.ngfactory.js +0 -16
  38. package/esm2015/modules/error/error-description.component.ngsummary.json +0 -1
  39. package/esm2015/modules/error/error-image.component.ngfactory.js +0 -16
  40. package/esm2015/modules/error/error-image.component.ngsummary.json +0 -1
  41. package/esm2015/modules/error/error-modal-config.ngsummary.json +0 -1
  42. package/esm2015/modules/error/error-modal-form.component.ngfactory.js +0 -30
  43. package/esm2015/modules/error/error-modal-form.component.ngsummary.json +0 -1
  44. package/esm2015/modules/error/error-modal-form.component.scss.shim.ngstyle.js +0 -9
  45. package/esm2015/modules/error/error-modal.service.ngsummary.json +0 -1
  46. package/esm2015/modules/error/error-title.component.ngfactory.js +0 -16
  47. package/esm2015/modules/error/error-title.component.ngsummary.json +0 -1
  48. package/esm2015/modules/error/error-type.ngsummary.json +0 -1
  49. package/esm2015/modules/error/error.component.ngfactory.js +0 -23
  50. package/esm2015/modules/error/error.component.ngsummary.json +0 -1
  51. package/esm2015/modules/error/error.component.scss.shim.ngstyle.js +0 -9
  52. package/esm2015/modules/error/error.module.ngfactory.js +0 -21
  53. package/esm2015/modules/error/error.module.ngsummary.json +0 -1
  54. package/esm2015/modules/shared/sky-errors-resources.module.ngfactory.js +0 -15
  55. package/esm2015/modules/shared/sky-errors-resources.module.ngsummary.json +0 -1
  56. package/esm2015/public-api.ngsummary.json +0 -1
  57. package/esm2015/skyux-errors.ngsummary.json +0 -1
  58. package/esm2015/testing/error-fixture.ngsummary.json +0 -1
  59. package/esm2015/testing/public-api.ngsummary.json +0 -1
  60. package/esm2015/testing/skyux-errors-testing.ngsummary.json +0 -1
  61. package/modules/error/error-action.component.ngfactory.d.ts +0 -1
  62. package/modules/error/error-description.component.ngfactory.d.ts +0 -1
  63. package/modules/error/error-image.component.ngfactory.d.ts +0 -1
  64. package/modules/error/error-modal-form.component.ngfactory.d.ts +0 -1
  65. package/modules/error/error-modal-form.component.scss.shim.ngstyle.d.ts +0 -1
  66. package/modules/error/error-title.component.ngfactory.d.ts +0 -1
  67. package/modules/error/error.component.ngfactory.d.ts +0 -1
  68. package/modules/error/error.component.scss.shim.ngstyle.d.ts +0 -1
  69. package/modules/error/error.module.ngfactory.d.ts +0 -3
  70. package/modules/shared/sky-errors-resources.module.ngfactory.d.ts +0 -3
  71. package/skyux-errors.metadata.json +0 -1
  72. package/testing/skyux-errors-testing.metadata.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-errors.js","sources":["../../../projects/errors/src/modules/error/error-modal-config.ts","../../../projects/errors/src/modules/error/error-modal-form.component.ts","../../../projects/errors/src/modules/error/error-modal.service.ts","../../../projects/errors/src/modules/shared/sky-errors-resources.module.ts","../../../projects/errors/src/modules/error/error-title.component.ts","../../../projects/errors/src/modules/error/error-description.component.ts","../../../projects/errors/src/modules/error/error.component.ts","../../../projects/errors/src/modules/error/error-image.component.ts","../../../projects/errors/src/modules/error/error-action.component.ts","../../../projects/errors/src/modules/error/error.module.ts","../../../projects/errors/src/skyux-errors.ts"],"sourcesContent":["/* istanbul ignore next */\nexport class ErrorModalConfig {\n /**\n * Specifies a title to display in the modal error message.\n * @required\n */\n public errorTitle: string;\n /**\n * Specifies a description to provide additional details in the modal error message.\n * @required\n */\n public errorDescription: string;\n /**\n * Specifies a label for the action button that closes the modal error message.\n * @required\n */\n public errorCloseText: string;\n}\n","import {\n Component\n} from '@angular/core';\n\nimport {\n SkyModalInstance\n} from '@skyux/modals';\n\nimport {\n ErrorModalConfig\n} 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})\nexport class SkyErrorModalFormComponent {\n constructor(\n public context: ErrorModalConfig,\n public instance: SkyModalInstance) {}\n}\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyModalService\n} from '@skyux/modals';\n\nimport {\n ErrorModalConfig\n} from './error-modal-config';\n\nimport {\n SkyErrorModalFormComponent\n} from './error-modal-form.component';\n\n/**\n * Opens a modal to display a SKY UX-themed error message.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyErrorModalService {\n constructor(\n private modal: SkyModalService\n ) { }\n/**\n * Specifies text for the the error message, including title, description, and action label.\n */\n public open(config: ErrorModalConfig) {\n const providers = [{ provide: ErrorModalConfig, useValue: config }];\n\n this.modal.open(SkyErrorModalFormComponent, {\n ariaRole: 'alertdialog',\n providers: providers\n });\n }\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 modules/shared/sky-errors' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\"skyux_errors_broken_description\":{\"message\":\"Try to refresh this page or come back later.\"},\"skyux_errors_broken_title\":{\"message\":\"Sorry, something went wrong.\"},\"skyux_errors_construction_description\":{\"message\":\"Thanks for your patience while improvements are made! \\n Please check back in a little while.\"},\"skyux_errors_construction_title\":{\"message\":\"This page will return soon.\"},\"skyux_errors_not_found_title\":{\"message\":\"Sorry, we can't reach that page.\"},\"skyux_errors_security_title\":{\"message\":\"This page requires additional permissions.\"}},\n};\n\nexport class SkyErrorsResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [{\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyErrorsResourcesProvider,\n multi: true\n }]\n})\nexport class SkyErrorsResourcesModule { }\n","import {\n Component,\n Input\n} from '@angular/core';\n\n/**\n * Specifies a title to display in the error message.\n */\n@Component({\n selector: 'sky-error-title',\n template: '<ng-content></ng-content>'\n})\nexport class SkyErrorTitleComponent {\n/**\n * Indicates whether to replace the default title. If `false`, the title\n * from this component is added after the default title.\n * @default false\n */\n @Input()\n public replaceDefaultTitle: boolean = false;\n}\n","import {\n Component,\n Input\n} from '@angular/core';\n\n/**\n * Specifies a description to provide additional details in the error message.\n */\n@Component({\n selector: 'sky-error-description',\n template: '<ng-content></ng-content>'\n})\nexport class SkyErrorDescriptionComponent {\n/**\n * Indicates whether to replace the default description. If `false`, the description\n * from this component is added after the default description.\n * @default false\n */\n @Input()\n public replaceDefaultDescription: boolean = false;\n}\n","import {\n Component,\n Input,\n OnInit,\n ContentChild\n} from '@angular/core';\n\nimport {\n SkyLibResourcesService\n} from '@skyux/i18n';\n\nimport {\n SkyErrorTitleComponent\n} from './error-title.component';\n\nimport {\n SkyErrorDescriptionComponent\n} from './error-description.component';\n\nimport {\n SkyErrorType\n} from './error-type';\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})\nexport class SkyErrorComponent implements OnInit {\n/**\n * Specifies an error type to use a set of pre-defined values for the image,\n * title, and description. The valid options are `'broken'`, `'construction'`,\n * `'notfound'`, and `'security'`.\n */\n @Input()\n public set errorType(value: SkyErrorType) {\n this._errorType = value;\n this.setErrorTypeFields();\n }\n\n public get errorType() {\n return this._errorType;\n }\n\n/**\n * Indicates whether to display the error image.\n * @default true\n */\n @Input()\n public showImage: boolean = true;\n\n public title: string = undefined;\n public description: string = undefined;\n\n public get showTitle(): boolean {\n return this.title && !(this.titleCmp && this.titleCmp.replaceDefaultTitle);\n }\n\n public get showDescription(): boolean {\n return this.description && !(this.descriptionCmp && this.descriptionCmp.replaceDefaultDescription);\n }\n\n @ContentChild(SkyErrorTitleComponent)\n private titleCmp: SkyErrorTitleComponent;\n\n @ContentChild(SkyErrorDescriptionComponent)\n private descriptionCmp: SkyErrorDescriptionComponent;\n\n private _errorType: SkyErrorType;\n\n constructor(\n private resourcesService: SkyLibResourcesService\n ) { }\n\n public ngOnInit() {\n if (this.errorType) {\n this.setErrorTypeFields();\n }\n }\n\n public setErrorTypeFields() {\n if (this.errorType.toLowerCase() === 'broken') {\n this.title = this.getString('skyux_errors_broken_title');\n this.description = this.getString('skyux_errors_broken_description');\n\n } else if (this.errorType.toLowerCase() === 'notfound') {\n this.title = this.getString('skyux_errors_not_found_title');\n this.description = this.getString('skyux_errors_not_found_description');\n\n } else if (this.errorType.toLowerCase() === 'construction') {\n this.title = this.getString('skyux_errors_construction_title');\n this.description = this.getString('skyux_errors_construction_description');\n\n } else if (this.errorType.toLowerCase() === 'security') {\n this.title = this.getString('skyux_errors_security_title');\n this.description = this.getString('skyux_errors_security_description');\n }\n }\n\n private getString(key: string): string {\n // TODO: Need to implement the async `getString` method in a breaking change.\n return this.resourcesService.getStringForLocale(\n { locale: 'en-US' },\n key\n );\n }\n}\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies an image to display in the error message.\n */\n@Component({\n selector: 'sky-error-image',\n template: '<ng-content></ng-content>'\n})\nexport class SkyErrorImageComponent {\n}\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies an action to include in 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></ng-content>'\n})\nexport class SkyErrorActionComponent {\n}\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyModalModule\n} from '@skyux/modals';\n\nimport {\n SkyErrorsResourcesModule\n} from '../shared/sky-errors-resources.module';\n\nimport {\n SkyErrorComponent\n} from './error.component';\n\nimport {\n SkyErrorImageComponent\n} from './error-image.component';\n\nimport {\n SkyErrorTitleComponent\n} from './error-title.component';\n\nimport {\n SkyErrorDescriptionComponent\n} from './error-description.component';\n\nimport {\n SkyErrorActionComponent\n} from './error-action.component';\n\nimport {\n SkyErrorModalFormComponent\n} from './error-modal-form.component';\n\n@NgModule({\n declarations: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n SkyErrorModalFormComponent\n ],\n imports: [\n CommonModule,\n SkyErrorsResourcesModule,\n SkyModalModule\n ],\n exports: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n SkyErrorModalFormComponent\n ],\n entryComponents: [\n SkyErrorModalFormComponent\n ]\n})\nexport class SkyErrorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {SkyErrorActionComponent as ɵe} from './modules/error/error-action.component';\nexport {SkyErrorDescriptionComponent as ɵc} from './modules/error/error-description.component';\nexport {SkyErrorImageComponent as ɵd} from './modules/error/error-image.component';\nexport {SkyErrorModalFormComponent as ɵf} from './modules/error/error-modal-form.component';\nexport {SkyErrorTitleComponent as ɵb} from './modules/error/error-title.component';\nexport {SkyErrorComponent as ɵa} from './modules/error/error.component';\nexport {SkyErrorsResourcesModule as ɵh,SkyErrorsResourcesProvider as ɵg} from './modules/shared/sky-errors-resources.module';"],"names":[],"mappings":";;;;;;;AAAA;MACa,gBAAgB;;;ACW7B;;;MAQa,0BAA0B;IACrC,YACS,OAAyB,EACzB,QAA0B;QAD1B,YAAO,GAAP,OAAO,CAAkB;QACzB,aAAQ,GAAR,QAAQ,CAAkB;KAAI;;;YARxC,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,yjBAAgD;;aAEjD;;;YAVC,gBAAgB;YAJhB,gBAAgB;;;ACWlB;;;MAMa,oBAAoB;IAC/B,YACU,KAAsB;QAAtB,UAAK,GAAL,KAAK,CAAiB;KAC3B;;;;IAIE,IAAI,CAAC,MAAwB;QAClC,MAAM,SAAS,GAAG,CAAC,EA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5B,uBAAuB;oBACvB,0BAA0B;iBAC3B;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,wBAAwB;oBACxB,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,iBAAiB;oBACjB,sBAAsB;oBACtB,sBAAsB;oBACtB,4BAA4B;oBAC5B,uBAAuB;oBACvB,0BAA0B;iBAC3B;gBACD,eAAe,EAAE;oBACf,0BAA0B;iBAC3B;aACF;;;ACjED;;;;;;"}
1
+ {"version":3,"file":"skyux-errors.js","sources":["../../../projects/errors/src/modules/error/error-modal-config.ts","../../../projects/errors/src/modules/error/error-modal-form.component.ts","../../../projects/errors/src/modules/error/error-modal-form.component.html","../../../projects/errors/src/modules/error/error-modal.service.ts","../../../projects/errors/src/modules/shared/sky-errors-resources.module.ts","../../../projects/errors/src/modules/error/error-title.component.ts","../../../projects/errors/src/modules/error/error-description.component.ts","../../../projects/errors/src/modules/error/error.component.ts","../../../projects/errors/src/modules/error/error.component.html","../../../projects/errors/src/modules/error/error-image.component.ts","../../../projects/errors/src/modules/error/error-action.component.ts","../../../projects/errors/src/modules/error/error.module.ts","../../../projects/errors/src/skyux-errors.ts"],"sourcesContent":["/* istanbul ignore next */\nexport class ErrorModalConfig {\n /**\n * Specifies a title to display in the modal error message.\n * @required\n */\n public errorTitle: string;\n /**\n * Specifies a description to provide additional details in the modal error message.\n * @required\n */\n public errorDescription: string;\n /**\n * Specifies a label for the action button that closes the modal error message.\n * @required\n */\n public errorCloseText: string;\n}\n","import { Component } from '@angular/core';\n\nimport { SkyModalInstance } 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})\nexport class SkyErrorModalFormComponent {\n constructor(\n public context: ErrorModalConfig,\n public instance: SkyModalInstance\n ) {}\n}\n","<sky-modal>\n <sky-modal-content>\n <div class=\"sky-error-modal-container\">\n <span class=\"sky-error-modal-title\">{{ context.errorTitle }}</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 } from '@angular/core';\n\nimport { SkyModalService } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\n\nimport { SkyErrorModalFormComponent } from './error-modal-form.component';\n\n/**\n * Opens a modal to display a SKY UX-themed error message.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SkyErrorModalService {\n constructor(private modal: SkyModalService) {}\n /**\n * Specifies text for the the error message, including title, description, and action label.\n */\n public open(config: ErrorModalConfig) {\n const providers = [{ provide: ErrorModalConfig, useValue: config }];\n\n this.modal.open(SkyErrorModalFormComponent, {\n ariaRole: 'alertdialog',\n providers: providers,\n });\n }\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 modules/shared/sky-errors' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: 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};\n\nexport class SkyErrorsResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyErrorsResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyErrorsResourcesModule {}\n","import { Component, Input } from '@angular/core';\n\n/**\n * Specifies a title to display in the error message.\n */\n@Component({\n selector: 'sky-error-title',\n template: '<ng-content></ng-content>',\n})\nexport class SkyErrorTitleComponent {\n /**\n * Indicates whether to replace the default title. If `false`, the title\n * from this component is added after the default title.\n * @default false\n */\n @Input()\n public replaceDefaultTitle: boolean = false;\n}\n","import { Component, Input } from '@angular/core';\n\n/**\n * Specifies a description to provide additional details in the error message.\n */\n@Component({\n selector: 'sky-error-description',\n template: '<ng-content></ng-content>',\n})\nexport class SkyErrorDescriptionComponent {\n /**\n * Indicates whether to replace the default description. If `false`, the description\n * from this component is added after the default description.\n * @default false\n */\n @Input()\n public replaceDefaultDescription: boolean = false;\n}\n","import { Component, Input, OnInit, ContentChild } from '@angular/core';\n\nimport { SkyLibResourcesService } from '@skyux/i18n';\n\nimport { SkyErrorTitleComponent } from './error-title.component';\n\nimport { SkyErrorDescriptionComponent } from './error-description.component';\n\nimport { SkyErrorType } from './error-type';\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})\nexport class SkyErrorComponent implements OnInit {\n /**\n * Specifies an error type to use a set of pre-defined values for the image,\n * title, and description. The valid options are `'broken'`, `'construction'`,\n * `'notfound'`, and `'security'`.\n */\n @Input()\n public set errorType(value: SkyErrorType) {\n this._errorType = value;\n this.setErrorTypeFields();\n }\n\n public get errorType() {\n return this._errorType;\n }\n\n /**\n * Indicates whether to display the error image.\n * @default true\n */\n @Input()\n public showImage: boolean = true;\n\n public title: string = undefined;\n public description: string = undefined;\n\n public get showTitle(): boolean {\n return this.title && !(this.titleCmp && this.titleCmp.replaceDefaultTitle);\n }\n\n public get showDescription(): boolean {\n return (\n this.description &&\n !(this.descriptionCmp && this.descriptionCmp.replaceDefaultDescription)\n );\n }\n\n @ContentChild(SkyErrorTitleComponent)\n private titleCmp: SkyErrorTitleComponent;\n\n @ContentChild(SkyErrorDescriptionComponent)\n private descriptionCmp: SkyErrorDescriptionComponent;\n\n private _errorType: SkyErrorType;\n\n constructor(private resourcesService: SkyLibResourcesService) {}\n\n public ngOnInit() {\n if (this.errorType) {\n this.setErrorTypeFields();\n }\n }\n\n public setErrorTypeFields() {\n if (this.errorType.toLowerCase() === 'broken') {\n this.title = this.getString('skyux_errors_broken_title');\n this.description = this.getString('skyux_errors_broken_description');\n } else if (this.errorType.toLowerCase() === 'notfound') {\n this.title = this.getString('skyux_errors_not_found_title');\n this.description = this.getString('skyux_errors_not_found_description');\n } else if (this.errorType.toLowerCase() === 'construction') {\n this.title = this.getString('skyux_errors_construction_title');\n this.description = this.getString(\n 'skyux_errors_construction_description'\n );\n } else if (this.errorType.toLowerCase() === 'security') {\n this.title = this.getString('skyux_errors_security_title');\n this.description = this.getString('skyux_errors_security_description');\n }\n }\n\n private getString(key: string): string {\n // TODO: Need to implement the async `getString` method in a breaking change.\n return this.resourcesService.getStringForLocale({ locale: 'en-US' }, key);\n }\n}\n","<div class=\"sky-error\">\n <div\n *ngIf=\"showImage\"\n class=\"sky-error-image-container sky-margin-stacked-lg\"\n >\n <div\n *ngIf=\"errorType\"\n class=\"sky-error-image-svg\"\n [ngClass]=\"['sky-error-' + errorType + '-image']\"\n ></div>\n <ng-content select=\"sky-error-image\"></ng-content>\n </div>\n\n <div class=\"sky-error-title sky-font-heading-1 sky-margin-stacked-lg\">\n <ng-container *ngIf=\"showTitle\">\n {{ title }}\n </ng-container>\n <ng-content select=\"sky-error-title\"></ng-content>\n </div>\n\n <div\n class=\"sky-error-description sky-font-body-default sky-margin-stacked-xl\"\n >\n <span *ngIf=\"showDescription\">\n {{ description }}\n </span>\n <ng-content select=\"sky-error-description\"></ng-content>\n </div>\n\n <div class=\"sky-error-action\">\n <ng-content select=\"sky-error-action\"></ng-content>\n </div>\n</div>\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an image to display in the error message.\n */\n@Component({\n selector: 'sky-error-image',\n template: '<ng-content></ng-content>',\n})\nexport class SkyErrorImageComponent {}\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an action to include in 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></ng-content>',\n})\nexport class SkyErrorActionComponent {}\n","import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyModalModule } from '@skyux/modals';\n\nimport { SkyErrorsResourcesModule } from '../shared/sky-errors-resources.module';\n\nimport { SkyErrorComponent } from './error.component';\n\nimport { SkyErrorImageComponent } from './error-image.component';\n\nimport { SkyErrorTitleComponent } from './error-title.component';\n\nimport { SkyErrorDescriptionComponent } from './error-description.component';\n\nimport { SkyErrorActionComponent } from './error-action.component';\n\nimport { SkyErrorModalFormComponent } from './error-modal-form.component';\n\n@NgModule({\n declarations: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n SkyErrorModalFormComponent,\n ],\n imports: [CommonModule, SkyErrorsResourcesModule, SkyModalModule],\n exports: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n ],\n entryComponents: [SkyErrorModalFormComponent],\n})\nexport class SkyErrorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-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;;4GAAd,cAAc;6GAAd,cAAc,iBAjBvB,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,4BAA4B;QAC5B,uBAAuB;QACvB,0BAA0B,aAElB,YAAY,EAAE,wBAAwB,EAAE,cAAc,aAE9D,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,4BAA4B;QAC5B,uBAAuB;6GAId,cAAc,YAVhB,CAAC,YAAY,EAAE,wBAAwB,EAAE,cAAc,CAAC;4FAUtD,cAAc;kBAnB1B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;wBACvB,0BAA0B;qBAC3B;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,wBAAwB,EAAE,cAAc,CAAC;oBACjE,OAAO,EAAE;wBACP,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;qBACxB;oBACD,eAAe,EAAE,CAAC,0BAA0B,CAAC;iBAC9C;;;ACtCD;;;;;;"}
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Specifies an action to include in the error message.
3
4
  * For example, you can include a button to reload the page or to refresh data.
4
5
  */
5
6
  export declare class SkyErrorActionComponent {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorActionComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorActionComponent, "sky-error-action", never, {}, {}, never, ["*"]>;
6
9
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Specifies a description to provide additional details in the error message.
3
4
  */
@@ -8,4 +9,6 @@ export declare class SkyErrorDescriptionComponent {
8
9
  * @default false
9
10
  */
10
11
  replaceDefaultDescription: boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorDescriptionComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorDescriptionComponent, "sky-error-description", never, { "replaceDefaultDescription": "replaceDefaultDescription"; }, {}, never, ["*"]>;
11
14
  }
@@ -1,5 +1,8 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Specifies an image to display in the error message.
3
4
  */
4
5
  export declare class SkyErrorImageComponent {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorImageComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorImageComponent, "sky-error-image", never, {}, {}, never, ["*"]>;
5
8
  }
@@ -1,5 +1,6 @@
1
1
  import { SkyModalInstance } from '@skyux/modals';
2
2
  import { ErrorModalConfig } from './error-modal-config';
3
+ import * as i0 from "@angular/core";
3
4
  /**
4
5
  * @internal
5
6
  */
@@ -7,4 +8,6 @@ export declare class SkyErrorModalFormComponent {
7
8
  context: ErrorModalConfig;
8
9
  instance: SkyModalInstance;
9
10
  constructor(context: ErrorModalConfig, instance: SkyModalInstance);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorModalFormComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorModalFormComponent, "sky-error-modal-form", never, {}, {}, never, never>;
10
13
  }
@@ -1,5 +1,6 @@
1
1
  import { SkyModalService } from '@skyux/modals';
2
2
  import { ErrorModalConfig } from './error-modal-config';
3
+ import * as i0 from "@angular/core";
3
4
  /**
4
5
  * Opens a modal to display a SKY UX-themed error message.
5
6
  */
@@ -10,4 +11,6 @@ export declare class SkyErrorModalService {
10
11
  * Specifies text for the the error message, including title, description, and action label.
11
12
  */
12
13
  open(config: ErrorModalConfig): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorModalService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyErrorModalService>;
13
16
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Specifies a title to display in the error message.
3
4
  */
@@ -8,4 +9,6 @@ export declare class SkyErrorTitleComponent {
8
9
  * @default false
9
10
  */
10
11
  replaceDefaultTitle: boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorTitleComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorTitleComponent, "sky-error-title", never, { "replaceDefaultTitle": "replaceDefaultTitle"; }, {}, never, ["*"]>;
11
14
  }
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { SkyLibResourcesService } from '@skyux/i18n';
3
3
  import { SkyErrorType } from './error-type';
4
+ import * as i0 from "@angular/core";
4
5
  /**
5
6
  * Displays a SKY UX-themed error message.
6
7
  */
@@ -29,4 +30,6 @@ export declare class SkyErrorComponent implements OnInit {
29
30
  ngOnInit(): void;
30
31
  setErrorTypeFields(): void;
31
32
  private getString;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyErrorComponent, "sky-error", never, { "errorType": "errorType"; "showImage": "showImage"; }, {}, ["titleCmp", "descriptionCmp"], ["sky-error-image", "sky-error-title", "sky-error-description", "sky-error-action"]>;
32
35
  }
@@ -1,2 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./error.component";
3
+ import * as i2 from "./error-image.component";
4
+ import * as i3 from "./error-title.component";
5
+ import * as i4 from "./error-description.component";
6
+ import * as i5 from "./error-action.component";
7
+ import * as i6 from "./error-modal-form.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "../shared/sky-errors-resources.module";
10
+ import * as i9 from "@skyux/modals";
1
11
  export declare class SkyErrorModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyErrorModule, [typeof i1.SkyErrorComponent, typeof i2.SkyErrorImageComponent, typeof i3.SkyErrorTitleComponent, typeof i4.SkyErrorDescriptionComponent, typeof i5.SkyErrorActionComponent, typeof i6.SkyErrorModalFormComponent], [typeof i7.CommonModule, typeof i8.SkyErrorsResourcesModule, typeof i9.SkyModalModule], [typeof i1.SkyErrorComponent, typeof i2.SkyErrorImageComponent, typeof i3.SkyErrorTitleComponent, typeof i4.SkyErrorDescriptionComponent, typeof i5.SkyErrorActionComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyErrorModule>;
2
15
  }
@@ -1,10 +1,6 @@
1
- /**
2
- * NOTICE: DO NOT MODIFY THIS FILE!
3
- * The contents of this file were automatically generated by
4
- * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-errors' schematic.
5
- * To update this file, simply rerun the command.
6
- */
7
1
  import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@skyux/i18n";
8
4
  export declare class SkyErrorsResourcesProvider implements SkyLibResourcesProvider {
9
5
  getString(localeInfo: SkyAppLocaleInfo, name: string): string;
10
6
  }
@@ -12,4 +8,7 @@ export declare class SkyErrorsResourcesProvider implements SkyLibResourcesProvid
12
8
  * Import into any component library module that needs to use resource strings.
13
9
  */
14
10
  export declare class SkyErrorsResourcesModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyErrorsResourcesModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyErrorsResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyErrorsResourcesModule>;
15
14
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@skyux/errors",
3
- "version": "5.0.0-beta.2",
3
+ "version": "5.0.1",
4
4
  "peerDependencies": {
5
- "@angular/common": "^12.2.0",
6
- "@angular/core": "^12.2.0",
7
- "@skyux/modals": "^5.0.0-beta.3",
8
- "@skyux/i18n": "^5.0.0-beta.6"
5
+ "@angular/common": "^12.2.13",
6
+ "@angular/core": "^12.2.13",
7
+ "@skyux/modals": "^5.0.1",
8
+ "@skyux/i18n": "^5.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "tslib": "^2.3.0"
11
+ "tslib": "^2.3.1"
12
12
  },
13
13
  "main": "bundles/skyux-errors.umd.js",
14
14
  "module": "fesm2015/skyux-errors.js",
@@ -16,6 +16,5 @@
16
16
  "esm2015": "esm2015/skyux-errors.js",
17
17
  "fesm2015": "fesm2015/skyux-errors.js",
18
18
  "typings": "skyux-errors.d.ts",
19
- "metadata": "skyux-errors.metadata.json",
20
19
  "sideEffects": false
21
20
  }
package/public-api.d.ts CHANGED
@@ -2,3 +2,8 @@ export * from './modules/error/error-modal-config';
2
2
  export * from './modules/error/error-modal.service';
3
3
  export * from './modules/error/error.module';
4
4
  export * from './modules/error/error-type';
5
+ export { SkyErrorActionComponent as λ1 } from './modules/error/error-action.component';
6
+ export { SkyErrorDescriptionComponent as λ2 } from './modules/error/error-description.component';
7
+ export { SkyErrorImageComponent as λ3 } from './modules/error/error-image.component';
8
+ export { SkyErrorTitleComponent as λ4 } from './modules/error/error-title.component';
9
+ export { SkyErrorComponent as λ5 } from './modules/error/error.component';
package/skyux-errors.d.ts CHANGED
@@ -1,11 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@skyux/errors" />
4
5
  export * from './public-api';
5
- export { SkyErrorActionComponent as ɵe } from './modules/error/error-action.component';
6
- export { SkyErrorDescriptionComponent as ɵc } from './modules/error/error-description.component';
7
- export { SkyErrorImageComponent as ɵd } from './modules/error/error-image.component';
8
- export { SkyErrorModalFormComponent as ɵf } from './modules/error/error-modal-form.component';
9
- export { SkyErrorTitleComponent as ɵb } from './modules/error/error-title.component';
10
- export { SkyErrorComponent as ɵa } from './modules/error/error.component';
11
- export { SkyErrorsResourcesModule as ɵh, SkyErrorsResourcesProvider as ɵg } from './modules/shared/sky-errors-resources.module';
@@ -5,7 +5,6 @@
5
5
  "esm2015": "../esm2015/testing/skyux-errors-testing.js",
6
6
  "fesm2015": "../fesm2015/skyux-errors-testing.js",
7
7
  "typings": "skyux-errors-testing.d.ts",
8
- "metadata": "skyux-errors-testing.metadata.json",
9
8
  "sideEffects": false,
10
9
  "name": "@skyux/errors/testing"
11
10
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@skyux/errors/testing" />
4
5
  export * from './public-api';
@@ -1,16 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./error-action.component";
9
- var styles_SkyErrorActionComponent = [];
10
- var RenderType_SkyErrorActionComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SkyErrorActionComponent, data: {} });
11
- export { RenderType_SkyErrorActionComponent as RenderType_SkyErrorActionComponent };
12
- export function View_SkyErrorActionComponent_0(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0)], null, null); }
13
- export function View_SkyErrorActionComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "sky-error-action", [], null, null, null, View_SkyErrorActionComponent_0, RenderType_SkyErrorActionComponent)), i0.ɵdid(1, 49152, null, 0, i1.SkyErrorActionComponent, [], null, null)], null, null); }
14
- var SkyErrorActionComponentNgFactory = i0.ɵccf("sky-error-action", i1.SkyErrorActionComponent, View_SkyErrorActionComponent_Host_0, {}, {}, ["*"]);
15
- export { SkyErrorActionComponentNgFactory as SkyErrorActionComponentNgFactory };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItYWN0aW9uLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lcnJvcnMvc3JjL21vZHVsZXMvZXJyb3IvZXJyb3ItYWN0aW9uLmNvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lcnJvcnMvc3JjL21vZHVsZXMvZXJyb3IvZXJyb3ItYWN0aW9uLmNvbXBvbmVudC50cy5Ta3lFcnJvckFjdGlvbkNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O3dFQ0FBLGVBQXlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgaTAgZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pMC5Db21wb25lbnRGYWN0b3J5O1xuIiwiPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"sky-error-action","exportAs":null,"inputs":{},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":1,"members":[]},"rendererType":{"__symbol":2,"members":[]},"componentFactory":{"__symbol":3,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorActionComponent","filePath":"./error-action.component"},{"__symbol":1,"name":"View_SkyErrorActionComponent_0","filePath":"./error-action.component.ngfactory"},{"__symbol":2,"name":"RenderType_SkyErrorActionComponent","filePath":"./error-action.component.ngfactory"},{"__symbol":3,"name":"SkyErrorActionComponentNgFactory","filePath":"./error-action.component.ngfactory"}]}
@@ -1,16 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./error-description.component";
9
- var styles_SkyErrorDescriptionComponent = [];
10
- var RenderType_SkyErrorDescriptionComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SkyErrorDescriptionComponent, data: {} });
11
- export { RenderType_SkyErrorDescriptionComponent as RenderType_SkyErrorDescriptionComponent };
12
- export function View_SkyErrorDescriptionComponent_0(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0)], null, null); }
13
- export function View_SkyErrorDescriptionComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "sky-error-description", [], null, null, null, View_SkyErrorDescriptionComponent_0, RenderType_SkyErrorDescriptionComponent)), i0.ɵdid(1, 49152, null, 0, i1.SkyErrorDescriptionComponent, [], null, null)], null, null); }
14
- var SkyErrorDescriptionComponentNgFactory = i0.ɵccf("sky-error-description", i1.SkyErrorDescriptionComponent, View_SkyErrorDescriptionComponent_Host_0, { replaceDefaultDescription: "replaceDefaultDescription" }, {}, ["*"]);
15
- export { SkyErrorDescriptionComponentNgFactory as SkyErrorDescriptionComponentNgFactory };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItZGVzY3JpcHRpb24uY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vycm9ycy9zcmMvbW9kdWxlcy9lcnJvci9lcnJvci1kZXNjcmlwdGlvbi5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXJyb3JzL3NyYy9tb2R1bGVzL2Vycm9yL2Vycm9yLWRlc2NyaXB0aW9uLmNvbXBvbmVudC50cy5Ta3lFcnJvckRlc2NyaXB0aW9uQ29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7NkVDQUEsZUFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"replaceDefaultDescription":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"sky-error-description","exportAs":null,"inputs":{"replaceDefaultDescription":"replaceDefaultDescription"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":2,"members":[]},"rendererType":{"__symbol":3,"members":[]},"componentFactory":{"__symbol":4,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorDescriptionComponent","filePath":"./error-description.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_SkyErrorDescriptionComponent_0","filePath":"./error-description.component.ngfactory"},{"__symbol":3,"name":"RenderType_SkyErrorDescriptionComponent","filePath":"./error-description.component.ngfactory"},{"__symbol":4,"name":"SkyErrorDescriptionComponentNgFactory","filePath":"./error-description.component.ngfactory"}]}
@@ -1,16 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./error-image.component";
9
- var styles_SkyErrorImageComponent = [];
10
- var RenderType_SkyErrorImageComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SkyErrorImageComponent, data: {} });
11
- export { RenderType_SkyErrorImageComponent as RenderType_SkyErrorImageComponent };
12
- export function View_SkyErrorImageComponent_0(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0)], null, null); }
13
- export function View_SkyErrorImageComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "sky-error-image", [], null, null, null, View_SkyErrorImageComponent_0, RenderType_SkyErrorImageComponent)), i0.ɵdid(1, 49152, null, 0, i1.SkyErrorImageComponent, [], null, null)], null, null); }
14
- var SkyErrorImageComponentNgFactory = i0.ɵccf("sky-error-image", i1.SkyErrorImageComponent, View_SkyErrorImageComponent_Host_0, {}, {}, ["*"]);
15
- export { SkyErrorImageComponentNgFactory as SkyErrorImageComponentNgFactory };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItaW1hZ2UuY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vycm9ycy9zcmMvbW9kdWxlcy9lcnJvci9lcnJvci1pbWFnZS5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXJyb3JzL3NyYy9tb2R1bGVzL2Vycm9yL2Vycm9yLWltYWdlLmNvbXBvbmVudC50cy5Ta3lFcnJvckltYWdlQ29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7dUVDQUEsZUFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"sky-error-image","exportAs":null,"inputs":{},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":1,"members":[]},"rendererType":{"__symbol":2,"members":[]},"componentFactory":{"__symbol":3,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorImageComponent","filePath":"./error-image.component"},{"__symbol":1,"name":"View_SkyErrorImageComponent_0","filePath":"./error-image.component.ngfactory"},{"__symbol":2,"name":"RenderType_SkyErrorImageComponent","filePath":"./error-image.component.ngfactory"},{"__symbol":3,"name":"SkyErrorImageComponentNgFactory","filePath":"./error-image.component.ngfactory"}]}
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"}}],"symbols":[{"__symbol":0,"name":"ErrorModalConfig","filePath":"./error-modal-config"}]}
@@ -1,30 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "./error-modal-form.component.scss.shim.ngstyle";
8
- import * as i1 from "@angular/core";
9
- import * as i2 from "../../../../../node_modules/@skyux/modals/skyux-modals.ngfactory";
10
- import * as i3 from "@skyux/modals";
11
- import * as i4 from "@skyux/core";
12
- import * as i5 from "./error-modal-form.component";
13
- import * as i6 from "./error-modal-config";
14
- var styles_SkyErrorModalFormComponent = [i0.styles];
15
- var RenderType_SkyErrorModalFormComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SkyErrorModalFormComponent, data: {} });
16
- export { RenderType_SkyErrorModalFormComponent as RenderType_SkyErrorModalFormComponent };
17
- export function View_SkyErrorModalFormComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, "sky-modal", [], null, [["document", "keyup"], ["document", "keydown"]], function (_v, en, $event) { var ad = true; if (("document:keyup" === en)) {
18
- var pd_0 = (i1.ɵnov(_v, 2).onDocumentKeyUp($event) !== false);
19
- ad = (pd_0 && ad);
20
- } if (("document:keydown" === en)) {
21
- var pd_1 = (i1.ɵnov(_v, 2).onDocumentKeyDown($event) !== false);
22
- ad = (pd_1 && ad);
23
- } return ad; }, i2.View_ɵb_0, i2.RenderType_ɵb)), i1.ɵprd(512, null, i3.ɵd, i3.ɵd, []), i1.ɵdid(2, 4243456, null, 0, i3.ɵb, [i3.SkyModalHostService, i3.SkyModalConfiguration, i1.ElementRef, i4.SkyAppWindowRef, i3.ɵd], null, null), (_l()(), i1.ɵeld(3, 0, null, 1, 9, "sky-modal-content", [], null, null, null, i2.View_ɵe_0, i2.RenderType_ɵe)), i1.ɵdid(4, 49152, null, 0, i3.ɵe, [], null, null), (_l()(), i1.ɵeld(5, 0, null, 0, 7, "div", [["class", "sky-error-modal-container"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, "span", [["class", "sky-error-modal-title"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, ["", ""])), (_l()(), i1.ɵeld(8, 0, null, null, 1, "span", [["class", "sky-error-modal-description"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, ["", ""])), (_l()(), i1.ɵeld(10, 0, null, null, 2, "div", [["class", "sky-error-modal-close"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, "button", [["class", "sky-btn sky-btn-primary"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
24
- var pd_0 = (_co.instance.close() !== false);
25
- ad = (pd_0 && ad);
26
- } return ad; }, null, null)), (_l()(), i1.ɵted(12, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.context.errorTitle; _ck(_v, 7, 0, currVal_0); var currVal_1 = _co.context.errorDescription; _ck(_v, 9, 0, currVal_1); var currVal_2 = _co.context.errorCloseText; _ck(_v, 12, 0, currVal_2); }); }
27
- export function View_SkyErrorModalFormComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "sky-error-modal-form", [], null, null, null, View_SkyErrorModalFormComponent_0, RenderType_SkyErrorModalFormComponent)), i1.ɵdid(1, 49152, null, 0, i5.SkyErrorModalFormComponent, [i6.ErrorModalConfig, i3.SkyModalInstance], null, null)], null, null); }
28
- var SkyErrorModalFormComponentNgFactory = i1.ɵccf("sky-error-modal-form", i5.SkyErrorModalFormComponent, View_SkyErrorModalFormComponent_Host_0, {}, {}, []);
29
- export { SkyErrorModalFormComponentNgFactory as SkyErrorModalFormComponentNgFactory };
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbW9kYWwtZm9ybS5jb21wb25lbnQubmdmYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXJyb3JzL3NyYy9tb2R1bGVzL2Vycm9yL2Vycm9yLW1vZGFsLWZvcm0uY29tcG9uZW50Lm5nZmFjdG9yeS50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vycm9ycy9zcmMvbW9kdWxlcy9lcnJvci9lcnJvci1tb2RhbC1mb3JtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibW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L2Rpdj5cbiAgPC9za3ktbW9kYWwtY29udGVudD5cbjwvc2t5LW1vZGFsPlxuIl19
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]},{"__symbol":2,"members":[]}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]},"isComponent":true,"selector":"sky-error-modal-form","exportAs":null,"inputs":{},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorModalFormComponent","filePath":"./error-modal-form.component"},{"__symbol":1,"name":"ErrorModalConfig","filePath":"./error-modal-config"},{"__symbol":2,"name":"SkyModalInstance","filePath":"@skyux/modals"},{"__symbol":3,"name":"View_SkyErrorModalFormComponent_0","filePath":"./error-modal-form.component.ngfactory"},{"__symbol":4,"name":"RenderType_SkyErrorModalFormComponent","filePath":"./error-modal-form.component.ngfactory"},{"__symbol":5,"name":"SkyErrorModalFormComponentNgFactory","filePath":"./error-modal-form.component.ngfactory"}]}
@@ -1,9 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- var styles = [".sky-error-modal-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.sky-error-modal-title[_ngcontent-%COMP%]{font-weight:bold}.sky-error-modal-description[_ngcontent-%COMP%]{max-width:100%}.sky-error-modal-close[_ngcontent-%COMP%]{margin-top:10px}"];
8
- export { styles as styles };
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbW9kYWwtZm9ybS5jb21wb25lbnQuc2Nzcy5zaGltLm5nc3R5bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lcnJvcnMvc3JjL21vZHVsZXMvZXJyb3IvZXJyb3ItbW9kYWwtZm9ybS5jb21wb25lbnQuc2Nzcy5zaGltLm5nc3R5bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGkwIGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaTAuQ29tcG9uZW50RmFjdG9yeTtcbiJdfQ==
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]}]}],"open":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorModalService","filePath":"./error-modal.service"},{"__symbol":1,"name":"SkyModalService","filePath":"@skyux/modals"}]}
@@ -1,16 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./error-title.component";
9
- var styles_SkyErrorTitleComponent = [];
10
- var RenderType_SkyErrorTitleComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SkyErrorTitleComponent, data: {} });
11
- export { RenderType_SkyErrorTitleComponent as RenderType_SkyErrorTitleComponent };
12
- export function View_SkyErrorTitleComponent_0(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0)], null, null); }
13
- export function View_SkyErrorTitleComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "sky-error-title", [], null, null, null, View_SkyErrorTitleComponent_0, RenderType_SkyErrorTitleComponent)), i0.ɵdid(1, 49152, null, 0, i1.SkyErrorTitleComponent, [], null, null)], null, null); }
14
- var SkyErrorTitleComponentNgFactory = i0.ɵccf("sky-error-title", i1.SkyErrorTitleComponent, View_SkyErrorTitleComponent_Host_0, { replaceDefaultTitle: "replaceDefaultTitle" }, {}, ["*"]);
15
- export { SkyErrorTitleComponentNgFactory as SkyErrorTitleComponentNgFactory };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItdGl0bGUuY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vycm9ycy9zcmMvbW9kdWxlcy9lcnJvci9lcnJvci10aXRsZS5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXJyb3JzL3NyYy9tb2R1bGVzL2Vycm9yL2Vycm9yLXRpdGxlLmNvbXBvbmVudC50cy5Ta3lFcnJvclRpdGxlQ29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7dUVDQUEsZUFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpMCBmcm9tICdAYW5ndWxhci9jb3JlJztcbmkwLkNvbXBvbmVudEZhY3Rvcnk7XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"replaceDefaultTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"sky-error-title","exportAs":null,"inputs":{"replaceDefaultTitle":"replaceDefaultTitle"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":2,"members":[]},"rendererType":{"__symbol":3,"members":[]},"componentFactory":{"__symbol":4,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorTitleComponent","filePath":"./error-title.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_SkyErrorTitleComponent_0","filePath":"./error-title.component.ngfactory"},{"__symbol":3,"name":"RenderType_SkyErrorTitleComponent","filePath":"./error-title.component.ngfactory"},{"__symbol":4,"name":"SkyErrorTitleComponentNgFactory","filePath":"./error-title.component.ngfactory"}]}
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"interface"}}],"symbols":[{"__symbol":0,"name":"SkyErrorType","filePath":"./error-type"}]}
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview This file was generated by the Angular template compiler. Do not edit.
3
- *
4
- * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
5
- * tslint:disable
6
- */
7
- import * as i0 from "./error.component.scss.shim.ngstyle";
8
- import * as i1 from "@angular/core";
9
- import * as i2 from "@angular/common";
10
- import * as i3 from "./error.component";
11
- import * as i4 from "@skyux/i18n";
12
- var styles_SkyErrorComponent = [i0.styles];
13
- var RenderType_SkyErrorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SkyErrorComponent, data: {} });
14
- export { RenderType_SkyErrorComponent as RenderType_SkyErrorComponent };
15
- function View_SkyErrorComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "sky-error-image-svg"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpad(2, 1)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "sky-error-image-svg"; var currVal_1 = _ck(_v, 2, 0, (("sky-error-" + _co.errorType) + "-image")); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
16
- function View_SkyErrorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, "div", [["class", "sky-error-image-container sky-margin-stacked-lg"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SkyErrorComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵncd(null, 0)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.errorType; _ck(_v, 2, 0, currVal_0); }, null); }
17
- function View_SkyErrorComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.title; _ck(_v, 1, 0, currVal_0); }); }
18
- function View_SkyErrorComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.description; _ck(_v, 1, 0, currVal_0); }); }
19
- export function View_SkyErrorComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, "div", [["class", "sky-error"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SkyErrorComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 3, "div", [["class", "sky-error-title sky-font-heading-1 sky-margin-stacked-lg"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SkyErrorComponent_3)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵncd(null, 1), (_l()(), i1.ɵeld(7, 0, null, null, 3, "div", [["class", "sky-error-description sky-font-body-default sky-margin-stacked-xl"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SkyErrorComponent_4)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), i1.ɵncd(null, 2), (_l()(), i1.ɵeld(11, 0, null, null, 1, "div", [["class", "sky-error-action"]], null, null, null, null, null)), i1.ɵncd(null, 3)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.showImage; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.showTitle; _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.showDescription; _ck(_v, 9, 0, currVal_2); }, null); }
20
- export function View_SkyErrorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, "sky-error", [], null, null, null, View_SkyErrorComponent_0, RenderType_SkyErrorComponent)), i1.ɵdid(1, 114688, null, 2, i3.SkyErrorComponent, [i4.SkyLibResourcesService], null, null), i1.ɵqud(603979776, 1, { titleCmp: 0 }), i1.ɵqud(603979776, 2, { descriptionCmp: 0 })], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
21
- var SkyErrorComponentNgFactory = i1.ɵccf("sky-error", i3.SkyErrorComponent, View_SkyErrorComponent_Host_0, { errorType: "errorType", showImage: "showImage" }, {}, ["sky-error-image", "sky-error-title", "sky-error-description", "sky-error-action"]);
22
- export { SkyErrorComponentNgFactory as SkyErrorComponentNgFactory };
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vycm9ycy9zcmMvbW9kdWxlcy9lcnJvci9lcnJvci5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXJyb3JzL3NyYy9tb2R1bGVzL2Vycm9yL2Vycm9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OzREQ09JLHFSQUlNLEdBRkosWUFBaUQsaURBRGpELHFDQUEyQixFQUMzQix3RUFBaUQsSUFGbkQsWUFJTSxFQUhKLFNBQTJCLEVBQzNCLFNBQWlEOzREQUxyRCx3SUFXTSxLQVJKLGlMQUlNLEdBQ04sZUFFYyxpREFQVCxtQkFBaUIsWUFBdEIsWUFJTSxFQUpELFNBQWlCOzREQWF0Qiw2RUFFZSxLQUZpQiw2SUFFaEM7NERBU0EsNkVBRU8sS0FGdUIsbUpBRTlCO21FQWpDSixtR0ErQ00sS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G5nLWNvbnRlbnRcbiAgICAgIHNlbGVjdD1cInNreS1lcnJvci10aXRsZVwiXG4gICAgPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG5cbiAgPGRpdlxuICAgIGNsYXNzPVwic2t5LWVycm9yLWRlc2NyaXB0aW9uIHNreS1mb250LWJvZHktZGVmYXVsdCBza3ktbWFyZ2luLXN0YWNrZWQteGxcIlxuICA+XG4gICAgPHNwYW4gKm5nSWY9XCJzaG93RGVzY3JpcHRpb25cIj5cbiAgICAgIHt7IGRlc2NyaXB0aW9uIH19XG4gICAgPC9zcGFuPlxuICAgIDxuZy1jb250ZW50XG4gICAgICBzZWxlY3Q9XCJza3ktZXJyb3ItZGVzY3JpcHRpb25cIlxuICAgID48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuXG4gIDxkaXZcbiAgICBjbGFzcz1cInNreS1lcnJvci1hY3Rpb25cIlxuICA+XG4gICAgPG5nLWNvbnRlbnRcbiAgICAgIHNlbGVjdD1cInNreS1lcnJvci1hY3Rpb25cIlxuICAgID48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuXG48L2Rpdj5cbiJdfQ==
@@ -1 +0,0 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"errorType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"showImage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"titleCmp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":[{"__symbol":3,"members":[]}]}]}],"descriptionCmp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":5,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"setErrorTypeFields":[{"__symbolic":"method"}],"getString":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[0]},"isComponent":true,"selector":"sky-error","exportAs":null,"inputs":{"errorType":"errorType","showImage":"showImage"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":3,"members":[]}}}],"first":true,"descendants":true,"propertyName":"titleCmp","read":null},{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":true,"descendants":true,"propertyName":"descriptionCmp","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["sky-error-image","sky-error-title","sky-error-description","sky-error-action"],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":6,"members":[]},"rendererType":{"__symbol":7,"members":[]},"componentFactory":{"__symbol":8,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SkyErrorComponent","filePath":"./error.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"ContentChild","filePath":"@angular/core"},{"__symbol":3,"name":"SkyErrorTitleComponent","filePath":"./error-title.component"},{"__symbol":4,"name":"SkyErrorDescriptionComponent","filePath":"./error-description.component"},{"__symbol":5,"name":"SkyLibResourcesService","filePath":"@skyux/i18n"},{"__symbol":6,"name":"View_SkyErrorComponent_0","filePath":"./error.component.ngfactory"},{"__symbol":7,"name":"RenderType_SkyErrorComponent","filePath":"./error.component.ngfactory"},{"__symbol":8,"name":"SkyErrorComponentNgFactory","filePath":"./error.component.ngfactory"}]}