@rxap/ngx-error 16.1.0-dev.4 → 16.1.0-dev.6

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 CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 16.1.0-dev.6 (2023-10-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add missing padding ([23553a3](https://gitlab.com/rxap/packages/commit/23553a39fbb3dd7e9f810c96fe8e242c75bdb09f))
11
+ - ensure the error object is defined ([4b32def](https://gitlab.com/rxap/packages/commit/4b32defd3697a1f3c4ed421c3ff875f1c871cd5e))
12
+ - peer dependency issue ([ee95415](https://gitlab.com/rxap/packages/commit/ee95415370d9ef2396916d6c25061a0df791034a))
13
+ - remove debug log ([3d23ce3](https://gitlab.com/rxap/packages/commit/3d23ce3b3e18067a1ed0e5c5182164c06754bda4))
14
+ - support small displaces ([1c62ebe](https://gitlab.com/rxap/packages/commit/1c62ebe496aa526ab2b923764475b370715a26d7))
15
+ - update token description ([284ccd6](https://gitlab.com/rxap/packages/commit/284ccd658576cdb4d8dbf2f2a7c10717de5c1e16))
16
+ - use correct unit ([838d4cc](https://gitlab.com/rxap/packages/commit/838d4cc8c1e1399f4bd1945ad7e0f935fdbe1c3c))
17
+
18
+ ### Features
19
+
20
+ - add angular error dialog ([7fb2307](https://gitlab.com/rxap/packages/commit/7fb230723cfe69fb5bf0d0be7a223c895ca0bbf2))
21
+
22
+ # [16.1.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@16.1.0-dev.4...@rxap/ngx-error@16.1.0-dev.5) (2023-09-30)
23
+
24
+ ### Bug Fixes
25
+
26
+ - use correct unit ([7ddbf4f](https://gitlab.com/rxap/packages/commit/7ddbf4fbbdfff6399528feef6ca20c0125bbbb93))
27
+
6
28
  # [16.1.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@16.1.0-dev.3...@rxap/ngx-error@16.1.0-dev.4) (2023-09-30)
7
29
 
8
30
  ### Bug Fixes
package/README.md CHANGED
@@ -16,5 +16,5 @@ package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-error)
16
16
  @rxap/ngx-error
17
17
  ```
18
18
  **Install peer dependencies:** ```bash yarn add
19
- @angular/cdk@^16.1.4 @angular/common@^16.1.4 @angular/core@^16.1.4 @rxap/components@^16.0.0-dev.17 @rxap/config@^16.0.0-dev.17 @rxap/data-grid@^16.0.0-dev.18 @rxap/environment@^16.0.0-dev.16 @sentry/angular-ivy@^7.60.1 rxjs@^7.8.0 tslib@^2.3.0
19
+ @angular/cdk@^16.1.4 @angular/common@^16.1.4 @angular/core@^16.1.4 @rxap/components@^16.0.0-dev.20 @rxap/config@^16.0.0-dev.18 @rxap/data-grid@^16.0.0-dev.18 @rxap/environment@^16.0.0-dev.16 @sentry/angular-ivy@^7.60.1 rxjs@^7.8.0 tslib@^2.3.0
20
20
  ```
@@ -39,7 +39,7 @@ export class ErrorDialogComponent {
39
39
  this.closeDialog.emit();
40
40
  }
41
41
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ErrorDialogComponent, isStandalone: true, selector: "rxap-error-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vw\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ErrorDialogComponent, isStandalone: true, selector: "rxap-error-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
43
43
  }
44
44
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorDialogComponent, decorators: [{
45
45
  type: Component,
@@ -48,11 +48,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
48
48
  NgClass,
49
49
  NgForOf,
50
50
  PortalModule,
51
- ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vw\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"] }]
51
+ ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"] }]
52
52
  }], propDecorators: { dialog: [{
53
53
  type: ViewChild,
54
54
  args: ['dialog', { static: true }]
55
55
  }], closeDialog: [{
56
56
  type: Output
57
57
  }] } });
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItZGlhbG9nLmNvbXBvbmVudC5qcyIsIn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xuICAgIDwvYnV0dG9uPlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImZsZXggZmxleC1jb2wgb3ZlcmZsb3ctYXV0b1wiPlxuICAgIDxuZy10ZW1wbGF0ZSBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbCgpXCI+PC9uZy10ZW1wbGF0ZT5cbiAgPC9kaXY+XG4gIDxidXR0b24gKGNsaWNrKT1cImNsb3NlKClcIiBjbGFzcz1cInB4LTQgcHktMiByb3VuZGVkIGJnLXByaW1hcnktNTAwXCIgaTE4bj5jbG9zZTwvYnV0dG9uPlxuPC9kaWFsb2c+XG4iXX0=
@@ -92,7 +92,7 @@ class ErrorDialogComponent {
92
92
  this.closeDialog.emit();
93
93
  }
94
94
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
95
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ErrorDialogComponent, isStandalone: true, selector: "rxap-error-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vw\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
95
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ErrorDialogComponent, isStandalone: true, selector: "rxap-error-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
96
96
  }
97
97
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorDialogComponent, decorators: [{
98
98
  type: Component,
@@ -101,7 +101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
101
101
  NgClass,
102
102
  NgForOf,
103
103
  PortalModule,
104
- ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vw\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"] }]
104
+ ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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::-webkit-backdrop{background:rgba(0,0,0,.7)}dialog::backdrop{background:rgba(0,0,0,.7)}\n"] }]
105
105
  }], propDecorators: { dialog: [{
106
106
  type: ViewChild,
107
107
  args: ['dialog', { static: true }]
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-ngx-error.mjs","sources":["../../../../../packages/angular/error/src/lib/tokens.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.component.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.component.html","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.component.ts","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.component.html","../../../../../packages/angular/error/src/lib/error-dialog/error-dialog.component.ts","../../../../../packages/angular/error/src/lib/error-dialog/error-dialog.component.html","../../../../../packages/angular/error/src/lib/error-capture.service.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.service.ts","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.service.ts","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.component.ts","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.component.html","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.service.ts","../../../../../packages/angular/error/src/lib/angular-error/angular-error.component.ts","../../../../../packages/angular/error/src/lib/angular-error/angular-error.component.html","../../../../../packages/angular/error/src/lib/angular-error/angular-error.service.ts","../../../../../packages/angular/error/src/lib/utilities.ts","../../../../../packages/angular/error/src/lib/error-handler.ts","../../../../../packages/angular/error/src/lib/error-interceptor-options.ts","../../../../../packages/angular/error/src/lib/http-error-interceptor.ts","../../../../../packages/angular/error/src/index.ts","../../../../../packages/angular/error/src/rxap-ngx-error.ts"],"sourcesContent":["import { ComponentType } from '@angular/cdk/overlay';\nimport {\n InjectionToken,\n Signal,\n} from '@angular/core';\nimport { IErrorDialogComponent } from './error-dialog/error-dialog.component';\nimport { ErrorInterceptorOptions } from './error-interceptor-options';\n\nexport const RXAP_ERROR_DIALOG_DATA = new InjectionToken<Signal<any[]>>('rxap/error/dialog-data');\n\nexport const RXAP_ERROR_DIALOG_ERROR = new InjectionToken<any>('rxap/error/dialog-error');\n\nexport const RXAP_ERROR_DIALOG_COMPONENT = new InjectionToken<ComponentType<IErrorDialogComponent>>(\n 'rxap/error/dialog-component');\n\nexport const RXAP_ERROR_INTERCEPTOR_OPTIONS = new InjectionToken<ErrorInterceptorOptions>(\n 'rxap/error/interceptor-options');\n","import {\n DatePipe,\n JsonPipe,\n KeyValuePipe,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Signal,\n} from '@angular/core';\nimport {\n CopyToClipboardComponent,\n JsonViewerComponent,\n} from '@rxap/components';\nimport { DataGridModule } from '@rxap/data-grid';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { AnyHttpErrorDialogData } from './any-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-any-http-error',\n templateUrl: './any-http-error.component.html',\n styleUrls: [ './any-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DataGridModule,\n NgIf,\n DatePipe,\n KeyValuePipe,\n NgForOf,\n CopyToClipboardComponent,\n JsonPipe,\n JsonViewerComponent,\n ],\n})\nexport class AnyHttpErrorComponent implements IErrorDialogComponent<AnyHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: AnyHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n}\n","<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 <ng-container *ngFor=\"let entry of value | keyvalue\" [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"value.length > 1\">\n <ul>\n <li *ngFor=\"let item of value\">{{ item }}</li>\n </ul>\n </ng-container>\n <ng-container *ngIf=\"value.length === 1\">{{ value[0] }}</ng-container>\n <ng-container *ngIf=\"value.length === 0\">NONE</ng-container>\n </td>\n </ng-container>\n </rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isProduction\" rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"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 </ng-container>\n <ng-container *ngIf=\"!value\">NONE</ng-container>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isProduction\" rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"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 </ng-container>\n <ng-container *ngIf=\"!value\">NONE</ng-container>\n </td>\n </ng-container>\n</rxap-data-grid>\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n signal,\n} from '@angular/core';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { AnyHttpErrorComponent } from '../any-http-error/any-http-error.component';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { MessageHttpErrorDialogData } from './message-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-http-error-message',\n templateUrl: './message-http-error.component.html',\n styleUrls: [ './message-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n NgIf,\n AnyHttpErrorComponent,\n ],\n})\nexport class MessageHttpErrorComponent implements IErrorDialogComponent<MessageHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: MessageHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public readonly showMore = signal(false);\n\n}\n","<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","import {\n ComponentPortal,\n PortalModule,\n} from '@angular/cdk/portal';\nimport {\n NgClass,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n EventEmitter,\n inject,\n INJECTOR,\n Injector,\n Output,\n signal,\n Signal,\n ViewChild,\n} from '@angular/core';\nimport {\n RXAP_ERROR_DIALOG_COMPONENT,\n RXAP_ERROR_DIALOG_DATA,\n RXAP_ERROR_DIALOG_ERROR,\n} from '../tokens';\n\nexport interface IErrorDialogComponent<Error = any> {\n error: Error;\n}\n\n@Component({\n selector: 'rxap-error-dialog',\n templateUrl: './error-dialog.component.html',\n styleUrls: [ './error-dialog.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [\n NgIf,\n NgClass,\n NgForOf,\n PortalModule,\n ],\n})\nexport class ErrorDialogComponent implements AfterViewInit {\n\n @ViewChild('dialog', { static: true })\n public dialog!: ElementRef<HTMLDialogElement>;\n\n public readonly data: Signal<any[]> = inject(RXAP_ERROR_DIALOG_DATA);\n\n public readonly activeIndex = signal(0);\n public readonly displayedButtons = computed(() => {\n const start = Math.max(0, this.activeIndex() - 2);\n const end = Math.min(this.data().length, start + 5);\n return Array.from({ length: end - start }, (_, i) => start + i);\n });\n @Output()\n public closeDialog = new EventEmitter<void>();\n private readonly component = inject(RXAP_ERROR_DIALOG_COMPONENT);\n private readonly injector = inject(INJECTOR);\n public readonly componentPortal = computed(() => {\n const index = this.activeIndex();\n const data = this.data();\n const injector = Injector.create({\n parent: this.injector,\n providers: [\n {\n provide: RXAP_ERROR_DIALOG_ERROR,\n useValue: data[index],\n },\n ],\n });\n return new ComponentPortal(this.component, null, injector);\n });\n\n ngAfterViewInit() {\n this.dialog.nativeElement.showModal();\n }\n\n close() {\n this.dialog.nativeElement.close();\n this.closeDialog.emit();\n }\n\n}\n","<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vw\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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","import { ComponentType } from '@angular/cdk/overlay';\nimport {\n ApplicationRef,\n createComponent,\n inject,\n Injectable,\n Injector,\n signal,\n WritableSignal,\n} from '@angular/core';\nimport { take } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport {\n ErrorDialogComponent,\n IErrorDialogComponent,\n} from './error-dialog/error-dialog.component';\nimport {\n RXAP_ERROR_DIALOG_COMPONENT,\n RXAP_ERROR_DIALOG_DATA,\n} from './tokens';\n\n@Injectable()\nexport abstract class ErrorCaptureService<Error = any> {\n\n protected abstract readonly component: ComponentType<IErrorDialogComponent>;\n private readonly applicationRef = inject(ApplicationRef);\n private errorList: Array<WritableSignal<Error[]>> = [];\n\n push(error: Error) {\n if (this.errorList.length) {\n const last = this.errorList[this.errorList.length - 1];\n const value = last();\n if (value.some(e => this.compare(e, error))) {\n last.mutate(value => value.push(error));\n return;\n }\n }\n const newList = signal([ error ]);\n this.errorList.push(newList);\n this.openDialog(newList);\n }\n\n abstract compare(a: Error, b: Error): boolean;\n\n openDialog(errorList: WritableSignal<Error[]>) {\n const body = document.getElementsByTagName('body')[0];\n const div = document.createElement('div');\n body.appendChild(div);\n const componentRef = createComponent(ErrorDialogComponent, {\n hostElement: div,\n environmentInjector: this.applicationRef.injector,\n elementInjector: Injector.create({\n providers: [\n {\n provide: RXAP_ERROR_DIALOG_DATA,\n useValue: errorList,\n },\n {\n provide: RXAP_ERROR_DIALOG_COMPONENT,\n useValue: this.component,\n },\n ],\n }),\n });\n this.applicationRef.attachView(componentRef.hostView);\n componentRef.instance.closeDialog.pipe(\n take(1),\n tap(() => {\n componentRef.destroy();\n body.removeChild(div);\n div.remove();\n this.errorList.splice(this.errorList.indexOf(errorList), 1);\n }),\n ).subscribe();\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { ErrorCaptureService } from '../error-capture.service';\nimport { AnyHttpErrorDialogData } from './any-http-error-dialog-data';\nimport { AnyHttpErrorComponent } from './any-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class AnyHttpErrorService<Error extends AnyHttpErrorDialogData = AnyHttpErrorDialogData>\n extends ErrorCaptureService<Error> {\n\n protected readonly component = AnyHttpErrorComponent;\n\n override compare(a: Error, b: Error): boolean {\n return a.url === b.url && a.method === b.method && a.status === b.status && a.message === b.message;\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { AnyHttpErrorService } from '../any-http-error/any-http-error.service';\nimport { MessageHttpErrorDialogData } from './message-http-error-dialog-data';\nimport { MessageHttpErrorComponent } from './message-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class MessageHttpErrorService extends AnyHttpErrorService<MessageHttpErrorDialogData> {\n\n protected override readonly component = MessageHttpErrorComponent;\n\n override compare(a: MessageHttpErrorDialogData, b: MessageHttpErrorDialogData): boolean {\n return super.compare(a, b) && a.error.message === b.error.message;\n }\n\n}\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n signal,\n} from '@angular/core';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { AnyHttpErrorComponent } from '../any-http-error/any-http-error.component';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { CodeHttpErrorDialogData } from './code-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-http-error-message',\n templateUrl: './code-http-error.component.html',\n styleUrls: [ './code-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n NgIf,\n AnyHttpErrorComponent,\n ],\n})\nexport class CodeHttpErrorComponent implements IErrorDialogComponent<CodeHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: CodeHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public readonly showMore = signal(false);\n\n}\n","<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Code:&nbsp;<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","import { Injectable } from '@angular/core';\nimport { AnyHttpErrorService } from '../any-http-error/any-http-error.service';\nimport { CodeHttpErrorDialogData } from './code-http-error-dialog-data';\nimport { CodeHttpErrorComponent } from './code-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class CodeHttpErrorService extends AnyHttpErrorService<CodeHttpErrorDialogData> {\n\n protected override readonly component = CodeHttpErrorComponent;\n\n override compare(a: CodeHttpErrorDialogData, b: CodeHttpErrorDialogData): boolean {\n return super.compare(a, b) && a.errorCode === b.errorCode;\n }\n\n}\n","import {\n KeyValuePipe,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n Component,\n inject,\n} from '@angular/core';\nimport { DataGridModule } from '@rxap/data-grid';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { AngularErrorDialogData } from './angular-error-dialog-data';\n\n@Component({\n selector: 'rxap-angular-error',\n standalone: true,\n imports: [ DataGridModule, KeyValuePipe, NgForOf, NgIf ],\n templateUrl: './angular-error.component.html',\n styleUrls: [ './angular-error.component.scss' ],\n})\nexport class AngularErrorComponent implements IErrorDialogComponent<AngularErrorDialogData> {\n\n public readonly error: AngularErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public get hasTags(): boolean {\n return Object.keys(this.error.tags).length > 0;\n }\n\n public get hasContexts(): boolean {\n return Object.keys(this.error.contexts).length > 0;\n }\n\n public get hasExtra(): boolean {\n return Object.keys(this.error.extra).length > 0;\n }\n\n}\n","<rxap-data-grid [data]=\"error\">\n <ng-container *ngIf=\"error.name\" rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container *ngIf=\"hasExtra || hasTags || hasContexts || error.stack\" rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n <ng-container *ngIf=\"error.stack\" rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasTags\" rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasExtra\" rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasContexts\" rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n</rxap-data-grid>\n","import { Injectable } from '@angular/core';\nimport { ErrorCaptureService } from '../error-capture.service';\nimport { AngularErrorDialogData } from './angular-error-dialog-data';\nimport { AngularErrorComponent } from './angular-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class AngularErrorService extends ErrorCaptureService<AngularErrorDialogData> {\n\n protected readonly component = AngularErrorComponent;\n\n override compare(a: AngularErrorDialogData, b: AngularErrorDialogData): boolean {\n return true;\n }\n\n}\n","import { HttpErrorResponse } from '@angular/common/http';\n\nexport interface SimplifiedHttpErrorResponse extends Record<string, unknown> {\n url: string | null;\n message: string;\n name: string;\n status: number;\n statusText: string;\n headers: Record<string, string[]>;\n error: any;\n errorMessage: string;\n}\n\nexport function SimplifyHttpErrorResponse(event: HttpErrorResponse): SimplifiedHttpErrorResponse {\n let error = event.error;\n if (typeof error !== 'object') {\n if (error instanceof Blob) {\n console.warn('error response object is a blob');\n error = '[BLOB]';\n } else {\n try {\n error = JSON.parse(error);\n } catch (e) {\n console.warn('error response object is not a json');\n }\n }\n }\n return {\n errorMessage: (typeof error === 'object' ? error?.message : undefined) ?? event.message,\n error: error,\n message: event.message,\n name: event.name,\n status: event.status,\n statusText: event.statusText,\n url: event.url,\n headers: event.headers.keys()\n .reduce((map, key) => ({\n ...map,\n [key]: event.headers.getAll(key),\n }), {}),\n };\n}\n\nexport function ExtractContextFromError(error: unknown) {\n const context: Record<string, Record<string, unknown>> = {};\n\n if (error instanceof HttpErrorResponse) {\n context['response'] = SimplifyHttpErrorResponse(error);\n }\n\n return context;\n}\n\nexport function ExtractExtraFromError(error: unknown) {\n return {};\n}\n\nexport function ExtractTagsFromError(error: unknown) {\n return {};\n}\n\nexport function ExtractError(error: unknown) {\n if (error instanceof HttpErrorResponse) {\n return error;\n }\n\n if (error instanceof Error) {\n return error;\n }\n\n if (typeof error === 'string') {\n return error;\n }\n\n return 'Handled unknown error';\n}\n\nexport function PrintError(errorCandidate: unknown) {\n if (errorCandidate instanceof HttpErrorResponse) {\n console.groupCollapsed(errorCandidate.message);\n const {\n headers,\n error,\n ...map\n } = SimplifyHttpErrorResponse(errorCandidate);\n if (typeof error === 'object' && error?.message) {\n console.log(error?.message);\n }\n console.log(error);\n console.table(map);\n console.groupCollapsed('Headers');\n console.table(headers);\n console.groupEnd();\n console.groupEnd();\n } else if (errorCandidate instanceof Error) {\n console.error(errorCandidate);\n } else if (typeof errorCandidate === 'string') {\n console.error(errorCandidate);\n }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport {\n ErrorHandler,\n inject,\n Injectable,\n InjectionToken,\n INJECTOR,\n isDevMode,\n runInInjectionContext,\n StaticProvider,\n} from '@angular/core';\nimport { ConfigService } from '@rxap/config';\nimport {\n IsNotReleaseVersion,\n RXAP_ENVIRONMENT,\n} from '@rxap/environment';\nimport * as Sentry from '@sentry/angular-ivy';\nimport { AngularErrorDialogData } from './angular-error/angular-error-dialog-data';\nimport { AngularErrorService } from './angular-error/angular-error.service';\nimport {\n ExtractContextFromError,\n ExtractError,\n ExtractExtraFromError,\n ExtractTagsFromError,\n PrintError,\n} from './utilities';\n\nexport interface ErrorHandlerOptions {\n logErrors?: boolean;\n showDialog?: boolean;\n sentry?: {\n showDialog?: boolean;\n dialogOptions?: Sentry.ReportDialogOptions;\n };\n}\n\nexport const RXAP_ERROR_HANDLER_OPTIONS = new InjectionToken<ErrorHandlerOptions>('rxap-error-handler-options', {\n providedIn: 'root',\n factory: () => ({ logErrors: true }),\n});\n\n@Injectable()\nexport class RxapErrorHandler implements ErrorHandler {\n\n protected readonly options: ErrorHandlerOptions = (() => {\n const options = inject(RXAP_ERROR_HANDLER_OPTIONS);\n const environment = inject(RXAP_ENVIRONMENT);\n const config = inject(ConfigService);\n options.logErrors ??= true;\n options.sentry ??= {};\n options.sentry.showDialog ??= config.get('sentry.showDialog', false);\n // enforce sentry showDialog to false in dev mode\n options.sentry.showDialog = !isDevMode() && options.sentry.showDialog;\n options.showDialog ??= IsNotReleaseVersion(environment);\n options.sentry.dialogOptions ??= config.get('sentry.dialogOptions', {});\n options.sentry.dialogOptions.user ??= {};\n return options;\n })();\n\n protected readonly injector = inject(INJECTOR);\n\n /**\n * Method called for every value captured through the ErrorHandler\n */\n public handleError(errorCandidate: unknown): void {\n\n let error = errorCandidate;\n\n // Try to unwrap zone.js error.\n // https://github.com/angular/angular/blob/master/packages/core/src/util/errors.ts\n if (error && (error as { ngOriginalError: Error }).ngOriginalError) {\n error = (error as { ngOriginalError: Error }).ngOriginalError;\n }\n\n const extractedError = ExtractError(error);\n\n const contexts = ExtractContextFromError(error);\n const extra = ExtractExtraFromError(error);\n const tags = ExtractTagsFromError(error);\n\n let eventId: string;\n\n // Capture handled exception and send it to Sentry.\n if (typeof extractedError === 'string') {\n eventId = Sentry.captureMessage(extractedError, {\n level: 'error',\n contexts,\n extra,\n tags,\n });\n } else {\n eventId = Sentry.captureException(extractedError, {\n level: 'error',\n contexts,\n extra,\n tags,\n });\n }\n\n if (this.options.logErrors) {\n PrintError(error);\n }\n\n if (this.options.sentry?.showDialog) {\n if (!(error instanceof HttpErrorResponse)) {\n Sentry.showReportDialog({\n ...(this.options.sentry.dialogOptions ?? {}),\n eventId,\n });\n }\n } else if (this.options.showDialog) {\n const nonMessage = 'unsupported error type for angular error dialog';\n const data: AngularErrorDialogData = {\n message: nonMessage,\n contexts,\n extra,\n tags,\n };\n if (typeof extractedError === 'string') {\n data.message = extractedError;\n } else if (!(extractedError instanceof HttpErrorResponse)) {\n data.message = extractedError.message;\n data.stack = extractedError.stack;\n data.name = extractedError.name;\n }\n\n if (data.message !== nonMessage) {\n this.showAngularErrorDialog(data);\n }\n\n }\n\n }\n\n protected showAngularErrorDialog(data: AngularErrorDialogData): void {\n runInInjectionContext(this.injector, () => {\n inject(AngularErrorService).push(data);\n });\n }\n\n\n}\n\nexport function ProvideErrorHandler(): StaticProvider {\n return {\n provide: ErrorHandler,\n useClass: RxapErrorHandler,\n };\n}\n","import { HttpErrorResponse } from '@angular/common/http';\n\nexport function DefaultErrorCodeExtractor(error: HttpErrorResponse): number | string | null {\n return error.error?.code ?? null;\n}\n\nexport function DefaultErrorFilter(error: HttpErrorResponse): boolean {\n return error.status >= 400 && (!error.url || !/\\/api\\/status/.test(error.url));\n}\n\nexport interface ErrorInterceptorOptions {\n extractErrorCode?: (error: HttpErrorResponse) => number | string | null;\n filter?: Array<(error: HttpErrorResponse) => boolean>;\n}\n","import {\n HttpErrorResponse,\n HttpEvent,\n HttpHandlerFn,\n HttpRequest,\n} from '@angular/common/http';\nimport { inject } from '@angular/core';\nimport * as Sentry from '@sentry/angular-ivy';\nimport { Observable } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { AnyHttpErrorService } from './any-http-error/any-http-error.service';\nimport { CodeHttpErrorService } from './code-http-error/code-http-error.service';\nimport {\n DefaultErrorCodeExtractor,\n DefaultErrorFilter,\n} from './error-interceptor-options';\nimport { MessageHttpErrorService } from './message-http-error/message-http-error.service';\nimport { RXAP_ERROR_INTERCEPTOR_OPTIONS } from './tokens';\nimport {\n ExtractContextFromError,\n ExtractExtraFromError,\n ExtractTagsFromError,\n SimplifyHttpErrorResponse,\n} from './utilities';\n\nexport function HttpErrorInterceptor(req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<unknown>> {\n\n const anyHttpErrorService = inject(AnyHttpErrorService);\n const messageHttpErrorService = inject(MessageHttpErrorService);\n const codeHttpErrorService = inject(CodeHttpErrorService);\n const options = inject(RXAP_ERROR_INTERCEPTOR_OPTIONS, { optional: true }) ?? {};\n\n options.extractErrorCode ??= DefaultErrorCodeExtractor;\n options.filter ??= [];\n if (!options.filter.length) {\n options.filter.push(DefaultErrorFilter);\n }\n\n return next(req).pipe(\n tap({\n error: async (event: Error) => {\n if (event instanceof HttpErrorResponse) {\n\n if (!options.filter?.some((filter) => filter(event))) {\n return;\n }\n\n let error = event.error;\n if (event.error instanceof Blob) {\n error = await event.error.text();\n try {\n error = JSON.parse(error);\n } catch (e) {\n console.warn('error response object is not a json');\n }\n }\n\n const data = {\n ...SimplifyHttpErrorResponse(event),\n method: req.method,\n body: req.body,\n timestamp: Date.now(),\n };\n\n if (error && typeof error === 'object') {\n const errorCode = options.extractErrorCode!(error);\n if (errorCode) {\n Sentry.captureMessage(`Error Code ${ errorCode }`, {\n level: 'warning',\n contexts: ExtractContextFromError(error),\n extra: ExtractExtraFromError(error),\n tags: ExtractTagsFromError(error),\n });\n codeHttpErrorService.push({\n ...data,\n errorCode,\n });\n } else if (event.error.message) {\n messageHttpErrorService.push(data);\n } else {\n anyHttpErrorService.push(data);\n }\n } else {\n anyHttpErrorService.push(data);\n }\n }\n },\n }),\n );\n\n}\n","// region message-http-error\nexport * from './lib/message-http-error/message-http-error-dialog-data';\nexport * from './lib/message-http-error/message-http-error.component';\nexport * from './lib/message-http-error/message-http-error.service';\n// endregion\n\n// region error-dialog\nexport * from './lib/error-dialog/error-dialog.component';\n// endregion\n\n// region code-http-error\nexport * from './lib/code-http-error/code-http-error-dialog-data';\nexport * from './lib/code-http-error/code-http-error.component';\nexport * from './lib/code-http-error/code-http-error.service';\n// endregion\n\n// region any-http-error\nexport * from './lib/any-http-error/any-http-error-dialog-data';\nexport * from './lib/any-http-error/any-http-error.component';\nexport * from './lib/any-http-error/any-http-error.service';\n// endregion\n\n// region angular-error\nexport * from './lib/angular-error/angular-error-dialog-data';\nexport * from './lib/angular-error/angular-error.component';\nexport * from './lib/angular-error/angular-error.service';\n// endregion\n\n// region \nexport * from './lib/error-capture.service';\nexport * from './lib/error-handler';\nexport * from './lib/error-interceptor-options';\nexport * from './lib/http-error-interceptor';\nexport * from './lib/tokens';\nexport * from './lib/utilities';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;MAQa,sBAAsB,GAAG,IAAI,cAAc,CAAgB,wBAAwB,EAAE;MAErF,uBAAuB,GAAG,IAAI,cAAc,CAAM,yBAAyB,EAAE;MAE7E,2BAA2B,GAAG,IAAI,cAAc,CAC3D,6BAA6B,EAAE;MAEpB,8BAA8B,GAAG,IAAI,cAAc,CAC9D,gCAAgC;;MCwBrB,qBAAqB,CAAA;AAjBlC,IAAA,WAAA,GAAA;AAmBkB,QAAA,IAAA,CAAA,YAAY,GAAY,MAAM,CAAC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,UAAU,IAAI,KAAK,CAAC;AAE1F,QAAA,IAAA,CAAA,KAAK,GAA2B,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAEjF,KAAA;8GANY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,+ECxClC,mxEAkDA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,E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,SAAS;AAChB,4BAAA,QAAQ,EAAE,uBAAuB,CAAC,KAAK,CAAC;AACxC,4BAAA,KAAK,EAAE,qBAAqB,CAAC,KAAK,CAAC;AACnC,4BAAA,IAAI,EAAE,oBAAoB,CAAC,KAAK,CAAC;AAClC,yBAAA,CAAC,CAAC;wBACH,oBAAoB,CAAC,IAAI,CAAC;AACxB,4BAAA,GAAG,IAAI;4BACP,SAAS;AACV,yBAAA,CAAC,CAAC;AACJ,qBAAA;AAAM,yBAAA,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;AAC9B,wBAAA,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpC,qBAAA;AAAM,yBAAA;AACL,wBAAA,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,qBAAA;AACF,iBAAA;AAAM,qBAAA;AACL,oBAAA,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,iBAAA;AACF,aAAA;SACF;AACF,KAAA,CAAC,CACH,CAAC;AAEJ;;AC1FA;AAmCA;;ACnCA;;AAEG;;;;"}
1
+ {"version":3,"file":"rxap-ngx-error.mjs","sources":["../../../../../packages/angular/error/src/lib/tokens.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.component.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.component.html","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.component.ts","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.component.html","../../../../../packages/angular/error/src/lib/error-dialog/error-dialog.component.ts","../../../../../packages/angular/error/src/lib/error-dialog/error-dialog.component.html","../../../../../packages/angular/error/src/lib/error-capture.service.ts","../../../../../packages/angular/error/src/lib/any-http-error/any-http-error.service.ts","../../../../../packages/angular/error/src/lib/message-http-error/message-http-error.service.ts","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.component.ts","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.component.html","../../../../../packages/angular/error/src/lib/code-http-error/code-http-error.service.ts","../../../../../packages/angular/error/src/lib/angular-error/angular-error.component.ts","../../../../../packages/angular/error/src/lib/angular-error/angular-error.component.html","../../../../../packages/angular/error/src/lib/angular-error/angular-error.service.ts","../../../../../packages/angular/error/src/lib/utilities.ts","../../../../../packages/angular/error/src/lib/error-handler.ts","../../../../../packages/angular/error/src/lib/error-interceptor-options.ts","../../../../../packages/angular/error/src/lib/http-error-interceptor.ts","../../../../../packages/angular/error/src/index.ts","../../../../../packages/angular/error/src/rxap-ngx-error.ts"],"sourcesContent":["import { ComponentType } from '@angular/cdk/overlay';\nimport {\n InjectionToken,\n Signal,\n} from '@angular/core';\nimport { IErrorDialogComponent } from './error-dialog/error-dialog.component';\nimport { ErrorInterceptorOptions } from './error-interceptor-options';\n\nexport const RXAP_ERROR_DIALOG_DATA = new InjectionToken<Signal<any[]>>('rxap/error/dialog-data');\n\nexport const RXAP_ERROR_DIALOG_ERROR = new InjectionToken<any>('rxap/error/dialog-error');\n\nexport const RXAP_ERROR_DIALOG_COMPONENT = new InjectionToken<ComponentType<IErrorDialogComponent>>(\n 'rxap/error/dialog-component');\n\nexport const RXAP_ERROR_INTERCEPTOR_OPTIONS = new InjectionToken<ErrorInterceptorOptions>(\n 'rxap/error/interceptor-options');\n","import {\n DatePipe,\n JsonPipe,\n KeyValuePipe,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Signal,\n} from '@angular/core';\nimport {\n CopyToClipboardComponent,\n JsonViewerComponent,\n} from '@rxap/components';\nimport { DataGridModule } from '@rxap/data-grid';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { AnyHttpErrorDialogData } from './any-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-any-http-error',\n templateUrl: './any-http-error.component.html',\n styleUrls: [ './any-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DataGridModule,\n NgIf,\n DatePipe,\n KeyValuePipe,\n NgForOf,\n CopyToClipboardComponent,\n JsonPipe,\n JsonViewerComponent,\n ],\n})\nexport class AnyHttpErrorComponent implements IErrorDialogComponent<AnyHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: AnyHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n}\n","<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 <ng-container *ngFor=\"let entry of value | keyvalue\" [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"value.length > 1\">\n <ul>\n <li *ngFor=\"let item of value\">{{ item }}</li>\n </ul>\n </ng-container>\n <ng-container *ngIf=\"value.length === 1\">{{ value[0] }}</ng-container>\n <ng-container *ngIf=\"value.length === 0\">NONE</ng-container>\n </td>\n </ng-container>\n </rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isProduction\" rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"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 </ng-container>\n <ng-container *ngIf=\"!value\">NONE</ng-container>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isProduction\" rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n <ng-container *ngIf=\"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 </ng-container>\n <ng-container *ngIf=\"!value\">NONE</ng-container>\n </td>\n </ng-container>\n</rxap-data-grid>\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n signal,\n} from '@angular/core';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { AnyHttpErrorComponent } from '../any-http-error/any-http-error.component';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { MessageHttpErrorDialogData } from './message-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-http-error-message',\n templateUrl: './message-http-error.component.html',\n styleUrls: [ './message-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n NgIf,\n AnyHttpErrorComponent,\n ],\n})\nexport class MessageHttpErrorComponent implements IErrorDialogComponent<MessageHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: MessageHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public readonly showMore = signal(false);\n\n}\n","<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","import {\n ComponentPortal,\n PortalModule,\n} from '@angular/cdk/portal';\nimport {\n NgClass,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n EventEmitter,\n inject,\n INJECTOR,\n Injector,\n Output,\n signal,\n Signal,\n ViewChild,\n} from '@angular/core';\nimport {\n RXAP_ERROR_DIALOG_COMPONENT,\n RXAP_ERROR_DIALOG_DATA,\n RXAP_ERROR_DIALOG_ERROR,\n} from '../tokens';\n\nexport interface IErrorDialogComponent<Error = any> {\n error: Error;\n}\n\n@Component({\n selector: 'rxap-error-dialog',\n templateUrl: './error-dialog.component.html',\n styleUrls: [ './error-dialog.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [\n NgIf,\n NgClass,\n NgForOf,\n PortalModule,\n ],\n})\nexport class ErrorDialogComponent implements AfterViewInit {\n\n @ViewChild('dialog', { static: true })\n public dialog!: ElementRef<HTMLDialogElement>;\n\n public readonly data: Signal<any[]> = inject(RXAP_ERROR_DIALOG_DATA);\n\n public readonly activeIndex = signal(0);\n public readonly displayedButtons = computed(() => {\n const start = Math.max(0, this.activeIndex() - 2);\n const end = Math.min(this.data().length, start + 5);\n return Array.from({ length: end - start }, (_, i) => start + i);\n });\n @Output()\n public closeDialog = new EventEmitter<void>();\n private readonly component = inject(RXAP_ERROR_DIALOG_COMPONENT);\n private readonly injector = inject(INJECTOR);\n public readonly componentPortal = computed(() => {\n const index = this.activeIndex();\n const data = this.data();\n const injector = Injector.create({\n parent: this.injector,\n providers: [\n {\n provide: RXAP_ERROR_DIALOG_ERROR,\n useValue: data[index],\n },\n ],\n });\n return new ComponentPortal(this.component, null, injector);\n });\n\n ngAfterViewInit() {\n this.dialog.nativeElement.showModal();\n }\n\n close() {\n this.dialog.nativeElement.close();\n this.closeDialog.emit();\n }\n\n}\n","<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n <div *ngIf=\"data().length > 1\" class=\"controls flex justify-center space-x-2 mt-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n *ngIf=\"activeIndex() > 0\" 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\">Previous\n </button>\n <button (click)=\"activeIndex.set(item)\"\n *ngFor=\"let item of displayedButtons()\"\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 <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n *ngIf=\"activeIndex() < data().length - 1\" 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\">Next\n </button>\n </div>\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","import { ComponentType } from '@angular/cdk/overlay';\nimport {\n ApplicationRef,\n createComponent,\n inject,\n Injectable,\n Injector,\n signal,\n WritableSignal,\n} from '@angular/core';\nimport { take } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport {\n ErrorDialogComponent,\n IErrorDialogComponent,\n} from './error-dialog/error-dialog.component';\nimport {\n RXAP_ERROR_DIALOG_COMPONENT,\n RXAP_ERROR_DIALOG_DATA,\n} from './tokens';\n\n@Injectable()\nexport abstract class ErrorCaptureService<Error = any> {\n\n protected abstract readonly component: ComponentType<IErrorDialogComponent>;\n private readonly applicationRef = inject(ApplicationRef);\n private errorList: Array<WritableSignal<Error[]>> = [];\n\n push(error: Error) {\n if (this.errorList.length) {\n const last = this.errorList[this.errorList.length - 1];\n const value = last();\n if (value.some(e => this.compare(e, error))) {\n last.mutate(value => value.push(error));\n return;\n }\n }\n const newList = signal([ error ]);\n this.errorList.push(newList);\n this.openDialog(newList);\n }\n\n abstract compare(a: Error, b: Error): boolean;\n\n openDialog(errorList: WritableSignal<Error[]>) {\n const body = document.getElementsByTagName('body')[0];\n const div = document.createElement('div');\n body.appendChild(div);\n const componentRef = createComponent(ErrorDialogComponent, {\n hostElement: div,\n environmentInjector: this.applicationRef.injector,\n elementInjector: Injector.create({\n providers: [\n {\n provide: RXAP_ERROR_DIALOG_DATA,\n useValue: errorList,\n },\n {\n provide: RXAP_ERROR_DIALOG_COMPONENT,\n useValue: this.component,\n },\n ],\n }),\n });\n this.applicationRef.attachView(componentRef.hostView);\n componentRef.instance.closeDialog.pipe(\n take(1),\n tap(() => {\n componentRef.destroy();\n body.removeChild(div);\n div.remove();\n this.errorList.splice(this.errorList.indexOf(errorList), 1);\n }),\n ).subscribe();\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { ErrorCaptureService } from '../error-capture.service';\nimport { AnyHttpErrorDialogData } from './any-http-error-dialog-data';\nimport { AnyHttpErrorComponent } from './any-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class AnyHttpErrorService<Error extends AnyHttpErrorDialogData = AnyHttpErrorDialogData>\n extends ErrorCaptureService<Error> {\n\n protected readonly component = AnyHttpErrorComponent;\n\n override compare(a: Error, b: Error): boolean {\n return a.url === b.url && a.method === b.method && a.status === b.status && a.message === b.message;\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { AnyHttpErrorService } from '../any-http-error/any-http-error.service';\nimport { MessageHttpErrorDialogData } from './message-http-error-dialog-data';\nimport { MessageHttpErrorComponent } from './message-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class MessageHttpErrorService extends AnyHttpErrorService<MessageHttpErrorDialogData> {\n\n protected override readonly component = MessageHttpErrorComponent;\n\n override compare(a: MessageHttpErrorDialogData, b: MessageHttpErrorDialogData): boolean {\n return super.compare(a, b) && a.error.message === b.error.message;\n }\n\n}\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n signal,\n} from '@angular/core';\nimport { RXAP_ENVIRONMENT } from '@rxap/environment';\nimport { AnyHttpErrorComponent } from '../any-http-error/any-http-error.component';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { CodeHttpErrorDialogData } from './code-http-error-dialog-data';\n\n@Component({\n selector: 'rxap-http-error-message',\n templateUrl: './code-http-error.component.html',\n styleUrls: [ './code-http-error.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n NgIf,\n AnyHttpErrorComponent,\n ],\n})\nexport class CodeHttpErrorComponent implements IErrorDialogComponent<CodeHttpErrorDialogData> {\n\n public readonly isProduction: boolean = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;\n\n public readonly error: CodeHttpErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public readonly showMore = signal(false);\n\n}\n","<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Code:&nbsp;<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","import { Injectable } from '@angular/core';\nimport { AnyHttpErrorService } from '../any-http-error/any-http-error.service';\nimport { CodeHttpErrorDialogData } from './code-http-error-dialog-data';\nimport { CodeHttpErrorComponent } from './code-http-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class CodeHttpErrorService extends AnyHttpErrorService<CodeHttpErrorDialogData> {\n\n protected override readonly component = CodeHttpErrorComponent;\n\n override compare(a: CodeHttpErrorDialogData, b: CodeHttpErrorDialogData): boolean {\n return super.compare(a, b) && a.errorCode === b.errorCode;\n }\n\n}\n","import {\n KeyValuePipe,\n NgForOf,\n NgIf,\n} from '@angular/common';\nimport {\n Component,\n inject,\n} from '@angular/core';\nimport { DataGridModule } from '@rxap/data-grid';\nimport { IErrorDialogComponent } from '../error-dialog/error-dialog.component';\nimport { RXAP_ERROR_DIALOG_ERROR } from '../tokens';\nimport { AngularErrorDialogData } from './angular-error-dialog-data';\n\n@Component({\n selector: 'rxap-angular-error',\n standalone: true,\n imports: [ DataGridModule, KeyValuePipe, NgForOf, NgIf ],\n templateUrl: './angular-error.component.html',\n styleUrls: [ './angular-error.component.scss' ],\n})\nexport class AngularErrorComponent implements IErrorDialogComponent<AngularErrorDialogData> {\n\n public readonly error: AngularErrorDialogData = inject(RXAP_ERROR_DIALOG_ERROR);\n\n public get hasTags(): boolean {\n return Object.keys(this.error.tags).length > 0;\n }\n\n public get hasContexts(): boolean {\n return Object.keys(this.error.contexts).length > 0;\n }\n\n public get hasExtra(): boolean {\n return Object.keys(this.error.extra).length > 0;\n }\n\n}\n","<rxap-data-grid [data]=\"error\">\n <ng-container *ngIf=\"error.name\" rxapDataGridRowDef=\"name\"></ng-container>\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n <ng-container *ngIf=\"hasExtra || hasTags || hasContexts || error.stack\" rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n <ng-container *ngIf=\"error.stack\" rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasTags\" rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasExtra\" rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n <ng-container *ngIf=\"hasContexts\" rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n</rxap-data-grid>\n","import { Injectable } from '@angular/core';\nimport { ErrorCaptureService } from '../error-capture.service';\nimport { AngularErrorDialogData } from './angular-error-dialog-data';\nimport { AngularErrorComponent } from './angular-error.component';\n\n@Injectable({ providedIn: 'root' })\nexport class AngularErrorService extends ErrorCaptureService<AngularErrorDialogData> {\n\n protected readonly component = AngularErrorComponent;\n\n override compare(a: AngularErrorDialogData, b: AngularErrorDialogData): boolean {\n return true;\n }\n\n}\n","import { HttpErrorResponse } from '@angular/common/http';\n\nexport interface SimplifiedHttpErrorResponse extends Record<string, unknown> {\n url: string | null;\n message: string;\n name: string;\n status: number;\n statusText: string;\n headers: Record<string, string[]>;\n error: any;\n errorMessage: string;\n}\n\nexport function SimplifyHttpErrorResponse(event: HttpErrorResponse): SimplifiedHttpErrorResponse {\n let error = event.error;\n if (typeof error !== 'object') {\n if (error instanceof Blob) {\n console.warn('error response object is a blob');\n error = '[BLOB]';\n } else {\n try {\n error = JSON.parse(error);\n } catch (e) {\n console.warn('error response object is not a json');\n }\n }\n }\n return {\n errorMessage: (typeof error === 'object' ? error?.message : undefined) ?? event.message,\n error: error,\n message: event.message,\n name: event.name,\n status: event.status,\n statusText: event.statusText,\n url: event.url,\n headers: event.headers.keys()\n .reduce((map, key) => ({\n ...map,\n [key]: event.headers.getAll(key),\n }), {}),\n };\n}\n\nexport function ExtractContextFromError(error: unknown) {\n const context: Record<string, Record<string, unknown>> = {};\n\n if (error instanceof HttpErrorResponse) {\n context['response'] = SimplifyHttpErrorResponse(error);\n }\n\n return context;\n}\n\nexport function ExtractExtraFromError(error: unknown) {\n return {};\n}\n\nexport function ExtractTagsFromError(error: unknown) {\n return {};\n}\n\nexport function ExtractError(error: unknown) {\n if (error instanceof HttpErrorResponse) {\n return error;\n }\n\n if (error instanceof Error) {\n return error;\n }\n\n if (typeof error === 'string') {\n return error;\n }\n\n return 'Handled unknown error';\n}\n\nexport function PrintError(errorCandidate: unknown) {\n if (errorCandidate instanceof HttpErrorResponse) {\n console.groupCollapsed(errorCandidate.message);\n const {\n headers,\n error,\n ...map\n } = SimplifyHttpErrorResponse(errorCandidate);\n if (typeof error === 'object' && error?.message) {\n console.log(error?.message);\n }\n console.log(error);\n console.table(map);\n console.groupCollapsed('Headers');\n console.table(headers);\n console.groupEnd();\n console.groupEnd();\n } else if (errorCandidate instanceof Error) {\n console.error(errorCandidate);\n } else if (typeof errorCandidate === 'string') {\n console.error(errorCandidate);\n }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport {\n ErrorHandler,\n inject,\n Injectable,\n InjectionToken,\n INJECTOR,\n isDevMode,\n runInInjectionContext,\n StaticProvider,\n} from '@angular/core';\nimport { ConfigService } from '@rxap/config';\nimport {\n IsNotReleaseVersion,\n RXAP_ENVIRONMENT,\n} from '@rxap/environment';\nimport * as Sentry from '@sentry/angular-ivy';\nimport { AngularErrorDialogData } from './angular-error/angular-error-dialog-data';\nimport { AngularErrorService } from './angular-error/angular-error.service';\nimport {\n ExtractContextFromError,\n ExtractError,\n ExtractExtraFromError,\n ExtractTagsFromError,\n PrintError,\n} from './utilities';\n\nexport interface ErrorHandlerOptions {\n logErrors?: boolean;\n showDialog?: boolean;\n sentry?: {\n showDialog?: boolean;\n dialogOptions?: Sentry.ReportDialogOptions;\n };\n}\n\nexport const RXAP_ERROR_HANDLER_OPTIONS = new InjectionToken<ErrorHandlerOptions>('rxap-error-handler-options', {\n providedIn: 'root',\n factory: () => ({ logErrors: true }),\n});\n\n@Injectable()\nexport class RxapErrorHandler implements ErrorHandler {\n\n protected readonly options: ErrorHandlerOptions = (() => {\n const options = inject(RXAP_ERROR_HANDLER_OPTIONS);\n const environment = inject(RXAP_ENVIRONMENT);\n const config = inject(ConfigService);\n options.logErrors ??= true;\n options.sentry ??= {};\n options.sentry.showDialog ??= config.get('sentry.showDialog', false);\n // enforce sentry showDialog to false in dev mode\n options.sentry.showDialog = !isDevMode() && options.sentry.showDialog;\n options.showDialog ??= IsNotReleaseVersion(environment);\n options.sentry.dialogOptions ??= config.get('sentry.dialogOptions', {});\n options.sentry.dialogOptions.user ??= {};\n return options;\n })();\n\n protected readonly injector = inject(INJECTOR);\n\n /**\n * Method called for every value captured through the ErrorHandler\n */\n public handleError(errorCandidate: unknown): void {\n\n let error = errorCandidate;\n\n // Try to unwrap zone.js error.\n // https://github.com/angular/angular/blob/master/packages/core/src/util/errors.ts\n if (error && (error as { ngOriginalError: Error }).ngOriginalError) {\n error = (error as { ngOriginalError: Error }).ngOriginalError;\n }\n\n const extractedError = ExtractError(error);\n\n const contexts = ExtractContextFromError(error);\n const extra = ExtractExtraFromError(error);\n const tags = ExtractTagsFromError(error);\n\n let eventId: string;\n\n // Capture handled exception and send it to Sentry.\n if (typeof extractedError === 'string') {\n eventId = Sentry.captureMessage(extractedError, {\n level: 'error',\n contexts,\n extra,\n tags,\n });\n } else {\n eventId = Sentry.captureException(extractedError, {\n level: 'error',\n contexts,\n extra,\n tags,\n });\n }\n\n if (this.options.logErrors) {\n PrintError(error);\n }\n\n if (this.options.sentry?.showDialog) {\n if (!(error instanceof HttpErrorResponse)) {\n Sentry.showReportDialog({\n ...(this.options.sentry.dialogOptions ?? {}),\n eventId,\n });\n }\n } else if (this.options.showDialog) {\n const nonMessage = 'unsupported error type for angular error dialog';\n const data: AngularErrorDialogData = {\n message: nonMessage,\n contexts,\n extra,\n tags,\n };\n if (typeof extractedError === 'string') {\n data.message = extractedError;\n } else if (!(extractedError instanceof HttpErrorResponse)) {\n data.message = extractedError.message;\n data.stack = extractedError.stack;\n data.name = extractedError.name;\n }\n\n if (data.message !== nonMessage) {\n this.showAngularErrorDialog(data);\n }\n\n }\n\n }\n\n protected showAngularErrorDialog(data: AngularErrorDialogData): void {\n runInInjectionContext(this.injector, () => {\n inject(AngularErrorService).push(data);\n });\n }\n\n\n}\n\nexport function ProvideErrorHandler(): StaticProvider {\n return {\n provide: ErrorHandler,\n useClass: RxapErrorHandler,\n };\n}\n","import { HttpErrorResponse } from '@angular/common/http';\n\nexport function DefaultErrorCodeExtractor(error: HttpErrorResponse): number | string | null {\n return error.error?.code ?? null;\n}\n\nexport function DefaultErrorFilter(error: HttpErrorResponse): boolean {\n return error.status >= 400 && (!error.url || !/\\/api\\/status/.test(error.url));\n}\n\nexport interface ErrorInterceptorOptions {\n extractErrorCode?: (error: HttpErrorResponse) => number | string | null;\n filter?: Array<(error: HttpErrorResponse) => boolean>;\n}\n","import {\n HttpErrorResponse,\n HttpEvent,\n HttpHandlerFn,\n HttpRequest,\n} from '@angular/common/http';\nimport { inject } from '@angular/core';\nimport * as Sentry from '@sentry/angular-ivy';\nimport { Observable } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { AnyHttpErrorService } from './any-http-error/any-http-error.service';\nimport { CodeHttpErrorService } from './code-http-error/code-http-error.service';\nimport {\n DefaultErrorCodeExtractor,\n DefaultErrorFilter,\n} from './error-interceptor-options';\nimport { MessageHttpErrorService } from './message-http-error/message-http-error.service';\nimport { RXAP_ERROR_INTERCEPTOR_OPTIONS } from './tokens';\nimport {\n ExtractContextFromError,\n ExtractExtraFromError,\n ExtractTagsFromError,\n SimplifyHttpErrorResponse,\n} from './utilities';\n\nexport function HttpErrorInterceptor(req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<unknown>> {\n\n const anyHttpErrorService = inject(AnyHttpErrorService);\n const messageHttpErrorService = inject(MessageHttpErrorService);\n const codeHttpErrorService = inject(CodeHttpErrorService);\n const options = inject(RXAP_ERROR_INTERCEPTOR_OPTIONS, { optional: true }) ?? {};\n\n options.extractErrorCode ??= DefaultErrorCodeExtractor;\n options.filter ??= [];\n if (!options.filter.length) {\n options.filter.push(DefaultErrorFilter);\n }\n\n return next(req).pipe(\n tap({\n error: async (event: Error) => {\n if (event instanceof HttpErrorResponse) {\n\n if (!options.filter?.some((filter) => filter(event))) {\n return;\n }\n\n let error = event.error;\n if (event.error instanceof Blob) {\n error = await event.error.text();\n try {\n error = JSON.parse(error);\n } catch (e) {\n console.warn('error response object is not a json');\n }\n }\n\n const data = {\n ...SimplifyHttpErrorResponse(event),\n method: req.method,\n body: req.body,\n timestamp: Date.now(),\n };\n\n if (error && typeof error === 'object') {\n const errorCode = options.extractErrorCode!(error);\n if (errorCode) {\n Sentry.captureMessage(`Error Code ${ errorCode }`, {\n level: 'warning',\n contexts: ExtractContextFromError(error),\n extra: ExtractExtraFromError(error),\n tags: ExtractTagsFromError(error),\n });\n codeHttpErrorService.push({\n ...data,\n errorCode,\n });\n } else if (event.error.message) {\n messageHttpErrorService.push(data);\n } else {\n anyHttpErrorService.push(data);\n }\n } else {\n anyHttpErrorService.push(data);\n }\n }\n },\n }),\n );\n\n}\n","// region message-http-error\nexport * from './lib/message-http-error/message-http-error-dialog-data';\nexport * from './lib/message-http-error/message-http-error.component';\nexport * from './lib/message-http-error/message-http-error.service';\n// endregion\n\n// region error-dialog\nexport * from './lib/error-dialog/error-dialog.component';\n// endregion\n\n// region code-http-error\nexport * from './lib/code-http-error/code-http-error-dialog-data';\nexport * from './lib/code-http-error/code-http-error.component';\nexport * from './lib/code-http-error/code-http-error.service';\n// endregion\n\n// region any-http-error\nexport * from './lib/any-http-error/any-http-error-dialog-data';\nexport * from './lib/any-http-error/any-http-error.component';\nexport * from './lib/any-http-error/any-http-error.service';\n// endregion\n\n// region angular-error\nexport * from './lib/angular-error/angular-error-dialog-data';\nexport * from './lib/angular-error/angular-error.component';\nexport * from './lib/angular-error/angular-error.service';\n// endregion\n\n// region \nexport * from './lib/error-capture.service';\nexport * from './lib/error-handler';\nexport * from './lib/error-interceptor-options';\nexport * from './lib/http-error-interceptor';\nexport * from './lib/tokens';\nexport * from './lib/utilities';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;MAQa,sBAAsB,GAAG,IAAI,cAAc,CAAgB,wBAAwB,EAAE;MAErF,uBAAuB,GAAG,IAAI,cAAc,CAAM,yBAAyB,EAAE;MAE7E,2BAA2B,GAAG,IAAI,cAAc,CAC3D,6BAA6B,EAAE;MAEpB,8BAA8B,GAAG,IAAI,cAAc,CAC9D,gCAAgC;;MCwBrB,qBAAqB,CAAA;AAjBlC,IAAA,WAAA,GAAA;AAmBkB,QAAA,IAAA,CAAA,YAAY,GAAY,MAAM,CAAC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,UAAU,IAAI,KAAK,CAAC;AAE1F,QAAA,IAAA,CAAA,KAAK,GAA2B,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAEjF,KAAA;8GANY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,+ECxClC,mxEAkDA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDpBI,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,YAAA,EAAA,QAAA,EA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AC,CAAC;wBACH,oBAAoB,CAAC,IAAI,CAAC;AACxB,4BAAA,GAAG,IAAI;4BACP,SAAS;AACV,yBAAA,CAAC,CAAC;AACJ,qBAAA;AAAM,yBAAA,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;AAC9B,wBAAA,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpC,qBAAA;AAAM,yBAAA;AACL,wBAAA,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,qBAAA;AACF,iBAAA;AAAM,qBAAA;AACL,oBAAA,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,iBAAA;AACF,aAAA;SACF;AACF,KAAA,CAAC,CACH,CAAC;AAEJ;;AC1FA;AAmCA;;ACnCA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.1.0-dev.4",
2
+ "version": "16.1.0-dev.6",
3
3
  "name": "@rxap/ngx-error",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -9,8 +9,8 @@
9
9
  "@angular/cdk": "^16.1.4",
10
10
  "@angular/common": "^16.1.4",
11
11
  "@angular/core": "^16.1.4",
12
- "@rxap/components": "^16.0.0-dev.17",
13
- "@rxap/config": "^16.0.0-dev.17",
12
+ "@rxap/components": "^16.0.0-dev.20",
13
+ "@rxap/config": "^16.0.0-dev.18",
14
14
  "@rxap/data-grid": "^16.0.0-dev.18",
15
15
  "@rxap/environment": "^16.0.0-dev.16",
16
16
  "@sentry/angular-ivy": "^7.60.1",
@@ -36,11 +36,11 @@
36
36
  "packageGroup": [
37
37
  {
38
38
  "package": "@rxap/components",
39
- "version": "16.0.0-dev.17"
39
+ "version": "16.0.0-dev.20"
40
40
  },
41
41
  {
42
42
  "package": "@rxap/config",
43
- "version": "16.0.0-dev.17"
43
+ "version": "16.0.0-dev.18"
44
44
  },
45
45
  {
46
46
  "package": "@rxap/data-grid",
@@ -62,7 +62,7 @@
62
62
  "directory": "packages/angular/error"
63
63
  },
64
64
  "sideEffects": false,
65
- "gitHead": "22894d11c3d2c5c4b9fad7823175ea489202aac4",
65
+ "gitHead": "cc79abe8b76799cf9e91a91b92e8172b23a74b13",
66
66
  "module": "fesm2022/rxap-ngx-error.mjs",
67
67
  "typings": "index.d.ts",
68
68
  "exports": {