@skyux/errors 14.7.0 → 15.0.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Component, Optional, Injectable, NgModule, Input, HostBinding } from '@angular/core';
2
+ import { inject, ChangeDetectionStrategy, Component, Optional, Injectable, NgModule, Input, HostBinding } from '@angular/core';
3
3
  import * as i2 from '@skyux/core';
4
4
  import { SkyIdModule } from '@skyux/core';
5
5
  import * as i2$1 from '@skyux/modals';
@@ -24,12 +24,12 @@ class SkyErrorModalFormComponent {
24
24
  this.context = inject(ErrorModalConfig);
25
25
  this.instance = inject(SkyModalInstance);
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModalFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: SkyErrorModalFormComponent, isStandalone: true, selector: "sky-error-modal-form", ngImport: i0, template: "<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", styles: [".sky-error-modal-container{display:flex;flex-direction:column;align-items:center}.sky-error-modal-title{font-weight:700}.sky-error-modal-description{max-width:100%}.sky-error-modal-close{margin-top:10px}\n"], dependencies: [{ kind: "ngmodule", type: SkyIdModule }, { kind: "directive", type: i2.λ2, selector: "[skyId]", exportAs: ["skyId"] }, { kind: "ngmodule", type: SkyModalModule }, { kind: "component", type: i2$1.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout", "headingHidden"] }, { kind: "component", type: i2$1.λ2, selector: "sky-modal-content" }] }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModalFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyErrorModalFormComponent, isStandalone: true, selector: "sky-error-modal-form", ngImport: i0, template: "<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", styles: [".sky-error-modal-container{display:flex;flex-direction:column;align-items:center}.sky-error-modal-title{font-weight:700}.sky-error-modal-description{max-width:100%}.sky-error-modal-close{margin-top:10px}\n"], dependencies: [{ kind: "ngmodule", type: SkyIdModule }, { kind: "directive", type: i2.λ2, selector: "[skyId]", exportAs: ["skyId"] }, { kind: "ngmodule", type: SkyModalModule }, { kind: "component", type: i2$1.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout", "headingHidden"] }, { kind: "component", type: i2$1.λ2, selector: "sky-modal-content" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModalFormComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModalFormComponent, decorators: [{
31
31
  type: Component,
32
- args: [{ selector: 'sky-error-modal-form', imports: [SkyIdModule, SkyModalModule], template: "<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", styles: [".sky-error-modal-container{display:flex;flex-direction:column;align-items:center}.sky-error-modal-title{font-weight:700}.sky-error-modal-description{max-width:100%}.sky-error-modal-close{margin-top:10px}\n"] }]
32
+ args: [{ selector: 'sky-error-modal-form', changeDetection: ChangeDetectionStrategy.Eager, imports: [SkyIdModule, SkyModalModule], template: "<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", styles: [".sky-error-modal-container{display:flex;flex-direction:column;align-items:center}.sky-error-modal-title{font-weight:700}.sky-error-modal-description{max-width:100%}.sky-error-modal-close{margin-top:10px}\n"] }]
33
33
  }] });
34
34
 
35
35
  /**
@@ -60,10 +60,10 @@ class SkyErrorModalService {
60
60
  providers: providers,
61
61
  });
62
62
  }
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModalService, deps: [{ token: i2$1.SkyModalService }, { token: i2.SkyLogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
64
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModalService, providedIn: 'root' }); }
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModalService, deps: [{ token: i2$1.SkyModalService }, { token: i2.SkyLogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
64
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModalService, providedIn: 'root' }); }
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModalService, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModalService, decorators: [{
67
67
  type: Injectable,
68
68
  args: [{
69
69
  providedIn: 'root',
@@ -126,11 +126,11 @@ SkyLibResourcesService.addResources(RESOURCES);
126
126
  * Import into any component library module that needs to use resource strings.
127
127
  */
128
128
  class SkyErrorsResourcesModule {
129
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorsResourcesModule, exports: [SkyI18nModule] }); }
131
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorsResourcesModule, imports: [SkyI18nModule] }); }
129
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorsResourcesModule, exports: [SkyI18nModule] }); }
131
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorsResourcesModule, imports: [SkyI18nModule] }); }
132
132
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorsResourcesModule, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorsResourcesModule, decorators: [{
134
134
  type: NgModule,
135
135
  args: [{
136
136
  exports: [SkyI18nModule],
@@ -142,14 +142,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
142
142
  * For example, you can include a button to reload the page or to refresh data.
143
143
  */
144
144
  class SkyErrorActionComponent {
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
146
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: SkyErrorActionComponent, isStandalone: false, selector: "sky-error-action", ngImport: i0, template: '<ng-content />', isInline: true }); }
145
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
146
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyErrorActionComponent, isStandalone: false, selector: "sky-error-action", ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
147
147
  }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorActionComponent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorActionComponent, decorators: [{
149
149
  type: Component,
150
150
  args: [{
151
151
  selector: 'sky-error-action',
152
152
  template: '<ng-content />',
153
+ changeDetection: ChangeDetectionStrategy.Eager,
153
154
  standalone: false,
154
155
  }]
155
156
  }] });
@@ -162,10 +163,10 @@ class SkyErrorService {
162
163
  this.replaceDefaultDescription = new BehaviorSubject(false);
163
164
  this.replaceDefaultTitle = new BehaviorSubject(false);
164
165
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
166
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorService }); }
166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
167
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorService }); }
167
168
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorService, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorService, decorators: [{
169
170
  type: Injectable
170
171
  }] });
171
172
 
@@ -185,14 +186,15 @@ class SkyErrorDescriptionComponent {
185
186
  constructor() {
186
187
  this.#errorSvc.replaceDefaultDescription.next(false);
187
188
  }
188
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
189
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: SkyErrorDescriptionComponent, isStandalone: false, selector: "sky-error-description", inputs: { replaceDefaultDescription: "replaceDefaultDescription" }, ngImport: i0, template: '<ng-content />', isInline: true }); }
189
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
190
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyErrorDescriptionComponent, isStandalone: false, selector: "sky-error-description", inputs: { replaceDefaultDescription: "replaceDefaultDescription" }, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
190
191
  }
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorDescriptionComponent, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorDescriptionComponent, decorators: [{
192
193
  type: Component,
193
194
  args: [{
194
195
  selector: 'sky-error-description',
195
196
  template: '<ng-content />',
197
+ changeDetection: ChangeDetectionStrategy.Eager,
196
198
  standalone: false,
197
199
  }]
198
200
  }], ctorParameters: () => [], propDecorators: { replaceDefaultDescription: [{
@@ -203,14 +205,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
203
205
  * Specifies an image to display with the error message.
204
206
  */
205
207
  class SkyErrorImageComponent {
206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
207
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: SkyErrorImageComponent, isStandalone: false, selector: "sky-error-image", ngImport: i0, template: '<ng-content />', isInline: true }); }
208
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
209
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyErrorImageComponent, isStandalone: false, selector: "sky-error-image", ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
208
210
  }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorImageComponent, decorators: [{
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorImageComponent, decorators: [{
210
212
  type: Component,
211
213
  args: [{
212
214
  selector: 'sky-error-image',
213
215
  template: '<ng-content />',
216
+ changeDetection: ChangeDetectionStrategy.Eager,
214
217
  standalone: false,
215
218
  }]
216
219
  }] });
@@ -231,14 +234,15 @@ class SkyErrorTitleComponent {
231
234
  constructor() {
232
235
  this.#errorSvc.replaceDefaultTitle.next(false);
233
236
  }
234
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
235
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: SkyErrorTitleComponent, isStandalone: false, selector: "sky-error-title", inputs: { replaceDefaultTitle: "replaceDefaultTitle" }, ngImport: i0, template: '<ng-content />', isInline: true }); }
237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
238
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyErrorTitleComponent, isStandalone: false, selector: "sky-error-title", inputs: { replaceDefaultTitle: "replaceDefaultTitle" }, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
236
239
  }
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorTitleComponent, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorTitleComponent, decorators: [{
238
241
  type: Component,
239
242
  args: [{
240
243
  selector: 'sky-error-title',
241
244
  template: '<ng-content />',
245
+ changeDetection: ChangeDetectionStrategy.Eager,
242
246
  standalone: false,
243
247
  }]
244
248
  }], ctorParameters: () => [], propDecorators: { replaceDefaultTitle: [{
@@ -305,12 +309,12 @@ class SkyErrorComponent {
305
309
  // TODO: Need to implement the async `getString` method in a breaking change.
306
310
  return this.#resourcesSvc.getStringForLocale({ locale: 'en-US' }, key);
307
311
  }
308
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
309
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: SkyErrorComponent, isStandalone: false, selector: "sky-error", inputs: { errorType: "errorType", showImage: "showImage" }, host: { properties: { "attr.errorType": "this.hostErrorType" } }, providers: [SkyErrorService], ngImport: i0, template: "<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", styles: [".sky-error:not(.sky-theme-modern *){--sky-override-error-margin-top: 0;--sky-override-error-padding-top: 60px}.sky-error{display:flex;flex-direction:column;justify-content:center;text-align:center;padding-top:var(--sky-override-error-padding-top, var(--sky-space-stacked-xxl));margin-top:var(--sky-override-error-margin-top, var(--sky-space-stacked-xxl))}.sky-error .sky-error-description span{white-space:pre-wrap}.sky-error .sky-error-image-container{display:flex;justify-content:center}.sky-error .sky-error-image-svg{background-repeat:no-repeat;background-size:contain;background-position:center}.sky-error-broken-image{height:110px;width:170px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/broken.svg)}.sky-error-construction-image{height:110px;width:109px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/construction.svg)}.sky-error-notfound-image{height:110px;width:169px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/notfound.svg)}.sky-error-security-image{height:110px;width:97px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/security.svg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
313
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SkyErrorComponent, isStandalone: false, selector: "sky-error", inputs: { errorType: "errorType", showImage: "showImage" }, host: { properties: { "attr.errorType": "this.hostErrorType" } }, providers: [SkyErrorService], ngImport: i0, template: "<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", styles: [".sky-error:not(.sky-theme-modern *){--sky-override-error-margin-top: 0;--sky-override-error-padding-top: 60px}.sky-error{display:flex;flex-direction:column;justify-content:center;text-align:center;padding-top:var(--sky-override-error-padding-top, var(--sky-space-stacked-xxl));margin-top:var(--sky-override-error-margin-top, var(--sky-space-stacked-xxl))}.sky-error .sky-error-description span{white-space:pre-wrap}.sky-error .sky-error-image-container{display:flex;justify-content:center}.sky-error .sky-error-image-svg{background-repeat:no-repeat;background-size:contain;background-position:center}.sky-error-broken-image{height:110px;width:170px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/broken.svg)}.sky-error-construction-image{height:110px;width:109px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/construction.svg)}.sky-error-notfound-image{height:110px;width:169px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/notfound.svg)}.sky-error-security-image{height:110px;width:97px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/security.svg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
310
314
  }
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorComponent, decorators: [{
315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorComponent, decorators: [{
312
316
  type: Component,
313
- args: [{ selector: 'sky-error', providers: [SkyErrorService], standalone: false, template: "<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", styles: [".sky-error:not(.sky-theme-modern *){--sky-override-error-margin-top: 0;--sky-override-error-padding-top: 60px}.sky-error{display:flex;flex-direction:column;justify-content:center;text-align:center;padding-top:var(--sky-override-error-padding-top, var(--sky-space-stacked-xxl));margin-top:var(--sky-override-error-margin-top, var(--sky-space-stacked-xxl))}.sky-error .sky-error-description span{white-space:pre-wrap}.sky-error .sky-error-image-container{display:flex;justify-content:center}.sky-error .sky-error-image-svg{background-repeat:no-repeat;background-size:contain;background-position:center}.sky-error-broken-image{height:110px;width:170px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/broken.svg)}.sky-error-construction-image{height:110px;width:109px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/construction.svg)}.sky-error-notfound-image{height:110px;width:169px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/notfound.svg)}.sky-error-security-image{height:110px;width:97px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/security.svg)}\n"] }]
317
+ args: [{ selector: 'sky-error', providers: [SkyErrorService], changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<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", styles: [".sky-error:not(.sky-theme-modern *){--sky-override-error-margin-top: 0;--sky-override-error-padding-top: 60px}.sky-error{display:flex;flex-direction:column;justify-content:center;text-align:center;padding-top:var(--sky-override-error-padding-top, var(--sky-space-stacked-xxl));margin-top:var(--sky-override-error-margin-top, var(--sky-space-stacked-xxl))}.sky-error .sky-error-description span{white-space:pre-wrap}.sky-error .sky-error-image-container{display:flex;justify-content:center}.sky-error .sky-error-image-svg{background-repeat:no-repeat;background-size:contain;background-position:center}.sky-error-broken-image{height:110px;width:170px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/broken.svg)}.sky-error-construction-image{height:110px;width:109px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/construction.svg)}.sky-error-notfound-image{height:110px;width:169px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/notfound.svg)}.sky-error-security-image{height:110px;width:97px;background-image:url(https://sky.blackbaudcdn.net/static/skyux-public-assets/2.0.2/assets/images/errors/security.svg)}\n"] }]
314
318
  }], propDecorators: { errorType: [{
315
319
  type: Input
316
320
  }], showImage: [{
@@ -321,8 +325,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
321
325
  }] } });
322
326
 
323
327
  class SkyErrorModule {
324
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
325
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModule, declarations: [SkyErrorComponent,
328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
329
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModule, declarations: [SkyErrorComponent,
326
330
  SkyErrorImageComponent,
327
331
  SkyErrorTitleComponent,
328
332
  SkyErrorDescriptionComponent,
@@ -331,9 +335,9 @@ class SkyErrorModule {
331
335
  SkyErrorTitleComponent,
332
336
  SkyErrorDescriptionComponent,
333
337
  SkyErrorActionComponent] }); }
334
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModule, imports: [CommonModule, SkyErrorsResourcesModule] }); }
338
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModule, imports: [CommonModule, SkyErrorsResourcesModule] }); }
335
339
  }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SkyErrorModule, decorators: [{
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyErrorModule, decorators: [{
337
341
  type: NgModule,
338
342
  args: [{
339
343
  declarations: [
@@ -1 +1 @@
1
- {"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, inject } 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 public readonly context = inject(ErrorModalConfig);\n public readonly instance = inject(SkyModalInstance);\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 /* eslint-disable @angular-eslint/prefer-inject -- constructor injection is required to maintain the public API for consumers who may instantiate this service directly (e.g. `new SkyErrorModalService(...)`) */\n constructor(\n modalSvc: SkyModalService,\n @Optional() logService?: SkyLogService,\n ) {\n /* eslint-enable @angular-eslint/prefer-inject */\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, inject } 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 readonly #errorSvc = inject(SkyErrorService);\n\n constructor() {\n this.#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, inject } 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 readonly #errorSvc = inject(SkyErrorService);\n\n constructor() {\n this.#errorSvc.replaceDefaultTitle.next(false);\n }\n}\n","import { Component, HostBinding, Input, OnInit, inject } 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 readonly #resourcesSvc = inject(SkyLibResourcesService);\n public readonly errorSvc = inject(SkyErrorService);\n\n #_errorType: SkyErrorType | undefined;\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":["i2","i1"],"mappings":";;;;;;;;;;;AAAA;AACA;;AAEG;MACU,gBAAgB,CAAA;AAgB5B;;ACdD;;AAEG;MAOU,0BAA0B,CAAA;AANvC,IAAA,WAAA,GAAA;AAOkB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAClC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpD,IAAA;8GAHY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfvC,ooBAqBA,EAAA,MAAA,EAAA,CAAA,+MAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA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,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBAfvB,iBAAiB;YACjB,sBAAsB;YACtB,sBAAsB;YACtB,4BAA4B;AAC5B,YAAA,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAEf,YAAY,EAAE,wBAAwB,aAE9C,iBAAiB;YACjB,sBAAsB;YACtB,sBAAsB;YACtB,4BAA4B;YAC5B,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAGd,cAAc,EAAA,OAAA,EAAA,CATf,YAAY,EAAE,wBAAwB,CAAA,EAAA,CAAA,CAAA;;2FASrC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAjB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,wBAAwB,CAAC;AACjD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;AACxB,qBAAA;AACF,iBAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"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 { ChangeDetectionStrategy, Component, inject } 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 changeDetection: ChangeDetectionStrategy.Eager,\n imports: [SkyIdModule, SkyModalModule],\n})\nexport class SkyErrorModalFormComponent {\n public readonly context = inject(ErrorModalConfig);\n public readonly instance = inject(SkyModalInstance);\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 /* eslint-disable @angular-eslint/prefer-inject -- constructor injection is required to maintain the public API for consumers who may instantiate this service directly (e.g. `new SkyErrorModalService(...)`) */\n constructor(\n modalSvc: SkyModalService,\n @Optional() logService?: SkyLogService,\n ) {\n /* eslint-enable @angular-eslint/prefer-inject */\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 { ChangeDetectionStrategy, 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 changeDetection: ChangeDetectionStrategy.Eager,\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 {\n ChangeDetectionStrategy,\n Component,\n Input,\n inject,\n} 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 changeDetection: ChangeDetectionStrategy.Eager,\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 readonly #errorSvc = inject(SkyErrorService);\n\n constructor() {\n this.#errorSvc.replaceDefaultDescription.next(false);\n }\n}\n","import { ChangeDetectionStrategy, 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 changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false,\n})\nexport class SkyErrorImageComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n inject,\n} 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 changeDetection: ChangeDetectionStrategy.Eager,\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 readonly #errorSvc = inject(SkyErrorService);\n\n constructor() {\n this.#errorSvc.replaceDefaultTitle.next(false);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n OnInit,\n inject,\n} 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 changeDetection: ChangeDetectionStrategy.Eager,\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 | undefined {\n return this.errorType;\n }\n\n public defaultTitle: string | undefined;\n public defaultDescription: string | undefined;\n\n readonly #resourcesSvc = inject(SkyLibResourcesService);\n public readonly errorSvc = inject(SkyErrorService);\n\n #_errorType: SkyErrorType | undefined;\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":["i2","i1"],"mappings":";;;;;;;;;;;AAAA;AACA;;AAEG;MACU,gBAAgB,CAAA;AAgB5B;;ACdD;;AAEG;MAQU,0BAA0B,CAAA;AAPvC,IAAA,WAAA,GAAA;AAQkB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAClC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpD,IAAA;8GAHY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAA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AAc,EAAA,UAAA,EAAA,CAAA;kBAjB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,wBAAwB,CAAC;AACjD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,sBAAsB;wBACtB,sBAAsB;wBACtB,4BAA4B;wBAC5B,uBAAuB;AACxB,qBAAA;AACF,iBAAA;;;AC3BD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/errors",
3
- "version": "14.7.0",
3
+ "version": "15.0.0-alpha.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,14 +16,14 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/cdk": "^21.2.0",
20
- "@angular/common": "^21.2.0",
21
- "@angular/core": "^21.2.0",
22
- "@angular/platform-browser": "^21.2.0",
23
- "@skyux-sdk/testing": "14.7.0",
24
- "@skyux/core": "14.7.0",
25
- "@skyux/i18n": "14.7.0",
26
- "@skyux/modals": "14.7.0"
19
+ "@angular/cdk": "^22.0.4",
20
+ "@angular/common": "^22.0.6",
21
+ "@angular/core": "^22.0.6",
22
+ "@angular/platform-browser": "^22.0.6",
23
+ "@skyux-sdk/testing": "15.0.0-alpha.1",
24
+ "@skyux/core": "15.0.0-alpha.1",
25
+ "@skyux/i18n": "15.0.0-alpha.1",
26
+ "@skyux/modals": "15.0.0-alpha.1"
27
27
  },
28
28
  "dependencies": {
29
29
  "tslib": "^2.8.1"