@skyux/errors 14.3.12 → 15.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Optional, Injectable, NgModule, Input, HostBinding } from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Optional, Injectable, NgModule, Input, HostBinding } from '@angular/core';
|
|
3
3
|
import * as i2$1 from '@skyux/core';
|
|
4
4
|
import { SkyIdModule } from '@skyux/core';
|
|
5
5
|
import * as i2 from '@skyux/modals';
|
|
@@ -25,12 +25,12 @@ class SkyErrorModalFormComponent {
|
|
|
25
25
|
this.context = context;
|
|
26
26
|
this.instance = instance;
|
|
27
27
|
}
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModalFormComponent, deps: [{ token: ErrorModalConfig }, { token: i2.SkyModalInstance }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", 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$1.λ2, selector: "[skyId]", exportAs: ["skyId"] }, { kind: "ngmodule", type: SkyModalModule }, { kind: "component", type: i2.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout", "headingHidden"] }, { kind: "component", type: i2.λ2, selector: "sky-modal-content" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModalFormComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
|
-
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"] }]
|
|
33
|
+
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"] }]
|
|
34
34
|
}], ctorParameters: () => [{ type: ErrorModalConfig }, { type: i2.SkyModalInstance }] });
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -59,10 +59,10 @@ class SkyErrorModalService {
|
|
|
59
59
|
providers: providers,
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModalService, deps: [{ token: i2.SkyModalService }, { token: i2$1.SkyLogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
63
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModalService, providedIn: 'root' }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModalService, decorators: [{
|
|
66
66
|
type: Injectable,
|
|
67
67
|
args: [{
|
|
68
68
|
providedIn: 'root',
|
|
@@ -125,11 +125,11 @@ SkyLibResourcesService.addResources(RESOURCES);
|
|
|
125
125
|
* Import into any component library module that needs to use resource strings.
|
|
126
126
|
*/
|
|
127
127
|
class SkyErrorsResourcesModule {
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
129
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
130
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
129
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorsResourcesModule, exports: [SkyI18nModule] }); }
|
|
130
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorsResourcesModule, imports: [SkyI18nModule] }); }
|
|
131
131
|
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorsResourcesModule, decorators: [{
|
|
133
133
|
type: NgModule,
|
|
134
134
|
args: [{
|
|
135
135
|
exports: [SkyI18nModule],
|
|
@@ -141,14 +141,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
141
141
|
* For example, you can include a button to reload the page or to refresh data.
|
|
142
142
|
*/
|
|
143
143
|
class SkyErrorActionComponent {
|
|
144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
145
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
145
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", type: SkyErrorActionComponent, isStandalone: false, selector: "sky-error-action", ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
146
146
|
}
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorActionComponent, decorators: [{
|
|
148
148
|
type: Component,
|
|
149
149
|
args: [{
|
|
150
150
|
selector: 'sky-error-action',
|
|
151
151
|
template: '<ng-content />',
|
|
152
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
152
153
|
standalone: false,
|
|
153
154
|
}]
|
|
154
155
|
}] });
|
|
@@ -161,10 +162,10 @@ class SkyErrorService {
|
|
|
161
162
|
this.replaceDefaultDescription = new BehaviorSubject(false);
|
|
162
163
|
this.replaceDefaultTitle = new BehaviorSubject(false);
|
|
163
164
|
}
|
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
165
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorService }); }
|
|
166
167
|
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorService, decorators: [{
|
|
168
169
|
type: Injectable
|
|
169
170
|
}] });
|
|
170
171
|
|
|
@@ -185,14 +186,15 @@ class SkyErrorDescriptionComponent {
|
|
|
185
186
|
this.#errorSvc = errorSvc;
|
|
186
187
|
errorSvc.replaceDefaultDescription.next(false);
|
|
187
188
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorDescriptionComponent, deps: [{ token: SkyErrorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", 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: "
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", 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: () => [{ type: SkyErrorService }], 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: "
|
|
207
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
209
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", 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: "
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", 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
|
}] });
|
|
@@ -232,14 +235,15 @@ class SkyErrorTitleComponent {
|
|
|
232
235
|
this.#errorSvc = errorSvc;
|
|
233
236
|
errorSvc.replaceDefaultTitle.next(false);
|
|
234
237
|
}
|
|
235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
236
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorTitleComponent, deps: [{ token: SkyErrorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", type: SkyErrorTitleComponent, isStandalone: false, selector: "sky-error-title", inputs: { replaceDefaultTitle: "replaceDefaultTitle" }, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
237
240
|
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorTitleComponent, decorators: [{
|
|
239
242
|
type: Component,
|
|
240
243
|
args: [{
|
|
241
244
|
selector: 'sky-error-title',
|
|
242
245
|
template: '<ng-content />',
|
|
246
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
243
247
|
standalone: false,
|
|
244
248
|
}]
|
|
245
249
|
}], ctorParameters: () => [{ type: SkyErrorService }], propDecorators: { replaceDefaultTitle: [{
|
|
@@ -306,12 +310,12 @@ class SkyErrorComponent {
|
|
|
306
310
|
// TODO: Need to implement the async `getString` method in a breaking change.
|
|
307
311
|
return this.#resourcesSvc.getStringForLocale({ locale: 'en-US' }, key);
|
|
308
312
|
}
|
|
309
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
310
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorComponent, deps: [{ token: i1.SkyLibResourcesService }, { token: SkyErrorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
314
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", 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: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
311
315
|
}
|
|
312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorComponent, decorators: [{
|
|
313
317
|
type: Component,
|
|
314
|
-
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"] }]
|
|
318
|
+
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"] }]
|
|
315
319
|
}], ctorParameters: () => [{ type: i1.SkyLibResourcesService }, { type: SkyErrorService }], propDecorators: { errorType: [{
|
|
316
320
|
type: Input
|
|
317
321
|
}], showImage: [{
|
|
@@ -322,8 +326,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
322
326
|
}] } });
|
|
323
327
|
|
|
324
328
|
class SkyErrorModule {
|
|
325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
326
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
330
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModule, declarations: [SkyErrorComponent,
|
|
327
331
|
SkyErrorImageComponent,
|
|
328
332
|
SkyErrorTitleComponent,
|
|
329
333
|
SkyErrorDescriptionComponent,
|
|
@@ -332,9 +336,9 @@ class SkyErrorModule {
|
|
|
332
336
|
SkyErrorTitleComponent,
|
|
333
337
|
SkyErrorDescriptionComponent,
|
|
334
338
|
SkyErrorActionComponent] }); }
|
|
335
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
339
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModule, imports: [CommonModule, SkyErrorsResourcesModule] }); }
|
|
336
340
|
}
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: SkyErrorModule, decorators: [{
|
|
338
342
|
type: NgModule,
|
|
339
343
|
args: [{
|
|
340
344
|
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 } from '@angular/core';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyModalInstance, SkyModalModule } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\n\n/**\n * @internal\n */\n@Component({\n selector: 'sky-error-modal-form',\n templateUrl: './error-modal-form.component.html',\n styleUrls: ['./error-modal-form.component.scss'],\n imports: [SkyIdModule, SkyModalModule],\n})\nexport class SkyErrorModalFormComponent {\n constructor(\n public context: ErrorModalConfig,\n public instance: SkyModalInstance,\n ) {}\n}\n","<sky-modal [ariaLabelledBy]=\"title.id\">\n <sky-modal-content>\n <div class=\"sky-error-modal-container\">\n <span #title=\"skyId\" class=\"sky-error-modal-title\" skyId>{{\n context.errorTitle\n }}</span>\n <span class=\"sky-error-modal-description\">{{\n context.errorDescription\n }}</span>\n <div class=\"sky-error-modal-close\">\n <button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n (click)=\"instance.close()\"\n >\n {{ context.errorCloseText }}\n </button>\n </div>\n </div>\n </sky-modal-content>\n</sky-modal>\n","import { Injectable, Optional } from '@angular/core';\nimport { SkyLogService } from '@skyux/core';\nimport { SkyModalService } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\nimport { SkyErrorModalFormComponent } from './error-modal-form.component';\n\n/**\n * Opens a modal to display a SKY UX-themed error message.\n * @deprecated We recommend using a standard modal with an error component instead.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SkyErrorModalService {\n #modalSvc: SkyModalService;\n #logSvc: SkyLogService | undefined;\n\n constructor(\n modalSvc: SkyModalService,\n @Optional() logService?: SkyLogService,\n ) {\n this.#modalSvc = modalSvc;\n this.#logSvc = logService;\n }\n /**\n * Text for the the error message, including title, description, and action label.\n * @deprecated We recommend using a standard modal with an error component instead.\n */\n public open(config: ErrorModalConfig): void {\n this.#logSvc?.deprecated(\"SkyErrorModalService's open method\", {\n deprecationMajorVersion: 6,\n replacementRecommendation:\n 'We recommend using a standard modal with an error component instead.',\n });\n\n const providers = [{ provide: ErrorModalConfig, useValue: config }];\n\n this.#modalSvc.open(SkyErrorModalFormComponent, {\n ariaRole: 'alertdialog',\n providers: providers,\n });\n }\n}\n","/* istanbul ignore file */\n\n/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-errors' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesService,\n} from '@skyux/i18n';\n\nconst RESOURCES: Record<string, SkyLibResources> = {\n 'EN-US': {\n skyux_errors_broken_description: {\n message: 'Something went wrong.\\nTry again or come back later.',\n },\n skyux_errors_broken_title: { message: \"That's odd...\" },\n skyux_errors_construction_description: {\n message: 'We appreciate your patience while we\\nmake improvements.',\n },\n skyux_errors_construction_title: { message: 'Work in progress.' },\n skyux_errors_not_found_description: {\n message: 'Pardon us, but this page\\nis missing or has moved.',\n },\n skyux_errors_not_found_title: { message: 'Nothing to see here.' },\n skyux_errors_security_description: {\n message: 'Ask your administrator for access.',\n },\n skyux_errors_security_title: {\n message: \"Heads up!\\nYou're in a restricted area.\",\n },\n },\n 'FR-CA': {\n skyux_errors_broken_description: {\n message:\n 'Un problème est survenu.\\nEssayez à nouveau ou revenez plus tard.',\n },\n skyux_errors_broken_title: { message: 'C’est curieux…' },\n skyux_errors_construction_description: {\n message:\n 'Nous apprécions votre patience pendant que \\nnous apportons des améliorations.',\n },\n skyux_errors_construction_title: { message: 'Travaux en cours.' },\n skyux_errors_not_found_description: {\n message:\n 'Nous sommes désolés, mais cette page \\nest manquante ou a été déplacée.',\n },\n skyux_errors_not_found_title: { message: 'Il n’y a rien à voir ici.' },\n skyux_errors_security_description: {\n message: 'Demandez à votre administrateur de vous accorder l’accès.',\n },\n skyux_errors_security_title: {\n message: 'Attention!\\nVous êtes dans une zone restreinte.',\n },\n },\n};\n\nSkyLibResourcesService.addResources(RESOURCES);\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n})\nexport class SkyErrorsResourcesModule {}\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an interactive element to include with the error message.\n * For example, you can include a button to reload the page or to refresh data.\n */\n@Component({\n selector: 'sky-error-action',\n template: '<ng-content />',\n standalone: false,\n})\nexport class SkyErrorActionComponent {}\n","import { Injectable } from '@angular/core';\n\nimport { BehaviorSubject } from 'rxjs';\n\n/**\n * internal\n */\n@Injectable()\nexport class SkyErrorService {\n public replaceDefaultDescription = new BehaviorSubject<boolean>(false);\n public replaceDefaultTitle = new BehaviorSubject<boolean>(false);\n}\n","import { Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a description to provide additional details about the error.\n */\n@Component({\n selector: 'sky-error-description',\n template: '<ng-content />',\n standalone: false,\n})\nexport class SkyErrorDescriptionComponent {\n /**\n * Whether to replace the default description. If `false`, the content\n * from this component is added after the default description.\n * @default false\n */\n @Input()\n public set replaceDefaultDescription(value: boolean | undefined) {\n this.#errorSvc.replaceDefaultDescription.next(!!value);\n }\n\n #errorSvc: SkyErrorService;\n\n constructor(errorSvc: SkyErrorService) {\n this.#errorSvc = errorSvc;\n errorSvc.replaceDefaultDescription.next(false);\n }\n}\n","import { Component } from '@angular/core';\n\n/**\n * Specifies an image to display with the error message.\n */\n@Component({\n selector: 'sky-error-image',\n template: '<ng-content />',\n standalone: false,\n})\nexport class SkyErrorImageComponent {}\n","import { Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a title to display with the error message.\n */\n@Component({\n selector: 'sky-error-title',\n template: '<ng-content />',\n standalone: false,\n})\nexport class SkyErrorTitleComponent {\n /**\n * Whether to replace the default title. If `false`, the content\n * from this component is added after the default title.\n * @default false\n */\n @Input()\n public set replaceDefaultTitle(value: boolean | undefined) {\n this.#errorSvc.replaceDefaultTitle.next(!!value);\n }\n\n #errorSvc: SkyErrorService;\n\n constructor(errorSvc: SkyErrorService) {\n this.#errorSvc = errorSvc;\n errorSvc.replaceDefaultTitle.next(false);\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { SkyLibResourcesService } from '@skyux/i18n';\n\nimport { SkyErrorType } from './error-type';\nimport { SkyErrorService } from './error.service';\n\n/**\n * Displays a SKY UX-themed error message.\n */\n@Component({\n selector: 'sky-error',\n styleUrls: ['./error.component.scss'],\n templateUrl: './error.component.html',\n providers: [SkyErrorService],\n standalone: false,\n})\nexport class SkyErrorComponent implements OnInit {\n /**\n * The set of pre-defined values for the image,\n * title, and description.\n */\n @Input()\n public set errorType(value: SkyErrorType | undefined) {\n this.#_errorType = value;\n this.setErrorTypeFields();\n }\n\n public get errorType(): SkyErrorType | undefined {\n return this.#_errorType;\n }\n\n /**\n * Whether to display the error image.\n * @default true\n */\n @Input()\n public showImage: boolean | undefined = true;\n\n @HostBinding('attr.errorType') public get hostErrorType():\n | SkyErrorType\n | undefined {\n return this.errorType;\n }\n\n public defaultTitle: string | undefined;\n public defaultDescription: string | undefined;\n\n #resourcesSvc: SkyLibResourcesService;\n\n #_errorType: SkyErrorType | undefined;\n\n constructor(\n resourcesSvc: SkyLibResourcesService,\n public errorSvc: SkyErrorService,\n ) {\n this.#resourcesSvc = resourcesSvc;\n }\n\n public ngOnInit(): void {\n if (this.errorType) {\n this.setErrorTypeFields();\n }\n }\n\n public setErrorTypeFields(): void {\n switch (this.errorType?.toLowerCase()) {\n case 'broken':\n this.defaultTitle = this.#getString('skyux_errors_broken_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_broken_description',\n );\n break;\n case 'notfound':\n this.defaultTitle = this.#getString('skyux_errors_not_found_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_not_found_description',\n );\n break;\n case 'construction':\n this.defaultTitle = this.#getString('skyux_errors_construction_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_construction_description',\n );\n break;\n case 'security':\n this.defaultTitle = this.#getString('skyux_errors_security_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_security_description',\n );\n break;\n default:\n this.defaultTitle = this.defaultDescription = undefined;\n }\n }\n\n #getString(key: string): string {\n // TODO: Need to implement the async `getString` method in a breaking change.\n return this.#resourcesSvc.getStringForLocale({ locale: 'en-US' }, key);\n }\n}\n","<div class=\"sky-error\">\n @if (showImage) {\n <div class=\"sky-error-image-container sky-margin-stacked-lg\">\n @if (errorType) {\n <div\n class=\"sky-error-image-svg\"\n [ngClass]=\"['sky-error-' + errorType + '-image']\"\n ></div>\n }\n <ng-content select=\"sky-error-image\" />\n </div>\n }\n\n <div class=\"sky-error-title sky-font-heading-1 sky-margin-stacked-lg\">\n @if (defaultTitle && (errorSvc.replaceDefaultTitle | async) === false) {\n <ng-container>{{ defaultTitle }}</ng-container>\n }\n <ng-content select=\"sky-error-title\" />\n </div>\n\n <div\n class=\"sky-error-description sky-font-body-default sky-margin-stacked-xl\"\n >\n @if (\n defaultDescription &&\n (errorSvc.replaceDefaultDescription | async) === false\n ) {\n <span>{{ defaultDescription }}</span>\n }\n <ng-content select=\"sky-error-description\" />\n </div>\n\n <div class=\"sky-error-action\">\n <ng-content select=\"sky-error-action\" />\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyErrorsResourcesModule } from '../shared/sky-errors-resources.module';\n\nimport { SkyErrorActionComponent } from './error-action.component';\nimport { SkyErrorDescriptionComponent } from './error-description.component';\nimport { SkyErrorImageComponent } from './error-image.component';\nimport { SkyErrorTitleComponent } from './error-title.component';\nimport { SkyErrorComponent } from './error.component';\n\n@NgModule({\n declarations: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n ],\n imports: [CommonModule, SkyErrorsResourcesModule],\n exports: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n ],\n})\nexport class SkyErrorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ErrorModalConfig","i1","i2","i1.SkyErrorService","i2.SkyErrorService"],"mappings":";;;;;;;;;;;;AAAA;AACA;;AAEG;MACU,gBAAgB,CAAA;AAgB5B;;ACdD;;AAEG;MAOU,0BAA0B,CAAA;IACrC,WAAA,CACS,OAAyB,EACzB,QAA0B,EAAA;QAD1B,IAAA,CAAA,OAAO,GAAP,OAAO;QACP,IAAA,CAAA,QAAQ,GAAR,QAAQ;IACd;8GAJQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,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,EAAA,IAAA,EDRY,WAAW,8GAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,WAA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EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,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 } 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 constructor(\n public context: ErrorModalConfig,\n public instance: SkyModalInstance,\n ) {}\n}\n","<sky-modal [ariaLabelledBy]=\"title.id\">\n <sky-modal-content>\n <div class=\"sky-error-modal-container\">\n <span #title=\"skyId\" class=\"sky-error-modal-title\" skyId>{{\n context.errorTitle\n }}</span>\n <span class=\"sky-error-modal-description\">{{\n context.errorDescription\n }}</span>\n <div class=\"sky-error-modal-close\">\n <button\n type=\"button\"\n class=\"sky-btn sky-btn-primary\"\n (click)=\"instance.close()\"\n >\n {{ context.errorCloseText }}\n </button>\n </div>\n </div>\n </sky-modal-content>\n</sky-modal>\n","import { Injectable, Optional } from '@angular/core';\nimport { SkyLogService } from '@skyux/core';\nimport { SkyModalService } from '@skyux/modals';\n\nimport { ErrorModalConfig } from './error-modal-config';\nimport { SkyErrorModalFormComponent } from './error-modal-form.component';\n\n/**\n * Opens a modal to display a SKY UX-themed error message.\n * @deprecated We recommend using a standard modal with an error component instead.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SkyErrorModalService {\n #modalSvc: SkyModalService;\n #logSvc: SkyLogService | undefined;\n\n constructor(\n modalSvc: SkyModalService,\n @Optional() logService?: SkyLogService,\n ) {\n this.#modalSvc = modalSvc;\n this.#logSvc = logService;\n }\n /**\n * Text for the the error message, including title, description, and action label.\n * @deprecated We recommend using a standard modal with an error component instead.\n */\n public open(config: ErrorModalConfig): void {\n this.#logSvc?.deprecated(\"SkyErrorModalService's open method\", {\n deprecationMajorVersion: 6,\n replacementRecommendation:\n 'We recommend using a standard modal with an error component instead.',\n });\n\n const providers = [{ provide: ErrorModalConfig, useValue: config }];\n\n this.#modalSvc.open(SkyErrorModalFormComponent, {\n ariaRole: 'alertdialog',\n providers: providers,\n });\n }\n}\n","/* istanbul ignore file */\n\n/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-errors' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesService,\n} from '@skyux/i18n';\n\nconst RESOURCES: Record<string, SkyLibResources> = {\n 'EN-US': {\n skyux_errors_broken_description: {\n message: 'Something went wrong.\\nTry again or come back later.',\n },\n skyux_errors_broken_title: { message: \"That's odd...\" },\n skyux_errors_construction_description: {\n message: 'We appreciate your patience while we\\nmake improvements.',\n },\n skyux_errors_construction_title: { message: 'Work in progress.' },\n skyux_errors_not_found_description: {\n message: 'Pardon us, but this page\\nis missing or has moved.',\n },\n skyux_errors_not_found_title: { message: 'Nothing to see here.' },\n skyux_errors_security_description: {\n message: 'Ask your administrator for access.',\n },\n skyux_errors_security_title: {\n message: \"Heads up!\\nYou're in a restricted area.\",\n },\n },\n 'FR-CA': {\n skyux_errors_broken_description: {\n message:\n 'Un problème est survenu.\\nEssayez à nouveau ou revenez plus tard.',\n },\n skyux_errors_broken_title: { message: 'C’est curieux…' },\n skyux_errors_construction_description: {\n message:\n 'Nous apprécions votre patience pendant que \\nnous apportons des améliorations.',\n },\n skyux_errors_construction_title: { message: 'Travaux en cours.' },\n skyux_errors_not_found_description: {\n message:\n 'Nous sommes désolés, mais cette page \\nest manquante ou a été déplacée.',\n },\n skyux_errors_not_found_title: { message: 'Il n’y a rien à voir ici.' },\n skyux_errors_security_description: {\n message: 'Demandez à votre administrateur de vous accorder l’accès.',\n },\n skyux_errors_security_title: {\n message: 'Attention!\\nVous êtes dans une zone restreinte.',\n },\n },\n};\n\nSkyLibResourcesService.addResources(RESOURCES);\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n})\nexport class SkyErrorsResourcesModule {}\n","import { 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 { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a description to provide additional details about the error.\n */\n@Component({\n selector: 'sky-error-description',\n template: '<ng-content />',\n 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 #errorSvc: SkyErrorService;\n\n constructor(errorSvc: SkyErrorService) {\n this.#errorSvc = errorSvc;\n 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 { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nimport { SkyErrorService } from './error.service';\n\n/**\n * Specifies a title to display with the error message.\n */\n@Component({\n selector: 'sky-error-title',\n template: '<ng-content />',\n 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 #errorSvc: SkyErrorService;\n\n constructor(errorSvc: SkyErrorService) {\n this.#errorSvc = errorSvc;\n errorSvc.replaceDefaultTitle.next(false);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n OnInit,\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\n | undefined {\n return this.errorType;\n }\n\n public defaultTitle: string | undefined;\n public defaultDescription: string | undefined;\n\n #resourcesSvc: SkyLibResourcesService;\n\n #_errorType: SkyErrorType | undefined;\n\n constructor(\n resourcesSvc: SkyLibResourcesService,\n public errorSvc: SkyErrorService,\n ) {\n this.#resourcesSvc = resourcesSvc;\n }\n\n public ngOnInit(): void {\n if (this.errorType) {\n this.setErrorTypeFields();\n }\n }\n\n public setErrorTypeFields(): void {\n switch (this.errorType?.toLowerCase()) {\n case 'broken':\n this.defaultTitle = this.#getString('skyux_errors_broken_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_broken_description',\n );\n break;\n case 'notfound':\n this.defaultTitle = this.#getString('skyux_errors_not_found_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_not_found_description',\n );\n break;\n case 'construction':\n this.defaultTitle = this.#getString('skyux_errors_construction_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_construction_description',\n );\n break;\n case 'security':\n this.defaultTitle = this.#getString('skyux_errors_security_title');\n this.defaultDescription = this.#getString(\n 'skyux_errors_security_description',\n );\n break;\n default:\n this.defaultTitle = this.defaultDescription = undefined;\n }\n }\n\n #getString(key: string): string {\n // TODO: Need to implement the async `getString` method in a breaking change.\n return this.#resourcesSvc.getStringForLocale({ locale: 'en-US' }, key);\n }\n}\n","<div class=\"sky-error\">\n @if (showImage) {\n <div class=\"sky-error-image-container sky-margin-stacked-lg\">\n @if (errorType) {\n <div\n class=\"sky-error-image-svg\"\n [ngClass]=\"['sky-error-' + errorType + '-image']\"\n ></div>\n }\n <ng-content select=\"sky-error-image\" />\n </div>\n }\n\n <div class=\"sky-error-title sky-font-heading-1 sky-margin-stacked-lg\">\n @if (defaultTitle && (errorSvc.replaceDefaultTitle | async) === false) {\n <ng-container>{{ defaultTitle }}</ng-container>\n }\n <ng-content select=\"sky-error-title\" />\n </div>\n\n <div\n class=\"sky-error-description sky-font-body-default sky-margin-stacked-xl\"\n >\n @if (\n defaultDescription &&\n (errorSvc.replaceDefaultDescription | async) === false\n ) {\n <span>{{ defaultDescription }}</span>\n }\n <ng-content select=\"sky-error-description\" />\n </div>\n\n <div class=\"sky-error-action\">\n <ng-content select=\"sky-error-action\" />\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyErrorsResourcesModule } from '../shared/sky-errors-resources.module';\n\nimport { SkyErrorActionComponent } from './error-action.component';\nimport { SkyErrorDescriptionComponent } from './error-description.component';\nimport { SkyErrorImageComponent } from './error-image.component';\nimport { SkyErrorTitleComponent } from './error-title.component';\nimport { SkyErrorComponent } from './error.component';\n\n@NgModule({\n declarations: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n ],\n imports: [CommonModule, SkyErrorsResourcesModule],\n exports: [\n SkyErrorComponent,\n SkyErrorImageComponent,\n SkyErrorTitleComponent,\n SkyErrorDescriptionComponent,\n SkyErrorActionComponent,\n ],\n})\nexport class SkyErrorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ErrorModalConfig","i1","i2","i1.SkyErrorService","i2.SkyErrorService"],"mappings":";;;;;;;;;;;;AAAA;AACA;;AAEG;MACU,gBAAgB,CAAA;AAgB5B;;ACdD;;AAEG;MAQU,0BAA0B,CAAA;IACrC,WAAA,CACS,OAAyB,EACzB,QAA0B,EAAA;QAD1B,IAAA,CAAA,OAAO,GAAP,OAAO;QACP,IAAA,CAAA,QAAQ,GAAR,QAAQ;IACd;8GAJQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,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BAfvB,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;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/errors",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-alpha.0",
|
|
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": "^
|
|
20
|
-
"@angular/common": "^
|
|
21
|
-
"@angular/core": "^
|
|
22
|
-
"@angular/platform-browser": "^
|
|
23
|
-
"@skyux-sdk/testing": "
|
|
24
|
-
"@skyux/core": "
|
|
25
|
-
"@skyux/i18n": "
|
|
26
|
-
"@skyux/modals": "
|
|
19
|
+
"@angular/cdk": "^22.0.1",
|
|
20
|
+
"@angular/common": "^22.0.1",
|
|
21
|
+
"@angular/core": "^22.0.1",
|
|
22
|
+
"@angular/platform-browser": "^22.0.1",
|
|
23
|
+
"@skyux-sdk/testing": "15.0.0-alpha.0",
|
|
24
|
+
"@skyux/core": "15.0.0-alpha.0",
|
|
25
|
+
"@skyux/i18n": "15.0.0-alpha.0",
|
|
26
|
+
"@skyux/modals": "15.0.0-alpha.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"tslib": "^2.8.1"
|