@rxap/ngx-error 19.3.0 → 21.0.1-dev.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.
- package/CHANGELOG.md +40 -0
- package/compodoc/changelog.html +38 -0
- package/compodoc/components/AngularErrorComponent.html +56 -41
- package/compodoc/components/AnyHttpErrorComponent.html +75 -57
- package/compodoc/components/CodeHttpErrorComponent.html +19 -19
- package/compodoc/components/ErrorDialogComponent.html +98 -79
- package/compodoc/components/MessageHttpErrorComponent.html +19 -19
- package/compodoc/components/OpenApiHttpResponseErrorComponent.html +50 -34
- package/compodoc/dependencies.html +11 -11
- package/compodoc/injectables/ErrorCaptureDialogService.html +9 -7
- package/compodoc/interfaces/IErrorCaptureDialogService.html +6 -4
- package/compodoc/interfaces/IErrorDialogComponent.html +14 -23
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1007 -1043
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AngularErrorComponent.html +2 -2
- package/docs/html/classes/AngularErrorService.html +2 -2
- package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
- package/docs/html/classes/AnyHttpErrorService.html +2 -2
- package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
- package/docs/html/classes/CodeHttpErrorService.html +2 -2
- package/docs/html/classes/ErrorCaptureDialogService.html +2 -2
- package/docs/html/classes/ErrorCaptureService.html +2 -2
- package/docs/html/classes/ErrorDialogComponent.html +2 -6
- package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
- package/docs/html/classes/MessageHttpErrorService.html +2 -2
- package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
- package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
- package/docs/html/classes/RxapErrorHandler.html +3 -3
- package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
- package/docs/html/functions/DefaultErrorFilter.html +1 -1
- package/docs/html/functions/ExtractContextFromError.html +1 -1
- package/docs/html/functions/ExtractError.html +1 -1
- package/docs/html/functions/ExtractExtraFromError.html +1 -1
- package/docs/html/functions/ExtractTagsFromError.html +1 -1
- package/docs/html/functions/HttpErrorInterceptor.html +1 -1
- package/docs/html/functions/PrintError.html +1 -1
- package/docs/html/functions/ProvideErrorHandler.html +2 -2
- package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
- package/docs/html/functions/provideAutoErrorInterception.html +1 -1
- package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -1
- package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
- package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
- package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
- package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -2
- package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
- package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
- package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_DISABLED.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
- package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AngularErrorComponent.md +6 -6
- package/docs/markdown/classes/AngularErrorService.md +5 -5
- package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
- package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
- package/docs/markdown/classes/ErrorCaptureDialogService.md +6 -6
- package/docs/markdown/classes/ErrorCaptureService.md +5 -5
- package/docs/markdown/classes/ErrorDialogComponent.md +13 -35
- package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
- package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
- package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
- package/docs/markdown/classes/RxapErrorHandler.md +7 -7
- package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
- package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
- package/docs/markdown/functions/ExtractContextFromError.md +2 -2
- package/docs/markdown/functions/ExtractError.md +2 -2
- package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
- package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
- package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
- package/docs/markdown/functions/PrintError.md +2 -2
- package/docs/markdown/functions/ProvideErrorHandler.md +2 -2
- package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
- package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
- package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +2 -2
- package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
- package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
- package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
- package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
- package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
- package/docs/markdown/interfaces/IErrorCaptureDialogService.md +3 -3
- package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
- package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
- package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
- package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
- package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_DISABLED.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
- package/docs/wiki/Class.AngularErrorComponent.md +5 -5
- package/docs/wiki/Class.AngularErrorService.md +4 -4
- package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
- package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
- package/docs/wiki/Class.ErrorCaptureDialogService.md +5 -5
- package/docs/wiki/Class.ErrorCaptureService.md +4 -4
- package/docs/wiki/Class.ErrorDialogComponent.md +12 -34
- package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
- package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
- package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
- package/docs/wiki/Class.RxapErrorHandler.md +6 -6
- package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
- package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
- package/docs/wiki/Function.ExtractContextFromError.md +1 -1
- package/docs/wiki/Function.ExtractError.md +1 -1
- package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
- package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
- package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
- package/docs/wiki/Function.PrintError.md +1 -1
- package/docs/wiki/Function.ProvideErrorHandler.md +1 -1
- package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
- package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
- package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +1 -1
- package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
- package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
- package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
- package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
- package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
- package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
- package/docs/wiki/Interface.IErrorCaptureDialogService.md +2 -2
- package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
- package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
- package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
- package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
- package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DISABLED.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-error.mjs +75 -109
- package/fesm2022/rxap-ngx-error.mjs.map +1 -1
- package/package.json +42 -41
- package/types/rxap-ngx-error.d.ts +256 -0
- package/index.d.ts +0 -24
- package/lib/any-http-error/any-http-error-dialog-data.d.ts +0 -36
- package/lib/any-http-error/any-http-error.component.d.ts +0 -9
- package/lib/any-http-error/any-http-error.service.d.ts +0 -11
- package/lib/code-http-error/code-http-error-dialog-data.d.ts +0 -7
- package/lib/code-http-error/code-http-error.component.d.ts +0 -10
- package/lib/code-http-error/code-http-error.service.d.ts +0 -10
- package/lib/error/angular-error-dialog-data.d.ts +0 -8
- package/lib/error/angular-error.component.d.ts +0 -11
- package/lib/error/angular-error.service.d.ts +0 -10
- package/lib/error-capture-dialog.service.d.ts +0 -16
- package/lib/error-capture.service.d.ts +0 -12
- package/lib/error-dialog/error-dialog.component.d.ts +0 -20
- package/lib/error-handler.d.ts +0 -27
- package/lib/error-interceptor-options.d.ts +0 -7
- package/lib/http-error-interceptor.d.ts +0 -3
- package/lib/message-http-error/message-http-error-dialog-data.d.ts +0 -6
- package/lib/message-http-error/message-http-error.component.d.ts +0 -10
- package/lib/message-http-error/message-http-error.service.d.ts +0 -10
- package/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.d.ts +0 -7
- package/lib/open-api-http-response-error/open-api-http-response-error.component.d.ts +0 -9
- package/lib/open-api-http-response-error/open-api-http-response-error.service.d.ts +0 -10
- package/lib/provide.d.ts +0 -10
- package/lib/tokens.d.ts +0 -11
- package/lib/utilities.d.ts +0 -19
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i1 from '@angular/common';
|
|
2
|
-
import { CommonModule,
|
|
2
|
+
import { CommonModule, NgClass, DatePipe, KeyValuePipe, JsonPipe } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, Component,
|
|
4
|
+
import { InjectionToken, inject, ChangeDetectionStrategy, Component, viewChild, signal, computed, output, INJECTOR, Injector, afterNextRender, ApplicationRef, DOCUMENT, createComponent, Injectable, isDevMode, runInInjectionContext, ErrorHandler } from '@angular/core';
|
|
5
5
|
import { CopyToClipboardComponent, JsonViewerComponent } from '@rxap/components';
|
|
6
|
-
import
|
|
7
|
-
import { DataGridCellDefDirective, DataGridComponent, DataGridRowDefDirective, DataGridModule } from '@rxap/data-grid';
|
|
6
|
+
import { DataGridCellDefDirective, DataGridComponent, DataGridRowDefDirective, DataGridHeaderCellDefDirective } from '@rxap/data-grid';
|
|
8
7
|
import { RXAP_ENVIRONMENT, IsNotReleaseVersion } from '@rxap/environment';
|
|
8
|
+
import { outputToObservable } from '@angular/core/rxjs-interop';
|
|
9
9
|
import { EMPTY, Observable, take, finalize } from 'rxjs';
|
|
10
10
|
import { tap } from 'rxjs/operators';
|
|
11
11
|
import * as i1$1 from '@angular/cdk/portal';
|
|
12
12
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
13
|
+
import { __decorate } from 'tslib';
|
|
13
14
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
14
15
|
import { ConfigService } from '@rxap/config';
|
|
15
16
|
import { OpenApiHttpResponseError } from '@rxap/open-api';
|
|
16
17
|
import * as Sentry from '@sentry/angular';
|
|
17
|
-
|
|
18
18
|
const RXAP_ERROR_DIALOG_DATA = new InjectionToken('rxap/error/dialog-data');
|
|
19
19
|
const RXAP_ERROR_DIALOG_ERROR = new InjectionToken('rxap/error/dialog-error');
|
|
20
20
|
const RXAP_ERROR_DIALOG_COMPONENT = new InjectionToken('rxap/error/dialog-component');
|
|
@@ -24,33 +24,32 @@ const RXAP_ERROR_DIALOG_DISABLED = new InjectionToken('rxap/error/dialog-disable
|
|
|
24
24
|
providedIn: 'root',
|
|
25
25
|
factory: () => false,
|
|
26
26
|
});
|
|
27
|
-
|
|
28
27
|
class OpenApiHttpResponseErrorComponent {
|
|
29
28
|
constructor() {
|
|
30
29
|
this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
|
|
31
30
|
this.error = inject(RXAP_ERROR_DIALOG_ERROR);
|
|
32
31
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: OpenApiHttpResponseErrorComponent, isStandalone: true, selector: "rxap-open-api-http-response-error", ngImport: i0, template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Response Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Request Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "directive", type: DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "component", type: DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "pipe", type: i1.JsonPipe, name: "json" }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
34
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorComponent, decorators: [{
|
|
37
36
|
type: Component,
|
|
38
37
|
args: [{ selector: 'rxap-open-api-http-response-error', imports: [
|
|
39
38
|
CommonModule, CopyToClipboardComponent, DataGridCellDefDirective, DataGridComponent,
|
|
40
39
|
DataGridRowDefDirective, JsonViewerComponent,
|
|
41
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n
|
|
40
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Response Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Request Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
|
|
42
41
|
}] });
|
|
43
|
-
|
|
44
42
|
class ErrorDialogComponent {
|
|
45
43
|
constructor() {
|
|
44
|
+
this.dialog = viewChild.required('dialog');
|
|
46
45
|
this.data = inject(RXAP_ERROR_DIALOG_DATA);
|
|
47
|
-
this.activeIndex = signal(0);
|
|
46
|
+
this.activeIndex = signal(0, ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
|
|
48
47
|
this.displayedButtons = computed(() => {
|
|
49
48
|
const start = Math.max(0, this.activeIndex() - 2);
|
|
50
49
|
const end = Math.min(this.data().length, start + 5);
|
|
51
50
|
return Array.from({ length: end - start }, (_, i) => start + i);
|
|
52
|
-
});
|
|
53
|
-
this.closeDialog =
|
|
51
|
+
}, ...(ngDevMode ? [{ debugName: "displayedButtons" }] : /* istanbul ignore next */ []));
|
|
52
|
+
this.closeDialog = output();
|
|
54
53
|
this.component = inject(RXAP_ERROR_DIALOG_COMPONENT);
|
|
55
54
|
this.injector = inject(INJECTOR);
|
|
56
55
|
this.componentPortal = computed(() => {
|
|
@@ -66,33 +65,23 @@ class ErrorDialogComponent {
|
|
|
66
65
|
],
|
|
67
66
|
});
|
|
68
67
|
return new ComponentPortal(this.component, null, injector);
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
ngAfterViewInit() {
|
|
72
|
-
this.dialog.nativeElement.showModal();
|
|
68
|
+
}, ...(ngDevMode ? [{ debugName: "componentPortal" }] : /* istanbul ignore next */ []));
|
|
69
|
+
afterNextRender(() => this.dialog().nativeElement.showModal());
|
|
73
70
|
}
|
|
74
71
|
close() {
|
|
75
|
-
this.dialog.nativeElement.close();
|
|
72
|
+
this.dialog().nativeElement.close();
|
|
76
73
|
this.closeDialog.emit();
|
|
77
74
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ErrorDialogComponent, isStandalone: true, selector: "rxap-error-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, isSignal: true }], ngImport: i0, template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n @if (data().length > 1) {\n <div class=\"controls flex justify-center space-x-2 mt-4\">\n @if (activeIndex() > 0) {\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">\n Previous\n </button>\n }\n @for (item of displayedButtons(); track item) {\n <button (click)=\"activeIndex.set(item)\"\n [ngClass]=\"{\n 'bg-primary-500': item === activeIndex(),\n 'bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150': item !== activeIndex()\n }\"\n class=\"px-4 py-2 rounded\">\n {{ item + 1 }}\n </button>\n }\n @if (activeIndex() < data().length - 1) {\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">\n Next\n </button>\n }\n </div>\n }\n <div class=\"flex flex-col overflow-auto\">\n <ng-template [cdkPortalOutlet]=\"componentPortal()\"></ng-template>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
80
77
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorDialogComponent, decorators: [{
|
|
82
79
|
type: Component,
|
|
83
|
-
args: [{ selector: 'rxap-error-dialog', changeDetection: ChangeDetectionStrategy.
|
|
84
|
-
NgIf,
|
|
80
|
+
args: [{ selector: 'rxap-error-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
85
81
|
NgClass,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}], propDecorators: { dialog: [{
|
|
90
|
-
type: ViewChild,
|
|
91
|
-
args: ['dialog', { static: true }]
|
|
92
|
-
}], closeDialog: [{
|
|
93
|
-
type: Output
|
|
94
|
-
}] } });
|
|
95
|
-
|
|
82
|
+
PortalModule
|
|
83
|
+
], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n @if (data().length > 1) {\n <div class=\"controls flex justify-center space-x-2 mt-4\">\n @if (activeIndex() > 0) {\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">\n Previous\n </button>\n }\n @for (item of displayedButtons(); track item) {\n <button (click)=\"activeIndex.set(item)\"\n [ngClass]=\"{\n 'bg-primary-500': item === activeIndex(),\n 'bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150': item !== activeIndex()\n }\"\n class=\"px-4 py-2 rounded\">\n {{ item + 1 }}\n </button>\n }\n @if (activeIndex() < data().length - 1) {\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">\n Next\n </button>\n }\n </div>\n }\n <div class=\"flex flex-col overflow-auto\">\n <ng-template [cdkPortalOutlet]=\"componentPortal()\"></ng-template>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"] }]
|
|
84
|
+
}], ctorParameters: () => [], propDecorators: { dialog: [{ type: i0.ViewChild, args: ['dialog', { isSignal: true }] }], closeDialog: [{ type: i0.Output, args: ["closeDialog"] }] } });
|
|
96
85
|
class ErrorCaptureDialogService {
|
|
97
86
|
constructor() {
|
|
98
87
|
this.applicationRef = inject(ApplicationRef);
|
|
@@ -125,7 +114,7 @@ class ErrorCaptureDialogService {
|
|
|
125
114
|
});
|
|
126
115
|
this.applicationRef.attachView(componentRef.hostView);
|
|
127
116
|
return new Observable(subscriber => {
|
|
128
|
-
const subscription = componentRef.instance.closeDialog.pipe(take(1), tap(() => {
|
|
117
|
+
const subscription = outputToObservable(componentRef.instance.closeDialog).pipe(take(1), tap(() => {
|
|
129
118
|
subscriber.next();
|
|
130
119
|
subscriber.complete();
|
|
131
120
|
}), finalize(() => {
|
|
@@ -138,14 +127,13 @@ class ErrorCaptureDialogService {
|
|
|
138
127
|
};
|
|
139
128
|
});
|
|
140
129
|
}
|
|
141
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
142
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
131
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, providedIn: 'root' }); }
|
|
143
132
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, decorators: [{
|
|
145
134
|
type: Injectable,
|
|
146
135
|
args: [{ providedIn: 'root' }]
|
|
147
136
|
}] });
|
|
148
|
-
|
|
149
137
|
class ErrorCaptureService {
|
|
150
138
|
constructor() {
|
|
151
139
|
this.errorCaptureDialogService = inject(RXAP_ERROR_CAPTURE_DIALOG_SERVICE, { optional: true }) ?? inject(ErrorCaptureDialogService);
|
|
@@ -163,39 +151,35 @@ class ErrorCaptureService {
|
|
|
163
151
|
return;
|
|
164
152
|
}
|
|
165
153
|
}
|
|
166
|
-
const newList = signal([error]);
|
|
154
|
+
const newList = signal([error], ...(ngDevMode ? [{ debugName: "newList" }] : /* istanbul ignore next */ []));
|
|
167
155
|
this.errorList.push(newList);
|
|
168
156
|
this.errorCaptureDialogService.open(this.component, newList);
|
|
169
157
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
159
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService }); }
|
|
172
160
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService, decorators: [{
|
|
174
162
|
type: Injectable
|
|
175
163
|
}] });
|
|
176
|
-
|
|
177
|
-
class AnyHttpErrorComponent {
|
|
164
|
+
let AnyHttpErrorComponent = class AnyHttpErrorComponent {
|
|
178
165
|
constructor() {
|
|
179
166
|
this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
|
|
180
167
|
this.error = inject(RXAP_ERROR_DIALOG_ERROR);
|
|
181
168
|
}
|
|
182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
183
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
184
|
-
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AnyHttpErrorComponent, isStandalone: true, selector: "rxap-any-http-error", ngImport: i0, template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Response Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Request Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "component", type: DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
171
|
+
};
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorComponent, decorators: [{
|
|
186
173
|
type: Component,
|
|
187
174
|
args: [{ selector: 'rxap-any-http-error', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
188
|
-
|
|
189
|
-
NgIf,
|
|
175
|
+
DataGridComponent, DataGridRowDefDirective, DataGridCellDefDirective,
|
|
190
176
|
DatePipe,
|
|
191
177
|
KeyValuePipe,
|
|
192
|
-
NgForOf,
|
|
193
178
|
CopyToClipboardComponent,
|
|
194
179
|
JsonPipe,
|
|
195
|
-
JsonViewerComponent
|
|
196
|
-
], template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n
|
|
180
|
+
JsonViewerComponent
|
|
181
|
+
], template: "<rxap-data-grid [data]=\"error\">\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"timestamp\">\n <td *rxapDataGridCellDef=\"let value\">{{ value | date:'HH:mm:ss' }}</td>\n </ng-container>\n <ng-container rxapDataGridRowDef=\"method\"></ng-container>\n <ng-container rxapDataGridRowDef=\"url\"></ng-container>\n <ng-container rxapDataGridRowDef=\"status\"></ng-container>\n <ng-container rxapDataGridRowDef=\"statusText\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container rxapDataGridRowDef=\"headers\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\">\n @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Response Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value) {\n <rxap-copy-to-clipboard [value]=\"value | json\">Copy Request Body</rxap-copy-to-clipboard>\n <div class=\"body\">\n <rxap-json-viewer [expanded]=\"false\" [json]=\"value\"></rxap-json-viewer>\n </div>\n }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
|
|
197
182
|
}] });
|
|
198
|
-
|
|
199
183
|
class AnyHttpErrorService extends ErrorCaptureService {
|
|
200
184
|
constructor() {
|
|
201
185
|
super(...arguments);
|
|
@@ -204,14 +188,13 @@ class AnyHttpErrorService extends ErrorCaptureService {
|
|
|
204
188
|
compare(a, b) {
|
|
205
189
|
return a.url === b.url && a.method === b.method && a.status === b.status && a.message === b.message;
|
|
206
190
|
}
|
|
207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
208
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
192
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, providedIn: 'root' }); }
|
|
209
193
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, decorators: [{
|
|
211
195
|
type: Injectable,
|
|
212
196
|
args: [{ providedIn: 'root' }]
|
|
213
197
|
}] });
|
|
214
|
-
|
|
215
198
|
class OpenApiHttpResponseErrorService extends AnyHttpErrorService {
|
|
216
199
|
constructor() {
|
|
217
200
|
super(...arguments);
|
|
@@ -220,31 +203,28 @@ class OpenApiHttpResponseErrorService extends AnyHttpErrorService {
|
|
|
220
203
|
compare(a, b) {
|
|
221
204
|
return true;
|
|
222
205
|
}
|
|
223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
224
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, providedIn: 'root' }); }
|
|
225
208
|
}
|
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, decorators: [{
|
|
227
210
|
type: Injectable,
|
|
228
211
|
args: [{ providedIn: 'root' }]
|
|
229
212
|
}] });
|
|
230
|
-
|
|
231
213
|
class MessageHttpErrorComponent {
|
|
232
214
|
constructor() {
|
|
233
215
|
this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
|
|
234
216
|
this.error = inject(RXAP_ERROR_DIALOG_ERROR);
|
|
235
|
-
this.showMore = signal(false);
|
|
217
|
+
this.showMore = signal(false, ...(ngDevMode ? [{ debugName: "showMore" }] : /* istanbul ignore next */ []));
|
|
236
218
|
}
|
|
237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
238
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
220
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: MessageHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Message:</p>\n <p>{{ error.error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
239
221
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorComponent, decorators: [{
|
|
241
223
|
type: Component,
|
|
242
224
|
args: [{ selector: 'rxap-http-error-message', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
], template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Message:</p>\n <p>{{ error.error.message }}</p>\n <ng-container *ngIf=\"!isProduction\">\n <hr>\n <button (click)=\"showMore.set(true)\"\n *ngIf=\"!showMore()\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n <rxap-any-http-error *ngIf=\"showMore()\"></rxap-any-http-error>\n </ng-container>\n</div>\n" }]
|
|
225
|
+
AnyHttpErrorComponent
|
|
226
|
+
], template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Message:</p>\n <p>{{ error.error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n" }]
|
|
246
227
|
}] });
|
|
247
|
-
|
|
248
228
|
class MessageHttpErrorService extends AnyHttpErrorService {
|
|
249
229
|
constructor() {
|
|
250
230
|
super(...arguments);
|
|
@@ -253,14 +233,13 @@ class MessageHttpErrorService extends AnyHttpErrorService {
|
|
|
253
233
|
compare(a, b) {
|
|
254
234
|
return super.compare(a, b) && a.error.message === b.error.message;
|
|
255
235
|
}
|
|
256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
257
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, providedIn: 'root' }); }
|
|
258
238
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, decorators: [{
|
|
260
240
|
type: Injectable,
|
|
261
241
|
args: [{ providedIn: 'root' }]
|
|
262
242
|
}] });
|
|
263
|
-
|
|
264
243
|
class AngularErrorComponent {
|
|
265
244
|
constructor() {
|
|
266
245
|
this.error = inject(RXAP_ERROR_DIALOG_ERROR);
|
|
@@ -274,14 +253,13 @@ class AngularErrorComponent {
|
|
|
274
253
|
get hasExtra() {
|
|
275
254
|
return Object.keys(this.error.extra).length > 0;
|
|
276
255
|
}
|
|
277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
278
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
257
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AngularErrorComponent, isStandalone: true, selector: "rxap-angular-error", ngImport: i0, template: "<rxap-data-grid [data]=\"error\">\n @if (error.name) {\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n }\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n @if (hasExtra || hasTags || hasContexts || error.stack) {\n <ng-container rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n }\n @if (error.stack) {\n <ng-container rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n }\n @if (hasTags) {\n <ng-container rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasExtra) {\n <ng-container rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasContexts) {\n <ng-container rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "component", type: DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: DataGridHeaderCellDefDirective, selector: "[rxapDataGridHeaderCellDef]" }, { kind: "directive", type: DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
279
258
|
}
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorComponent, decorators: [{
|
|
281
260
|
type: Component,
|
|
282
|
-
args: [{ selector: 'rxap-angular-error', imports: [
|
|
261
|
+
args: [{ selector: 'rxap-angular-error', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DataGridComponent, DataGridRowDefDirective, DataGridHeaderCellDefDirective, DataGridCellDefDirective, KeyValuePipe], template: "<rxap-data-grid [data]=\"error\">\n @if (error.name) {\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n }\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n @if (hasExtra || hasTags || hasContexts || error.stack) {\n <ng-container rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n }\n @if (error.stack) {\n <ng-container rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n }\n @if (hasTags) {\n <ng-container rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasExtra) {\n <ng-container rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasContexts) {\n <ng-container rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
|
|
283
262
|
}] });
|
|
284
|
-
|
|
285
263
|
class AngularErrorService extends ErrorCaptureService {
|
|
286
264
|
constructor() {
|
|
287
265
|
super(...arguments);
|
|
@@ -290,31 +268,28 @@ class AngularErrorService extends ErrorCaptureService {
|
|
|
290
268
|
compare(a, b) {
|
|
291
269
|
return true;
|
|
292
270
|
}
|
|
293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
272
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, providedIn: 'root' }); }
|
|
295
273
|
}
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, decorators: [{
|
|
297
275
|
type: Injectable,
|
|
298
276
|
args: [{ providedIn: 'root' }]
|
|
299
277
|
}] });
|
|
300
|
-
|
|
301
278
|
class CodeHttpErrorComponent {
|
|
302
279
|
constructor() {
|
|
303
280
|
this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
|
|
304
281
|
this.error = inject(RXAP_ERROR_DIALOG_ERROR);
|
|
305
|
-
this.showMore = signal(false);
|
|
282
|
+
this.showMore = signal(false, ...(ngDevMode ? [{ debugName: "showMore" }] : /* istanbul ignore next */ []));
|
|
306
283
|
}
|
|
307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
308
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
285
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: CodeHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Code: <span class=\"font-bold text-red-800\">{{ error.errorCode }}</span></p>\n <p>{{ error.error.message ?? error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
309
286
|
}
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorComponent, decorators: [{
|
|
311
288
|
type: Component,
|
|
312
289
|
args: [{ selector: 'rxap-http-error-message', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
], template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Code: <span class=\"font-bold text-red-800\">{{ error.errorCode }}</span></p>\n <p>{{ error.error.message ?? error.message }}</p>\n <ng-container *ngIf=\"!isProduction\">\n <hr>\n <button (click)=\"showMore.set(true)\"\n *ngIf=\"!showMore()\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n <rxap-any-http-error *ngIf=\"showMore()\"></rxap-any-http-error>\n </ng-container>\n</div>\n" }]
|
|
290
|
+
AnyHttpErrorComponent
|
|
291
|
+
], template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Code: <span class=\"font-bold text-red-800\">{{ error.errorCode }}</span></p>\n <p>{{ error.error.message ?? error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n" }]
|
|
316
292
|
}] });
|
|
317
|
-
|
|
318
293
|
class CodeHttpErrorService extends AnyHttpErrorService {
|
|
319
294
|
constructor() {
|
|
320
295
|
super(...arguments);
|
|
@@ -323,14 +298,13 @@ class CodeHttpErrorService extends AnyHttpErrorService {
|
|
|
323
298
|
compare(a, b) {
|
|
324
299
|
return super.compare(a, b) && a.errorCode === b.errorCode;
|
|
325
300
|
}
|
|
326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
327
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
302
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, providedIn: 'root' }); }
|
|
328
303
|
}
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, decorators: [{
|
|
330
305
|
type: Injectable,
|
|
331
306
|
args: [{ providedIn: 'root' }]
|
|
332
307
|
}] });
|
|
333
|
-
|
|
334
308
|
function SimplifyHttpErrorResponse(event) {
|
|
335
309
|
let error = event.error;
|
|
336
310
|
if (typeof error !== 'object') {
|
|
@@ -410,7 +384,6 @@ function PrintError(errorCandidate) {
|
|
|
410
384
|
console.error(errorCandidate);
|
|
411
385
|
}
|
|
412
386
|
}
|
|
413
|
-
|
|
414
387
|
const RXAP_ERROR_HANDLER_OPTIONS = new InjectionToken('rxap-error-handler-options', {
|
|
415
388
|
providedIn: 'root',
|
|
416
389
|
factory: () => ({ logErrors: true }),
|
|
@@ -544,20 +517,18 @@ class RxapErrorHandler {
|
|
|
544
517
|
inject(AngularErrorService).push(data);
|
|
545
518
|
});
|
|
546
519
|
}
|
|
547
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
548
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
521
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler }); }
|
|
549
522
|
}
|
|
550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler, decorators: [{
|
|
551
524
|
type: Injectable
|
|
552
525
|
}] });
|
|
553
|
-
|
|
554
526
|
function DefaultErrorCodeExtractor(error) {
|
|
555
527
|
return error.error?.code ?? null;
|
|
556
528
|
}
|
|
557
529
|
function DefaultErrorFilter(error) {
|
|
558
530
|
return error.status >= 400 && (!error.url || !/\/api\/status/.test(error.url));
|
|
559
531
|
}
|
|
560
|
-
|
|
561
532
|
function HttpErrorInterceptor(req, next) {
|
|
562
533
|
const anyHttpErrorService = inject(AnyHttpErrorService);
|
|
563
534
|
const messageHttpErrorService = inject(MessageHttpErrorService);
|
|
@@ -591,7 +562,7 @@ function HttpErrorInterceptor(req, next) {
|
|
|
591
562
|
timestamp: Date.now(),
|
|
592
563
|
};
|
|
593
564
|
if (error && typeof error === 'object') {
|
|
594
|
-
const errorCode = options.extractErrorCode(
|
|
565
|
+
const errorCode = options.extractErrorCode(event);
|
|
595
566
|
if (errorCode) {
|
|
596
567
|
Sentry.captureMessage(`Error Code ${errorCode}`, {
|
|
597
568
|
level: 'warning',
|
|
@@ -604,7 +575,7 @@ function HttpErrorInterceptor(req, next) {
|
|
|
604
575
|
errorCode,
|
|
605
576
|
});
|
|
606
577
|
}
|
|
607
|
-
else if (
|
|
578
|
+
else if (error.message) {
|
|
608
579
|
messageHttpErrorService.push(data);
|
|
609
580
|
}
|
|
610
581
|
else {
|
|
@@ -618,7 +589,6 @@ function HttpErrorInterceptor(req, next) {
|
|
|
618
589
|
},
|
|
619
590
|
}));
|
|
620
591
|
}
|
|
621
|
-
|
|
622
592
|
function provideAutoErrorInterception(...providers) {
|
|
623
593
|
return [
|
|
624
594
|
{
|
|
@@ -651,13 +621,9 @@ function ProvideErrorHandler() {
|
|
|
651
621
|
}
|
|
652
622
|
];
|
|
653
623
|
}
|
|
654
|
-
|
|
655
624
|
// region open-api-http-response-error
|
|
656
625
|
// endregion
|
|
657
|
-
|
|
658
626
|
/**
|
|
659
627
|
* Generated bundle index. Do not edit.
|
|
660
628
|
*/
|
|
661
|
-
|
|
662
629
|
export { AngularErrorComponent, AngularErrorService, AnyHttpErrorComponent, AnyHttpErrorService, CodeHttpErrorComponent, CodeHttpErrorService, DefaultErrorCodeExtractor, DefaultErrorFilter, ErrorCaptureDialogService, ErrorCaptureService, ErrorDialogComponent, ExtractContextFromError, ExtractError, ExtractExtraFromError, ExtractTagsFromError, HttpErrorInterceptor, MessageHttpErrorComponent, MessageHttpErrorService, OpenApiHttpResponseErrorComponent, OpenApiHttpResponseErrorService, PrintError, ProvideErrorHandler, RXAP_ERROR_CAPTURE_DIALOG_SERVICE, RXAP_ERROR_DIALOG_COMPONENT, RXAP_ERROR_DIALOG_DATA, RXAP_ERROR_DIALOG_DISABLED, RXAP_ERROR_DIALOG_ERROR, RXAP_ERROR_HANDLER_OPTIONS, RXAP_ERROR_INTERCEPTOR_OPTIONS, RxapErrorHandler, SimplifyHttpErrorResponse, provideAutoErrorInterception, withErrorCaptureDialogDisabledIf, withErrorCaptureDialogService };
|
|
663
|
-
//# sourceMappingURL=rxap-ngx-error.mjs.map
|