@rxap/ngx-error 19.3.0 → 21.0.1-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 (182) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/compodoc/changelog.html +18 -0
  3. package/compodoc/components/AngularErrorComponent.html +45 -39
  4. package/compodoc/components/AnyHttpErrorComponent.html +60 -54
  5. package/compodoc/components/CodeHttpErrorComponent.html +19 -19
  6. package/compodoc/components/ErrorDialogComponent.html +39 -40
  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 +7 -6
  11. package/compodoc/interfaces/IErrorCaptureDialogService.html +4 -3
  12. package/compodoc/interfaces/IErrorDialogComponent.html +4 -10
  13. package/compodoc/js/search/search_index.js +2 -2
  14. package/compodoc/properties.html +1 -1
  15. package/docs/documentation.json +319 -319
  16. package/docs/html/classes/AngularErrorComponent.html +2 -2
  17. package/docs/html/classes/AngularErrorService.html +2 -2
  18. package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
  19. package/docs/html/classes/AnyHttpErrorService.html +2 -2
  20. package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
  21. package/docs/html/classes/CodeHttpErrorService.html +2 -2
  22. package/docs/html/classes/ErrorCaptureDialogService.html +2 -2
  23. package/docs/html/classes/ErrorCaptureService.html +2 -2
  24. package/docs/html/classes/ErrorDialogComponent.html +3 -3
  25. package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
  26. package/docs/html/classes/MessageHttpErrorService.html +2 -2
  27. package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
  28. package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
  29. package/docs/html/classes/RxapErrorHandler.html +3 -3
  30. package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
  31. package/docs/html/functions/DefaultErrorFilter.html +1 -1
  32. package/docs/html/functions/ExtractContextFromError.html +1 -1
  33. package/docs/html/functions/ExtractError.html +1 -1
  34. package/docs/html/functions/ExtractExtraFromError.html +1 -1
  35. package/docs/html/functions/ExtractTagsFromError.html +1 -1
  36. package/docs/html/functions/HttpErrorInterceptor.html +1 -1
  37. package/docs/html/functions/PrintError.html +1 -1
  38. package/docs/html/functions/ProvideErrorHandler.html +2 -2
  39. package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
  40. package/docs/html/functions/provideAutoErrorInterception.html +1 -1
  41. package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -1
  42. package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
  43. package/docs/html/hierarchy.html +1 -1
  44. package/docs/html/index.html +2 -2
  45. package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
  46. package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
  47. package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
  48. package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
  49. package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
  50. package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -2
  51. package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
  52. package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
  53. package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
  54. package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
  55. package/docs/html/modules.html +1 -1
  56. package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -1
  57. package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
  58. package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
  59. package/docs/html/variables/RXAP_ERROR_DIALOG_DISABLED.html +1 -1
  60. package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
  61. package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
  62. package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
  63. package/docs/markdown/README.md +1 -1
  64. package/docs/markdown/classes/AngularErrorComponent.md +6 -6
  65. package/docs/markdown/classes/AngularErrorService.md +5 -5
  66. package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
  67. package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
  68. package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
  69. package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
  70. package/docs/markdown/classes/ErrorCaptureDialogService.md +6 -6
  71. package/docs/markdown/classes/ErrorCaptureService.md +5 -5
  72. package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
  73. package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
  74. package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
  75. package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
  76. package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
  77. package/docs/markdown/classes/RxapErrorHandler.md +7 -7
  78. package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
  79. package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
  80. package/docs/markdown/functions/ExtractContextFromError.md +2 -2
  81. package/docs/markdown/functions/ExtractError.md +2 -2
  82. package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
  83. package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
  84. package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
  85. package/docs/markdown/functions/PrintError.md +2 -2
  86. package/docs/markdown/functions/ProvideErrorHandler.md +2 -2
  87. package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
  88. package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
  89. package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +2 -2
  90. package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
  91. package/docs/markdown/globals.md +2 -2
  92. package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
  93. package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
  94. package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
  95. package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
  96. package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
  97. package/docs/markdown/interfaces/IErrorCaptureDialogService.md +3 -3
  98. package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
  99. package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
  100. package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
  101. package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
  102. package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +2 -2
  103. package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
  104. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
  105. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DISABLED.md +2 -2
  106. package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
  107. package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
  108. package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
  109. package/docs/wiki/Class.AngularErrorComponent.md +5 -5
  110. package/docs/wiki/Class.AngularErrorService.md +4 -4
  111. package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
  112. package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
  113. package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
  114. package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
  115. package/docs/wiki/Class.ErrorCaptureDialogService.md +5 -5
  116. package/docs/wiki/Class.ErrorCaptureService.md +4 -4
  117. package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
  118. package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
  119. package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
  120. package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
  121. package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
  122. package/docs/wiki/Class.RxapErrorHandler.md +6 -6
  123. package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
  124. package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
  125. package/docs/wiki/Function.ExtractContextFromError.md +1 -1
  126. package/docs/wiki/Function.ExtractError.md +1 -1
  127. package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
  128. package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
  129. package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
  130. package/docs/wiki/Function.PrintError.md +1 -1
  131. package/docs/wiki/Function.ProvideErrorHandler.md +1 -1
  132. package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
  133. package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
  134. package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +1 -1
  135. package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
  136. package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
  137. package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
  138. package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
  139. package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
  140. package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
  141. package/docs/wiki/Interface.IErrorCaptureDialogService.md +2 -2
  142. package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
  143. package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
  144. package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
  145. package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
  146. package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +1 -1
  147. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
  148. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
  149. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DISABLED.md +1 -1
  150. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
  151. package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
  152. package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
  153. package/docs/wiki/globals.md +1 -1
  154. package/fesm2022/rxap-ngx-error.mjs +60 -66
  155. package/fesm2022/rxap-ngx-error.mjs.map +1 -1
  156. package/package.json +42 -41
  157. package/types/rxap-ngx-error.d.ts +256 -0
  158. package/index.d.ts +0 -24
  159. package/lib/any-http-error/any-http-error-dialog-data.d.ts +0 -36
  160. package/lib/any-http-error/any-http-error.component.d.ts +0 -9
  161. package/lib/any-http-error/any-http-error.service.d.ts +0 -11
  162. package/lib/code-http-error/code-http-error-dialog-data.d.ts +0 -7
  163. package/lib/code-http-error/code-http-error.component.d.ts +0 -10
  164. package/lib/code-http-error/code-http-error.service.d.ts +0 -10
  165. package/lib/error/angular-error-dialog-data.d.ts +0 -8
  166. package/lib/error/angular-error.component.d.ts +0 -11
  167. package/lib/error/angular-error.service.d.ts +0 -10
  168. package/lib/error-capture-dialog.service.d.ts +0 -16
  169. package/lib/error-capture.service.d.ts +0 -12
  170. package/lib/error-dialog/error-dialog.component.d.ts +0 -20
  171. package/lib/error-handler.d.ts +0 -27
  172. package/lib/error-interceptor-options.d.ts +0 -7
  173. package/lib/http-error-interceptor.d.ts +0 -3
  174. package/lib/message-http-error/message-http-error-dialog-data.d.ts +0 -6
  175. package/lib/message-http-error/message-http-error.component.d.ts +0 -10
  176. package/lib/message-http-error/message-http-error.service.d.ts +0 -10
  177. package/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.d.ts +0 -7
  178. package/lib/open-api-http-response-error/open-api-http-response-error.component.d.ts +0 -9
  179. package/lib/open-api-http-response-error/open-api-http-response-error.service.d.ts +0 -10
  180. package/lib/provide.d.ts +0 -10
  181. package/lib/tokens.d.ts +0 -11
  182. package/lib/utilities.d.ts +0 -19
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
- import { CommonModule, NgIf, NgClass, NgForOf, DOCUMENT, DatePipe, KeyValuePipe, JsonPipe } from '@angular/common';
2
+ import { CommonModule, NgClass, DatePipe, KeyValuePipe, JsonPipe } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, inject, Component, ChangeDetectionStrategy, signal, computed, EventEmitter, INJECTOR, Injector, ViewChild, Output, ApplicationRef, createComponent, Injectable, isDevMode, runInInjectionContext, ErrorHandler } from '@angular/core';
4
+ import { InjectionToken, inject, ChangeDetectionStrategy, Component, signal, computed, EventEmitter, INJECTOR, Injector, Output, ViewChild, ApplicationRef, DOCUMENT, createComponent, Injectable, isDevMode, runInInjectionContext, ErrorHandler } from '@angular/core';
5
5
  import { CopyToClipboardComponent, JsonViewerComponent } from '@rxap/components';
6
6
  import * as i1$2 from '@rxap/data-grid';
7
7
  import { DataGridCellDefDirective, DataGridComponent, DataGridRowDefDirective, DataGridModule } from '@rxap/data-grid';
@@ -30,26 +30,26 @@ class OpenApiHttpResponseErrorComponent {
30
30
  this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
31
31
  this.error = inject(RXAP_ERROR_DIALOG_ERROR);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OpenApiHttpResponseErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: OpenApiHttpResponseErrorComponent, isStandalone: true, selector: "rxap-open-api-http-response-error", ngImport: i0, template: "<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", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.JsonPipe, name: "json" }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "directive", type: DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "component", type: DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: OpenApiHttpResponseErrorComponent, isStandalone: true, selector: "rxap-open-api-http-response-error", ngImport: i0, template: "<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 @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "directive", type: DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "component", type: DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "pipe", type: i1.JsonPipe, name: "json" }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OpenApiHttpResponseErrorComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorComponent, decorators: [{
37
37
  type: Component,
38
38
  args: [{ selector: 'rxap-open-api-http-response-error', imports: [
39
39
  CommonModule, CopyToClipboardComponent, DataGridCellDefDirective, DataGridComponent,
40
40
  DataGridRowDefDirective, JsonViewerComponent,
41
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<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" }]
41
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<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 @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
42
42
  }] });
43
43
 
44
44
  class ErrorDialogComponent {
45
45
  constructor() {
46
46
  this.data = inject(RXAP_ERROR_DIALOG_DATA);
47
- this.activeIndex = signal(0);
47
+ this.activeIndex = signal(0, ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
48
48
  this.displayedButtons = computed(() => {
49
49
  const start = Math.max(0, this.activeIndex() - 2);
50
50
  const end = Math.min(this.data().length, start + 5);
51
51
  return Array.from({ length: end - start }, (_, i) => start + i);
52
- });
52
+ }, ...(ngDevMode ? [{ debugName: "displayedButtons" }] : /* istanbul ignore next */ []));
53
53
  this.closeDialog = new EventEmitter();
54
54
  this.component = inject(RXAP_ERROR_DIALOG_COMPONENT);
55
55
  this.injector = inject(INJECTOR);
@@ -66,7 +66,7 @@ class ErrorDialogComponent {
66
66
  ],
67
67
  });
68
68
  return new ComponentPortal(this.component, null, injector);
69
- });
69
+ }, ...(ngDevMode ? [{ debugName: "componentPortal" }] : /* istanbul ignore next */ []));
70
70
  }
71
71
  ngAfterViewInit() {
72
72
  this.dialog.nativeElement.showModal();
@@ -75,17 +75,15 @@ class ErrorDialogComponent {
75
75
  this.dialog.nativeElement.close();
76
76
  this.closeDialog.emit();
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
79
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", 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 bg-white text-black 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\">\n 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\">\n 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::backdrop{background:#000000b3}\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 }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
79
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", 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 bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n @if (data().length > 1) {\n <div class=\"controls flex justify-center space-x-2 mt-4\">\n @if (activeIndex() > 0) {\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n 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\">\n Previous\n </button>\n }\n @for (item of displayedButtons(); track item) {\n <button (click)=\"activeIndex.set(item)\"\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 }\n @if (activeIndex() < data().length - 1) {\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n 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\">\n Next\n </button>\n }\n </div>\n }\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::backdrop{background:#000000b3}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorDialogComponent, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorDialogComponent, decorators: [{
82
82
  type: Component,
83
83
  args: [{ selector: 'rxap-error-dialog', changeDetection: ChangeDetectionStrategy.Default, imports: [
84
- NgIf,
85
84
  NgClass,
86
- NgForOf,
87
- PortalModule,
88
- ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl bg-white text-black 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\">\n 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\">\n 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::backdrop{background:#000000b3}\n"] }]
85
+ PortalModule
86
+ ], template: "<dialog #dialog\n class=\"rounded overflow-auto drop-shadow-2xl bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6\"\n style=\"max-width: 80vw; max-height: 80vh\">\n @if (data().length > 1) {\n <div class=\"controls flex justify-center space-x-2 mt-4\">\n @if (activeIndex() > 0) {\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n 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\">\n Previous\n </button>\n }\n @for (item of displayedButtons(); track item) {\n <button (click)=\"activeIndex.set(item)\"\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 }\n @if (activeIndex() < data().length - 1) {\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n 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\">\n Next\n </button>\n }\n </div>\n }\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::backdrop{background:#000000b3}\n"] }]
89
87
  }], propDecorators: { dialog: [{
90
88
  type: ViewChild,
91
89
  args: ['dialog', { static: true }]
@@ -138,10 +136,10 @@ class ErrorCaptureDialogService {
138
136
  };
139
137
  });
140
138
  }
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
142
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureDialogService, providedIn: 'root' }); }
139
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
140
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, providedIn: 'root' }); }
143
141
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureDialogService, decorators: [{
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureDialogService, decorators: [{
145
143
  type: Injectable,
146
144
  args: [{ providedIn: 'root' }]
147
145
  }] });
@@ -163,14 +161,14 @@ class ErrorCaptureService {
163
161
  return;
164
162
  }
165
163
  }
166
- const newList = signal([error]);
164
+ const newList = signal([error], ...(ngDevMode ? [{ debugName: "newList" }] : /* istanbul ignore next */ []));
167
165
  this.errorList.push(newList);
168
166
  this.errorCaptureDialogService.open(this.component, newList);
169
167
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
171
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureService }); }
168
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
169
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService }); }
172
170
  }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ErrorCaptureService, decorators: [{
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ErrorCaptureService, decorators: [{
174
172
  type: Injectable
175
173
  }] });
176
174
 
@@ -179,21 +177,19 @@ class AnyHttpErrorComponent {
179
177
  this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
180
178
  this.error = inject(RXAP_ERROR_DIALOG_ERROR);
181
179
  }
182
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnyHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
183
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: AnyHttpErrorComponent, isStandalone: true, selector: "rxap-any-http-error", ngImport: i0, template: "<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", styles: [""], dependencies: [{ kind: "ngmodule", type: DataGridModule }, { kind: "component", type: i1$2.DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: i1$2.DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: i1$2.DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "pipe", type: JsonPipe, name: "json" }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
181
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AnyHttpErrorComponent, isStandalone: true, selector: "rxap-any-http-error", ngImport: i0, template: "<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 @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DataGridModule }, { kind: "component", type: i1$2.DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: i1$2.DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: i1$2.DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value", "containerClass", "position"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
184
182
  }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnyHttpErrorComponent, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorComponent, decorators: [{
186
184
  type: Component,
187
185
  args: [{ selector: 'rxap-any-http-error', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
188
186
  DataGridModule,
189
- NgIf,
190
187
  DatePipe,
191
188
  KeyValuePipe,
192
- NgForOf,
193
189
  CopyToClipboardComponent,
194
190
  JsonPipe,
195
- JsonViewerComponent,
196
- ], template: "<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" }]
191
+ JsonViewerComponent
192
+ ], template: "<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 @for (entry of value | keyvalue; track entry) {\n <ng-container [rxapDataGridRowDef]=\"$any(entry.key)\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (value.length > 1) {\n <ul>\n @for (item of value; track item) {\n <li>{{ item }}</li>\n }\n </ul>\n }\n @if (value.length === 1) {\n {{ value[0] }}\n }\n @if (value.length === 0) {\n NONE\n }\n </td>\n </ng-container>\n }\n </rxap-data-grid>\n </td>\n </ng-container>\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"error\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n @if (!isProduction) {\n <ng-container rxapDataGridRowDef=\"body\">\n <td *rxapDataGridCellDef=\"let value\">\n @if (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 }\n @if (!value) {\n NONE\n }\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
197
193
  }] });
198
194
 
199
195
  class AnyHttpErrorService extends ErrorCaptureService {
@@ -204,10 +200,10 @@ class AnyHttpErrorService extends ErrorCaptureService {
204
200
  compare(a, b) {
205
201
  return a.url === b.url && a.method === b.method && a.status === b.status && a.message === b.message;
206
202
  }
207
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnyHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
208
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnyHttpErrorService, providedIn: 'root' }); }
203
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
204
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, providedIn: 'root' }); }
209
205
  }
210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnyHttpErrorService, decorators: [{
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AnyHttpErrorService, decorators: [{
211
207
  type: Injectable,
212
208
  args: [{ providedIn: 'root' }]
213
209
  }] });
@@ -220,10 +216,10 @@ class OpenApiHttpResponseErrorService extends AnyHttpErrorService {
220
216
  compare(a, b) {
221
217
  return true;
222
218
  }
223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OpenApiHttpResponseErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
224
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OpenApiHttpResponseErrorService, providedIn: 'root' }); }
219
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
220
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, providedIn: 'root' }); }
225
221
  }
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OpenApiHttpResponseErrorService, decorators: [{
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiHttpResponseErrorService, decorators: [{
227
223
  type: Injectable,
228
224
  args: [{ providedIn: 'root' }]
229
225
  }] });
@@ -232,17 +228,16 @@ class MessageHttpErrorComponent {
232
228
  constructor() {
233
229
  this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
234
230
  this.error = inject(RXAP_ERROR_DIALOG_ERROR);
235
- this.showMore = signal(false);
231
+ this.showMore = signal(false, ...(ngDevMode ? [{ debugName: "showMore" }] : /* istanbul ignore next */ []));
236
232
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MessageHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
238
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: MessageHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<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", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
234
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: MessageHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Message:</p>\n <p>{{ error.error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
239
235
  }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MessageHttpErrorComponent, decorators: [{
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorComponent, decorators: [{
241
237
  type: Component,
242
238
  args: [{ selector: 'rxap-http-error-message', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
243
- NgIf,
244
- AnyHttpErrorComponent,
245
- ], template: "<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" }]
239
+ AnyHttpErrorComponent
240
+ ], template: "<div class=\"flex flex-col gap-2\">\n <p class=\"text-xl\">Http Error Message:</p>\n <p>{{ error.error.message }}</p>\n @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n" }]
246
241
  }] });
247
242
 
248
243
  class MessageHttpErrorService extends AnyHttpErrorService {
@@ -253,10 +248,10 @@ class MessageHttpErrorService extends AnyHttpErrorService {
253
248
  compare(a, b) {
254
249
  return super.compare(a, b) && a.error.message === b.error.message;
255
250
  }
256
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MessageHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
257
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MessageHttpErrorService, providedIn: 'root' }); }
251
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
252
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, providedIn: 'root' }); }
258
253
  }
259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MessageHttpErrorService, decorators: [{
254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MessageHttpErrorService, decorators: [{
260
255
  type: Injectable,
261
256
  args: [{ providedIn: 'root' }]
262
257
  }] });
@@ -274,12 +269,12 @@ class AngularErrorComponent {
274
269
  get hasExtra() {
275
270
  return Object.keys(this.error.extra).length > 0;
276
271
  }
277
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AngularErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
278
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: AngularErrorComponent, isStandalone: true, selector: "rxap-angular-error", ngImport: i0, template: "<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", styles: [""], dependencies: [{ kind: "ngmodule", type: DataGridModule }, { kind: "component", type: i1$2.DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: i1$2.DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: i1$2.DataGridHeaderCellDefDirective, selector: "[rxapDataGridHeaderCellDef]" }, { kind: "directive", type: i1$2.DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
272
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
273
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AngularErrorComponent, isStandalone: true, selector: "rxap-angular-error", ngImport: i0, template: "<rxap-data-grid [data]=\"error\">\n @if (error.name) {\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n }\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n @if (hasExtra || hasTags || hasContexts || error.stack) {\n <ng-container rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n }\n @if (error.stack) {\n <ng-container rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n }\n @if (hasTags) {\n <ng-container rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasExtra) {\n <ng-container rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasContexts) {\n <ng-container rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DataGridModule }, { kind: "component", type: i1$2.DataGridComponent, selector: "rxap-data-grid", inputs: ["header", "dataSource", "viewer", "data", "displayProperties", "hideEmptyProperties", "mode"], outputs: ["editModeChange"] }, { kind: "directive", type: i1$2.DataGridRowDefDirective, selector: "[rxapDataGridRowDef]", inputs: ["data", "rxapDataGridRowDef", "flip"] }, { kind: "directive", type: i1$2.DataGridHeaderCellDefDirective, selector: "[rxapDataGridHeaderCellDef]" }, { kind: "directive", type: i1$2.DataGridCellDefDirective, selector: "[rxapDataGridCellDef]" }] }); }
279
274
  }
280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AngularErrorComponent, decorators: [{
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorComponent, decorators: [{
281
276
  type: Component,
282
- args: [{ selector: 'rxap-angular-error', imports: [DataGridModule, KeyValuePipe, NgForOf, NgIf], template: "<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" }]
277
+ args: [{ selector: 'rxap-angular-error', imports: [DataGridModule, KeyValuePipe], template: "<rxap-data-grid [data]=\"error\">\n @if (error.name) {\n <ng-container rxapDataGridRowDef=\"name\"></ng-container>\n }\n <ng-container rxapDataGridRowDef=\"message\"></ng-container>\n @if (hasExtra || hasTags || hasContexts || error.stack) {\n <ng-container rxapDataGridRowDef>\n <th *rxapDataGridHeaderCellDef>\n <span i18n>Details</span>\n </th>\n </ng-container>\n }\n @if (error.stack) {\n <ng-container rxapDataGridRowDef=\"stack\">\n <td *rxapDataGridCellDef=\"let value\">\n <pre>{{ value }}</pre>\n </td>\n </ng-container>\n }\n @if (hasTags) {\n <ng-container rxapDataGridRowDef=\"tags\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasExtra) {\n <ng-container rxapDataGridRowDef=\"extra\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n @if (hasContexts) {\n <ng-container rxapDataGridRowDef=\"contexts\">\n <td *rxapDataGridCellDef=\"let value\">\n <rxap-data-grid [data]=\"value\" auto></rxap-data-grid>\n </td>\n </ng-container>\n }\n</rxap-data-grid>\n" }]
283
278
  }] });
284
279
 
285
280
  class AngularErrorService extends ErrorCaptureService {
@@ -290,10 +285,10 @@ class AngularErrorService extends ErrorCaptureService {
290
285
  compare(a, b) {
291
286
  return true;
292
287
  }
293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AngularErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
294
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AngularErrorService, providedIn: 'root' }); }
288
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
289
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, providedIn: 'root' }); }
295
290
  }
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AngularErrorService, decorators: [{
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AngularErrorService, decorators: [{
297
292
  type: Injectable,
298
293
  args: [{ providedIn: 'root' }]
299
294
  }] });
@@ -302,17 +297,16 @@ class CodeHttpErrorComponent {
302
297
  constructor() {
303
298
  this.isProduction = inject(RXAP_ENVIRONMENT, { optional: true })?.production ?? false;
304
299
  this.error = inject(RXAP_ERROR_DIALOG_ERROR);
305
- this.showMore = signal(false);
300
+ this.showMore = signal(false, ...(ngDevMode ? [{ debugName: "showMore" }] : /* istanbul ignore next */ []));
306
301
  }
307
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CodeHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
308
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: CodeHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<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", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
302
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
303
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: CodeHttpErrorComponent, isStandalone: true, selector: "rxap-http-error-message", ngImport: i0, template: "<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 @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: AnyHttpErrorComponent, selector: "rxap-any-http-error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
309
304
  }
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CodeHttpErrorComponent, decorators: [{
305
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorComponent, decorators: [{
311
306
  type: Component,
312
307
  args: [{ selector: 'rxap-http-error-message', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
313
- NgIf,
314
- AnyHttpErrorComponent,
315
- ], template: "<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" }]
308
+ AnyHttpErrorComponent
309
+ ], template: "<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 @if (!isProduction) {\n <hr>\n @if (!showMore()) {\n <button (click)=\"showMore.set(true)\"\n class=\"px-4 py-2 rounded bg-accent-500\">\n <ng-container i18n>Show more details</ng-container>\n </button>\n }\n @if (showMore()) {\n <rxap-any-http-error></rxap-any-http-error>\n }\n }\n </div>\n" }]
316
310
  }] });
317
311
 
318
312
  class CodeHttpErrorService extends AnyHttpErrorService {
@@ -323,10 +317,10 @@ class CodeHttpErrorService extends AnyHttpErrorService {
323
317
  compare(a, b) {
324
318
  return super.compare(a, b) && a.errorCode === b.errorCode;
325
319
  }
326
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CodeHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
327
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CodeHttpErrorService, providedIn: 'root' }); }
320
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
321
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, providedIn: 'root' }); }
328
322
  }
329
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CodeHttpErrorService, decorators: [{
323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CodeHttpErrorService, decorators: [{
330
324
  type: Injectable,
331
325
  args: [{ providedIn: 'root' }]
332
326
  }] });
@@ -544,10 +538,10 @@ class RxapErrorHandler {
544
538
  inject(AngularErrorService).push(data);
545
539
  });
546
540
  }
547
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
548
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapErrorHandler }); }
541
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
542
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler }); }
549
543
  }
550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapErrorHandler, decorators: [{
544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapErrorHandler, decorators: [{
551
545
  type: Injectable
552
546
  }] });
553
547