@rxap/ngx-error 19.3.0 → 21.0.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/compodoc/changelog.html +38 -0
  3. package/compodoc/components/AngularErrorComponent.html +56 -41
  4. package/compodoc/components/AnyHttpErrorComponent.html +75 -57
  5. package/compodoc/components/CodeHttpErrorComponent.html +19 -19
  6. package/compodoc/components/ErrorDialogComponent.html +98 -79
  7. package/compodoc/components/MessageHttpErrorComponent.html +19 -19
  8. package/compodoc/components/OpenApiHttpResponseErrorComponent.html +50 -34
  9. package/compodoc/dependencies.html +11 -11
  10. package/compodoc/injectables/ErrorCaptureDialogService.html +9 -7
  11. package/compodoc/interfaces/IErrorCaptureDialogService.html +6 -4
  12. package/compodoc/interfaces/IErrorDialogComponent.html +14 -23
  13. package/compodoc/js/search/search_index.js +2 -2
  14. package/compodoc/properties.html +1 -1
  15. package/docs/documentation.json +1007 -1043
  16. package/docs/html/assets/hierarchy.js +1 -1
  17. package/docs/html/assets/search.js +1 -1
  18. package/docs/html/classes/AngularErrorComponent.html +2 -2
  19. package/docs/html/classes/AngularErrorService.html +2 -2
  20. package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
  21. package/docs/html/classes/AnyHttpErrorService.html +2 -2
  22. package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
  23. package/docs/html/classes/CodeHttpErrorService.html +2 -2
  24. package/docs/html/classes/ErrorCaptureDialogService.html +2 -2
  25. package/docs/html/classes/ErrorCaptureService.html +2 -2
  26. package/docs/html/classes/ErrorDialogComponent.html +2 -6
  27. package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
  28. package/docs/html/classes/MessageHttpErrorService.html +2 -2
  29. package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
  30. package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
  31. package/docs/html/classes/RxapErrorHandler.html +3 -3
  32. package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
  33. package/docs/html/functions/DefaultErrorFilter.html +1 -1
  34. package/docs/html/functions/ExtractContextFromError.html +1 -1
  35. package/docs/html/functions/ExtractError.html +1 -1
  36. package/docs/html/functions/ExtractExtraFromError.html +1 -1
  37. package/docs/html/functions/ExtractTagsFromError.html +1 -1
  38. package/docs/html/functions/HttpErrorInterceptor.html +1 -1
  39. package/docs/html/functions/PrintError.html +1 -1
  40. package/docs/html/functions/ProvideErrorHandler.html +2 -2
  41. package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
  42. package/docs/html/functions/provideAutoErrorInterception.html +1 -1
  43. package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -1
  44. package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
  45. package/docs/html/hierarchy.html +1 -1
  46. package/docs/html/index.html +2 -2
  47. package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
  48. package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
  49. package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
  50. package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
  51. package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
  52. package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -2
  53. package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
  54. package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
  55. package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
  56. package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
  57. package/docs/html/modules.html +1 -1
  58. package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -1
  59. package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
  60. package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
  61. package/docs/html/variables/RXAP_ERROR_DIALOG_DISABLED.html +1 -1
  62. package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
  63. package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
  64. package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
  65. package/docs/markdown/README.md +1 -1
  66. package/docs/markdown/classes/AngularErrorComponent.md +6 -6
  67. package/docs/markdown/classes/AngularErrorService.md +5 -5
  68. package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
  69. package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
  70. package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
  71. package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
  72. package/docs/markdown/classes/ErrorCaptureDialogService.md +6 -6
  73. package/docs/markdown/classes/ErrorCaptureService.md +5 -5
  74. package/docs/markdown/classes/ErrorDialogComponent.md +13 -35
  75. package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
  76. package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
  77. package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
  78. package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
  79. package/docs/markdown/classes/RxapErrorHandler.md +7 -7
  80. package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
  81. package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
  82. package/docs/markdown/functions/ExtractContextFromError.md +2 -2
  83. package/docs/markdown/functions/ExtractError.md +2 -2
  84. package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
  85. package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
  86. package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
  87. package/docs/markdown/functions/PrintError.md +2 -2
  88. package/docs/markdown/functions/ProvideErrorHandler.md +2 -2
  89. package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
  90. package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
  91. package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +2 -2
  92. package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
  93. package/docs/markdown/globals.md +2 -2
  94. package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
  95. package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
  96. package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
  97. package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
  98. package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
  99. package/docs/markdown/interfaces/IErrorCaptureDialogService.md +3 -3
  100. package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
  101. package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
  102. package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
  103. package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
  104. package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +2 -2
  105. package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
  106. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
  107. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DISABLED.md +2 -2
  108. package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
  109. package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
  110. package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
  111. package/docs/wiki/Class.AngularErrorComponent.md +5 -5
  112. package/docs/wiki/Class.AngularErrorService.md +4 -4
  113. package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
  114. package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
  115. package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
  116. package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
  117. package/docs/wiki/Class.ErrorCaptureDialogService.md +5 -5
  118. package/docs/wiki/Class.ErrorCaptureService.md +4 -4
  119. package/docs/wiki/Class.ErrorDialogComponent.md +12 -34
  120. package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
  121. package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
  122. package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
  123. package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
  124. package/docs/wiki/Class.RxapErrorHandler.md +6 -6
  125. package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
  126. package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
  127. package/docs/wiki/Function.ExtractContextFromError.md +1 -1
  128. package/docs/wiki/Function.ExtractError.md +1 -1
  129. package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
  130. package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
  131. package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
  132. package/docs/wiki/Function.PrintError.md +1 -1
  133. package/docs/wiki/Function.ProvideErrorHandler.md +1 -1
  134. package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
  135. package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
  136. package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +1 -1
  137. package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
  138. package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
  139. package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
  140. package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
  141. package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
  142. package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
  143. package/docs/wiki/Interface.IErrorCaptureDialogService.md +2 -2
  144. package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
  145. package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
  146. package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
  147. package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
  148. package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +1 -1
  149. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
  150. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
  151. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DISABLED.md +1 -1
  152. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
  153. package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
  154. package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
  155. package/docs/wiki/globals.md +1 -1
  156. package/fesm2022/rxap-ngx-error.mjs +75 -109
  157. package/fesm2022/rxap-ngx-error.mjs.map +1 -1
  158. package/package.json +42 -41
  159. package/types/rxap-ngx-error.d.ts +256 -0
  160. package/index.d.ts +0 -24
  161. package/lib/any-http-error/any-http-error-dialog-data.d.ts +0 -36
  162. package/lib/any-http-error/any-http-error.component.d.ts +0 -9
  163. package/lib/any-http-error/any-http-error.service.d.ts +0 -11
  164. package/lib/code-http-error/code-http-error-dialog-data.d.ts +0 -7
  165. package/lib/code-http-error/code-http-error.component.d.ts +0 -10
  166. package/lib/code-http-error/code-http-error.service.d.ts +0 -10
  167. package/lib/error/angular-error-dialog-data.d.ts +0 -8
  168. package/lib/error/angular-error.component.d.ts +0 -11
  169. package/lib/error/angular-error.service.d.ts +0 -10
  170. package/lib/error-capture-dialog.service.d.ts +0 -16
  171. package/lib/error-capture.service.d.ts +0 -12
  172. package/lib/error-dialog/error-dialog.component.d.ts +0 -20
  173. package/lib/error-handler.d.ts +0 -27
  174. package/lib/error-interceptor-options.d.ts +0 -7
  175. package/lib/http-error-interceptor.d.ts +0 -3
  176. package/lib/message-http-error/message-http-error-dialog-data.d.ts +0 -6
  177. package/lib/message-http-error/message-http-error.component.d.ts +0 -10
  178. package/lib/message-http-error/message-http-error.service.d.ts +0 -10
  179. package/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.d.ts +0 -7
  180. package/lib/open-api-http-response-error/open-api-http-response-error.component.d.ts +0 -9
  181. package/lib/open-api-http-response-error/open-api-http-response-error.service.d.ts +0 -10
  182. package/lib/provide.d.ts +0 -10
  183. package/lib/tokens.d.ts +0 -11
  184. package/lib/utilities.d.ts +0 -19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,43 @@
1
+ ## 21.0.1-dev.1 (2026-11-22)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **angular:** add ng-prism showcases from the leaf library outwards
6
+ - **angular:** add ng-prism styleguide targets and environment showcase
7
+
8
+ ### 🧱 Updated Dependencies
9
+
10
+ - Updated angular-environment to 21.0.1-dev.1
11
+ - Updated angular-components to 21.0.1-dev.1
12
+ - Updated angular-data-grid to 21.0.1-dev.1
13
+ - Updated angular-open-api to 21.0.1-dev.1
14
+ - Updated angular-config to 21.0.1-dev.1
15
+ - Updated utilities to 16.5.2-dev.1
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - Claude Opus 5.5
20
+ - Merzough Münker
21
+
22
+ ## 21.0.1-dev.0 (2026-11-20)
23
+
24
+ ### 🩹 Fixes
25
+
26
+ - **upgrade:** TestBed.get->inject (removed in angular) + dedupe rxjs to single version
27
+
28
+ ### 🧱 Updated Dependencies
29
+
30
+ - Updated angular-environment to 21.0.1-dev.0
31
+ - Updated angular-components to 21.0.1-dev.0
32
+ - Updated angular-data-grid to 21.0.1-dev.0
33
+ - Updated angular-open-api to 21.0.1-dev.0
34
+ - Updated angular-config to 21.0.1-dev.0
35
+ - Updated utilities to 16.5.2-dev.0
36
+
37
+ ### ❤️ Thank You
38
+
39
+ - Merzough Münker
40
+
1
41
  ## 19.3.0 (2026-11-20)
2
42
 
3
43
  This was a version bump only for angular-error to align it with other projects, there were no code changes.
@@ -82,6 +82,44 @@
82
82
  <div class="content getting-started">
83
83
  <div class="content-data">
84
84
 
85
+ <h2>21.0.1-dev.1 (2026-11-22)</h2>
86
+ <h3>🚀 Features</h3>
87
+ <ul>
88
+ <li><strong>angular:</strong> add ng-prism showcases from the leaf library outwards</li>
89
+ <li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
90
+ </ul>
91
+ <h3>🧱 Updated Dependencies</h3>
92
+ <ul>
93
+ <li>Updated angular-environment to 21.0.1-dev.1</li>
94
+ <li>Updated angular-components to 21.0.1-dev.1</li>
95
+ <li>Updated angular-data-grid to 21.0.1-dev.1</li>
96
+ <li>Updated angular-open-api to 21.0.1-dev.1</li>
97
+ <li>Updated angular-config to 21.0.1-dev.1</li>
98
+ <li>Updated utilities to 16.5.2-dev.1</li>
99
+ </ul>
100
+ <h3>❤️ Thank You</h3>
101
+ <ul>
102
+ <li>Claude Opus 5.5</li>
103
+ <li>Merzough Münker</li>
104
+ </ul>
105
+ <h2>21.0.1-dev.0 (2026-11-20)</h2>
106
+ <h3>🩹 Fixes</h3>
107
+ <ul>
108
+ <li><strong>upgrade:</strong> TestBed.get-&gt;inject (removed in angular) + dedupe rxjs to single version</li>
109
+ </ul>
110
+ <h3>🧱 Updated Dependencies</h3>
111
+ <ul>
112
+ <li>Updated angular-environment to 21.0.1-dev.0</li>
113
+ <li>Updated angular-components to 21.0.1-dev.0</li>
114
+ <li>Updated angular-data-grid to 21.0.1-dev.0</li>
115
+ <li>Updated angular-open-api to 21.0.1-dev.0</li>
116
+ <li>Updated angular-config to 21.0.1-dev.0</li>
117
+ <li>Updated utilities to 16.5.2-dev.0</li>
118
+ </ul>
119
+ <h3>❤️ Thank You</h3>
120
+ <ul>
121
+ <li>Merzough Münker</li>
122
+ </ul>
85
123
  <h2>19.3.0 (2026-11-20)</h2>
86
124
  <p>This was a version bump only for angular-error to align it with other projects, there were no code changes.</p>
87
125
  <h2>19.3.0-dev.1 (2026-06-30)</h2>
@@ -139,6 +139,10 @@
139
139
  <table class="table table-sm table-hover metadata">
140
140
  <tbody>
141
141
 
142
+ <tr>
143
+ <td class="col-md-3">changeDetection</td>
144
+ <td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
145
+ </tr>
142
146
 
143
147
 
144
148
 
@@ -159,10 +163,11 @@
159
163
  <tr>
160
164
  <td class="col-md-3">imports</td>
161
165
  <td class="col-md-9">
162
- <code>DataGridModule</code>
166
+ <code>DataGridComponent</code>
167
+ <code>DataGridRowDefDirective</code>
168
+ <code>DataGridHeaderCellDefDirective</code>
169
+ <code>DataGridCellDefDirective</code>
163
170
  <code>KeyValuePipe</code>
164
- <code>NgForOf</code>
165
- <code>NgIf</code>
166
171
  </td>
167
172
  </tr>
168
173
 
@@ -276,7 +281,7 @@
276
281
  </tr>
277
282
  <tr>
278
283
  <td class="col-md-4">
279
- <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/error/angular-error.component.ts:23</a></div>
284
+ <div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/error/angular-error.component.ts:21</a></div>
280
285
  </td>
281
286
  </tr>
282
287
 
@@ -305,7 +310,7 @@
305
310
  </tr>
306
311
  <tr>
307
312
  <td class="col-md-4">
308
- <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/error/angular-error.component.ts:25</a></div>
313
+ <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/error/angular-error.component.ts:23</a></div>
309
314
  </td>
310
315
  </tr>
311
316
 
@@ -327,7 +332,7 @@
327
332
  </tr>
328
333
  <tr>
329
334
  <td class="col-md-4">
330
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/error/angular-error.component.ts:29</a></div>
335
+ <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/error/angular-error.component.ts:27</a></div>
331
336
  </td>
332
337
  </tr>
333
338
 
@@ -349,7 +354,7 @@
349
354
  </tr>
350
355
  <tr>
351
356
  <td class="col-md-4">
352
- <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/error/angular-error.component.ts:33</a></div>
357
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/error/angular-error.component.ts:31</a></div>
353
358
  </td>
354
359
  </tr>
355
360
 
@@ -360,23 +365,21 @@
360
365
 
361
366
 
362
367
  <div class="tab-pane fade tab-source-code" id="source">
363
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
364
- KeyValuePipe,
365
- NgForOf,
366
- NgIf,
367
- } from &#x27;@angular/common&#x27;;
368
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { KeyValuePipe } from &#x27;@angular/common&#x27;;
368
369
  import {
370
+ ChangeDetectionStrategy,
369
371
  Component,
370
372
  inject,
371
373
  } from &#x27;@angular/core&#x27;;
372
- import { DataGridModule } from &#x27;@rxap/data-grid&#x27;;
374
+ import { DataGridComponent, DataGridRowDefDirective, DataGridHeaderCellDefDirective, DataGridCellDefDirective } from &#x27;@rxap/data-grid&#x27;;
373
375
  import { IErrorDialogComponent } from &#x27;../error-dialog/error-dialog.component&#x27;;
374
376
  import { RXAP_ERROR_DIALOG_ERROR } from &#x27;../tokens&#x27;;
375
377
  import { AngularErrorDialogData } from &#x27;./angular-error-dialog-data&#x27;;
376
378
 
377
379
  @Component({
378
380
  selector: &#x27;rxap-angular-error&#x27;,
379
- imports: [DataGridModule, KeyValuePipe, NgForOf, NgIf],
381
+ changeDetection: ChangeDetectionStrategy.OnPush,
382
+ imports: [DataGridComponent, DataGridRowDefDirective, DataGridHeaderCellDefDirective, DataGridCellDefDirective, KeyValuePipe],
380
383
  templateUrl: &#x27;./angular-error.component.html&#x27;,
381
384
  styleUrls: [&#x27;./angular-error.component.scss&#x27;]
382
385
  })
@@ -402,33 +405,45 @@ export class AngularErrorComponent implements IErrorDialogComponent&lt;AngularEr
402
405
 
403
406
  <div class="tab-pane fade " id="templateData">
404
407
  <pre class="line-numbers"><code class="language-html">&lt;rxap-data-grid [data]&#x3D;&quot;error&quot;&gt;
405
- &lt;ng-container *ngIf&#x3D;&quot;error.name&quot; rxapDataGridRowDef&#x3D;&quot;name&quot;&gt;&lt;/ng-container&gt;
408
+ @if (error.name) {
409
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;name&quot;&gt;&lt;/ng-container&gt;
410
+ }
406
411
  &lt;ng-container rxapDataGridRowDef&#x3D;&quot;message&quot;&gt;&lt;/ng-container&gt;
407
- &lt;ng-container *ngIf&#x3D;&quot;hasExtra || hasTags || hasContexts || error.stack&quot; rxapDataGridRowDef&gt;
408
- &lt;th *rxapDataGridHeaderCellDef&gt;
409
- &lt;span i18n&gt;Details&lt;/span&gt;
410
- &lt;/th&gt;
411
- &lt;/ng-container&gt;
412
- &lt;ng-container *ngIf&#x3D;&quot;error.stack&quot; rxapDataGridRowDef&#x3D;&quot;stack&quot;&gt;
413
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
414
- &lt;pre&gt;{{ value }}&lt;/pre&gt;
415
- &lt;/td&gt;
416
- &lt;/ng-container&gt;
417
- &lt;ng-container *ngIf&#x3D;&quot;hasTags&quot; rxapDataGridRowDef&#x3D;&quot;tags&quot;&gt;
418
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
419
- &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
420
- &lt;/td&gt;
421
- &lt;/ng-container&gt;
422
- &lt;ng-container *ngIf&#x3D;&quot;hasExtra&quot; rxapDataGridRowDef&#x3D;&quot;extra&quot;&gt;
423
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
424
- &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
425
- &lt;/td&gt;
426
- &lt;/ng-container&gt;
427
- &lt;ng-container *ngIf&#x3D;&quot;hasContexts&quot; rxapDataGridRowDef&#x3D;&quot;contexts&quot;&gt;
428
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
429
- &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
430
- &lt;/td&gt;
431
- &lt;/ng-container&gt;
412
+ @if (hasExtra || hasTags || hasContexts || error.stack) {
413
+ &lt;ng-container rxapDataGridRowDef&gt;
414
+ &lt;th *rxapDataGridHeaderCellDef&gt;
415
+ &lt;span i18n&gt;Details&lt;/span&gt;
416
+ &lt;/th&gt;
417
+ &lt;/ng-container&gt;
418
+ }
419
+ @if (error.stack) {
420
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;stack&quot;&gt;
421
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
422
+ &lt;pre&gt;{{ value }}&lt;/pre&gt;
423
+ &lt;/td&gt;
424
+ &lt;/ng-container&gt;
425
+ }
426
+ @if (hasTags) {
427
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;tags&quot;&gt;
428
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
429
+ &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
430
+ &lt;/td&gt;
431
+ &lt;/ng-container&gt;
432
+ }
433
+ @if (hasExtra) {
434
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;extra&quot;&gt;
435
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
436
+ &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
437
+ &lt;/td&gt;
438
+ &lt;/ng-container&gt;
439
+ }
440
+ @if (hasContexts) {
441
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;contexts&quot;&gt;
442
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
443
+ &lt;rxap-data-grid [data]&#x3D;&quot;value&quot; auto&gt;&lt;/rxap-data-grid&gt;
444
+ &lt;/td&gt;
445
+ &lt;/ng-container&gt;
446
+ }
432
447
  &lt;/rxap-data-grid&gt;
433
448
  </code></pre>
434
449
  </div>
@@ -465,7 +480,7 @@ export class AngularErrorComponent implements IErrorDialogComponent&lt;AngularEr
465
480
  <script src="../js/libs/htmlparser.js"></script>
466
481
  <script src="../js/libs/deep-iterator.js"></script>
467
482
  <script>
468
- var COMPONENT_TEMPLATE = '<div><rxap-data-grid [data]="error"> <ng-container *ngIf="error.name" rxapDataGridRowDef="name"></ng-container> <ng-container rxapDataGridRowDef="message"></ng-container> <ng-container *ngIf="hasExtra || hasTags || hasContexts || error.stack" rxapDataGridRowDef> <th *rxapDataGridHeaderCellDef> <span i18n>Details</span> </th> </ng-container> <ng-container *ngIf="error.stack" rxapDataGridRowDef="stack"> <td *rxapDataGridCellDef="let value"> <pre>{{ value }}</pre> </td> </ng-container> <ng-container *ngIf="hasTags" rxapDataGridRowDef="tags"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container> <ng-container *ngIf="hasExtra" rxapDataGridRowDef="extra"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container> <ng-container *ngIf="hasContexts" rxapDataGridRowDef="contexts"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container></rxap-data-grid></div>'
483
+ var COMPONENT_TEMPLATE = '<div><rxap-data-grid [data]="error"> @if (error.name) { <ng-container rxapDataGridRowDef="name"></ng-container> } <ng-container rxapDataGridRowDef="message"></ng-container> @if (hasExtra || hasTags || hasContexts || error.stack) { <ng-container rxapDataGridRowDef> <th *rxapDataGridHeaderCellDef> <span i18n>Details</span> </th> </ng-container> } @if (error.stack) { <ng-container rxapDataGridRowDef="stack"> <td *rxapDataGridCellDef="let value"> <pre>{{ value }}</pre> </td> </ng-container> } @if (hasTags) { <ng-container rxapDataGridRowDef="tags"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container> } @if (hasExtra) { <ng-container rxapDataGridRowDef="extra"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container> } @if (hasContexts) { <ng-container rxapDataGridRowDef="contexts"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value" auto></rxap-data-grid> </td> </ng-container> }</rxap-data-grid></div>'
469
484
  var COMPONENTS = [{'name': 'AngularErrorComponent', 'selector': 'rxap-angular-error'},{'name': 'AnyHttpErrorComponent', 'selector': 'rxap-any-http-error'},{'name': 'CodeHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'ErrorDialogComponent', 'selector': 'rxap-error-dialog'},{'name': 'MessageHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'OpenApiHttpResponseErrorComponent', 'selector': 'rxap-open-api-http-response-error'}];
470
485
  var DIRECTIVES = [];
471
486
  var ACTUAL_COMPONENT = {'name': 'AngularErrorComponent'};
@@ -163,11 +163,11 @@
163
163
  <tr>
164
164
  <td class="col-md-3">imports</td>
165
165
  <td class="col-md-9">
166
- <code>DataGridModule</code>
167
- <code>NgIf</code>
166
+ <code>DataGridComponent</code>
167
+ <code>DataGridRowDefDirective</code>
168
+ <code>DataGridCellDefDirective</code>
168
169
  <code>DatePipe</code>
169
170
  <code>KeyValuePipe</code>
170
- <code>NgForOf</code>
171
171
  <code>CopyToClipboardComponent</code>
172
172
  <code>JsonPipe</code>
173
173
  <code>JsonViewerComponent</code>
@@ -269,7 +269,7 @@
269
269
  </tr>
270
270
  <tr>
271
271
  <td class="col-md-4">
272
- <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/any-http-error/any-http-error.component.ts:43</a></div>
272
+ <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/any-http-error/any-http-error.component.ts:45</a></div>
273
273
  </td>
274
274
  </tr>
275
275
 
@@ -302,7 +302,7 @@
302
302
  </tr>
303
303
  <tr>
304
304
  <td class="col-md-4">
305
- <div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/any-http-error/any-http-error.component.ts:41</a></div>
305
+ <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/any-http-error/any-http-error.component.ts:43</a></div>
306
306
  </td>
307
307
  </tr>
308
308
 
@@ -315,13 +315,7 @@
315
315
 
316
316
 
317
317
  <div class="tab-pane fade tab-source-code" id="source">
318
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
319
- DatePipe,
320
- JsonPipe,
321
- KeyValuePipe,
322
- NgForOf,
323
- NgIf,
324
- } from &#x27;@angular/common&#x27;;
318
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DatePipe, JsonPipe, KeyValuePipe } from &#x27;@angular/common&#x27;;
325
319
  import {
326
320
  ChangeDetectionStrategy,
327
321
  Component,
@@ -331,27 +325,35 @@ import {
331
325
  CopyToClipboardComponent,
332
326
  JsonViewerComponent,
333
327
  } from &#x27;@rxap/components&#x27;;
334
- import { DataGridModule } from &#x27;@rxap/data-grid&#x27;;
328
+ import { DataGridComponent, DataGridRowDefDirective, DataGridCellDefDirective } from &#x27;@rxap/data-grid&#x27;;
335
329
  import { RXAP_ENVIRONMENT } from &#x27;@rxap/environment&#x27;;
336
330
  import { IErrorDialogComponent } from &#x27;../error-dialog/error-dialog.component&#x27;;
337
331
  import { RXAP_ERROR_DIALOG_ERROR } from &#x27;../tokens&#x27;;
338
332
  import { AnyHttpErrorDialogData } from &#x27;./any-http-error-dialog-data&#x27;;
339
-
333
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
334
+
335
+ @Showcase({
336
+ title: &#x27;Any Http Error&#x27;,
337
+ category: &#x27;Error&#x27;,
338
+ description: &#x27;Content of the error dialog for a failed http request. The error is read from the &#x60;RXAP_ERROR_DIALOG_ERROR&#x60; token, which the styleguide host provides with demo data.&#x27;,
339
+ status: &#x27;stable&#x27;,
340
+ variants: [
341
+ { name: &#x27;Default&#x27; },
342
+ ],
343
+ })
340
344
  @Component({
341
345
  selector: &#x27;rxap-any-http-error&#x27;,
342
346
  templateUrl: &#x27;./any-http-error.component.html&#x27;,
343
347
  styleUrls: [&#x27;./any-http-error.component.scss&#x27;],
344
348
  changeDetection: ChangeDetectionStrategy.OnPush,
345
349
  imports: [
346
- DataGridModule,
347
- NgIf,
348
- DatePipe,
349
- KeyValuePipe,
350
- NgForOf,
351
- CopyToClipboardComponent,
352
- JsonPipe,
353
- JsonViewerComponent,
354
- ]
350
+ DataGridComponent, DataGridRowDefDirective, DataGridCellDefDirective,
351
+ DatePipe,
352
+ KeyValuePipe,
353
+ CopyToClipboardComponent,
354
+ JsonPipe,
355
+ JsonViewerComponent
356
+ ]
355
357
  })
356
358
  export class AnyHttpErrorComponent implements IErrorDialogComponent&lt;AnyHttpErrorDialogData&gt; {
357
359
 
@@ -377,42 +379,58 @@ export class AnyHttpErrorComponent implements IErrorDialogComponent&lt;AnyHttpEr
377
379
  &lt;ng-container rxapDataGridRowDef&#x3D;&quot;headers&quot;&gt;
378
380
  &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
379
381
  &lt;rxap-data-grid [data]&#x3D;&quot;value&quot;&gt;
380
- &lt;ng-container *ngFor&#x3D;&quot;let entry of value | keyvalue&quot; [rxapDataGridRowDef]&#x3D;&quot;$any(entry.key)&quot;&gt;
381
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
382
- &lt;ng-container *ngIf&#x3D;&quot;value.length &gt; 1&quot;&gt;
383
- &lt;ul&gt;
384
- &lt;li *ngFor&#x3D;&quot;let item of value&quot;&gt;{{ item }}&lt;/li&gt;
385
- &lt;/ul&gt;
386
- &lt;/ng-container&gt;
387
- &lt;ng-container *ngIf&#x3D;&quot;value.length &#x3D;&#x3D;&#x3D; 1&quot;&gt;{{ value[0] }}&lt;/ng-container&gt;
388
- &lt;ng-container *ngIf&#x3D;&quot;value.length &#x3D;&#x3D;&#x3D; 0&quot;&gt;NONE&lt;/ng-container&gt;
389
- &lt;/td&gt;
390
- &lt;/ng-container&gt;
382
+ @for (entry of value | keyvalue; track entry) {
383
+ &lt;ng-container [rxapDataGridRowDef]&#x3D;&quot;$any(entry.key)&quot;&gt;
384
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
385
+ @if (value.length &gt; 1) {
386
+ &lt;ul&gt;
387
+ @for (item of value; track item) {
388
+ &lt;li&gt;{{ item }}&lt;/li&gt;
389
+ }
390
+ &lt;/ul&gt;
391
+ }
392
+ @if (value.length &#x3D;&#x3D;&#x3D; 1) {
393
+ {{ value[0] }}
394
+ }
395
+ @if (value.length &#x3D;&#x3D;&#x3D; 0) {
396
+ NONE
397
+ }
398
+ &lt;/td&gt;
399
+ &lt;/ng-container&gt;
400
+ }
391
401
  &lt;/rxap-data-grid&gt;
392
402
  &lt;/td&gt;
393
403
  &lt;/ng-container&gt;
394
- &lt;ng-container *ngIf&#x3D;&quot;!isProduction&quot; rxapDataGridRowDef&#x3D;&quot;error&quot;&gt;
395
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
396
- &lt;ng-container *ngIf&#x3D;&quot;value&quot;&gt;
397
- &lt;rxap-copy-to-clipboard [value]&#x3D;&quot;value | json&quot;&gt;Copy Response Body&lt;/rxap-copy-to-clipboard&gt;
398
- &lt;div class&#x3D;&quot;body&quot;&gt;
399
- &lt;rxap-json-viewer [expanded]&#x3D;&quot;false&quot; [json]&#x3D;&quot;value&quot;&gt;&lt;/rxap-json-viewer&gt;
400
- &lt;/div&gt;
401
- &lt;/ng-container&gt;
402
- &lt;ng-container *ngIf&#x3D;&quot;!value&quot;&gt;NONE&lt;/ng-container&gt;
403
- &lt;/td&gt;
404
- &lt;/ng-container&gt;
405
- &lt;ng-container *ngIf&#x3D;&quot;!isProduction&quot; rxapDataGridRowDef&#x3D;&quot;body&quot;&gt;
406
- &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
407
- &lt;ng-container *ngIf&#x3D;&quot;value&quot;&gt;
408
- &lt;rxap-copy-to-clipboard [value]&#x3D;&quot;value | json&quot;&gt;Copy Request Body&lt;/rxap-copy-to-clipboard&gt;
409
- &lt;div class&#x3D;&quot;body&quot;&gt;
410
- &lt;rxap-json-viewer [expanded]&#x3D;&quot;false&quot; [json]&#x3D;&quot;value&quot;&gt;&lt;/rxap-json-viewer&gt;
411
- &lt;/div&gt;
412
- &lt;/ng-container&gt;
413
- &lt;ng-container *ngIf&#x3D;&quot;!value&quot;&gt;NONE&lt;/ng-container&gt;
414
- &lt;/td&gt;
415
- &lt;/ng-container&gt;
404
+ @if (!isProduction) {
405
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;error&quot;&gt;
406
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
407
+ @if (value) {
408
+ &lt;rxap-copy-to-clipboard [value]&#x3D;&quot;value | json&quot;&gt;Copy Response Body&lt;/rxap-copy-to-clipboard&gt;
409
+ &lt;div class&#x3D;&quot;body&quot;&gt;
410
+ &lt;rxap-json-viewer [expanded]&#x3D;&quot;false&quot; [json]&#x3D;&quot;value&quot;&gt;&lt;/rxap-json-viewer&gt;
411
+ &lt;/div&gt;
412
+ }
413
+ @if (!value) {
414
+ NONE
415
+ }
416
+ &lt;/td&gt;
417
+ &lt;/ng-container&gt;
418
+ }
419
+ @if (!isProduction) {
420
+ &lt;ng-container rxapDataGridRowDef&#x3D;&quot;body&quot;&gt;
421
+ &lt;td *rxapDataGridCellDef&#x3D;&quot;let value&quot;&gt;
422
+ @if (value) {
423
+ &lt;rxap-copy-to-clipboard [value]&#x3D;&quot;value | json&quot;&gt;Copy Request Body&lt;/rxap-copy-to-clipboard&gt;
424
+ &lt;div class&#x3D;&quot;body&quot;&gt;
425
+ &lt;rxap-json-viewer [expanded]&#x3D;&quot;false&quot; [json]&#x3D;&quot;value&quot;&gt;&lt;/rxap-json-viewer&gt;
426
+ &lt;/div&gt;
427
+ }
428
+ @if (!value) {
429
+ NONE
430
+ }
431
+ &lt;/td&gt;
432
+ &lt;/ng-container&gt;
433
+ }
416
434
  &lt;/rxap-data-grid&gt;
417
435
  </code></pre>
418
436
  </div>
@@ -449,7 +467,7 @@ export class AnyHttpErrorComponent implements IErrorDialogComponent&lt;AnyHttpEr
449
467
  <script src="../js/libs/htmlparser.js"></script>
450
468
  <script src="../js/libs/deep-iterator.js"></script>
451
469
  <script>
452
- var COMPONENT_TEMPLATE = '<div><rxap-data-grid [data]="error"> <ng-container rxapDataGridRowDef="name"></ng-container> <ng-container rxapDataGridRowDef="timestamp"> <td *rxapDataGridCellDef="let value">{{ value | date:\'HH:mm:ss\' }}</td> </ng-container> <ng-container rxapDataGridRowDef="method"></ng-container> <ng-container rxapDataGridRowDef="url"></ng-container> <ng-container rxapDataGridRowDef="status"></ng-container> <ng-container rxapDataGridRowDef="statusText"></ng-container> <ng-container rxapDataGridRowDef="message"></ng-container> <ng-container rxapDataGridRowDef="headers"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value"> <ng-container *ngFor="let entry of value | keyvalue" [rxapDataGridRowDef]="$any(entry.key)"> <td *rxapDataGridCellDef="let value"> <ng-container *ngIf="value.length > 1"> <ul> <li *ngFor="let item of value">{{ item }}</li> </ul> </ng-container> <ng-container *ngIf="value.length === 1">{{ value[0] }}</ng-container> <ng-container *ngIf="value.length === 0">NONE</ng-container> </td> </ng-container> </rxap-data-grid> </td> </ng-container> <ng-container *ngIf="!isProduction" rxapDataGridRowDef="error"> <td *rxapDataGridCellDef="let value"> <ng-container *ngIf="value"> <rxap-copy-to-clipboard [value]="value | json">Copy Response Body</rxap-copy-to-clipboard> <div class="body"> <rxap-json-viewer [expanded]="false" [json]="value"></rxap-json-viewer> </div> </ng-container> <ng-container *ngIf="!value">NONE</ng-container> </td> </ng-container> <ng-container *ngIf="!isProduction" rxapDataGridRowDef="body"> <td *rxapDataGridCellDef="let value"> <ng-container *ngIf="value"> <rxap-copy-to-clipboard [value]="value | json">Copy Request Body</rxap-copy-to-clipboard> <div class="body"> <rxap-json-viewer [expanded]="false" [json]="value"></rxap-json-viewer> </div> </ng-container> <ng-container *ngIf="!value">NONE</ng-container> </td> </ng-container></rxap-data-grid></div>'
470
+ var COMPONENT_TEMPLATE = '<div><rxap-data-grid [data]="error"> <ng-container rxapDataGridRowDef="name"></ng-container> <ng-container rxapDataGridRowDef="timestamp"> <td *rxapDataGridCellDef="let value">{{ value | date:\'HH:mm:ss\' }}</td> </ng-container> <ng-container rxapDataGridRowDef="method"></ng-container> <ng-container rxapDataGridRowDef="url"></ng-container> <ng-container rxapDataGridRowDef="status"></ng-container> <ng-container rxapDataGridRowDef="statusText"></ng-container> <ng-container rxapDataGridRowDef="message"></ng-container> <ng-container rxapDataGridRowDef="headers"> <td *rxapDataGridCellDef="let value"> <rxap-data-grid [data]="value"> @for (entry of value | keyvalue; track entry) { <ng-container [rxapDataGridRowDef]="$any(entry.key)"> <td *rxapDataGridCellDef="let value"> @if (value.length > 1) { <ul> @for (item of value; track item) { <li>{{ item }}</li> } </ul> } @if (value.length === 1) { {{ value[0] }} } @if (value.length === 0) { NONE } </td> </ng-container> } </rxap-data-grid> </td> </ng-container> @if (!isProduction) { <ng-container rxapDataGridRowDef="error"> <td *rxapDataGridCellDef="let value"> @if (value) { <rxap-copy-to-clipboard [value]="value | json">Copy Response Body</rxap-copy-to-clipboard> <div class="body"> <rxap-json-viewer [expanded]="false" [json]="value"></rxap-json-viewer> </div> } @if (!value) { NONE } </td> </ng-container> } @if (!isProduction) { <ng-container rxapDataGridRowDef="body"> <td *rxapDataGridCellDef="let value"> @if (value) { <rxap-copy-to-clipboard [value]="value | json">Copy Request Body</rxap-copy-to-clipboard> <div class="body"> <rxap-json-viewer [expanded]="false" [json]="value"></rxap-json-viewer> </div> } @if (!value) { NONE } </td> </ng-container> }</rxap-data-grid></div>'
453
471
  var COMPONENTS = [{'name': 'AngularErrorComponent', 'selector': 'rxap-angular-error'},{'name': 'AnyHttpErrorComponent', 'selector': 'rxap-any-http-error'},{'name': 'CodeHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'ErrorDialogComponent', 'selector': 'rxap-error-dialog'},{'name': 'MessageHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'OpenApiHttpResponseErrorComponent', 'selector': 'rxap-open-api-http-response-error'}];
454
472
  var DIRECTIVES = [];
455
473
  var ACTUAL_COMPONENT = {'name': 'AnyHttpErrorComponent'};
@@ -163,7 +163,6 @@
163
163
  <tr>
164
164
  <td class="col-md-3">imports</td>
165
165
  <td class="col-md-9">
166
- <code>NgIf</code>
167
166
  <code><a href="../components/AnyHttpErrorComponent.html" target="_self" >AnyHttpErrorComponent</a></code>
168
167
  </td>
169
168
  </tr>
@@ -268,7 +267,7 @@
268
267
  </tr>
269
268
  <tr>
270
269
  <td class="col-md-4">
271
- <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:28</a></div>
270
+ <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:27</a></div>
272
271
  </td>
273
272
  </tr>
274
273
 
@@ -301,7 +300,7 @@
301
300
  </tr>
302
301
  <tr>
303
302
  <td class="col-md-4">
304
- <div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:26</a></div>
303
+ <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:25</a></div>
305
304
  </td>
306
305
  </tr>
307
306
 
@@ -328,7 +327,7 @@
328
327
  </tr>
329
328
  <tr>
330
329
  <td class="col-md-4">
331
- <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:30</a></div>
330
+ <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/code-http-error/code-http-error.component.ts:29</a></div>
332
331
  </td>
333
332
  </tr>
334
333
 
@@ -341,8 +340,7 @@
341
340
 
342
341
 
343
342
  <div class="tab-pane fade tab-source-code" id="source">
344
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgIf } from &#x27;@angular/common&#x27;;
345
- import {
343
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
346
344
  ChangeDetectionStrategy,
347
345
  Component,
348
346
  inject,
@@ -360,9 +358,8 @@ import { CodeHttpErrorDialogData } from &#x27;./code-http-error-dialog-data&#x27
360
358
  styleUrls: [&#x27;./code-http-error.component.scss&#x27;],
361
359
  changeDetection: ChangeDetectionStrategy.OnPush,
362
360
  imports: [
363
- NgIf,
364
- AnyHttpErrorComponent,
365
- ]
361
+ AnyHttpErrorComponent
362
+ ]
366
363
  })
367
364
  export class CodeHttpErrorComponent implements IErrorDialogComponent&lt;CodeHttpErrorDialogData&gt; {
368
365
 
@@ -380,16 +377,19 @@ export class CodeHttpErrorComponent implements IErrorDialogComponent&lt;CodeHttp
380
377
  <pre class="line-numbers"><code class="language-html">&lt;div class&#x3D;&quot;flex flex-col gap-2&quot;&gt;
381
378
  &lt;p class&#x3D;&quot;text-xl&quot;&gt;Http Error Code:&amp;nbsp;&lt;span class&#x3D;&quot;font-bold text-red-800&quot;&gt;{{ error.errorCode }}&lt;/span&gt;&lt;/p&gt;
382
379
  &lt;p&gt;{{ error.error.message ?? error.message }}&lt;/p&gt;
383
- &lt;ng-container *ngIf&#x3D;&quot;!isProduction&quot;&gt;
380
+ @if (!isProduction) {
384
381
  &lt;hr&gt;
385
- &lt;button (click)&#x3D;&quot;showMore.set(true)&quot;
386
- *ngIf&#x3D;&quot;!showMore()&quot;
387
- class&#x3D;&quot;px-4 py-2 rounded bg-accent-500&quot;&gt;
388
- &lt;ng-container i18n&gt;Show more details&lt;/ng-container&gt;
389
- &lt;/button&gt;
390
- &lt;rxap-any-http-error *ngIf&#x3D;&quot;showMore()&quot;&gt;&lt;/rxap-any-http-error&gt;
391
- &lt;/ng-container&gt;
392
- &lt;/div&gt;
382
+ @if (!showMore()) {
383
+ &lt;button (click)&#x3D;&quot;showMore.set(true)&quot;
384
+ class&#x3D;&quot;px-4 py-2 rounded bg-accent-500&quot;&gt;
385
+ &lt;ng-container i18n&gt;Show more details&lt;/ng-container&gt;
386
+ &lt;/button&gt;
387
+ }
388
+ @if (showMore()) {
389
+ &lt;rxap-any-http-error&gt;&lt;/rxap-any-http-error&gt;
390
+ }
391
+ }
392
+ &lt;/div&gt;
393
393
  </code></pre>
394
394
  </div>
395
395
 
@@ -425,7 +425,7 @@ export class CodeHttpErrorComponent implements IErrorDialogComponent&lt;CodeHttp
425
425
  <script src="../js/libs/htmlparser.js"></script>
426
426
  <script src="../js/libs/deep-iterator.js"></script>
427
427
  <script>
428
- var COMPONENT_TEMPLATE = '<div><div class="flex flex-col gap-2"> <p class="text-xl">Http Error Code:&nbsp;<span class="font-bold text-red-800">{{ error.errorCode }}</span></p> <p>{{ error.error.message ?? error.message }}</p> <ng-container *ngIf="!isProduction"> <hr> <button (click)="showMore.set(true)" *ngIf="!showMore()" class="px-4 py-2 rounded bg-accent-500"> <ng-container i18n>Show more details</ng-container> </button> <rxap-any-http-error *ngIf="showMore()"></rxap-any-http-error> </ng-container></div></div>'
428
+ var COMPONENT_TEMPLATE = '<div><div class="flex flex-col gap-2"> <p class="text-xl">Http Error Code:&nbsp;<span class="font-bold text-red-800">{{ error.errorCode }}</span></p> <p>{{ error.error.message ?? error.message }}</p> @if (!isProduction) { <hr> @if (!showMore()) { <button (click)="showMore.set(true)" class="px-4 py-2 rounded bg-accent-500"> <ng-container i18n>Show more details</ng-container> </button> } @if (showMore()) { <rxap-any-http-error></rxap-any-http-error> } } </div></div>'
429
429
  var COMPONENTS = [{'name': 'AngularErrorComponent', 'selector': 'rxap-angular-error'},{'name': 'AnyHttpErrorComponent', 'selector': 'rxap-any-http-error'},{'name': 'CodeHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'ErrorDialogComponent', 'selector': 'rxap-error-dialog'},{'name': 'MessageHttpErrorComponent', 'selector': 'rxap-http-error-message'},{'name': 'OpenApiHttpResponseErrorComponent', 'selector': 'rxap-open-api-http-response-error'}];
430
430
  var DIRECTIVES = [];
431
431
  var ACTUAL_COMPONENT = {'name': 'CodeHttpErrorComponent'};