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,49 +0,0 @@
1
- import { InputTheme } from '../input-base.component';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Component for rendering input labels with various styling options
5
- */
6
- export declare class InputLabelComponent {
7
- /** Whether the label should be colored */
8
- readonly colored: import("@angular/core").InputSignal<boolean>;
9
- /** Form control or form group associated with this label */
10
- readonly form: import("@angular/core").InputSignal<any>;
11
- /** Hint text to display with the label */
12
- readonly hint: import("@angular/core").InputSignal<string | number>;
13
- /** Show the hint without the tooltip */
14
- readonly inlineHint: import("@angular/core").InputSignal<boolean>;
15
- /** Unique identifier for the label */
16
- readonly id: import("@angular/core").InputSignal<string>;
17
- /** Whether the associated checkbox is invalid */
18
- readonly invalidCheckbox: import("@angular/core").InputSignal<boolean>;
19
- /** Whether the field is required */
20
- readonly isRequired: import("@angular/core").InputSignal<boolean>;
21
- /** Text content of the label */
22
- readonly label: import("@angular/core").InputSignal<string>;
23
- /** URL for making the label a clickable link */
24
- readonly labelLink: import("@angular/core").InputSignal<string>;
25
- /** CSS class for the label column width */
26
- readonly lblCl: import("@angular/core").InputSignal<string>;
27
- /** Whether to use light styling */
28
- readonly light: import("@angular/core").InputSignal<boolean>;
29
- /** Whether to use mini styling */
30
- readonly mini: import("@angular/core").InputSignal<boolean>;
31
- /** Whether to display the label */
32
- readonly showLabel: import("@angular/core").InputSignal<boolean>;
33
- /** Whether to display the required indicator */
34
- readonly showRequiredTag: import("@angular/core").InputSignal<boolean>;
35
- /** Whether to use small styling */
36
- readonly small: import("@angular/core").InputSignal<boolean>;
37
- /** Whether to stack the label and input vertically */
38
- readonly stacked: import("@angular/core").InputSignal<boolean>;
39
- /** Theme to apply to the input */
40
- readonly theme: import("@angular/core").InputSignal<InputTheme>;
41
- /** Whether to use extra small styling */
42
- readonly xsmall: import("@angular/core").InputSignal<boolean>;
43
- /**
44
- * Logs the current form value to the console
45
- */
46
- log(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<InputLabelComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<InputLabelComponent, "app-input-label", never, { "colored": { "alias": "colored"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "inlineHint": { "alias": "inlineHint"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "invalidCheckbox": { "alias": "invalidCheckbox"; "required": false; "isSignal": true; }; "isRequired": { "alias": "isRequired"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelLink": { "alias": "labelLink"; "required": false; "isSignal": true; }; "lblCl": { "alias": "lblCl"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; "mini": { "alias": "mini"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showRequiredTag": { "alias": "showRequiredTag"; "required": false; "isSignal": true; }; "small": { "alias": "small"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "xsmall": { "alias": "xsmall"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
- }
@@ -1 +0,0 @@
1
- export { InputLabelComponent as InputLabelModule } from './input-label.component';
@@ -1,30 +0,0 @@
1
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
2
- import { MatSelectModule } from '@angular/material/select';
3
- import { MatNativeDateModule, MatOptionModule } from '@angular/material/core';
4
- import { ToAnyPipe } from '../../pipes/utility.pipe';
5
- import { SDKTranslateNoLoaderPipe, SDKTranslatePipe } from '../../pipes/translate.pipe';
6
- import { InputClassPipe } from './inputs-pipes.pipe';
7
- import { ValidationMessageComponent } from './validation-message/validation-message.component';
8
- import { MatTooltipModule } from '@angular/material/tooltip';
9
- import { BtnComponent } from '../btn/btn.component';
10
- import { InputFormatDirective } from '../../directives/input-formatter.directive';
11
- import { InputLabelComponent } from './input-label/input-label.component';
12
- import { NgClass, NgIf, NgSwitch, NgSwitchCase, NgFor, NgSwitchDefault, AsyncPipe, NgTemplateOutlet } from '@angular/common';
13
- import { MatDatepickerModule } from '@angular/material/datepicker';
14
- import { MatInputModule } from '@angular/material/input';
15
- import { Provider } from '@angular/core';
16
- import { MatFormFieldModule } from '@angular/material/form-field';
17
- import { DateInputComponent } from './date-input/date-input.component';
18
- export declare const InputSharedModules: readonly [typeof AsyncPipe, typeof BtnComponent, typeof DateInputComponent, typeof FormsModule, typeof InputClassPipe, typeof InputFormatDirective, typeof NgTemplateOutlet, typeof InputLabelComponent, typeof MatDatepickerModule, typeof MatFormFieldModule, typeof MatInputModule, typeof MatNativeDateModule, typeof MatOptionModule, typeof MatSelectModule, typeof MatTooltipModule, typeof NgClass, typeof NgFor, typeof NgIf, typeof NgSwitch, typeof NgSwitchCase, typeof NgSwitchDefault, typeof ReactiveFormsModule, typeof ToAnyPipe, typeof SDKTranslatePipe, typeof SDKTranslateNoLoaderPipe, typeof ValidationMessageComponent];
19
- export declare const MY_DATE_FORMATS: {
20
- parse: {
21
- dateInput: string;
22
- };
23
- display: {
24
- dateInput: string;
25
- monthYearLabel: string;
26
- dateA11yLabel: string;
27
- monthYearA11yLabel: string;
28
- };
29
- };
30
- export declare const InputProviders: Provider[];
@@ -1,58 +0,0 @@
1
- import { EventEmitter, SimpleChanges } from '@angular/core';
2
- import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
3
- import { InputBasicComponent } from './input-basic.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Component that supports both Template-Driven and Reactive Forms approaches.
7
- * Extends the basic input component with form control functionality.
8
- *
9
- * @template TOption - The type of options for select/dropdown inputs
10
- */
11
- export declare class InputTD_RFComponent<TOption = any> extends InputBasicComponent<any, any, TOption> {
12
- /** Array of synchronous validators applied to the form control */
13
- validators: ValidatorFn[];
14
- /**
15
- * Sets the synchronous validators for the form control
16
- * @param v - Array of validator functions to apply
17
- */
18
- set _validators(v: ValidatorFn[]);
19
- /** Array of asynchronous validators applied to the form control */
20
- asyncValidators: AsyncValidatorFn[];
21
- /**
22
- * Sets the asynchronous validators for the form control
23
- * @param v - Array of async validator functions to apply
24
- */
25
- set _asyncValidators(v: AsyncValidatorFn[]);
26
- /** The model value bound to this input */
27
- private model;
28
- /**
29
- * Sets the model value and updates the form control
30
- * @param v - The new model value
31
- */
32
- set _model(v: any);
33
- /** Event emitter that fires when the model value changes */
34
- modelChange: EventEmitter<any>;
35
- /** Subscription to value changes that updates the model and emits changes */
36
- protected valueChanges2: import("rxjs").Subscription;
37
- /**
38
- * Initializes the component with default values
39
- */
40
- constructor();
41
- /**
42
- * Lifecycle hook that initializes the form group and control
43
- * @override
44
- */
45
- ngOnInit(): void;
46
- /**
47
- * Lifecycle hook that handles changes to component inputs
48
- * @param changes - The changes object containing all changed inputs
49
- */
50
- ngOnChanges(changes: SimpleChanges): void;
51
- /**
52
- * Lifecycle hook called after the view is initialized
53
- * @override
54
- */
55
- ngAfterViewInit(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTD_RFComponent<any>, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTD_RFComponent<any>, "app-input-td-rf", never, { "_validators": { "alias": "validators"; "required": false; }; "_asyncValidators": { "alias": "asyncValidators"; "required": false; }; "_model": { "alias": "model"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
58
- }
@@ -1,82 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { InputBase } from './input-base.component';
4
- import { FCInput } from '../../models/index.model';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated Use InputBasicComponent instead.
8
- * A flexible input component that extends InputBase to provide various input types.
9
- * This component is being phased out in favor of InputBasicComponent.
10
- */
11
- export declare class InputComponent extends InputBase implements OnInit {
12
- /** The input configuration object */
13
- inp: FCInput;
14
- /**
15
- * Sets the input configuration and updates form and name
16
- * @param v The input configuration object
17
- */
18
- set _inp(v: FCInput);
19
- /** Specifies file types that can be selected with file input */
20
- accept: string;
21
- /** Whether to enable browser autocomplete */
22
- autocomplete: boolean;
23
- /** Label to display at the end of the input */
24
- endLabel: string;
25
- /** Tooltip for the end label */
26
- endLabelTooltip: string;
27
- /** Files selected in a file input */
28
- files: File[];
29
- /** Unique identifier for the input */
30
- id: string;
31
- /** CSS class for the input element */
32
- inpCl: string;
33
- /** URL for the label to link to */
34
- labelLink: string;
35
- /** Whether the input is in loading state */
36
- loading: boolean;
37
- /** Whether to allow multiple selections (for select/file inputs) */
38
- multiple: boolean;
39
- /** Function that returns an Observable of options for select inputs */
40
- optionsFunc: (...val: any) => Observable<any[]>;
41
- /** Whether to show an empty option in select inputs */
42
- showEmptyOption?: boolean;
43
- /** Whether to display the input label */
44
- showLabel: boolean;
45
- /** Whether to show validation state */
46
- showValidation: boolean;
47
- /** Whether to show validation messages */
48
- showValidationMsg: boolean;
49
- /** Whether to show validation icons */
50
- showValidationIcon: boolean;
51
- /** Whether to use small styling */
52
- small: boolean;
53
- /** Whether to stack label and input vertically */
54
- stacked: boolean;
55
- /** Toggle for password visibility */
56
- showPassword: boolean;
57
- /** Internal value storage */
58
- __value: any;
59
- /**
60
- * Sets the input value
61
- * @param v The value to set
62
- */
63
- set _value(v: any);
64
- /** @inheritdoc */
65
- ngOnInit(): void;
66
- /**
67
- * Handles input change events
68
- * @param e The change event
69
- */
70
- change(e: any): void;
71
- /**
72
- * Handles file upload events
73
- * @param e The upload event
74
- */
75
- upload(e: any): void;
76
- /**
77
- * Logs the form to console in non-production environments
78
- */
79
- log(): void;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "app-input-old", never, { "_inp": { "alias": "input"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "endLabelTooltip": { "alias": "endLabelTooltip"; "required": false; }; "files": { "alias": "files"; "required": false; }; "id": { "alias": "id"; "required": false; }; "inpCl": { "alias": "inpCl"; "required": false; }; "labelLink": { "alias": "labelLink"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "optionsFunc": { "alias": "optionsFunc"; "required": false; }; "showEmptyOption": { "alias": "showEmptyOption"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "showValidationMsg": { "alias": "showValidationMsg"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "small": { "alias": "small"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "_value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
82
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Represents the time format type.
3
- * - '12H': 12-hour format with AM/PM
4
- * - '24H': 24-hour format
5
- */
6
- export type ETimeType = '12H' | '24H';
7
- /**
8
- * Configuration interface for input components.
9
- */
10
- export interface IInputConfig {
11
- /**
12
- * Specifies the time format to be used in time-related inputs.
13
- * Can be either 12-hour format ('12H') or 24-hour format ('24H').
14
- */
15
- timeType: ETimeType;
16
- }
@@ -1,23 +0,0 @@
1
- import { InputComponent } from './input.component';
2
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
3
- import { InputBasicComponent } from './input-basic.component';
4
- import { MatTooltipModule } from '@angular/material/tooltip';
5
- import { DayHourMinInputComponent } from './day-hour-min-input/day-hour-min-input.component';
6
- import { InputTD_RFComponent } from './input-td-rf.component';
7
- import { InputControlComponent } from './input-control.component';
8
- import { YearMonthTdRfComponent } from './year-month-td-rf/year-month-td-rf.component';
9
- import { InputLabelModule } from './input-label/input-label.module';
10
- import { ValidationMessageModule } from './validation-message/validation-message.module';
11
- import { InputPipesModule } from './inputs-pipes.pipe';
12
- /**
13
- * InputModule is a collection of components, modules, and services related to form inputs.
14
- *
15
- * This module exports various input components and related modules to provide a comprehensive
16
- * set of form input capabilities including basic inputs, specialized inputs (day/hour/min, year/month),
17
- * validation, and supporting UI elements.
18
- *
19
- * @remarks
20
- * This is exported as a const array rather than using NgModule decorator pattern.
21
- * Consumers should spread this array into their module imports, but not component import.
22
- */
23
- export declare const InputModule: readonly [typeof import("../autocomplete/autocomplete.component").AutocompleteComponent, typeof import("../autocomplete/autocomplete.module").AutocompleteTdRfComponent, typeof import("ets-fe-ng-sdk").BtnComponent, typeof import("ets-fe-ng-sdk").BtnLgComponent, typeof DayHourMinInputComponent, typeof FormsModule, typeof InputBasicComponent, typeof InputComponent, typeof InputControlComponent, typeof InputLabelModule, typeof InputPipesModule, typeof InputTD_RFComponent, typeof MatTooltipModule, typeof ReactiveFormsModule, typeof ValidationMessageModule, typeof YearMonthTdRfComponent];
@@ -1,189 +0,0 @@
1
- import { InputType } from '../../models/index.model';
2
- import { OptionLabelType } from './input-basic.component';
3
- import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
4
- import { UtilityService } from '../../../Services/utility.service';
5
- import { EVFunctions } from '../../../configs/base-functions';
6
- import { DebouncerService } from '../../../Services/debouncer.service';
7
- import { Observable } from 'rxjs';
8
- import { ContentChange } from 'ngx-quill';
9
- import { IInputConfig } from './input.model';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * Service for handling input-related functionality across the application.
13
- * Provides utilities for formatting options, handling date/time inputs, and managing input configurations.
14
- */
15
- export declare class InputService {
16
- debouncer: DebouncerService;
17
- uS: UtilityService;
18
- /** Configuration settings for the input service */
19
- protected readonly _config: import("@angular/core").WritableSignal<IInputConfig>;
20
- /** Computed signal that provides a copy of the current configuration */
21
- readonly config: import("@angular/core").Signal<IInputConfig>;
22
- /** Collection of functions to format different types of option labels */
23
- readonly optionLabellerFunctions: {
24
- [x: string]: (option: any) => {
25
- label: string;
26
- value: string;
27
- };
28
- };
29
- /** Hours for 12-hour time format (1-12) */
30
- readonly timeHours: import("@angular/core").WritableSignal<string[]>;
31
- /** Hours for 24-hour time format (00-23) */
32
- readonly time24Hours: import("@angular/core").WritableSignal<string[]>;
33
- /** Minutes for time input (00-59) */
34
- readonly timeMinutes: import("@angular/core").WritableSignal<string[]>;
35
- /** Seconds for time input (00-59) */
36
- readonly timeSeconds: import("@angular/core").WritableSignal<string[]>;
37
- /** Delay in milliseconds before showing tooltips */
38
- readonly matTooltipShowDelay: import("@angular/core").WritableSignal<number>;
39
- /** AM/PM options for 12-hour time format */
40
- readonly timeMeridiem: import("@angular/core").WritableSignal<{
41
- label: "am" | "pm";
42
- incrementor: 0 | 12;
43
- }[]>;
44
- /** Map of meridiem values for quick lookup */
45
- readonly timeMeridiemMap: import("@angular/core").Signal<{
46
- [x: string]: {
47
- _label: string;
48
- label: "am" | "pm";
49
- incrementor: 0 | 12;
50
- };
51
- }>;
52
- /** Length requirements for date components (year: 4, month: 2, day: 2) */
53
- readonly dateLengthIndex: {
54
- 0: number;
55
- 1: number;
56
- 2: number;
57
- };
58
- /** Configuration for date/time input chunks (day, month, year, hours, etc.) */
59
- readonly dateInputChunks: {
60
- placeholder?: string;
61
- label: string;
62
- class: string;
63
- width: string;
64
- separator?: string;
65
- formControlName: string;
66
- type: InputType;
67
- length: number;
68
- isTime?: boolean;
69
- }[];
70
- /**
71
- * Creates a FormGroup for date/time inputs with appropriate controls
72
- */
73
- get dateFS(): FormGroup<{
74
- date: FormControl<Date>;
75
- hours: FormControl<string>;
76
- minutes: FormControl<string>;
77
- seconds: FormControl<string>;
78
- meridiem: FormControl<number>;
79
- rawValue: FormControl<string>;
80
- }>;
81
- constructor(debouncer: DebouncerService, uS: UtilityService);
82
- /**
83
- * Creates a formatter function that concatenates two strings.
84
- */
85
- labeller: typeof EVFunctions.strConcatenator;
86
- /**
87
- * Formats an array of options into a standardized IOption format.
88
- *
89
- * @param options - Array of items to format as options
90
- * @param config - Configuration for formatting options
91
- * @param config.valueField - Field to use as the option value
92
- * @param config.formatter - Custom function to format the option label
93
- * @param config.labelType - Predefined label type to use for formatting
94
- * @param config.labelField - Field(s) to use as the option label
95
- * @param config.optionHintField - Field to use as the option hint
96
- * @param config.autoPickValueField - Whether to automatically select the value field
97
- * @returns Array of formatted IOption objects
98
- */
99
- optionsFormatter<TRow = any>(options: TRow[], config: {
100
- valueField?: keyof TRow;
101
- formatter?: (item: any) => string;
102
- labelType?: OptionLabelType;
103
- labelField?: keyof TRow | (keyof TRow)[];
104
- optionHintField?: keyof TRow;
105
- autoPickValueField?: boolean;
106
- }): IOption<TRow>[];
107
- /**
108
- * Removes duplicate options based on their value property.
109
- *
110
- * @param options - Array of options to filter
111
- * @returns Array of unique options
112
- */
113
- distincter: <T>(options: T[]) => T[];
114
- /**
115
- * Logs form data to the console.
116
- *
117
- * @param form - Form to log
118
- */
119
- log(form: any): void;
120
- /**
121
- * Updates the input configuration.
122
- *
123
- * @param config - Partial configuration to merge with existing config
124
- */
125
- updateConfig(config: Partial<IInputConfig>): void;
126
- /**
127
- * Formats user input for date/time fields.
128
- *
129
- * @param e - Input event
130
- * @param form - Form group containing date/time controls
131
- * @param config - Configuration for date/time formatting
132
- * @param config.showTime - Whether to display time
133
- * @param config.id - Unique identifier for the input
134
- * @param config.use24Hr - Whether to use 24-hour time format
135
- */
136
- formatUserInput(e: Event, form: typeof this.dateFS, config: {
137
- showTime: boolean;
138
- id: string;
139
- use24Hr: boolean;
140
- }): void;
141
- /**
142
- * Searches for users based on a query string.
143
- *
144
- * @param query - Search query
145
- * @returns Observable of matching user objects
146
- */
147
- searchUsers: (query: string) => Observable<{
148
- userName?: string;
149
- fullName?: string;
150
- }[]>;
151
- /**
152
- * Handles content change events for rich text editors.
153
- *
154
- * @param $event - Content change event
155
- * @param form - Form group containing the field
156
- * @param field - Field name in the form
157
- */
158
- onContentChanged: <TF extends { [x in keyof TF]: AbstractControl<any, any>; }>($event: ContentChange, form: FormGroup<TF>, field: keyof TF) => void;
159
- /**
160
- * Generates CSS classes for input elements based on validation state.
161
- *
162
- * @param inpCl - Base input class
163
- * @param dirty - Whether the input has been modified
164
- * @param valid - Whether the input is valid
165
- * @param invalid - Whether the input is invalid
166
- * @param showValidation - Whether to show validation styling
167
- * @returns String of CSS classes
168
- */
169
- inputClass: (inpCl: string, dirty?: boolean, valid?: boolean, invalid?: boolean, showValidation?: boolean) => string;
170
- static ɵfac: i0.ɵɵFactoryDeclaration<InputService, never>;
171
- static ɵprov: i0.ɵɵInjectableDeclaration<InputService>;
172
- }
173
- /**
174
- * Interface representing a formatted option for selection components.
175
- *
176
- * @template TRow - Type of the original data row
177
- */
178
- export interface IOption<TRow = any> {
179
- /** Value of the option */
180
- value: any;
181
- /** Original data row */
182
- originalRow: TRow;
183
- /** Display label for the option */
184
- label: string;
185
- /** Unique identifier */
186
- _id: string;
187
- /** Optional hint or additional information */
188
- hint?: string | any;
189
- }
@@ -1,61 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { IOption, OptionLabelType } from './input-basic.component';
4
- import { InputService } from './input.service';
5
- import * as i0 from "@angular/core";
6
- export declare class FilterOptions implements PipeTransform {
7
- transform(arr: any[], query: string, field?: string): any[];
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterOptions, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterOptions, "filterOptions", true>;
10
- }
11
- export declare class OptionerPipe implements PipeTransform {
12
- transform(options: any[], labelField: any, idField?: any, basic?: boolean): {
13
- value: any;
14
- label: string;
15
- }[];
16
- arrToStr(labelField: string, x: any): any;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionerPipe, never>;
18
- static ɵpipe: i0.ɵɵPipeDeclaration<OptionerPipe, "optioner", true>;
19
- }
20
- export declare class ValidationMsg implements PipeTransform {
21
- transform(message: string, prefix?: string, suffix?: string): string;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMsg, never>;
23
- static ɵpipe: i0.ɵɵPipeDeclaration<ValidationMsg, "validationMsg", true>;
24
- }
25
- export declare class Validator implements PipeTransform {
26
- transform(validation: any, control: AbstractControl, update?: any): boolean;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<Validator, never>;
28
- static ɵpipe: i0.ɵɵPipeDeclaration<Validator, "validator", true>;
29
- }
30
- export declare class OptionLabeller implements PipeTransform {
31
- iS: InputService;
32
- transform(option: any, formatter?: any, optionType?: OptionLabelType, labelField?: string): string;
33
- constructor(iS: InputService);
34
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionLabeller, never>;
35
- static ɵpipe: i0.ɵɵPipeDeclaration<OptionLabeller, "optionLabeller", true>;
36
- }
37
- export declare class OptionsFormatter implements PipeTransform {
38
- iS: InputService;
39
- transform: <TRow = any>(options: TRow[], config: {
40
- valueField?: keyof TRow;
41
- formatter?: (item: any) => string;
42
- labelType?: OptionLabelType;
43
- labelField?: keyof TRow | (keyof TRow)[];
44
- optionHintField?: keyof TRow;
45
- autoPickValueField?: boolean;
46
- }) => IOption<TRow>[];
47
- constructor(iS: InputService);
48
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionsFormatter, never>;
49
- static ɵpipe: i0.ɵɵPipeDeclaration<OptionsFormatter, "optionsFormatter", true>;
50
- }
51
- export declare class InputClassPipe implements PipeTransform {
52
- iS: InputService;
53
- transform: (inpCl: string, dirty?: boolean, valid?: boolean, invalid?: boolean, showValidation?: boolean) => string;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<InputClassPipe, never>;
55
- static ɵpipe: i0.ɵɵPipeDeclaration<InputClassPipe, "inputClass", true>;
56
- }
57
- export declare class InputPipesModule {
58
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPipesModule, never>;
59
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputPipesModule, never, [typeof FilterOptions, typeof Validator, typeof ValidationMsg, typeof OptionerPipe, typeof OptionLabeller, typeof OptionsFormatter, typeof InputClassPipe], [typeof FilterOptions, typeof Validator, typeof ValidationMsg, typeof OptionerPipe, typeof OptionLabeller, typeof OptionsFormatter, typeof InputClassPipe]>;
60
- static ɵinj: i0.ɵɵInjectorDeclaration<InputPipesModule>;
61
- }
@@ -1,11 +0,0 @@
1
- import { AutocompleteComponent } from '../autocomplete/autocomplete.component';
2
- import { DayHourMinInputComponent } from './day-hour-min-input/day-hour-min-input.component';
3
- import { InputBasicComponent } from './input-basic.component';
4
- import { InputControlComponent } from './input-control.component';
5
- import { InputLabelComponent } from './input-label/input-label.component';
6
- import { InputTD_RFComponent } from './input-td-rf.component';
7
- import { InputComponent } from './input.component';
8
- import { ValidationMessageComponent } from './validation-message/validation-message.component';
9
- import { YearMonthTdRfComponent } from './year-month-td-rf/year-month-td-rf.component';
10
- declare const InputComponents: readonly [typeof InputBasicComponent, typeof AutocompleteComponent, typeof InputControlComponent, typeof InputComponent, typeof InputTD_RFComponent, typeof DayHourMinInputComponent, typeof ValidationMessageComponent, typeof YearMonthTdRfComponent, typeof InputLabelComponent];
11
- export default InputComponents;
@@ -1,75 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { IObjectLiteral } from '../../../models/index.model';
4
- import { ValidationMessageService } from './validation-message.service';
5
- import { InputBasicComponent } from '../input-basic.component';
6
- import { ITranslatorConfig } from '../../../models/translator.model';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Component that displays validation messages for form controls.
10
- * It can be used directly with a control or with an InputBasicComponent.
11
- */
12
- export declare class ValidationMessageComponent {
13
- /** Maximum length constraint for the input field */
14
- readonly _maxLength: import("@angular/core").InputSignal<number>;
15
- /** Minimum length constraint for the input field */
16
- readonly _minLength: import("@angular/core").InputSignal<number>;
17
- /** Form control to validate */
18
- readonly control: import("@angular/core").InputSignal<AbstractControl<any, any>>;
19
- /** Custom error message to display when validation fails */
20
- readonly customMessage: import("@angular/core").InputSignal<string>;
21
- /** Enable debug mode for troubleshooting */
22
- readonly debug: import("@angular/core").InputSignal<boolean>;
23
- /** Whether to apply margin styling to the validation message */
24
- readonly applyMargin: import("@angular/core").InputSignal<boolean>;
25
- /** Whether to show validation errors regardless of the control's dirty state */
26
- readonly ignoreDirtiness: import("@angular/core").InputSignal<boolean>;
27
- /** InputBasicComponent that contains the control to validate */
28
- readonly input: import("@angular/core").InputSignal<InputBasicComponent<any, any, any>>;
29
- /** Label for the input field */
30
- readonly label: import("@angular/core").ModelSignal<string>;
31
- /** Whether to hide overflow text in the validation message */
32
- readonly hideOverflow: import("@angular/core").InputSignal<boolean>;
33
- /** Configuration for translation service */
34
- readonly translationConfig: ITranslatorConfig;
35
- /** Computed control that resolves to either the direct control or the one from the input component */
36
- protected readonly computedControl: import("@angular/core").Signal<AbstractControl<any, any>>;
37
- /** Signal that notifies when the form field changes */
38
- protected readonly formFieldNotifier: import("@angular/core").Signal<import("@angular/forms").ControlEvent<any>>;
39
- /** Computed minimum length from various sources */
40
- readonly minLength: import("@angular/core").Signal<number>;
41
- /** Computed maximum length from various sources */
42
- readonly maxLength: import("@angular/core").Signal<number>;
43
- /** Validation message service for transforming error messages */
44
- readonly vmS: ValidationMessageService;
45
- /** Current validation errors from the control */
46
- readonly errors: import("@angular/core").Signal<IObjectLiteral<any>>;
47
- /** Whether the control is in a pending state */
48
- readonly pending: import("@angular/core").Signal<boolean>;
49
- /** Whether the control is dirty */
50
- readonly dirty: import("@angular/core").Signal<boolean>;
51
- /** Whether the control has been touched */
52
- readonly touched: import("@angular/core").Signal<boolean>;
53
- /** Processed validation errors ready for display */
54
- readonly computedErrors: import("@angular/core").Signal<string[]>;
55
- /** Computed label from various sources */
56
- readonly labelComputed: import("@angular/core").Signal<string>;
57
- /**
58
- * Logs validation errors to console when debug mode is enabled
59
- */
60
- logErrors(): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "app-validation-message", never, { "_maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "_minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "customMessage": { "alias": "customMessage"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "applyMargin": { "alias": "applyMargin"; "required": false; "isSignal": true; }; "ignoreDirtiness": { "alias": "ignoreDirtiness"; "required": false; "isSignal": true; }; "input": { "alias": "input"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hideOverflow": { "alias": "hideOverflow"; "required": false; "isSignal": true; }; }, { "label": "labelChange"; }, never, never, true, never>;
63
- }
64
- /**
65
- * Pipe that transforms validation errors into user-friendly messages.
66
- * Uses the ValidationMessageService to perform the transformation.
67
- */
68
- export declare class ErrorMessagePipe implements PipeTransform {
69
- /** Validation message service for transforming error messages */
70
- vmS: ValidationMessageService;
71
- /** Transform method that delegates to the ValidationMessageService */
72
- transform: (errObj: import("../../../models/index.model").IValidationMessage, label?: string, maxLength?: number, minLength?: number, controlMessage?: any) => string;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessagePipe, never>;
74
- static ɵpipe: i0.ɵɵPipeDeclaration<ErrorMessagePipe, "errorMessage", true>;
75
- }
@@ -1 +0,0 @@
1
- export { ValidationMessageComponent as ValidationMessageModule } from './validation-message.component';