ets-fe-ng-sdk 19.0.117 → 20.0.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 (243) hide show
  1. package/fesm2022/ets-fe-ng-sdk.mjs +1591 -1632
  2. package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
  3. package/index.d.ts +14526 -3
  4. package/package.json +1 -1
  5. package/environments/environment.d.ts +0 -11
  6. package/lib/Reusables/reusable-comps/find-item/find-item.component.d.ts +0 -258
  7. package/lib/Reusables/reusable-comps/find-item/find-item.model.d.ts +0 -13
  8. package/lib/Reusables/reusable-comps/find-item/find-item.service.d.ts +0 -38
  9. package/lib/Reusables/reusable-comps/watermark/watermark.component.d.ts +0 -22
  10. package/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.d.ts +0 -7
  11. package/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.d.ts +0 -8
  12. package/lib/Reusables/reusable-pages/logger/logger-routing.module.d.ts +0 -7
  13. package/lib/Reusables/reusable-pages/logger/logger.component.d.ts +0 -71
  14. package/lib/Reusables/reusable-pages/logger/logger.interface.d.ts +0 -73
  15. package/lib/Reusables/reusable-pages/logger/logger.module.d.ts +0 -11
  16. package/lib/Reusables/reusable-pages/logger/logger.service.d.ts +0 -81
  17. package/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.d.ts +0 -28
  18. package/lib/Reusables/reusable-pages/reset/reset-routing.module.d.ts +0 -7
  19. package/lib/Reusables/reusable-pages/reset/reset.component.d.ts +0 -13
  20. package/lib/Reusables/reusable-pages/reset/reset.module.d.ts +0 -8
  21. package/lib/Reusables/reusable-pages/robot/robot-routing.module.d.ts +0 -7
  22. package/lib/Reusables/reusable-pages/robot/robot.component.d.ts +0 -8
  23. package/lib/Reusables/reusable-pages/robot/robot.module.d.ts +0 -9
  24. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.d.ts +0 -7
  25. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.d.ts +0 -23
  26. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.d.ts +0 -11
  27. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.model.d.ts +0 -56
  28. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.d.ts +0 -13
  29. package/lib/Reusables/reusable-pages/version/version-routing.module.d.ts +0 -7
  30. package/lib/Reusables/reusable-pages/version/version.component.d.ts +0 -13
  31. package/lib/Reusables/reusable-pages/version/version.module.d.ts +0 -10
  32. package/lib/Reusables/reusable-pages/version/version.service.d.ts +0 -19
  33. package/lib/Services/Interceptors/authentication-interceptor.service.d.ts +0 -27
  34. package/lib/Services/Interceptors/global-error-handler.service.d.ts +0 -28
  35. package/lib/Services/Interceptors/logger-interceptor.service.d.ts +0 -33
  36. package/lib/Services/Interceptors/request-loader-interceptor.service.d.ts +0 -24
  37. package/lib/Services/Interceptors/request-timeout.service.d.ts +0 -32
  38. package/lib/Services/api.service.d.ts +0 -255
  39. package/lib/Services/app.service.d.ts +0 -112
  40. package/lib/Services/base.effect.d.ts +0 -24
  41. package/lib/Services/base.facade.service.d.ts +0 -42
  42. package/lib/Services/base.service.d.ts +0 -81
  43. package/lib/Services/cache/cache-updater.service.d.ts +0 -10
  44. package/lib/Services/cache/cache.service.d.ts +0 -17
  45. package/lib/Services/cache/local-cache.service.d.ts +0 -17
  46. package/lib/Services/cache/saver.service.d.ts +0 -34
  47. package/lib/Services/debouncer.service.d.ts +0 -66
  48. package/lib/Services/error-reporter.service.d.ts +0 -56
  49. package/lib/Services/htmler.service.d.ts +0 -18
  50. package/lib/Services/input.service.d.ts +0 -55
  51. package/lib/Services/number-format.service.d.ts +0 -10
  52. package/lib/Services/object-size.service.d.ts +0 -14
  53. package/lib/Services/page-loader.service.d.ts +0 -62
  54. package/lib/Services/page.service.d.ts +0 -57
  55. package/lib/Services/route.service.d.ts +0 -75
  56. package/lib/Services/service-worker/check-for-update.service.d.ts +0 -33
  57. package/lib/Services/service-worker/handle-unrecoverable-state.service.d.ts +0 -24
  58. package/lib/Services/service-worker/log-update.service.d.ts +0 -20
  59. package/lib/Services/service-worker/prompt-update.service.d.ts +0 -63
  60. package/lib/Services/service-worker/service-worker.service.d.ts +0 -40
  61. package/lib/Services/storage.service.d.ts +0 -115
  62. package/lib/Services/theme.service.d.ts +0 -29
  63. package/lib/Services/translation.service.d.ts +0 -182
  64. package/lib/Services/utility.service.d.ts +0 -989
  65. package/lib/Services/window-security.service.d.ts +0 -10
  66. package/lib/Shared/classes/page-loader.class.d.ts +0 -41
  67. package/lib/Shared/components/add-item/add-item.component.d.ts +0 -31
  68. package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts +0 -75
  69. package/lib/Shared/components/autocomplete/autocomplete.component.d.ts +0 -81
  70. package/lib/Shared/components/autocomplete/autocomplete.module.d.ts +0 -6
  71. package/lib/Shared/components/autocomplete/autocomplete.service.d.ts +0 -58
  72. package/lib/Shared/components/btn/btn-lg/btn-lg.component.d.ts +0 -55
  73. package/lib/Shared/components/btn/btn-link/btn-link.component.d.ts +0 -21
  74. package/lib/Shared/components/btn/btn.component.d.ts +0 -216
  75. package/lib/Shared/components/btn/btn.model.d.ts +0 -135
  76. package/lib/Shared/components/btn/btn.module.d.ts +0 -4
  77. package/lib/Shared/components/btn/btn.service.d.ts +0 -80
  78. package/lib/Shared/components/btn/details-btn/details-btn.component.d.ts +0 -17
  79. package/lib/Shared/components/btn/details-btn/details-btn.module.d.ts +0 -1
  80. package/lib/Shared/components/card/card.component.d.ts +0 -22
  81. package/lib/Shared/components/card/card.module.d.ts +0 -1
  82. package/lib/Shared/components/confirm-dialog/confirm-dialog.component.d.ts +0 -36
  83. package/lib/Shared/components/confirm-dialog/confirm-dialog.module.d.ts +0 -1
  84. package/lib/Shared/components/confirm-dialog/confirm-dialog.service.d.ts +0 -21
  85. package/lib/Shared/components/core/button/button.component.d.ts +0 -28
  86. package/lib/Shared/components/core/button/components.module.d.ts +0 -1
  87. package/lib/Shared/components/documents-name-display/documents-name-display.component.d.ts +0 -44
  88. package/lib/Shared/components/documents-name-display/documents-name-display.model.d.ts +0 -6
  89. package/lib/Shared/components/documents-name-display/documents-name-display.module.d.ts +0 -1
  90. package/lib/Shared/components/editable-text-case/editable-text-case.component.d.ts +0 -63
  91. package/lib/Shared/components/editable-text-case/editable-text-case.module.d.ts +0 -1
  92. package/lib/Shared/components/export-table/export-table.component.d.ts +0 -61
  93. package/lib/Shared/components/export-table/export-table.module.d.ts +0 -1
  94. package/lib/Shared/components/fields-to-display/fields-to-display.component.d.ts +0 -66
  95. package/lib/Shared/components/file-upload/file-upload.component.d.ts +0 -96
  96. package/lib/Shared/components/form-error/form-error.component.d.ts +0 -73
  97. package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +0 -95
  98. package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +0 -234
  99. package/lib/Shared/components/form-generator/form-generator.component.d.ts +0 -207
  100. package/lib/Shared/components/form-generator/form-generator.module.d.ts +0 -1
  101. package/lib/Shared/components/form-generator/form-generator.service.d.ts +0 -45
  102. package/lib/Shared/components/form-link/form-link.component.d.ts +0 -47
  103. package/lib/Shared/components/form-link/form-link.module.d.ts +0 -1
  104. package/lib/Shared/components/form-tab-headers/form-tab-headers.component.d.ts +0 -13
  105. package/lib/Shared/components/form-tab-headers/form-tab-headers.module.d.ts +0 -1
  106. package/lib/Shared/components/idler/idler.component.d.ts +0 -41
  107. package/lib/Shared/components/idler/idler.service.d.ts +0 -71
  108. package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +0 -93
  109. package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +0 -67
  110. package/lib/Shared/components/info-dialog/info-dialog.module.d.ts +0 -4
  111. package/lib/Shared/components/info-dialog/info-dialog.service.d.ts +0 -13
  112. package/lib/Shared/components/info-icon/info-icon.component.d.ts +0 -17
  113. package/lib/Shared/components/info-icon/info-icon.module.d.ts +0 -1
  114. package/lib/Shared/components/input/date-input/date-input.component.d.ts +0 -137
  115. package/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.d.ts +0 -64
  116. package/lib/Shared/components/input/input-base.component.d.ts +0 -264
  117. package/lib/Shared/components/input/input-basic.component.d.ts +0 -96
  118. package/lib/Shared/components/input/input-control.component.d.ts +0 -28
  119. package/lib/Shared/components/input/input-label/input-label.component.d.ts +0 -49
  120. package/lib/Shared/components/input/input-label/input-label.module.d.ts +0 -1
  121. package/lib/Shared/components/input/input-shared.module.d.ts +0 -30
  122. package/lib/Shared/components/input/input-td-rf.component.d.ts +0 -58
  123. package/lib/Shared/components/input/input.component.d.ts +0 -82
  124. package/lib/Shared/components/input/input.model.d.ts +0 -16
  125. package/lib/Shared/components/input/input.module.d.ts +0 -23
  126. package/lib/Shared/components/input/input.service.d.ts +0 -189
  127. package/lib/Shared/components/input/inputs-pipes.pipe.d.ts +0 -61
  128. package/lib/Shared/components/input/inputs.component.d.ts +0 -11
  129. package/lib/Shared/components/input/validation-message/validation-message.component.d.ts +0 -75
  130. package/lib/Shared/components/input/validation-message/validation-message.module.d.ts +0 -1
  131. package/lib/Shared/components/input/validation-message/validation-message.service.d.ts +0 -73
  132. package/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.d.ts +0 -38
  133. package/lib/Shared/components/input-NgModel/input-ngmodel.component.d.ts +0 -165
  134. package/lib/Shared/components/input-NgModel/input-ngmodel.module.d.ts +0 -1
  135. package/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.d.ts +0 -50
  136. package/lib/Shared/components/input-table/input-table.component.d.ts +0 -76
  137. package/lib/Shared/components/input-table/input-table.model.d.ts +0 -23
  138. package/lib/Shared/components/input-table/input-table.service.d.ts +0 -8
  139. package/lib/Shared/components/label/label.component.d.ts +0 -25
  140. package/lib/Shared/components/label/label.module.d.ts +0 -1
  141. package/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.d.ts +0 -5
  142. package/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.d.ts +0 -5
  143. package/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.d.ts +0 -5
  144. package/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.d.ts +0 -5
  145. package/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.d.ts +0 -5
  146. package/lib/Shared/components/loader/loader.component.d.ts +0 -88
  147. package/lib/Shared/components/loader/loader.module.d.ts +0 -1
  148. package/lib/Shared/components/loader/spinner.component.d.ts +0 -8
  149. package/lib/Shared/components/modal/modal-body.directive.d.ts +0 -27
  150. package/lib/Shared/components/modal/modal-footer.directive.d.ts +0 -27
  151. package/lib/Shared/components/modal/modal.component.d.ts +0 -154
  152. package/lib/Shared/components/modal/modal.model.d.ts +0 -21
  153. package/lib/Shared/components/modal/modal.module.d.ts +0 -1
  154. package/lib/Shared/components/modal-components/modal.components.d.ts +0 -7
  155. package/lib/Shared/components/modal-form/modal-form.component.d.ts +0 -79
  156. package/lib/Shared/components/modal-form/modal-form.module.d.ts +0 -1
  157. package/lib/Shared/components/modal-header/modal-header.component.d.ts +0 -35
  158. package/lib/Shared/components/modal-header/modal-header.module.d.ts +0 -1
  159. package/lib/Shared/components/narration-history-comp/narration-history-comp.component.d.ts +0 -34
  160. package/lib/Shared/components/notifications/notifications.component.d.ts +0 -10
  161. package/lib/Shared/components/notifications/notifications.service.d.ts +0 -9
  162. package/lib/Shared/components/page-center-body/page-center-body.component.d.ts +0 -5
  163. package/lib/Shared/components/page-template/page-template.component.d.ts +0 -181
  164. package/lib/Shared/components/page-template/page-template.module.d.ts +0 -1
  165. package/lib/Shared/components/page-to-component/page-to-component.component.d.ts +0 -70
  166. package/lib/Shared/components/page-to-component/page-to-component.directive.d.ts +0 -8
  167. package/lib/Shared/components/page-to-component/page-to-component.module.d.ts +0 -1
  168. package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +0 -33
  169. package/lib/Shared/components/paginator/paginator.component.d.ts +0 -57
  170. package/lib/Shared/components/phone-number/phone-number.component.d.ts +0 -129
  171. package/lib/Shared/components/phone-number/phone-number.service.d.ts +0 -33
  172. package/lib/Shared/components/rich-text-editor/rich-text-editor.component.d.ts +0 -94
  173. package/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.d.ts +0 -41
  174. package/lib/Shared/components/row-actions/row-actions.component.d.ts +0 -74
  175. package/lib/Shared/components/row-actions/row-actions.module.d.ts +0 -1
  176. package/lib/Shared/components/svg-icon/svg-icon.component.d.ts +0 -20
  177. package/lib/Shared/components/svg-icon/svg-icon.model.d.ts +0 -1
  178. package/lib/Shared/components/svg-icon/svg-icon.module.d.ts +0 -1
  179. package/lib/Shared/components/svg-icon/svg-icon.service.d.ts +0 -11
  180. package/lib/Shared/components/table/table-base.component.d.ts +0 -240
  181. package/lib/Shared/components/table/table-https/table-https.component.d.ts +0 -168
  182. package/lib/Shared/components/table/table-input/table-input-row/table-input-row.component.d.ts +0 -54
  183. package/lib/Shared/components/table/table-input/table-input.component.d.ts +0 -251
  184. package/lib/Shared/components/table/table-input/table-input.model.d.ts +0 -21
  185. package/lib/Shared/components/table/table-plain/table-plain.component.d.ts +0 -118
  186. package/lib/Shared/components/table/table-plain.service.d.ts +0 -52
  187. package/lib/Shared/components/table/table.pipe.d.ts +0 -87
  188. package/lib/Shared/components/text/text.component.d.ts +0 -6
  189. package/lib/Shared/components/text/text.module.d.ts +0 -1
  190. package/lib/Shared/components/text-area-modal/text-area-modal.component.d.ts +0 -27
  191. package/lib/Shared/components/text-area-modal/text-area-modal.service.d.ts +0 -10
  192. package/lib/Shared/components/text-case-1/text-case-1.component.d.ts +0 -53
  193. package/lib/Shared/components/text-case-1/text-case-1.module.d.ts +0 -1
  194. package/lib/Shared/components/text-case-2/text-case-2.component.d.ts +0 -219
  195. package/lib/Shared/components/text-case-2/text-case-2.module.d.ts +0 -1
  196. package/lib/Shared/components/text-case-2/text-case.service.d.ts +0 -23
  197. package/lib/Shared/components/text-case-input/text-case-input.component.d.ts +0 -9
  198. package/lib/Shared/components/text-case-input/text-case-input.module.d.ts +0 -1
  199. package/lib/Shared/components/toggle-input-form/toggle-input-form.component.d.ts +0 -138
  200. package/lib/Shared/components/toggle-input-form/toggle-input-form.model.d.ts +0 -27
  201. package/lib/Shared/components/translator-case/translator-case.component.d.ts +0 -6
  202. package/lib/Shared/components/vertical-nav/vertical-nav.component.d.ts +0 -101
  203. package/lib/Shared/components/view-form-buttons/view-form-buttons.component.d.ts +0 -23
  204. package/lib/Shared/components/view-form-buttons/view-form-buttons.module.d.ts +0 -1
  205. package/lib/Shared/components/webcam-media/webcam-media.component.d.ts +0 -162
  206. package/lib/Shared/components/webcam-media/webcam-media.model.d.ts +0 -7
  207. package/lib/Shared/directives/commafy-number.directive.d.ts +0 -104
  208. package/lib/Shared/directives/drag-drop-file-upload.directive.d.ts +0 -50
  209. package/lib/Shared/directives/form-invalid-class.directive.d.ts +0 -49
  210. package/lib/Shared/directives/index.directive.d.ts +0 -369
  211. package/lib/Shared/directives/input-formatter.directive.d.ts +0 -166
  212. package/lib/Shared/directives/integer-only.directive.d.ts +0 -60
  213. package/lib/Shared/directives/mHref.directive.d.ts +0 -6
  214. package/lib/Shared/directives/native-event-listeners.directive.d.ts +0 -228
  215. package/lib/Shared/directives/negative-number-only.directive.d.ts +0 -30
  216. package/lib/Shared/directives/responsiveness.directive.d.ts +0 -157
  217. package/lib/Shared/directives/translator.directive.d.ts +0 -45
  218. package/lib/Shared/injection-tokens/index.injection-tokens.d.ts +0 -3
  219. package/lib/Shared/models/IMenuItem.d.ts +0 -247
  220. package/lib/Shared/models/RouteItem.class.d.ts +0 -120
  221. package/lib/Shared/models/environment.model.d.ts +0 -204
  222. package/lib/Shared/models/form-schema.model.d.ts +0 -1
  223. package/lib/Shared/models/form.class.d.ts +0 -175
  224. package/lib/Shared/models/index.model.d.ts +0 -938
  225. package/lib/Shared/models/translator.model.d.ts +0 -27
  226. package/lib/Shared/pipes/form-invalid-class.pipe.d.ts +0 -28
  227. package/lib/Shared/pipes/number.pipe.d.ts +0 -15
  228. package/lib/Shared/pipes/paginator.pipe.d.ts +0 -28
  229. package/lib/Shared/pipes/translate.pipe.d.ts +0 -104
  230. package/lib/Shared/pipes/utility.pipe.d.ts +0 -715
  231. package/lib/Shared/prototypes/prototypes.d.ts +0 -201
  232. package/lib/Shared/shared.module.d.ts +0 -105
  233. package/lib/authentication/web-user/web-user-authentication.guard.d.ts +0 -15
  234. package/lib/authentication/web-user/web-user-authentication.interceptor.d.ts +0 -17
  235. package/lib/authentication/web-user/web-user-authentication.model.d.ts +0 -34
  236. package/lib/authentication/web-user/web-user-authentication.service.d.ts +0 -91
  237. package/lib/authentication/web-user/web-user-forgot-password.component.d.ts +0 -46
  238. package/lib/authentication/web-user/web-user-login.component.d.ts +0 -45
  239. package/lib/authentication/web-user/web-user-reset-password.component.d.ts +0 -59
  240. package/lib/configs/base-functions.d.ts +0 -141
  241. package/lib/configs/index.config.d.ts +0 -95
  242. package/lib/configs/validation-messages.config.d.ts +0 -20
  243. package/public-api.d.ts +0 -215
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "19.0.117",
3
+ "version": "20.0.0",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },
@@ -1,11 +0,0 @@
1
- import 'zone.js/plugins/zone-error';
2
- import { Environment } from '../lib/Shared/models/environment.model';
3
- /**
4
- * Environment configuration for the application.
5
- *
6
- * This constant defines the environment settings for the development environment.
7
- * It creates a new Environment instance with parameters:
8
- * @param {boolean} false - Indicates this is not a production environment
9
- * @param {string} 'Development' - The name of the current environment
10
- */
11
- export declare const environment: Environment;
@@ -1,258 +0,0 @@
1
- import { OnInit, TemplateRef, ElementRef } from '@angular/core';
2
- import { AbstractControl, FormGroup } from '@angular/forms';
3
- import { Observable, Subject } from 'rxjs';
4
- import { UserActivityService } from '../../../Reusables/reusable-pages/user-activity/ua-extras/user-activity.service';
5
- import { ITableSearchResp, TableHttpsComponent } from '../../../Shared/components/table/table-https/table-https.component';
6
- import { IObjectLiteral, IRowOption, IStrictFormGroup, SortType, TableCol } from '../../../Shared/models/index.model';
7
- import { TablePlainComponent } from '../../../Shared/components/table/table-plain/table-plain.component';
8
- import { ActivatedRoute, Router } from '@angular/router';
9
- import { BaseFormGenerator, IBaseFormSchema } from '../../../Shared/components/form-generator/form-generator.base.component';
10
- import { FindItemService } from './find-item.service';
11
- import { IFindItemShownFields } from './find-item.model';
12
- import { IconType } from '../../../Shared/components/btn/btn.model';
13
- import { PipeTransform } from '@angular/core';
14
- import * as i0 from "@angular/core";
15
- export declare class widthOffsetPipe implements PipeTransform {
16
- transform(width: number): number;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<widthOffsetPipe, never>;
18
- static ɵpipe: i0.ɵɵPipeDeclaration<widthOffsetPipe, "widthOffsetPipe", true>;
19
- }
20
- /**
21
- * A reusable component for searching and displaying items in a table format.
22
- * Supports both client-side and server-side searching, pagination, and various display options.
23
- *
24
- * @template TQuery - The type of the search query object
25
- * @template TRow - The type of the row data object
26
- */
27
- export declare class FindItemComponent<TQuery extends IObjectLiteral = any, TRow extends IObjectLiteral = any> extends BaseFormGenerator<TQuery, ISearchFormSchema<TQuery, TRow>> implements OnInit {
28
- /** Reference to action buttons in the template */
29
- readonly actionBtns: import("@angular/core").Signal<readonly ElementRef<HTMLSpanElement>[]>;
30
- /** Computed map of action button element IDs */
31
- readonly fieldWidthOffsets: import("@angular/core").Signal<{
32
- [x: string]: ElementRef<HTMLSpanElement>;
33
- }>;
34
- /** Effect to log action buttons when they change */
35
- readonly actionBtnsEffect: import("@angular/core").EffectRef;
36
- /**
37
- * Whether to automatically format the schema based on field types
38
- */
39
- readonly autoFormatSchema: import("@angular/core").InputSignal<boolean>;
40
- /** Unique identifier for this component instance */
41
- readonly id: import("@angular/core").InputSignal<string>;
42
- /** Whether to automatically order form fields */
43
- readonly autoOrder: import("@angular/core").InputSignal<boolean>;
44
- /** Text to display on the search button */
45
- readonly searchButtonText: import("@angular/core").InputSignal<string>;
46
- /** Icon to display on the search button */
47
- readonly searchButtonIcon: import("@angular/core").InputSignal<IconType>;
48
- /** Whether to center cell content in the table */
49
- readonly centerCells: import("@angular/core").InputSignal<boolean>;
50
- /** Columns to display in the table */
51
- readonly _displayedColumns: import("@angular/core").InputSignal<TableCol<TRow>[]>;
52
- /** Computed columns with optional label formatting */
53
- readonly displayedColumns: import("@angular/core").Signal<TableCol<TRow>[]>;
54
- /**
55
- * CSS class for grid layout configuration
56
- */
57
- readonly gridClass: import("@angular/core").InputSignal<string>;
58
- /** Whether to hide the search form */
59
- readonly hideForm: import("@angular/core").InputSignal<boolean>;
60
- /** Custom templates for table cells */
61
- readonly customTableCellTemplates: import("@angular/core").InputSignal<{ [k in keyof TRow]?: TemplateRef<any>; }>;
62
- /** Template for expanded rows */
63
- readonly expandedRowTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
64
- /** Whether the table is paginated */
65
- readonly isTablePaginated: import("@angular/core").Signal<boolean>;
66
- /** Function to map row data to row options */
67
- readonly rowOptionsMap: import("@angular/core").InputSignal<(row: TRow) => (IRowOption<TRow> | null)[]>;
68
- /** Whether rows can be expanded */
69
- readonly isExpandable: import("@angular/core").InputSignal<boolean>;
70
- /** Label for the component */
71
- readonly label: import("@angular/core").InputSignal<string>;
72
- /** Whether to prevent text wrapping in cells */
73
- readonly nowrap: import("@angular/core").InputSignal<boolean>;
74
- /** Options for row actions */
75
- readonly options: import("@angular/core").InputSignal<IRowOption<TRow>[]>;
76
- /** Direction for sorting */
77
- readonly orderDirection: import("@angular/core").InputSignal<SortType>;
78
- /** Field to sort by */
79
- readonly orderField: import("@angular/core").InputSignal<keyof TRow>;
80
- /** Number of items per page */
81
- readonly pageSize: import("@angular/core").InputSignal<number>;
82
- /** Function to perform search and return results */
83
- readonly searchFunction: import("@angular/core").InputSignal<(data: any) => Observable<TRow[] | {
84
- content: TRow[];
85
- }>>;
86
- /** Whether to show data in the table */
87
- readonly showData: import("@angular/core").InputSignal<boolean>;
88
- /** Whether to search even if no query parameters are provided */
89
- readonly searchIfNoQuery: import("@angular/core").InputSignal<boolean>;
90
- /** Whether to use compact display mode */
91
- readonly isCompact: import("@angular/core").InputSignal<boolean>;
92
- /** Whether to show export button */
93
- readonly showExport: import("@angular/core").InputSignal<boolean>;
94
- /** Whether to show filter controls */
95
- readonly showFilter: import("@angular/core").InputSignal<boolean>;
96
- /** Whether to show refresh button */
97
- readonly showRefreshBtn: import("@angular/core").InputSignal<boolean>;
98
- /** Whether to use static loader */
99
- readonly useStaticLoader: import("@angular/core").InputSignal<boolean>;
100
- /** Whether to use striped rows in the table */
101
- readonly striped: import("@angular/core").InputSignal<boolean>;
102
- /** Text to display when no search has been performed */
103
- readonly searchPromptText: import("@angular/core").InputSignal<string>;
104
- /** Template for content at the start of the component */
105
- readonly startSectionTemplate: import("@angular/core").InputSignal<TemplateRef<HTMLElement>>;
106
- /** Form group for the search form */
107
- form: FormGroup;
108
- /**
109
- * Whether to show the search button
110
- */
111
- readonly showSearchBtn: import("@angular/core").InputSignal<boolean>;
112
- /**
113
- * Whether to show the clear form button
114
- */
115
- readonly showClearBtn: import("@angular/core").InputSignal<boolean>;
116
- /**
117
- * Whether to show validation messages
118
- */
119
- readonly showValidationMsg: import("@angular/core").InputSignal<boolean>;
120
- /** Route for create button */
121
- readonly createBtnRoute: import("@angular/core").InputSignal<string>;
122
- /**
123
- * Whether to show additional column selection
124
- */
125
- readonly showAdditionalColumns: import("@angular/core").InputSignal<boolean>;
126
- /** Whether to use smaller fonts */
127
- readonly smallerFonts: import("@angular/core").InputSignal<boolean>;
128
- /** Whether to use checkboxes for row selection */
129
- readonly useSelection: import("@angular/core").InputSignal<boolean>;
130
- /** Initial query values */
131
- readonly initialQuery: import("@angular/core").ModelSignal<{ [k in keyof TQuery]?: TQuery[k]; }>;
132
- /** Event emitted when a row is clicked */
133
- readonly _rowClick: import("@angular/core").OutputEmitterRef<TRow>;
134
- /** Event emitted when a row is expanded or collapsed */
135
- readonly clickedExpandRow: import("@angular/core").OutputEmitterRef<{
136
- open: boolean;
137
- row: TRow;
138
- }>;
139
- /** Event emitted when create button is clicked */
140
- readonly clickedCreate: import("@angular/core").OutputEmitterRef<void>;
141
- /** Reference to the HTTP table component */
142
- readonly tableHTTPSREF: import("@angular/core").Signal<TableHttpsComponent<TRow>>;
143
- /** Reference to the plain table component */
144
- readonly tablePlainRef: import("@angular/core").Signal<TablePlainComponent<TRow>>;
145
- /** Signal-based reference to the HTTP table component */
146
- readonly tableHTTPSREFSignal: import("@angular/core").Signal<TableHttpsComponent<TRow>>;
147
- /** Signal-based reference to the plain table component */
148
- readonly tablePlainRefSignal: import("@angular/core").Signal<TablePlainComponent<TRow>>;
149
- /** Data to display in the table */
150
- readonly data: import("@angular/core").WritableSignal<TRow[]>;
151
- /** Internal loading state */
152
- protected readonly _loading: import("@angular/core").WritableSignal<boolean>;
153
- /** Combined loading state from internal and table loading */
154
- readonly loading: import("@angular/core").Signal<boolean>;
155
- /** Form group for search fields */
156
- readonly searchForm: import("@angular/core").Signal<FormGroup<any>>;
157
- /** Form group for standalone fields */
158
- readonly standaloneForm: import("@angular/core").Signal<FormGroup<any>>;
159
- /**
160
- * Whether to show create button
161
- */
162
- readonly createButton: import("@angular/core").InputSignal<boolean>;
163
- /** Function to check if a field is shown in compact mode */
164
- readonly asfCheckedChecker: import("@angular/core").WritableSignal<(option: ISearchFormSchema) => boolean>;
165
- /**
166
- * Sets the form schema for the component
167
- */
168
- set _formSchema(v: ISearchFormSchema<TQuery, TRow>[]);
169
- /** Function to perform server-side search */
170
- readonly searchObservableFunc: import("@angular/core").InputSignal<(data: any) => Observable<ITableSearchResp<TRow>>>;
171
- /** Delimiter for fields in query string */
172
- protected readonly delimiterField = "~~~";
173
- /** Delimiter for words in query string */
174
- protected readonly delimiterWord = "~~";
175
- /** Subject to trigger search */
176
- readonly searchTrigger: Subject<IObjectLiteral<any>>;
177
- /** Map of fields shown in compact mode */
178
- readonly showCompactFieldsMap: import("@angular/core").WritableSignal<IFindItemShownFields<TQuery>>;
179
- /** Combined map of saved and current compact fields */
180
- readonly cShowCompactFieldsMap: import("@angular/core").Signal<IFindItemShownFields<TQuery>>;
181
- /** Map of saved compact fields */
182
- readonly savedShowCompactFieldsMap: import("@angular/core").Signal<IFindItemShownFields<unknown>>;
183
- /** Computed form schema based on compact mode and visibility */
184
- readonly _computedFormSchema: import("@angular/core").Signal<ISearchFormSchema<TQuery, TRow>[]>;
185
- /** Final computed form schema with form references */
186
- readonly computedFormSchema: import("@angular/core").Signal<ISearchFormSchema<TQuery, TRow>[]>;
187
- /** Fields that can be shown in compact mode */
188
- readonly compactedFields: import("@angular/core").Signal<ISearchFormSchema<TQuery, TRow>[]>;
189
- /** Whether the table has columns */
190
- protected readonly hasColumns: import("@angular/core").Signal<boolean>;
191
- /** Whether to hide the table */
192
- protected readonly hideTable: import("@angular/core").Signal<boolean>;
193
- /** Whether a search has been performed */
194
- protected searched: import("@angular/core").WritableSignal<boolean>;
195
- /** User activity service */
196
- uaS: UserActivityService;
197
- /** Router service */
198
- router: Router;
199
- /** Activated route */
200
- route: ActivatedRoute;
201
- /** Find item service */
202
- findItemService: FindItemService;
203
- /** Subscription manager */
204
- protected readonly subs2: {
205
- clear: () => void;
206
- push: (...subs: import("rxjs").Subscription[]) => number;
207
- subs: () => import("rxjs").Subscription[];
208
- };
209
- ngOnInit(): void;
210
- onDestroy(): void;
211
- toggleCompactField(field: ISearchFormSchema): void;
212
- readonly tempSelectedCompactedFields: import("@angular/core").WritableSignal<ISearchFormSchema<any, any>[]>;
213
- selectedCompactedFields(): void;
214
- protected saveSelectedCompactedFields(): void;
215
- fetchSavedQuery(): void;
216
- init(schema: ISearchFormSchema<TQuery, TRow>[]): void;
217
- handleAllSchema(schema: ISearchFormSchema<TQuery, TRow>[]): void;
218
- handleFormScheme(scheme: ISearchFormSchema<TQuery, TRow>): void;
219
- updateFormSchema(fieldName: keyof TQuery, scheme: Partial<ISearchFormSchema<{
220
- [k in keyof TQuery]: AbstractControl<any, any> | any;
221
- }>>): void;
222
- updateAllFormSchema(map: (formField: ISearchFormSchema<TQuery, TRow>) => ISearchFormSchema<TQuery, TRow>): ISearchFormSchema<TQuery, TRow>[];
223
- detachFormScheme(fieldName?: keyof TQuery): void;
224
- readonly searchFormValue: import("@angular/core").Signal<any>;
225
- readonly standaloneFormValue: import("@angular/core").Signal<any>;
226
- readonly allSearchFormValue: import("@angular/core").Signal<any>;
227
- trackByRowID: (index: any, item: any) => any;
228
- clearFilters(): void;
229
- refresh(): void;
230
- search(): void;
231
- fieldAction(field: ISearchFormSchema): void;
232
- protected _search(): Promise<void>;
233
- saveQuery(query?: any): void;
234
- rowClick(e: TRow): void;
235
- get selection(): TRow[];
236
- readonly selectionSignal: import("@angular/core").Signal<TRow[]>;
237
- readonly isAnySelected: import("@angular/core").Signal<boolean>;
238
- startLoader(): void;
239
- stopLoader(): void;
240
- static ɵfac: i0.ɵɵFactoryDeclaration<FindItemComponent<any, any>, never>;
241
- static ɵcmp: i0.ɵɵComponentDeclaration<FindItemComponent<any, any>, "app-find-item,find-item", never, { "autoFormatSchema": { "alias": "autoFormatSchema"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "autoOrder": { "alias": "autoOrder"; "required": false; "isSignal": true; }; "searchButtonText": { "alias": "searchButtonText"; "required": false; "isSignal": true; }; "searchButtonIcon": { "alias": "searchButtonIcon"; "required": false; "isSignal": true; }; "centerCells": { "alias": "centerCells"; "required": false; "isSignal": true; }; "_displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "gridClass": { "alias": "gridClass"; "required": false; "isSignal": true; }; "hideForm": { "alias": "hideForm"; "required": false; "isSignal": true; }; "customTableCellTemplates": { "alias": "customTableCellTemplates"; "required": false; "isSignal": true; }; "expandedRowTemplate": { "alias": "expandedRowTemplate"; "required": false; "isSignal": true; }; "rowOptionsMap": { "alias": "rowOptionsMap"; "required": false; "isSignal": true; }; "isExpandable": { "alias": "isExpandable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "nowrap": { "alias": "nowrap"; "required": false; "isSignal": true; }; "options": { "alias": "rowOptions"; "required": false; "isSignal": true; }; "orderDirection": { "alias": "orderDirection"; "required": false; "isSignal": true; }; "orderField": { "alias": "orderField"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "searchFunction": { "alias": "searchFunction"; "required": false; "isSignal": true; }; "showData": { "alias": "showData"; "required": false; "isSignal": true; }; "searchIfNoQuery": { "alias": "searchIfNoQuery"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showFilter": { "alias": "showFilter"; "required": false; "isSignal": true; }; "showRefreshBtn": { "alias": "showRefreshBtn"; "required": false; "isSignal": true; }; "useStaticLoader": { "alias": "useStaticLoader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "searchPromptText": { "alias": "searchPromptText"; "required": false; "isSignal": true; }; "startSectionTemplate": { "alias": "startSectionTemplate"; "required": false; "isSignal": true; }; "showSearchBtn": { "alias": "showSearchBtn"; "required": false; "isSignal": true; }; "showClearBtn": { "alias": "showClearBtn"; "required": false; "isSignal": true; }; "showValidationMsg": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "createBtnRoute": { "alias": "createBtnRoute"; "required": false; "isSignal": true; }; "showAdditionalColumns": { "alias": "showAdditionalColumns"; "required": false; "isSignal": true; }; "smallerFonts": { "alias": "smallerFonts"; "required": false; "isSignal": true; }; "useSelection": { "alias": "useSelection"; "required": false; "isSignal": true; }; "initialQuery": { "alias": "initialQuery"; "required": false; "isSignal": true; }; "createButton": { "alias": "createButton"; "required": false; "isSignal": true; }; "_formSchema": { "alias": "formSchema"; "required": false; }; "searchObservableFunc": { "alias": "searchObservableFunc"; "required": false; "isSignal": true; }; }, { "initialQuery": "initialQueryChange"; "_rowClick": "rowClick"; "clickedExpandRow": "clickedExpandRow"; "clickedCreate": "clickedCreate"; }, never, ["[tablePanel]"], true, never>;
242
- }
243
- /**
244
- * Interface for search form schema
245
- * Extends the base form schema with additional properties specific to search functionality
246
- */
247
- export interface ISearchFormSchema<TQuery extends IObjectLiteral = any, TRow extends IObjectLiteral = any> extends IBaseFormSchema<TQuery, FindItemComponent<TQuery, TRow>, {
248
- [K in keyof TQuery]: AbstractControl<any, any>;
249
- }> {
250
- /** Whether the field needs an action button */
251
- needsButton?: boolean;
252
- /** Whether the field is standalone (not part of the main search) */
253
- standalone?: boolean;
254
- /** Whether the field should always be visible in compact mode */
255
- nonCompact?: boolean;
256
- /** Action to perform when the field's button is clicked */
257
- action?: (row: TRow, cell: any, form?: FormGroup<IStrictFormGroup<TQuery>>) => any;
258
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Re-export the ISearchFormSchema interface from the find-item component
3
- */
4
- export { ISearchFormSchema } from './find-item.component';
5
- /**
6
- * Interface that defines which fields of a query object should be shown in the UI
7
- *
8
- * @template TQuery - The type of the query object, defaults to any
9
- * @property {boolean} [field] - For each field in TQuery, indicates whether it should be shown (true) or hidden (false/undefined)
10
- */
11
- export type IFindItemShownFields<TQuery = any> = {
12
- [field in keyof TQuery]?: boolean;
13
- };
@@ -1,38 +0,0 @@
1
- import { IFindItemShownFields } from './find-item.model';
2
- import { ETSStorageService } from '../../../Services/storage.service';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Service for managing find-item component field selections.
6
- * Handles saving and retrieving user-selected fields for find-item components.
7
- */
8
- export declare class FindItemService {
9
- sS: ETSStorageService;
10
- /**
11
- * Creates an instance of FindItemService.
12
- * @param sS - The storage service used to persist field selections
13
- */
14
- constructor(sS: ETSStorageService);
15
- /**
16
- * Generates a unique storage key for a specific find-item component.
17
- * @param id - The unique identifier for the find-item component
18
- * @returns A storage key string prefixed with 'find-item-fields-'
19
- */
20
- idKeyer: (id: string) => string;
21
- /**
22
- * Saves the selected fields configuration for a find-item component.
23
- * @template TQuery - The type of query object used by the find-item component
24
- * @param id - The unique identifier for the find-item component
25
- * @param fields - The field configuration to be saved
26
- * @returns The result of the storage operation
27
- */
28
- saveSelectedCompactedFields<TQuery>(id: string, fields: IFindItemShownFields<TQuery>): any;
29
- /**
30
- * Retrieves previously saved field configurations for a find-item component.
31
- * @template TQuery - The type of query object used by the find-item component
32
- * @param id - The unique identifier for the find-item component
33
- * @returns The saved field configuration, or null if none exists
34
- */
35
- getSavedSelectedCompactedFields<TQuery>(id: string): IFindItemShownFields<TQuery>;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<FindItemService, never>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<FindItemService>;
38
- }
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * A component that displays a watermark image.
4
- *
5
- * This component renders a watermark using an image path from the environment configuration.
6
- * It uses OnPush change detection strategy for better performance.
7
- *
8
- * @example
9
- * <watermark></watermark>
10
- */
11
- export declare class WatermarkComponent {
12
- /**
13
- * The path to the watermark image, retrieved from environment configuration.
14
- */
15
- readonly imgPath: import("@angular/core").ModelSignal<string>;
16
- /**
17
- * Initializes a new instance of the WatermarkComponent class.
18
- */
19
- constructor();
20
- static ɵfac: i0.ɵɵFactoryDeclaration<WatermarkComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<WatermarkComponent, "watermark", never, { "imgPath": { "alias": "imgPath"; "required": false; "isSignal": true; }; }, { "imgPath": "imgPathChange"; }, never, never, true, never>;
22
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class ExtraPagesRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ExtraPagesRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExtraPagesRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<ExtraPagesRoutingModule>;
7
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./extra-pages-routing.module";
4
- export declare class ETSExtraPagesModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ETSExtraPagesModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ETSExtraPagesModule, never, [typeof i1.CommonModule, typeof i2.ExtraPagesRoutingModule], never>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ETSExtraPagesModule>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class LoggerRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<LoggerRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<LoggerRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<LoggerRoutingModule>;
7
- }
@@ -1,71 +0,0 @@
1
- import { DestroyRef, OnInit } from '@angular/core';
2
- import { UtilityService } from '../../../Services/utility.service';
3
- import { Log } from './logger.interface';
4
- import { LoggerService } from './logger.service';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Component for displaying and managing application logs.
8
- * Provides functionality to view, copy, download logs and manage authentication.
9
- */
10
- export declare class LoggerComponent implements OnInit {
11
- lS: LoggerService;
12
- uS: UtilityService;
13
- /** Reference to handle component destruction and cleanup */
14
- protected destroyRef: DestroyRef;
15
- /** Computed property that returns reversed logs for display */
16
- readonly logs: import("@angular/core").Signal<Log<any>[]>;
17
- /**
18
- * Creates an instance of LoggerComponent.
19
- * Sets up an interval to fetch logs every second.
20
- *
21
- * @param lS - Logger service for managing logs
22
- * @param uS - Utility service for notifications and downloads
23
- */
24
- constructor(lS: LoggerService, uS: UtilityService);
25
- /**
26
- * Initializes the component and checks authentication.
27
- * Prompts for password if not authenticated.
28
- */
29
- ngOnInit(): void;
30
- /**
31
- * Tracking function for NgFor to improve performance.
32
- *
33
- * @param index - The index of the current item
34
- * @param item - The log item
35
- * @returns The unique identifier for the log
36
- */
37
- trackByID(index: number, item: Log): string;
38
- /**
39
- * Copies log data to clipboard.
40
- *
41
- * @param i - Index of the log to copy
42
- */
43
- copy(i: number): void;
44
- /**
45
- * Downloads log data as a file.
46
- *
47
- * @param i - Index of the log to download
48
- */
49
- download(i: number): void;
50
- /**
51
- * Locks the logger interface.
52
- */
53
- lock(): void;
54
- /**
55
- * Displays notification when content is copied to clipboard.
56
- */
57
- copied(): void;
58
- /**
59
- * Displays notification when log is downloaded.
60
- */
61
- downloaded(): void;
62
- /**
63
- * Creates a downloadable text file from log data.
64
- *
65
- * @param log - The log object to convert to a file
66
- * @returns A function that creates and downloads the file
67
- */
68
- makeTextFile: (log: Log) => void;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<LoggerComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<LoggerComponent, "app-logger", never, {}, {}, never, never, true, never>;
71
- }
@@ -1,73 +0,0 @@
1
- /** HTTP methods supported by the logger */
2
- type Method = 'POST' | 'PUT';
3
- /**
4
- * Interface for log entry data
5
- * @template T Type of the payload data
6
- */
7
- export interface ILog<T> {
8
- /** The data payload to be logged */
9
- payload: T;
10
- /** Optional array of file data */
11
- files?: Partial<File>[];
12
- /** Indicates if the request was successful */
13
- isSuccess?: boolean;
14
- /** The route path */
15
- route?: string;
16
- /** The API endpoint */
17
- endpoint: string;
18
- /** The HTTP method used */
19
- method: Method;
20
- /** Flag indicating if the request payload was too large */
21
- reqPayloadTooLarge?: boolean;
22
- /** Flag indicating if the response payload was too large */
23
- resPayloadTooLarge?: boolean;
24
- }
25
- /**
26
- * Log class that implements the ILog interface
27
- * @template T Type of the payload data, defaults to any
28
- */
29
- export declare class Log<T = any> implements ILog<T> {
30
- /** Unique identifier for the log entry */
31
- id: string;
32
- /** Title of the log entry */
33
- title: string;
34
- /** Timestamp when the log was created */
35
- time: number;
36
- /** The data payload */
37
- payload: T;
38
- /** Indicates if the request was successful */
39
- isSuccess: boolean;
40
- /** The route path */
41
- route: string;
42
- /** The API endpoint */
43
- endpoint: string;
44
- /** Array of file data */
45
- files: IFileData[];
46
- /** The HTTP method used */
47
- method: Method;
48
- /** Error information if request failed */
49
- error: any;
50
- /** Response data from the request */
51
- response: any;
52
- /** Flag indicating if the request payload was too large */
53
- reqPayloadTooLarge?: boolean;
54
- /** Flag indicating if the response payload was too large */
55
- resPayloadTooLarge?: boolean;
56
- /**
57
- * Creates a new Log instance
58
- * @param data The log data conforming to ILog interface
59
- */
60
- constructor(data: ILog<T>);
61
- }
62
- /**
63
- * Interface for file metadata
64
- */
65
- interface IFileData {
66
- /** Name of the file */
67
- title: string;
68
- /** Size of the file in bytes */
69
- size: number;
70
- /** MIME type of the file */
71
- type: string;
72
- }
73
- export {};
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./logger-routing.module";
4
- import * as i3 from "../../../Shared/shared.module";
5
- import * as i4 from "@angular/cdk/clipboard";
6
- import * as i5 from "./logger.component";
7
- export declare class ETSLoggerModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ETSLoggerModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ETSLoggerModule, never, [typeof i1.CommonModule, typeof i2.LoggerRoutingModule, typeof i3.SharedModule, typeof i4.ClipboardModule, typeof i5.LoggerComponent], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ETSLoggerModule>;
11
- }
@@ -1,81 +0,0 @@
1
- import { ETSStorageService } from '../../../Services/storage.service';
2
- import { ILog, Log } from './logger.interface';
3
- import { ObjectSizeService } from '../../../Services/object-size.service';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Service for logging application events and errors with size-limited payloads
7
- * Provides authentication for accessing logs and persistent storage
8
- */
9
- export declare class LoggerService {
10
- sS: ETSStorageService;
11
- /** Storage key for log authentication */
12
- readonly logAuthKey = "logAuth";
13
- /** Storage key for logs */
14
- readonly logsKey = "logs";
15
- /** Signal containing logs loaded from storage */
16
- protected readonly _storageLogs: import("@angular/core").WritableSignal<Log<any>[]>;
17
- /** Signal containing newly added logs */
18
- protected readonly _newLogs: import("@angular/core").WritableSignal<Log<any>[]>;
19
- /** Combined unique logs from storage and new logs */
20
- readonly logs: import("@angular/core").Signal<Log<any>[]>;
21
- /** Authentication state signal */
22
- protected readonly _isAuthed: import("@angular/core").WritableSignal<boolean>;
23
- /** Maximum number of logs to keep */
24
- protected maxLength: number;
25
- /** Password for log authentication */
26
- readonly pwd = "1234";
27
- /** Service for calculating object sizes */
28
- objectSizeService: ObjectSizeService;
29
- /** Maximum payload size in KB */
30
- readonly maxPayloadSize = 15;
31
- /** Maximum payload size in bytes */
32
- protected readonly maxPayloadSizeBytes: number;
33
- /**
34
- * Creates an instance of LoggerService
35
- * @param sS - Storage service for persisting logs
36
- */
37
- constructor(sS: ETSStorageService);
38
- /**
39
- * Adds a new log entry
40
- * @param log - Log data to be added
41
- * @typeParam T - Type of the log payload
42
- */
43
- addLog<T>(log: ILog<T>): void;
44
- /**
45
- * Adds a log to the collection and trims payloads if they exceed size limits
46
- * @param log - Log object to be added
47
- */
48
- pushLog(log: Log): void;
49
- /**
50
- * Saves logs to local storage, limiting to the maximum number of logs
51
- */
52
- saveToLocal(): void;
53
- /**
54
- * Authenticates the logger by saving the password to storage
55
- */
56
- unlock(): void;
57
- /**
58
- * Removes authentication by clearing the password from storage
59
- */
60
- lock(): void;
61
- /**
62
- * Retrieves logs from storage and updates the storage logs signal
63
- * @returns Promise that resolves when logs are loaded
64
- */
65
- getLogs(): Promise<void>;
66
- /**
67
- * Verifies if the logger is authenticated by checking storage
68
- */
69
- checkAuth(): void;
70
- /**
71
- * Logs the current state of the logger (commented out in production)
72
- * @param title - Title for the log state output
73
- */
74
- protected logState(title: string): void;
75
- /**
76
- * Computed property that returns the current authentication state
77
- */
78
- isAuthed: import("@angular/core").Signal<boolean>;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
80
- static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
81
- }