ets-fe-ng-sdk 19.0.116 → 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 +1611 -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 -43
  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
@@ -1,96 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { UtilityService } from '../../../Services/utility.service';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Component for handling file uploads with optional webcam integration.
6
- * Supports single or multiple file selection, custom file type filtering,
7
- * and webcam capture functionality.
8
- */
9
- export declare class FileUploadComponent implements OnInit {
10
- /** Help text to display with the upload component */
11
- help: string;
12
- /** Label text for the upload component */
13
- label: string;
14
- /** Width of the media display in pixels */
15
- mediaWidth: import("@angular/core").ModelSignal<number>;
16
- /** CSS class to apply to the component */
17
- class: import("@angular/core").InputSignal<string>;
18
- /** Whether to enable webcam functionality */
19
- useWebcam: import("@angular/core").InputSignal<boolean>;
20
- /**
21
- * Filename to use when capturing from webcam
22
- * Only useful if using the webcam option
23
- */
24
- readonly fileName: import("@angular/core").InputSignal<string>;
25
- /** Whether the upload functionality is disabled */
26
- disabled: boolean;
27
- /** Whether to allow multiple file selection */
28
- multiple: boolean;
29
- /** Whether to use the mini version of the component */
30
- mini: import("@angular/core").InputSignal<boolean>;
31
- /** Whether to use document modal for file selection */
32
- useDocumentModal: boolean;
33
- /** Whether to display the list of selected files */
34
- listFiles: import("@angular/core").InputSignal<boolean>;
35
- /** File types that are accepted by the upload component */
36
- accept: string;
37
- /**
38
- * Sets the accepted file types
39
- * @param v - String representing accepted file types or 'image' for common image formats
40
- */
41
- set _accept(v: string);
42
- /**
43
- * Currently selected file (for single file mode)
44
- */
45
- readonly file: import("@angular/core").ModelSignal<File>;
46
- /**
47
- * Event emitted when the selected file changes
48
- */
49
- readonly fileChange: import("@angular/core").OutputEmitterRef<File>;
50
- /**
51
- * Currently selected files (for multiple file mode)
52
- */
53
- readonly files: import("@angular/core").ModelSignal<File[]>;
54
- /**
55
- * Event emitted when the selected files change
56
- */
57
- readonly filesChange: import("@angular/core").OutputEmitterRef<File[]>;
58
- /** Utility service for common functions */
59
- uS: UtilityService<any>;
60
- constructor();
61
- ngOnInit(): void;
62
- /**
63
- * Returns whether the component is in single file mode
64
- * @returns True if multiple file selection is disabled
65
- */
66
- get isSingle(): boolean;
67
- /**
68
- * Accepts and processes the selected files
69
- * @param files - The files to be processed
70
- */
71
- protected acceptFiles(...files: File[]): void;
72
- /**
73
- * Emits file change events based on current selection
74
- */
75
- protected emitFiles(): void;
76
- /**
77
- * Handles file upload event from input element
78
- * @param event - The file input change event
79
- */
80
- onUpload(event: any): void;
81
- /**
82
- * Removes a file from the selection by index
83
- * @param index - The index of the file to remove
84
- */
85
- removeFile(index: number): void;
86
- /**
87
- * Removes all selected files
88
- */
89
- removeAllFiles(): void;
90
- /**
91
- * Opens the file selection dialog
92
- */
93
- openDialog(): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "app-file-upload", never, { "help": { "alias": "help"; "required": false; }; "label": { "alias": "label"; "required": false; }; "mediaWidth": { "alias": "mediaWidth"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "useWebcam": { "alias": "useWebcam"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "mini": { "alias": "mini"; "required": false; "isSignal": true; }; "useDocumentModal": { "alias": "useDocumentModal"; "required": false; }; "listFiles": { "alias": "listFiles"; "required": false; "isSignal": true; }; "_accept": { "alias": "accept"; "required": false; }; "file": { "alias": "file"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; }, { "mediaWidth": "mediaWidthChange"; "file": "fileChange"; "fileChange": "fileChange"; "files": "filesChange"; "filesChange": "filesChange"; }, never, never, true, never>;
96
- }
@@ -1,73 +0,0 @@
1
- import { DestroyRef, ElementRef, TemplateRef } from '@angular/core';
2
- import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
3
- import { UtilityService } from '../../../Services/utility.service';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Component for displaying form validation errors.
7
- *
8
- * This component aggregates and displays validation errors from one or more Angular forms.
9
- * It can handle FormGroups, FormControls, and FormArrays, and will recursively check for errors
10
- * in nested form structures.
11
- */
12
- export declare class FormErrorComponent {
13
- el: ElementRef<HTMLElement>;
14
- uS: UtilityService;
15
- destroyerRef: DestroyRef;
16
- /** Subscription manager for handling form status changes */
17
- readonly sub: {
18
- clear: () => void;
19
- push: (...subs: import("rxjs").Subscription[]) => number;
20
- subs: () => import("rxjs").Subscription[];
21
- };
22
- set form(v: Form | Form[]);
23
- /** Signal containing all errors from the monitored form(s) */
24
- readonly errors: import("@angular/core").WritableSignal<IError>;
25
- /** Computed signal filtering to only invalid or pending form controls */
26
- readonly cErrors: import("@angular/core").Signal<IError>;
27
- /** Input signal to enable custom result display */
28
- readonly customResult: import("@angular/core").InputSignal<boolean>;
29
- /** Input signal to display errors inline */
30
- readonly inline: import("@angular/core").InputSignal<boolean>;
31
- /** Input signal for large grid column count */
32
- readonly lgGridNo: import("@angular/core").InputSignal<number | "auto">;
33
- /** Input signal for extra-large grid column count */
34
- readonly xxlGridNo: import("@angular/core").InputSignal<number | "auto">;
35
- /** Computed signal indicating if any errors exist */
36
- readonly hasError: import("@angular/core").Signal<boolean>;
37
- /** Reference to the result template */
38
- readonly resultTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
39
- /** Reference to the error container element */
40
- readonly errContRef: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
41
- /**
42
- * Creates an instance of FormErrorComponent.
43
- * @param el Reference to the component's host element
44
- * @param uS Utility service for formatting and other operations
45
- * @param destroyerRef Reference for handling component destruction
46
- */
47
- constructor(el: ElementRef<HTMLElement>, uS: UtilityService, destroyerRef: DestroyRef);
48
- /**
49
- * Recursively collects error messages from a form or form control.
50
- * @param form The form or control to check for errors
51
- * @param formName Optional name of the form field
52
- * @param _index Optional index for array items
53
- * @param parent Optional parent form name for nested forms
54
- * @returns Array of error objects with form control references and labels
55
- */
56
- getErrorMessages(form: Form | AbstractControl, formName?: string, _index?: number, parent?: string): IError;
57
- /**
58
- * Toggles the visibility of the error container and scrolls it into view.
59
- * @param errCont Optional reference to the error container element
60
- */
61
- toggleErrors(errCont?: HTMLDivElement): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorComponent, "form-error", never, { "form": { "alias": "form"; "required": false; }; "customResult": { "alias": "customResult"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "lgGridNo": { "alias": "lgGridNo"; "required": false; "isSignal": true; }; "xxlGridNo": { "alias": "xxlGridNo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
64
- }
65
- /** Type representing a form control, group, or array */
66
- type Form = FormGroup | FormControl | FormArray;
67
- /** Type representing an array of form error objects */
68
- type IError = {
69
- formControl: AbstractControl;
70
- label: string;
71
- parent: string | null;
72
- }[];
73
- export {};
@@ -1,95 +0,0 @@
1
- import { AbstractControl } from '@angular/forms';
2
- import { FormGeneratorComponent, IFormSchema } from '../form-generator.component';
3
- import { OptionLabelType } from '../../input/input-basic.component';
4
- import { PipeTransform } from '@angular/core';
5
- import { InputService } from '../../input/input.service';
6
- import * as i0 from "@angular/core";
7
- export declare class ListOptionFinderPipe implements PipeTransform {
8
- iS: InputService;
9
- transform(value: string, options: {
10
- x: string;
11
- }[], valueField: string, labelField: string | string[], labelType: OptionLabelType, optionFormatter: (item: any) => string): string;
12
- constructor(iS: InputService);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ListOptionFinderPipe, never>;
14
- static ɵpipe: i0.ɵɵPipeDeclaration<ListOptionFinderPipe, "listOptionFinder", true>;
15
- }
16
- export declare class FormGeneratedValueComponent<TFormGroup extends {
17
- [K in keyof TFormGroup]: AbstractControl<any, any>;
18
- } = any> extends FormGeneratorComponent<TFormGroup> {
19
- listOptionFinderPipe: ListOptionFinderPipe;
20
- constructor();
21
- readonly computedListValue: import("@angular/core").Signal<{
22
- formattedValue: string | number | boolean;
23
- children?: IFormSchema<TFormGroup>[];
24
- labelType?: OptionLabelType;
25
- field: keyof TFormGroup;
26
- subType?: import("ets-fe-ng-sdk").InputSubType;
27
- presetValue?: boolean;
28
- templateRef?: import("@angular/core").TemplateRef<any>;
29
- _id?: string;
30
- asyncValidators?: import("@angular/forms").AsyncValidatorFn[];
31
- autoPickValueField?: boolean;
32
- checked?: boolean;
33
- clearOnDisable?: boolean;
34
- cls?: string;
35
- countryCode3?: string;
36
- debug?: boolean;
37
- decimalPoints?: number;
38
- disabled?: boolean;
39
- disabledIf?: (row: any, cellField?: string) => boolean;
40
- dontFormatAsInput?: boolean;
41
- endLabel?: string;
42
- endLabelTooltip?: string;
43
- extra?: any;
44
- form?: import("@angular/forms").FormGroup<TFormGroup>;
45
- formatter?: (row: { [K in keyof TFormGroup]: any; }, fieldName: keyof TFormGroup) => string;
46
- getCountryCode3Key?: string;
47
- hidden?: boolean;
48
- hint?: string;
49
- icon?: import("ets-fe-ng-sdk").IconType;
50
- id?: string;
51
- ignore?: boolean;
52
- isRequired?: boolean;
53
- isSearchField?: boolean;
54
- label?: string;
55
- labelField?: string | string[];
56
- max?: number;
57
- maxLength?: number;
58
- min?: number;
59
- minLength?: number;
60
- noFormat?: boolean;
61
- onChangeFunc?: (row: { [K in keyof TFormGroup]?: TFormGroup[K]["value"]; }, cellValue?: any, component?: FormGeneratorComponent<TFormGroup, IFormSchema<TFormGroup>>) => any;
62
- onFormChange?: (row: { [K in keyof TFormGroup]?: TFormGroup[K]["value"]; }, cellValue?: any, component?: FormGeneratorComponent<TFormGroup, IFormSchema<TFormGroup>>) => any;
63
- onFormChangePipeOperators?: () => import("rxjs").OperatorFunction<any, any>;
64
- onRemoveFunc?: (row: { [K in keyof TFormGroup]?: TFormGroup[K]["value"]; }, cellValue?: any, component?: FormGeneratorComponent<TFormGroup, IFormSchema<TFormGroup>>) => any;
65
- optionFormatter?: (item: any) => string;
66
- options?: any[];
67
- optionsAsync?: import("rxjs").Observable<any[]> | Promise<any[]>;
68
- optionsFunc?: (...val: any) => import("rxjs").Observable<any[]>;
69
- optionsInitFunc?: import("rxjs").Observable<any[]>;
70
- optionsInitFunc2?: () => import("rxjs").Observable<any[]>;
71
- optionsKey?: string;
72
- placeholder?: string;
73
- searchFunc?: (...args: any) => any;
74
- selectedOptionLabel?: string;
75
- setAsCountryCode3?: boolean;
76
- setControlFormattedValue?: boolean;
77
- showRequiredTag?: boolean;
78
- showValidation?: boolean;
79
- showValidationIcon?: boolean;
80
- showValidationMsg?: boolean;
81
- skipDoesOptionExistCheck?: boolean;
82
- stacked?: boolean;
83
- tableFormatter?: (val: any) => string | undefined | Promise<string | undefined> | import("rxjs").Observable<string | undefined>;
84
- templateValue?: any;
85
- triggerOnChangeOnInit?: boolean;
86
- type?: import("ets-fe-ng-sdk").InputType;
87
- validators?: import("@angular/forms").ValidatorFn[];
88
- value?: any;
89
- valueField?: string;
90
- verbose?: boolean;
91
- }[]>;
92
- formatValue: (item: IFormSchema, value: string | boolean | number) => string | boolean | number;
93
- static ɵfac: i0.ɵɵFactoryDeclaration<FormGeneratedValueComponent<any>, never>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<FormGeneratedValueComponent<any>, "form-generated-value", never, {}, {}, never, never, true, never>;
95
- }
@@ -1,234 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, TemplateRef } from '@angular/core';
2
- import { AbstractControl, AsyncValidatorFn, FormGroup, ValidatorFn } from '@angular/forms';
3
- import { OptionLabelType } from '../input/input-basic.component';
4
- import { Observable, OperatorFunction, Subscription } from 'rxjs';
5
- import { UtilityService } from '../../../Services/utility.service';
6
- import { IObjectLiteral, InputType } from '../../models/index.model';
7
- import { IconType } from '../btn/btn.model';
8
- import { TableService } from '../table/table-plain.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Base component for generating dynamic forms
12
- *
13
- * @template TFormGroup - Type representing the form group structure
14
- * @template TBaseFormSchema - Type representing the schema for form fields
15
- */
16
- export declare abstract class BaseFormGenerator<TFormGroup extends IObjectLiteral, TBaseFormSchema extends {
17
- field?: any;
18
- label?: string;
19
- _id?: string;
20
- ignore?: boolean;
21
- } = any> {
22
- readonly tableService: TableService;
23
- /** Internal signal for form schema map */
24
- protected _formSchemaMap: import("@angular/core").WritableSignal<{
25
- [field: string]: TBaseFormSchema;
26
- }>;
27
- /** Computed value for form schema map */
28
- protected formSchemaMap: import("@angular/core").Signal<{
29
- [field: string]: TBaseFormSchema;
30
- }>;
31
- /**
32
- * Computed array of form schemas with optional custom label handling
33
- */
34
- readonly formSchema: import("@angular/core").Signal<TBaseFormSchema[]>;
35
- /** Map of subscriptions by field name */
36
- subs: {
37
- [fieldName: string]: Subscription;
38
- };
39
- /** Enable debug mode */
40
- readonly debug: import("@angular/core").InputSignal<boolean>;
41
- /** Custom templates for form fields */
42
- readonly customTemplates: import("@angular/core").InputSignal<{ [k in keyof TFormGroup]?: TemplateRef<any>; }>;
43
- utilityService: UtilityService<any>;
44
- destroyRef: DestroyRef;
45
- cdr: ChangeDetectorRef;
46
- /** Toggle for using custom labels */
47
- readonly useCustomLabels: import("@angular/core").ModelSignal<boolean>;
48
- /**
49
- * Constructor that sets up automatic cleanup when component is destroyed
50
- * by registering the onDestroy method with Angular's DestroyRef
51
- */
52
- constructor();
53
- /**
54
- * Cleanup method called when component is destroyed
55
- */
56
- onDestroy(): void;
57
- /**
58
- * Sets the form schemas
59
- *
60
- * @param schemas - Array of form field schemas to set
61
- */
62
- protected _setFormSchemas(schemas: TBaseFormSchema[]): void;
63
- /**
64
- * Updates a specific form schema field
65
- *
66
- * @param field - Field name to update
67
- * @param scheme - Partial schema to merge with existing schema
68
- */
69
- protected _updateFormSchema(field: string, scheme: Partial<TBaseFormSchema>): void;
70
- /**
71
- * Updates all form schemas using a mapping function
72
- *
73
- * @param map - Function to transform each form field schema
74
- * @returns The updated form schema array
75
- */
76
- protected _updateAllFormSchema(map: (formField: TBaseFormSchema) => TBaseFormSchema): TBaseFormSchema[];
77
- /**
78
- * Removes a form schema field
79
- *
80
- * @param field - Field name to remove
81
- */
82
- protected _removeFormSchema(field: string): void;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormGenerator<any, any>, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormGenerator<any, any>, "ng-component", never, { "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "customTemplates": { "alias": "customTemplates"; "required": false; "isSignal": true; }; "useCustomLabels": { "alias": "useCustomLabels"; "required": false; "isSignal": true; }; }, { "useCustomLabels": "useCustomLabelsChange"; }, never, never, false, never>;
85
- }
86
- /**
87
- * Interface for form field schema configuration
88
- *
89
- * @template T - Type of the form data
90
- * @template Component - Type of the form generator component
91
- * @template TFormGroup - Type of the form group
92
- */
93
- export interface IBaseFormSchema<T, Component extends BaseFormGenerator<T>, TFormGroup extends {
94
- [K in keyof TFormGroup]: AbstractControl<any, any>;
95
- } = any> {
96
- /** Unique identifier for the form field */
97
- _id?: string;
98
- /** Asynchronous validators to apply to the form control */
99
- asyncValidators?: AsyncValidatorFn[];
100
- /** When true, automatically determines the value field from available options */
101
- autoPickValueField?: boolean;
102
- /** Whether the field is checked (for checkbox inputs) */
103
- checked?: boolean;
104
- /** Child form fields for nested forms */
105
- children?: IBaseFormSchema<T, Component, TFormGroup>[];
106
- /** When true, clears the field value when it becomes disabled */
107
- clearOnDisable?: boolean;
108
- /** Additional CSS classes to apply to the field container */
109
- cls?: string;
110
- /** Three-letter country code for phone number fields */
111
- countryCode3?: string;
112
- /** Enables debug mode for this specific field */
113
- debug?: boolean;
114
- /** Number of decimal points to display for number inputs */
115
- decimalPoints?: number;
116
- /** Whether the field is disabled */
117
- disabled?: boolean;
118
- /** Function that determines if the field should be disabled based on form values */
119
- disabledIf?: (row: any, cellField?: string) => boolean;
120
- /** When true, prevents automatic formatting of the input value */
121
- dontFormatAsInput?: boolean;
122
- /** Label to display at the end of the input */
123
- endLabel?: string;
124
- /** Tooltip text for the end label */
125
- endLabelTooltip?: string;
126
- /** Additional data to associate with this field */
127
- extra?: any;
128
- /** The name of the form field (required) */
129
- field: keyof TFormGroup;
130
- /** Reference to the form group this field belongs to */
131
- form?: FormGroup<TFormGroup>;
132
- /** Function to format the display value of the field */
133
- formatter?: (row: {
134
- [K in keyof TFormGroup]: any;
135
- }, fieldName: keyof TFormGroup) => string;
136
- /** Key to use when retrieving country code */
137
- getCountryCode3Key?: string;
138
- /** Whether the field should be hidden */
139
- hidden?: boolean;
140
- /** Hint text to display below the field */
141
- hint?: string;
142
- /** Icon to display with the field */
143
- icon?: IconType;
144
- /** HTML ID attribute for the field */
145
- id?: string;
146
- /** When true, excludes this field from the form schema */
147
- ignore?: boolean;
148
- /** Whether the field is required */
149
- isRequired?: boolean;
150
- /** Whether this field should be used for searching */
151
- isSearchField?: boolean;
152
- /** Display label for the field */
153
- label?: string;
154
- /** Field(s) to use as the label when displaying options */
155
- labelField?: string | string[];
156
- /** Type of label to display for options */
157
- labelType?: OptionLabelType;
158
- /** Maximum value for number inputs */
159
- max?: number;
160
- /** Maximum length for text inputs */
161
- maxLength?: number;
162
- /** Minimum value for number inputs */
163
- min?: number;
164
- /** Minimum length for text inputs */
165
- minLength?: number;
166
- /** When true, prevents formatting of the field value */
167
- noFormat?: boolean;
168
- /** Function called when the field value changes */
169
- onChangeFunc?: IfFunc<T, TFormGroup, Component, any>;
170
- /** Function called when any form value changes */
171
- onFormChange?: IfFunc<T, TFormGroup, Component, any>;
172
- /** RxJS operators to apply to the form change stream */
173
- onFormChangePipeOperators?: () => OperatorFunction<any, any>;
174
- /** Function called when the field is removed */
175
- onRemoveFunc?: IfFunc<T, TFormGroup, Component, any>;
176
- /** Function to format individual options */
177
- optionFormatter?: (item: any) => string;
178
- /** Array of options for select/dropdown fields */
179
- options?: any[];
180
- /** Observable or Promise that resolves to an array of options */
181
- optionsAsync?: Observable<any[]> | Promise<any[]>;
182
- /** Function that returns an Observable of options */
183
- optionsFunc?: (...val: any) => Observable<any[]>;
184
- /** Observable that provides initial options */
185
- optionsInitFunc?: Observable<any[]>;
186
- /** Function that returns an Observable for initial options */
187
- optionsInitFunc2?: () => Observable<any[]>;
188
- /** Key to use when retrieving options from a data source */
189
- optionsKey?: string;
190
- /** Placeholder text for the input */
191
- placeholder?: string;
192
- /** Function to perform search operations */
193
- searchFunc?: (...args: any[]) => any;
194
- /** Label for the currently selected option */
195
- selectedOptionLabel?: string;
196
- /** When true, sets the field value as a country code */
197
- setAsCountryCode3?: boolean;
198
- /** When true, sets the formatted value in the form control */
199
- setControlFormattedValue?: boolean;
200
- /** Whether to show a required indicator tag */
201
- showRequiredTag?: boolean;
202
- /** Whether to show validation state */
203
- showValidation?: boolean;
204
- /** Whether to show validation state icon */
205
- showValidationIcon?: boolean;
206
- /** Whether to show validation error messages */
207
- showValidationMsg?: boolean;
208
- /** When true, skips checking if the selected option exists in options list */
209
- skipDoesOptionExistCheck?: boolean;
210
- /** Whether the label should be stacked above the input */
211
- stacked?: boolean;
212
- /** Function to format the field value for table display */
213
- tableFormatter?: (val: any) => string | undefined | Promise<string | undefined> | Observable<string | undefined>;
214
- /** Value to use when rendering with a template */
215
- templateValue?: any;
216
- /** When true, triggers the onChange function during initialization */
217
- triggerOnChangeOnInit?: boolean;
218
- /** Type of input to render */
219
- type?: InputType;
220
- /** Synchronous validators to apply to the form control */
221
- validators?: ValidatorFn[];
222
- /** Default value for the field */
223
- value?: any;
224
- /** Field to use as the value when working with options */
225
- valueField?: string;
226
- /** When true, enables verbose logging for this field */
227
- verbose?: boolean;
228
- }
229
- type IfFunc<T, TFormGroup extends {
230
- [K in keyof TFormGroup]: AbstractControl<any, any>;
231
- }, Component extends BaseFormGenerator<T>, TResponse> = (row: {
232
- [K in keyof TFormGroup]?: TFormGroup[K]['value'];
233
- }, cellValue?: any, component?: Component) => TResponse;
234
- export {};