@rxap/ngx-error 19.0.3 → 19.1.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/compodoc/changelog.html +7 -0
  3. package/compodoc/components/ErrorDialogComponent.html +5 -3
  4. package/compodoc/dependencies.html +8 -8
  5. package/compodoc/injectables/AngularErrorService.html +1 -77
  6. package/compodoc/injectables/AnyHttpErrorService.html +1 -77
  7. package/compodoc/injectables/CodeHttpErrorService.html +1 -77
  8. package/compodoc/injectables/ErrorCaptureDialogService.html +490 -0
  9. package/compodoc/injectables/ErrorCaptureService.html +13 -121
  10. package/compodoc/injectables/MessageHttpErrorService.html +1 -77
  11. package/compodoc/injectables/OpenApiHttpResponseErrorService.html +1 -77
  12. package/compodoc/injectables/RxapErrorHandler.html +10 -15
  13. package/compodoc/interfaces/ErrorHandlerOptions.html +2 -7
  14. package/compodoc/interfaces/IErrorCaptureDialogService.html +405 -0
  15. package/compodoc/js/menu-wc.js +6 -0
  16. package/compodoc/js/menu-wc_es5.js +1 -1
  17. package/compodoc/js/search/search_index.js +2 -2
  18. package/compodoc/miscellaneous/functions.html +130 -4
  19. package/compodoc/miscellaneous/variables.html +23 -0
  20. package/compodoc/overview.html +2 -2
  21. package/compodoc/properties.html +1 -1
  22. package/docs/documentation.json +1809 -1569
  23. package/docs/html/assets/hierarchy.js +1 -1
  24. package/docs/html/assets/navigation.js +1 -1
  25. package/docs/html/assets/search.js +1 -1
  26. package/docs/html/classes/AngularErrorComponent.html +2 -2
  27. package/docs/html/classes/AngularErrorService.html +2 -3
  28. package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
  29. package/docs/html/classes/AnyHttpErrorService.html +2 -3
  30. package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
  31. package/docs/html/classes/CodeHttpErrorService.html +2 -3
  32. package/docs/html/classes/ErrorCaptureDialogService.html +5 -0
  33. package/docs/html/classes/ErrorCaptureService.html +2 -3
  34. package/docs/html/classes/ErrorDialogComponent.html +3 -3
  35. package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
  36. package/docs/html/classes/MessageHttpErrorService.html +2 -3
  37. package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
  38. package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -3
  39. package/docs/html/classes/RxapErrorHandler.html +3 -3
  40. package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
  41. package/docs/html/functions/DefaultErrorFilter.html +1 -1
  42. package/docs/html/functions/ExtractContextFromError.html +1 -1
  43. package/docs/html/functions/ExtractError.html +1 -1
  44. package/docs/html/functions/ExtractExtraFromError.html +1 -1
  45. package/docs/html/functions/ExtractTagsFromError.html +1 -1
  46. package/docs/html/functions/HttpErrorInterceptor.html +1 -1
  47. package/docs/html/functions/PrintError.html +1 -1
  48. package/docs/html/functions/ProvideErrorHandler.html +2 -1
  49. package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
  50. package/docs/html/functions/provideAutoErrorInterception.html +1 -0
  51. package/docs/html/functions/withErrorCaptureDialogService.html +1 -0
  52. package/docs/html/hierarchy.html +1 -1
  53. package/docs/html/index.html +2 -2
  54. package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
  55. package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
  56. package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
  57. package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
  58. package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
  59. package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -0
  60. package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
  61. package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
  62. package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
  63. package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
  64. package/docs/html/modules.html +1 -1
  65. package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -0
  66. package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
  67. package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
  68. package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
  69. package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
  70. package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
  71. package/docs/markdown/README.md +1 -1
  72. package/docs/markdown/classes/AngularErrorComponent.md +6 -6
  73. package/docs/markdown/classes/AngularErrorService.md +5 -27
  74. package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
  75. package/docs/markdown/classes/AnyHttpErrorService.md +5 -27
  76. package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
  77. package/docs/markdown/classes/CodeHttpErrorService.md +5 -27
  78. package/docs/markdown/classes/ErrorCaptureDialogService.md +69 -0
  79. package/docs/markdown/classes/ErrorCaptureService.md +5 -23
  80. package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
  81. package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
  82. package/docs/markdown/classes/MessageHttpErrorService.md +5 -27
  83. package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
  84. package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -27
  85. package/docs/markdown/classes/RxapErrorHandler.md +7 -7
  86. package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
  87. package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
  88. package/docs/markdown/functions/ExtractContextFromError.md +2 -2
  89. package/docs/markdown/functions/ExtractError.md +2 -2
  90. package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
  91. package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
  92. package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
  93. package/docs/markdown/functions/PrintError.md +2 -2
  94. package/docs/markdown/functions/ProvideErrorHandler.md +9 -5
  95. package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
  96. package/docs/markdown/functions/provideAutoErrorInterception.md +21 -0
  97. package/docs/markdown/functions/withErrorCaptureDialogService.md +21 -0
  98. package/docs/markdown/globals.md +8 -3
  99. package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
  100. package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
  101. package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
  102. package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
  103. package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
  104. package/docs/markdown/interfaces/IErrorCaptureDialogService.md +35 -0
  105. package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
  106. package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
  107. package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
  108. package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
  109. package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +11 -0
  110. package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
  111. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
  112. package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
  113. package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
  114. package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
  115. package/docs/wiki/Class.AngularErrorComponent.md +5 -5
  116. package/docs/wiki/Class.AngularErrorService.md +4 -26
  117. package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
  118. package/docs/wiki/Class.AnyHttpErrorService.md +4 -26
  119. package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
  120. package/docs/wiki/Class.CodeHttpErrorService.md +4 -26
  121. package/docs/wiki/Class.ErrorCaptureDialogService.md +65 -0
  122. package/docs/wiki/Class.ErrorCaptureService.md +4 -22
  123. package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
  124. package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
  125. package/docs/wiki/Class.MessageHttpErrorService.md +4 -26
  126. package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
  127. package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -26
  128. package/docs/wiki/Class.RxapErrorHandler.md +6 -6
  129. package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
  130. package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
  131. package/docs/wiki/Function.ExtractContextFromError.md +1 -1
  132. package/docs/wiki/Function.ExtractError.md +1 -1
  133. package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
  134. package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
  135. package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
  136. package/docs/wiki/Function.PrintError.md +1 -1
  137. package/docs/wiki/Function.ProvideErrorHandler.md +8 -4
  138. package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
  139. package/docs/wiki/Function.provideAutoErrorInterception.md +17 -0
  140. package/docs/wiki/Function.withErrorCaptureDialogService.md +17 -0
  141. package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
  142. package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
  143. package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
  144. package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
  145. package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
  146. package/docs/wiki/Interface.IErrorCaptureDialogService.md +31 -0
  147. package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
  148. package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
  149. package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
  150. package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
  151. package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +7 -0
  152. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
  153. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
  154. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
  155. package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
  156. package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
  157. package/docs/wiki/_Sidebar.md +5 -0
  158. package/docs/wiki/globals.md +7 -2
  159. package/fesm2022/rxap-ngx-error.mjs +120 -78
  160. package/fesm2022/rxap-ngx-error.mjs.map +1 -1
  161. package/index.d.ts +2 -0
  162. package/lib/error-capture-dialog.service.d.ts +15 -0
  163. package/lib/error-capture.service.d.ts +1 -3
  164. package/lib/error-handler.d.ts +1 -2
  165. package/lib/provide.d.ts +9 -0
  166. package/lib/tokens.d.ts +2 -0
  167. package/package.json +36 -40
@@ -162,9 +162,6 @@
162
162
  <span class="modifier"></span>
163
163
  <a href="#compare" >compare</a>
164
164
  </li>
165
- <li>
166
- <a href="#openDialog" >openDialog</a>
167
- </li>
168
165
  <li>
169
166
  <a href="#push" >push</a>
170
167
  </li>
@@ -273,79 +270,6 @@
273
270
  </tr>
274
271
  </tbody>
275
272
  </table>
276
- <table class="table table-sm table-bordered">
277
- <tbody>
278
- <tr>
279
- <td class="col-md-4">
280
- <a name="openDialog"></a>
281
- <span class="name">
282
- <span ><b>openDialog</b></span>
283
- <a href="#openDialog"><span class="icon ion-ios-link"></span></a>
284
- </span>
285
- </td>
286
- </tr>
287
- <tr>
288
- <td class="col-md-4">
289
- <code>openDialog(errorList: WritableSignal<Error[]>)</code>
290
- </td>
291
- </tr>
292
-
293
-
294
- <tr>
295
- <td class="col-md-4">
296
- <div class="io-line">Inherited from <code><a href="../injectables/ErrorCaptureService.html" target="_self" >ErrorCaptureService</a></code>
297
- </div>
298
- </td>
299
- </tr>
300
- <tr>
301
- <td class="col-md-4">
302
- <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:48</a></code>
303
- </div>
304
- </td>
305
- </tr>
306
-
307
-
308
- <tr>
309
- <td class="col-md-4">
310
-
311
- <div class="io-description">
312
- <b>Parameters :</b>
313
-
314
- <table class="params">
315
- <thead>
316
- <tr>
317
- <td>Name</td>
318
- <td>Type</td>
319
- <td>Optional</td>
320
- </tr>
321
- </thead>
322
- <tbody>
323
- <tr>
324
- <td>errorList</td>
325
- <td>
326
- <code>WritableSignal&lt;Error[]&gt;</code>
327
- </td>
328
-
329
- <td>
330
- No
331
- </td>
332
-
333
-
334
- </tr>
335
- </tbody>
336
- </table>
337
- </div>
338
- <div class="io-description">
339
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
340
-
341
- </div>
342
- <div class="io-description">
343
-
344
- </div>
345
- </td>
346
- </tr>
347
- </tbody>
348
- </table>
349
273
  <table class="table table-sm table-bordered">
350
274
  <tbody>
351
275
  <tr>
@@ -372,7 +296,7 @@
372
296
  </tr>
373
297
  <tr>
374
298
  <td class="col-md-4">
375
- <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:29</a></code>
299
+ <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:23</a></code>
376
300
  </div>
377
301
  </td>
378
302
  </tr>
@@ -162,9 +162,6 @@
162
162
  <span class="modifier"></span>
163
163
  <a href="#compare" >compare</a>
164
164
  </li>
165
- <li>
166
- <a href="#openDialog" >openDialog</a>
167
- </li>
168
165
  <li>
169
166
  <a href="#push" >push</a>
170
167
  </li>
@@ -273,79 +270,6 @@
273
270
  </tr>
274
271
  </tbody>
275
272
  </table>
276
- <table class="table table-sm table-bordered">
277
- <tbody>
278
- <tr>
279
- <td class="col-md-4">
280
- <a name="openDialog"></a>
281
- <span class="name">
282
- <span ><b>openDialog</b></span>
283
- <a href="#openDialog"><span class="icon ion-ios-link"></span></a>
284
- </span>
285
- </td>
286
- </tr>
287
- <tr>
288
- <td class="col-md-4">
289
- <code>openDialog(errorList: WritableSignal<Error[]>)</code>
290
- </td>
291
- </tr>
292
-
293
-
294
- <tr>
295
- <td class="col-md-4">
296
- <div class="io-line">Inherited from <code><a href="../injectables/ErrorCaptureService.html" target="_self" >ErrorCaptureService</a></code>
297
- </div>
298
- </td>
299
- </tr>
300
- <tr>
301
- <td class="col-md-4">
302
- <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:48</a></code>
303
- </div>
304
- </td>
305
- </tr>
306
-
307
-
308
- <tr>
309
- <td class="col-md-4">
310
-
311
- <div class="io-description">
312
- <b>Parameters :</b>
313
-
314
- <table class="params">
315
- <thead>
316
- <tr>
317
- <td>Name</td>
318
- <td>Type</td>
319
- <td>Optional</td>
320
- </tr>
321
- </thead>
322
- <tbody>
323
- <tr>
324
- <td>errorList</td>
325
- <td>
326
- <code>WritableSignal&lt;Error[]&gt;</code>
327
- </td>
328
-
329
- <td>
330
- No
331
- </td>
332
-
333
-
334
- </tr>
335
- </tbody>
336
- </table>
337
- </div>
338
- <div class="io-description">
339
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
340
-
341
- </div>
342
- <div class="io-description">
343
-
344
- </div>
345
- </td>
346
- </tr>
347
- </tbody>
348
- </table>
349
273
  <table class="table table-sm table-bordered">
350
274
  <tbody>
351
275
  <tr>
@@ -372,7 +296,7 @@
372
296
  </tr>
373
297
  <tr>
374
298
  <td class="col-md-4">
375
- <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:29</a></code>
299
+ <div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:23</a></code>
376
300
  </div>
377
301
  </td>
378
302
  </tr>
@@ -208,8 +208,8 @@
208
208
 
209
209
  <tr>
210
210
  <td class="col-md-4">
211
- <div class="io-line">Defined in <a href="" data-line="69"
212
- class="link-to-prism">src/lib/error-handler.ts:69</a></div>
211
+ <div class="io-line">Defined in <a href="" data-line="71"
212
+ class="link-to-prism">src/lib/error-handler.ts:71</a></div>
213
213
  </td>
214
214
  </tr>
215
215
 
@@ -275,8 +275,8 @@
275
275
 
276
276
  <tr>
277
277
  <td class="col-md-4">
278
- <div class="io-line">Defined in <a href="" data-line="157"
279
- class="link-to-prism">src/lib/error-handler.ts:157</a></div>
278
+ <div class="io-line">Defined in <a href="" data-line="159"
279
+ class="link-to-prism">src/lib/error-handler.ts:159</a></div>
280
280
  </td>
281
281
  </tr>
282
282
 
@@ -344,8 +344,8 @@
344
344
 
345
345
  <tr>
346
346
  <td class="col-md-4">
347
- <div class="io-line">Defined in <a href="" data-line="151"
348
- class="link-to-prism">src/lib/error-handler.ts:151</a></div>
347
+ <div class="io-line">Defined in <a href="" data-line="153"
348
+ class="link-to-prism">src/lib/error-handler.ts:153</a></div>
349
349
  </td>
350
350
  </tr>
351
351
 
@@ -417,7 +417,7 @@
417
417
  </tr>
418
418
  <tr>
419
419
  <td class="col-md-4">
420
- <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/error-handler.ts:64</a></div>
420
+ <div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/error-handler.ts:66</a></div>
421
421
  </td>
422
422
  </tr>
423
423
 
@@ -463,7 +463,7 @@
463
463
  </tr>
464
464
  <tr>
465
465
  <td class="col-md-4">
466
- <div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/lib/error-handler.ts:49</a></div>
466
+ <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/error-handler.ts:51</a></div>
467
467
  </td>
468
468
  </tr>
469
469
 
@@ -478,12 +478,14 @@
478
478
  <div class="tab-pane fade tab-source-code" id="source">
479
479
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { HttpErrorResponse } from &#x27;@angular/common/http&#x27;;
480
480
  import {
481
+ EnvironmentProviders,
481
482
  ErrorHandler,
482
483
  inject,
483
484
  Injectable,
484
485
  InjectionToken,
485
486
  INJECTOR,
486
487
  isDevMode,
488
+ Provider,
487
489
  runInInjectionContext,
488
490
  StaticProvider,
489
491
  } from &#x27;@angular/core&#x27;;
@@ -640,13 +642,6 @@ export class RxapErrorHandler implements ErrorHandler {
640
642
 
641
643
 
642
644
  }
643
-
644
- export function ProvideErrorHandler(): StaticProvider {
645
- return {
646
- provide: ErrorHandler,
647
- useClass: RxapErrorHandler,
648
- };
649
- }
650
645
  </code></pre>
651
646
  </div>
652
647
 
@@ -293,12 +293,14 @@
293
293
  <div class="tab-pane fade tab-source-code" id="source">
294
294
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { HttpErrorResponse } from &#x27;@angular/common/http&#x27;;
295
295
  import {
296
+ EnvironmentProviders,
296
297
  ErrorHandler,
297
298
  inject,
298
299
  Injectable,
299
300
  InjectionToken,
300
301
  INJECTOR,
301
302
  isDevMode,
303
+ Provider,
302
304
  runInInjectionContext,
303
305
  StaticProvider,
304
306
  } from &#x27;@angular/core&#x27;;
@@ -455,13 +457,6 @@ export class RxapErrorHandler implements ErrorHandler {
455
457
 
456
458
 
457
459
  }
458
-
459
- export function ProvideErrorHandler(): StaticProvider {
460
- return {
461
- provide: ErrorHandler,
462
- useClass: RxapErrorHandler,
463
- };
464
- }
465
460
  </code></pre>
466
461
  </div>
467
462
  </div>