@rxap/ngx-error 18.1.3-dev.0 → 19.0.0-dev.2
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 +8 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +40 -0
- package/compodoc/components/AngularErrorComponent.html +9 -14
- package/compodoc/components/AnyHttpErrorComponent.html +17 -23
- package/compodoc/components/CodeHttpErrorComponent.html +12 -17
- package/compodoc/components/ErrorDialogComponent.html +21 -26
- package/compodoc/components/MessageHttpErrorComponent.html +12 -17
- package/compodoc/components/OpenApiHttpResponseErrorComponent.html +525 -0
- package/compodoc/dependencies.html +12 -10
- package/compodoc/fonts/ionicons.svg +698 -698
- package/compodoc/graph/dependencies.svg +1 -1
- package/compodoc/images/compodoc-vectorise-inverted.svg +16 -15
- package/compodoc/images/compodoc-vectorise.svg +16 -15
- package/compodoc/index.html +1 -1
- package/compodoc/injectables/AnyHttpErrorService.html +12 -4
- package/compodoc/injectables/OpenApiHttpResponseErrorService.html +572 -0
- package/compodoc/injectables/RxapErrorHandler.html +103 -8
- package/compodoc/interfaces/AnyHttpErrorDialogData.html +194 -6
- package/compodoc/interfaces/ErrorHandlerOptions.html +24 -2
- package/compodoc/interfaces/IErrorDialogComponent.html +10 -11
- package/compodoc/interfaces/OpenApiHttpResponseErrorDialogData.html +378 -0
- package/compodoc/interfaces/SimplifiedHttpErrorResponse.html +86 -1
- package/compodoc/js/menu-wc.js +9 -0
- package/compodoc/js/menu-wc_es5.js +2 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/overview.html +3 -3
- package/compodoc/properties.html +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AngularErrorComponent.html +2 -2
- package/docs/classes/AngularErrorService.html +2 -2
- package/docs/classes/AnyHttpErrorComponent.html +2 -2
- package/docs/classes/AnyHttpErrorService.html +2 -2
- package/docs/classes/CodeHttpErrorComponent.html +2 -2
- package/docs/classes/CodeHttpErrorService.html +2 -2
- package/docs/classes/ErrorCaptureService.html +2 -2
- package/docs/classes/ErrorDialogComponent.html +2 -2
- package/docs/classes/MessageHttpErrorComponent.html +2 -2
- package/docs/classes/MessageHttpErrorService.html +2 -2
- package/docs/classes/OpenApiHttpResponseErrorComponent.html +4 -0
- package/docs/classes/OpenApiHttpResponseErrorService.html +6 -0
- package/docs/classes/RxapErrorHandler.html +4 -3
- package/docs/documentation.json +3558 -1825
- package/docs/functions/DefaultErrorCodeExtractor.html +1 -1
- package/docs/functions/DefaultErrorFilter.html +1 -1
- package/docs/functions/ExtractContextFromError.html +1 -1
- package/docs/functions/ExtractError.html +1 -1
- package/docs/functions/ExtractExtraFromError.html +1 -1
- package/docs/functions/ExtractTagsFromError.html +1 -1
- package/docs/functions/HttpErrorInterceptor.html +1 -1
- package/docs/functions/PrintError.html +1 -1
- package/docs/functions/ProvideErrorHandler.html +1 -1
- package/docs/functions/SimplifyHttpErrorResponse.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/AngularErrorDialogData.html +2 -2
- package/docs/interfaces/AnyHttpErrorDialogData.html +12 -2
- package/docs/interfaces/CodeHttpErrorDialogData.html +12 -2
- package/docs/interfaces/ErrorHandlerOptions.html +2 -2
- package/docs/interfaces/ErrorInterceptorOptions.html +2 -2
- package/docs/interfaces/IErrorDialogComponent.html +2 -2
- package/docs/interfaces/MessageHttpErrorDialogData.html +12 -2
- package/docs/interfaces/OpenApiHttpResponseErrorDialogData.html +24 -0
- package/docs/interfaces/SimplifiedHttpErrorResponse.html +4 -2
- package/docs/modules.html +3 -0
- package/docs/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
- package/docs/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
- package/docs/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
- package/docs/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
- package/docs/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
- package/fesm2022/rxap-ngx-error.mjs +45 -45
- package/fesm2022/rxap-ngx-error.mjs.map +1 -1
- package/package.json +39 -42
- package/theme.css +376 -1
- package/esm2022/index.mjs +0 -37
- package/esm2022/lib/any-http-error/any-http-error-dialog-data.mjs +0 -2
- package/esm2022/lib/any-http-error/any-http-error.component.mjs +0 -30
- package/esm2022/lib/any-http-error/any-http-error.service.mjs +0 -20
- package/esm2022/lib/code-http-error/code-http-error-dialog-data.mjs +0 -2
- package/esm2022/lib/code-http-error/code-http-error.component.mjs +0 -23
- package/esm2022/lib/code-http-error/code-http-error.service.mjs +0 -20
- package/esm2022/lib/error/angular-error-dialog-data.mjs +0 -2
- package/esm2022/lib/error/angular-error.component.mjs +0 -27
- package/esm2022/lib/error/angular-error.service.mjs +0 -20
- package/esm2022/lib/error-capture.service.mjs +0 -62
- package/esm2022/lib/error-dialog/error-dialog.component.mjs +0 -58
- package/esm2022/lib/error-handler.mjs +0 -132
- package/esm2022/lib/error-interceptor-options.mjs +0 -7
- package/esm2022/lib/http-error-interceptor.mjs +0 -71
- package/esm2022/lib/message-http-error/message-http-error-dialog-data.mjs +0 -2
- package/esm2022/lib/message-http-error/message-http-error.component.mjs +0 -23
- package/esm2022/lib/message-http-error/message-http-error.service.mjs +0 -20
- package/esm2022/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.mjs +0 -2
- package/esm2022/lib/open-api-http-response-error/open-api-http-response-error.component.mjs +0 -24
- package/esm2022/lib/open-api-http-response-error/open-api-http-response-error.service.mjs +0 -20
- package/esm2022/lib/tokens.mjs +0 -6
- package/esm2022/lib/utilities.mjs +0 -81
- package/esm2022/rxap-ngx-error.mjs +0 -5
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<!-- Title: dependencies Pages: 1 -->
|
|
7
7
|
<svg width="504pt" height="70pt"
|
|
8
|
-
|
|
8
|
+
viewBox="0.00 0.00 504.00 70.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
9
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 66)">
|
|
10
10
|
<title>dependencies</title>
|
|
11
11
|
<polygon fill="white" stroke="transparent" points="-4,4 -4,-66 500,-66 500,4 -4,4"/>
|
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
3
|
|
|
4
4
|
<svg
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
+
width="542.98999"
|
|
13
|
+
height="542.98999"
|
|
14
|
+
id="svg2"
|
|
15
|
+
version="1.1"
|
|
16
|
+
inkscape:version="0.48.4 r9939"
|
|
17
|
+
sodipodi:docname="compodoc.svg"
|
|
18
|
+
inkscape:export-filename="/home/SII/vogloblinsky/Bureau/compodoc.png"
|
|
19
|
+
inkscape:export-xdpi="72"
|
|
20
|
+
inkscape:export-ydpi="72">
|
|
20
21
|
<defs
|
|
21
22
|
id="defs4" />
|
|
22
23
|
<sodipodi:namedview
|
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
3
|
|
|
4
4
|
<svg
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
+
width="542.98999"
|
|
13
|
+
height="542.98999"
|
|
14
|
+
id="svg2"
|
|
15
|
+
version="1.1"
|
|
16
|
+
inkscape:version="0.48.4 r9939"
|
|
17
|
+
sodipodi:docname="compodoc.svg"
|
|
18
|
+
inkscape:export-filename="/home/SII/vogloblinsky/Bureau/compodoc.png"
|
|
19
|
+
inkscape:export-xdpi="72"
|
|
20
|
+
inkscape:export-ydpi="72">
|
|
20
21
|
<defs
|
|
21
22
|
id="defs4" />
|
|
22
23
|
<sodipodi:namedview
|
package/compodoc/index.html
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<h1>Installation</h1>
|
|
97
97
|
<p><strong>Add the package to your workspace:</strong></p>
|
|
98
98
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @rxap/ngx-error</code></pre></div><p><strong>Install peer dependencies:</strong></p>
|
|
99
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @angular/cdk@
|
|
99
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @angular/cdk@19.0.2 @angular/common@19.0.3 @angular/core@19.0.3 @rxap/components@^19.0.0-dev.2 @rxap/config@^19.0.0-dev.2 @rxap/data-grid@^19.0.0-dev.2 @rxap/environment@^19.0.0-dev.2 @rxap/open-api@^19.0.0-dev.2 @sentry/angular@8.18.0 rxjs@7.8.1 </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
100
100
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn nx g @rxap/ngx-error:init</code></pre></div><h1>Generators</h1>
|
|
101
101
|
<h2>init</h2>
|
|
102
102
|
<blockquote>
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
</tr>
|
|
214
214
|
<tr>
|
|
215
215
|
<td class="col-md-4">
|
|
216
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:
|
|
216
|
+
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:14</a></code>
|
|
217
217
|
</div>
|
|
218
218
|
</td>
|
|
219
219
|
</tr>
|
|
@@ -437,6 +437,12 @@
|
|
|
437
437
|
</span>
|
|
438
438
|
</td>
|
|
439
439
|
</tr>
|
|
440
|
+
<tr>
|
|
441
|
+
<td class="col-md-4">
|
|
442
|
+
<i>Type : </i> <code><a href="../interfaces/IErrorDialogComponent.html" target="_self" >ComponentType<IErrorDialogComponent></a></code>
|
|
443
|
+
|
|
444
|
+
</td>
|
|
445
|
+
</tr>
|
|
440
446
|
<tr>
|
|
441
447
|
<td class="col-md-4">
|
|
442
448
|
<i>Default value : </i><code>AnyHttpErrorComponent</code>
|
|
@@ -450,7 +456,7 @@
|
|
|
450
456
|
</tr>
|
|
451
457
|
<tr>
|
|
452
458
|
<td class="col-md-4">
|
|
453
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:
|
|
459
|
+
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:12</a></code>
|
|
454
460
|
</div>
|
|
455
461
|
</td>
|
|
456
462
|
</tr>
|
|
@@ -464,8 +470,10 @@
|
|
|
464
470
|
|
|
465
471
|
|
|
466
472
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
467
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
473
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ComponentType } from '@angular/cdk/overlay';
|
|
474
|
+
import { Injectable } from '@angular/core';
|
|
468
475
|
import { ErrorCaptureService } from '../error-capture.service';
|
|
476
|
+
import { IErrorDialogComponent } from '../error-dialog/error-dialog.component';
|
|
469
477
|
import { AnyHttpErrorDialogData } from './any-http-error-dialog-data';
|
|
470
478
|
import { AnyHttpErrorComponent } from './any-http-error.component';
|
|
471
479
|
|
|
@@ -473,7 +481,7 @@ import { AnyHttpErrorComponent } from './any-http-error.component';
|
|
|
473
481
|
export class AnyHttpErrorService<Error extends AnyHttpErrorDialogData = AnyHttpErrorDialogData>
|
|
474
482
|
extends ErrorCaptureService<Error> {
|
|
475
483
|
|
|
476
|
-
protected readonly component = AnyHttpErrorComponent;
|
|
484
|
+
protected readonly component: ComponentType<IErrorDialogComponent> = AnyHttpErrorComponent;
|
|
477
485
|
|
|
478
486
|
override compare(a: Error, b: Error): boolean {
|
|
479
487
|
return a.url === b.url && a.method === b.method && a.status === b.status && a.message === b.message;
|