@rxap/ngx-error 19.1.0 → 19.2.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 (158) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/compodoc/changelog.html +6 -0
  3. package/compodoc/dependencies.html +5 -5
  4. package/compodoc/injectables/ErrorCaptureDialogService.html +43 -4
  5. package/compodoc/interfaces/IErrorCaptureDialogService.html +9 -2
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/miscellaneous/functions.html +60 -0
  8. package/compodoc/miscellaneous/variables.html +23 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +688 -503
  11. package/docs/html/assets/hierarchy.js +1 -1
  12. package/docs/html/assets/navigation.js +1 -1
  13. package/docs/html/assets/search.js +1 -1
  14. package/docs/html/classes/AngularErrorComponent.html +2 -2
  15. package/docs/html/classes/AngularErrorService.html +2 -2
  16. package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
  17. package/docs/html/classes/AnyHttpErrorService.html +2 -2
  18. package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
  19. package/docs/html/classes/CodeHttpErrorService.html +2 -2
  20. package/docs/html/classes/ErrorCaptureDialogService.html +3 -2
  21. package/docs/html/classes/ErrorCaptureService.html +2 -2
  22. package/docs/html/classes/ErrorDialogComponent.html +3 -3
  23. package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
  24. package/docs/html/classes/MessageHttpErrorService.html +2 -2
  25. package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
  26. package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
  27. package/docs/html/classes/RxapErrorHandler.html +3 -3
  28. package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
  29. package/docs/html/functions/DefaultErrorFilter.html +1 -1
  30. package/docs/html/functions/ExtractContextFromError.html +1 -1
  31. package/docs/html/functions/ExtractError.html +1 -1
  32. package/docs/html/functions/ExtractExtraFromError.html +1 -1
  33. package/docs/html/functions/ExtractTagsFromError.html +1 -1
  34. package/docs/html/functions/HttpErrorInterceptor.html +1 -1
  35. package/docs/html/functions/PrintError.html +1 -1
  36. package/docs/html/functions/ProvideErrorHandler.html +2 -2
  37. package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
  38. package/docs/html/functions/provideAutoErrorInterception.html +1 -1
  39. package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -0
  40. package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
  41. package/docs/html/hierarchy.html +1 -1
  42. package/docs/html/index.html +2 -2
  43. package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
  44. package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
  45. package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
  46. package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
  47. package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
  48. package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -2
  49. package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
  50. package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
  51. package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
  52. package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
  53. package/docs/html/modules.html +1 -1
  54. package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -1
  55. package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
  56. package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
  57. package/docs/html/variables/RXAP_ERROR_DIALOG_DISABLED.html +1 -0
  58. package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
  59. package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
  60. package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
  61. package/docs/markdown/README.md +1 -1
  62. package/docs/markdown/classes/AngularErrorComponent.md +6 -6
  63. package/docs/markdown/classes/AngularErrorService.md +5 -5
  64. package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
  65. package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
  66. package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
  67. package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
  68. package/docs/markdown/classes/ErrorCaptureDialogService.md +13 -5
  69. package/docs/markdown/classes/ErrorCaptureService.md +5 -5
  70. package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
  71. package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
  72. package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
  73. package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
  74. package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
  75. package/docs/markdown/classes/RxapErrorHandler.md +7 -7
  76. package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
  77. package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
  78. package/docs/markdown/functions/ExtractContextFromError.md +2 -2
  79. package/docs/markdown/functions/ExtractError.md +2 -2
  80. package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
  81. package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
  82. package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
  83. package/docs/markdown/functions/PrintError.md +2 -2
  84. package/docs/markdown/functions/ProvideErrorHandler.md +2 -2
  85. package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
  86. package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
  87. package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +21 -0
  88. package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
  89. package/docs/markdown/globals.md +4 -2
  90. package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
  91. package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
  92. package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
  93. package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
  94. package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
  95. package/docs/markdown/interfaces/IErrorCaptureDialogService.md +3 -3
  96. package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
  97. package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
  98. package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
  99. package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
  100. package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +2 -2
  101. package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
  102. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
  103. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DISABLED.md +11 -0
  104. package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
  105. package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
  106. package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
  107. package/docs/wiki/Class.AngularErrorComponent.md +5 -5
  108. package/docs/wiki/Class.AngularErrorService.md +4 -4
  109. package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
  110. package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
  111. package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
  112. package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
  113. package/docs/wiki/Class.ErrorCaptureDialogService.md +12 -4
  114. package/docs/wiki/Class.ErrorCaptureService.md +4 -4
  115. package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
  116. package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
  117. package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
  118. package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
  119. package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
  120. package/docs/wiki/Class.RxapErrorHandler.md +6 -6
  121. package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
  122. package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
  123. package/docs/wiki/Function.ExtractContextFromError.md +1 -1
  124. package/docs/wiki/Function.ExtractError.md +1 -1
  125. package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
  126. package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
  127. package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
  128. package/docs/wiki/Function.PrintError.md +1 -1
  129. package/docs/wiki/Function.ProvideErrorHandler.md +1 -1
  130. package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
  131. package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
  132. package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +17 -0
  133. package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
  134. package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
  135. package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
  136. package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
  137. package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
  138. package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
  139. package/docs/wiki/Interface.IErrorCaptureDialogService.md +2 -2
  140. package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
  141. package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
  142. package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
  143. package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
  144. package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +1 -1
  145. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
  146. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
  147. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DISABLED.md +7 -0
  148. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
  149. package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
  150. package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
  151. package/docs/wiki/_Sidebar.md +2 -0
  152. package/docs/wiki/globals.md +3 -1
  153. package/fesm2022/rxap-ngx-error.mjs +16 -4
  154. package/fesm2022/rxap-ngx-error.mjs.map +1 -1
  155. package/lib/error-capture-dialog.service.d.ts +1 -0
  156. package/lib/provide.d.ts +1 -0
  157. package/lib/tokens.d.ts +1 -0
  158. package/package.json +27 -27
@@ -147,6 +147,9 @@
147
147
  <li>
148
148
  <a href="#SimplifyHttpErrorResponse" title="src/lib/utilities.ts" ><b>SimplifyHttpErrorResponse</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
149
149
  </li>
150
+ <li>
151
+ <a href="#withErrorCaptureDialogDisabledIf" title="src/lib/provide.ts" ><b>withErrorCaptureDialogDisabledIf</b>&nbsp;&nbsp;&nbsp;(src/.../provide.ts)</a>
152
+ </li>
150
153
  <li>
151
154
  <a href="#withErrorCaptureDialogService" title="src/lib/provide.ts" ><b>withErrorCaptureDialogService</b>&nbsp;&nbsp;&nbsp;(src/.../provide.ts)</a>
152
155
  </li>
@@ -829,6 +832,63 @@
829
832
  </tr>
830
833
  </tbody>
831
834
  </table>
835
+ <table class="table table-sm table-bordered">
836
+ <tbody>
837
+ <tr>
838
+ <td class="col-md-4">
839
+ <a name="withErrorCaptureDialogDisabledIf"></a>
840
+ <span class="name">
841
+ <span ><b>withErrorCaptureDialogDisabledIf</b></span>
842
+ <a href="#withErrorCaptureDialogDisabledIf"><span class="icon ion-ios-link"></span></a>
843
+ </span>
844
+ </td>
845
+ </tr>
846
+ <tr>
847
+ <td class="col-md-4">
848
+ <code>withErrorCaptureDialogDisabledIf(condition)</code>
849
+ </td>
850
+ </tr>
851
+
852
+
853
+
854
+
855
+ <tr>
856
+ <td class="col-md-4">
857
+
858
+ <div class="io-description">
859
+ <b>Parameters :</b>
860
+
861
+ <table class="params">
862
+ <thead>
863
+ <tr>
864
+ <td>Name</td>
865
+ <td>Optional</td>
866
+ </tr>
867
+ </thead>
868
+ <tbody>
869
+ <tr>
870
+ <td>condition</td>
871
+
872
+ <td>
873
+ No
874
+ </td>
875
+
876
+
877
+ </tr>
878
+ </tbody>
879
+ </table>
880
+ </div>
881
+ <div class="io-description">
882
+ <b>Returns : </b> <code>Provider</code>
883
+
884
+ </div>
885
+ <div class="io-description">
886
+
887
+ </div>
888
+ </td>
889
+ </tr>
890
+ </tbody>
891
+ </table>
832
892
  <table class="table table-sm table-bordered">
833
893
  <tbody>
834
894
  <tr>
@@ -120,6 +120,9 @@
120
120
  <li>
121
121
  <a href="#RXAP_ERROR_DIALOG_DATA" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_DATA</b>&nbsp;&nbsp;&nbsp;(src/.../tokens.ts)</a>
122
122
  </li>
123
+ <li>
124
+ <a href="#RXAP_ERROR_DIALOG_DISABLED" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_DISABLED</b>&nbsp;&nbsp;&nbsp;(src/.../tokens.ts)</a>
125
+ </li>
123
126
  <li>
124
127
  <a href="#RXAP_ERROR_DIALOG_ERROR" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_ERROR</b>&nbsp;&nbsp;&nbsp;(src/.../tokens.ts)</a>
125
128
  </li>
@@ -200,6 +203,26 @@
200
203
  </tr>
201
204
 
202
205
 
206
+ </tbody>
207
+ </table>
208
+ <table class="table table-sm table-bordered">
209
+ <tbody>
210
+ <tr>
211
+ <td class="col-md-4">
212
+ <a name="RXAP_ERROR_DIALOG_DISABLED"></a>
213
+ <span class="name">
214
+ <span ><b>RXAP_ERROR_DIALOG_DISABLED</b></span>
215
+ <a href="#RXAP_ERROR_DIALOG_DISABLED"><span class="icon ion-ios-link"></span></a>
216
+ </span>
217
+ </td>
218
+ </tr>
219
+ <tr>
220
+ <td class="col-md-4">
221
+ <i>Default value : </i><code>new InjectionToken&lt;boolean&gt;(&#x27;rxap/error/dialog-disabled&#x27;)</code>
222
+ </td>
223
+ </tr>
224
+
225
+
203
226
  </tbody>
204
227
  </table>
205
228
  <table class="table table-sm table-bordered">
@@ -102,7 +102,7 @@
102
102
  </ol>
103
103
  <ul class="properties-list">
104
104
  <li>
105
- <b>Version</b> : 19.1.0</li>
105
+ <b>Version</b> : 19.2.0-dev.0</li>
106
106
  <li>
107
107
  <b>Description</b> : This package provides a comprehensive error handling solution for Angular applications, including interceptors, services, and UI components to display different types of errors in a user-friendly dialog. It supports handling of generic errors, HTTP errors with messages or codes, and OpenAPI HTTP response errors, with customizable options for logging, displaying dialogs, and integrating with Sentry. The package aims to simplify error management and improve the user experience by providing clear and informative error messages.
108
108
  </li>