ets-fe-ng-sdk 19.0.117 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/fesm2022/ets-fe-ng-sdk.mjs +1591 -1632
  2. package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
  3. package/index.d.ts +14526 -3
  4. package/package.json +1 -1
  5. package/environments/environment.d.ts +0 -11
  6. package/lib/Reusables/reusable-comps/find-item/find-item.component.d.ts +0 -258
  7. package/lib/Reusables/reusable-comps/find-item/find-item.model.d.ts +0 -13
  8. package/lib/Reusables/reusable-comps/find-item/find-item.service.d.ts +0 -38
  9. package/lib/Reusables/reusable-comps/watermark/watermark.component.d.ts +0 -22
  10. package/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.d.ts +0 -7
  11. package/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.d.ts +0 -8
  12. package/lib/Reusables/reusable-pages/logger/logger-routing.module.d.ts +0 -7
  13. package/lib/Reusables/reusable-pages/logger/logger.component.d.ts +0 -71
  14. package/lib/Reusables/reusable-pages/logger/logger.interface.d.ts +0 -73
  15. package/lib/Reusables/reusable-pages/logger/logger.module.d.ts +0 -11
  16. package/lib/Reusables/reusable-pages/logger/logger.service.d.ts +0 -81
  17. package/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.d.ts +0 -28
  18. package/lib/Reusables/reusable-pages/reset/reset-routing.module.d.ts +0 -7
  19. package/lib/Reusables/reusable-pages/reset/reset.component.d.ts +0 -13
  20. package/lib/Reusables/reusable-pages/reset/reset.module.d.ts +0 -8
  21. package/lib/Reusables/reusable-pages/robot/robot-routing.module.d.ts +0 -7
  22. package/lib/Reusables/reusable-pages/robot/robot.component.d.ts +0 -8
  23. package/lib/Reusables/reusable-pages/robot/robot.module.d.ts +0 -9
  24. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.d.ts +0 -7
  25. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.d.ts +0 -23
  26. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.d.ts +0 -11
  27. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.model.d.ts +0 -56
  28. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.d.ts +0 -13
  29. package/lib/Reusables/reusable-pages/version/version-routing.module.d.ts +0 -7
  30. package/lib/Reusables/reusable-pages/version/version.component.d.ts +0 -13
  31. package/lib/Reusables/reusable-pages/version/version.module.d.ts +0 -10
  32. package/lib/Reusables/reusable-pages/version/version.service.d.ts +0 -19
  33. package/lib/Services/Interceptors/authentication-interceptor.service.d.ts +0 -27
  34. package/lib/Services/Interceptors/global-error-handler.service.d.ts +0 -28
  35. package/lib/Services/Interceptors/logger-interceptor.service.d.ts +0 -33
  36. package/lib/Services/Interceptors/request-loader-interceptor.service.d.ts +0 -24
  37. package/lib/Services/Interceptors/request-timeout.service.d.ts +0 -32
  38. package/lib/Services/api.service.d.ts +0 -255
  39. package/lib/Services/app.service.d.ts +0 -112
  40. package/lib/Services/base.effect.d.ts +0 -24
  41. package/lib/Services/base.facade.service.d.ts +0 -42
  42. package/lib/Services/base.service.d.ts +0 -81
  43. package/lib/Services/cache/cache-updater.service.d.ts +0 -10
  44. package/lib/Services/cache/cache.service.d.ts +0 -17
  45. package/lib/Services/cache/local-cache.service.d.ts +0 -17
  46. package/lib/Services/cache/saver.service.d.ts +0 -34
  47. package/lib/Services/debouncer.service.d.ts +0 -66
  48. package/lib/Services/error-reporter.service.d.ts +0 -56
  49. package/lib/Services/htmler.service.d.ts +0 -18
  50. package/lib/Services/input.service.d.ts +0 -55
  51. package/lib/Services/number-format.service.d.ts +0 -10
  52. package/lib/Services/object-size.service.d.ts +0 -14
  53. package/lib/Services/page-loader.service.d.ts +0 -62
  54. package/lib/Services/page.service.d.ts +0 -57
  55. package/lib/Services/route.service.d.ts +0 -75
  56. package/lib/Services/service-worker/check-for-update.service.d.ts +0 -33
  57. package/lib/Services/service-worker/handle-unrecoverable-state.service.d.ts +0 -24
  58. package/lib/Services/service-worker/log-update.service.d.ts +0 -20
  59. package/lib/Services/service-worker/prompt-update.service.d.ts +0 -63
  60. package/lib/Services/service-worker/service-worker.service.d.ts +0 -40
  61. package/lib/Services/storage.service.d.ts +0 -115
  62. package/lib/Services/theme.service.d.ts +0 -29
  63. package/lib/Services/translation.service.d.ts +0 -182
  64. package/lib/Services/utility.service.d.ts +0 -989
  65. package/lib/Services/window-security.service.d.ts +0 -10
  66. package/lib/Shared/classes/page-loader.class.d.ts +0 -41
  67. package/lib/Shared/components/add-item/add-item.component.d.ts +0 -31
  68. package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts +0 -75
  69. package/lib/Shared/components/autocomplete/autocomplete.component.d.ts +0 -81
  70. package/lib/Shared/components/autocomplete/autocomplete.module.d.ts +0 -6
  71. package/lib/Shared/components/autocomplete/autocomplete.service.d.ts +0 -58
  72. package/lib/Shared/components/btn/btn-lg/btn-lg.component.d.ts +0 -55
  73. package/lib/Shared/components/btn/btn-link/btn-link.component.d.ts +0 -21
  74. package/lib/Shared/components/btn/btn.component.d.ts +0 -216
  75. package/lib/Shared/components/btn/btn.model.d.ts +0 -135
  76. package/lib/Shared/components/btn/btn.module.d.ts +0 -4
  77. package/lib/Shared/components/btn/btn.service.d.ts +0 -80
  78. package/lib/Shared/components/btn/details-btn/details-btn.component.d.ts +0 -17
  79. package/lib/Shared/components/btn/details-btn/details-btn.module.d.ts +0 -1
  80. package/lib/Shared/components/card/card.component.d.ts +0 -22
  81. package/lib/Shared/components/card/card.module.d.ts +0 -1
  82. package/lib/Shared/components/confirm-dialog/confirm-dialog.component.d.ts +0 -36
  83. package/lib/Shared/components/confirm-dialog/confirm-dialog.module.d.ts +0 -1
  84. package/lib/Shared/components/confirm-dialog/confirm-dialog.service.d.ts +0 -21
  85. package/lib/Shared/components/core/button/button.component.d.ts +0 -28
  86. package/lib/Shared/components/core/button/components.module.d.ts +0 -1
  87. package/lib/Shared/components/documents-name-display/documents-name-display.component.d.ts +0 -44
  88. package/lib/Shared/components/documents-name-display/documents-name-display.model.d.ts +0 -6
  89. package/lib/Shared/components/documents-name-display/documents-name-display.module.d.ts +0 -1
  90. package/lib/Shared/components/editable-text-case/editable-text-case.component.d.ts +0 -63
  91. package/lib/Shared/components/editable-text-case/editable-text-case.module.d.ts +0 -1
  92. package/lib/Shared/components/export-table/export-table.component.d.ts +0 -61
  93. package/lib/Shared/components/export-table/export-table.module.d.ts +0 -1
  94. package/lib/Shared/components/fields-to-display/fields-to-display.component.d.ts +0 -66
  95. package/lib/Shared/components/file-upload/file-upload.component.d.ts +0 -96
  96. package/lib/Shared/components/form-error/form-error.component.d.ts +0 -73
  97. package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +0 -95
  98. package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +0 -234
  99. package/lib/Shared/components/form-generator/form-generator.component.d.ts +0 -207
  100. package/lib/Shared/components/form-generator/form-generator.module.d.ts +0 -1
  101. package/lib/Shared/components/form-generator/form-generator.service.d.ts +0 -45
  102. package/lib/Shared/components/form-link/form-link.component.d.ts +0 -47
  103. package/lib/Shared/components/form-link/form-link.module.d.ts +0 -1
  104. package/lib/Shared/components/form-tab-headers/form-tab-headers.component.d.ts +0 -13
  105. package/lib/Shared/components/form-tab-headers/form-tab-headers.module.d.ts +0 -1
  106. package/lib/Shared/components/idler/idler.component.d.ts +0 -41
  107. package/lib/Shared/components/idler/idler.service.d.ts +0 -71
  108. package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +0 -93
  109. package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +0 -67
  110. package/lib/Shared/components/info-dialog/info-dialog.module.d.ts +0 -4
  111. package/lib/Shared/components/info-dialog/info-dialog.service.d.ts +0 -13
  112. package/lib/Shared/components/info-icon/info-icon.component.d.ts +0 -17
  113. package/lib/Shared/components/info-icon/info-icon.module.d.ts +0 -1
  114. package/lib/Shared/components/input/date-input/date-input.component.d.ts +0 -137
  115. package/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.d.ts +0 -64
  116. package/lib/Shared/components/input/input-base.component.d.ts +0 -264
  117. package/lib/Shared/components/input/input-basic.component.d.ts +0 -96
  118. package/lib/Shared/components/input/input-control.component.d.ts +0 -28
  119. package/lib/Shared/components/input/input-label/input-label.component.d.ts +0 -49
  120. package/lib/Shared/components/input/input-label/input-label.module.d.ts +0 -1
  121. package/lib/Shared/components/input/input-shared.module.d.ts +0 -30
  122. package/lib/Shared/components/input/input-td-rf.component.d.ts +0 -58
  123. package/lib/Shared/components/input/input.component.d.ts +0 -82
  124. package/lib/Shared/components/input/input.model.d.ts +0 -16
  125. package/lib/Shared/components/input/input.module.d.ts +0 -23
  126. package/lib/Shared/components/input/input.service.d.ts +0 -189
  127. package/lib/Shared/components/input/inputs-pipes.pipe.d.ts +0 -61
  128. package/lib/Shared/components/input/inputs.component.d.ts +0 -11
  129. package/lib/Shared/components/input/validation-message/validation-message.component.d.ts +0 -75
  130. package/lib/Shared/components/input/validation-message/validation-message.module.d.ts +0 -1
  131. package/lib/Shared/components/input/validation-message/validation-message.service.d.ts +0 -73
  132. package/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.d.ts +0 -38
  133. package/lib/Shared/components/input-NgModel/input-ngmodel.component.d.ts +0 -165
  134. package/lib/Shared/components/input-NgModel/input-ngmodel.module.d.ts +0 -1
  135. package/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.d.ts +0 -50
  136. package/lib/Shared/components/input-table/input-table.component.d.ts +0 -76
  137. package/lib/Shared/components/input-table/input-table.model.d.ts +0 -23
  138. package/lib/Shared/components/input-table/input-table.service.d.ts +0 -8
  139. package/lib/Shared/components/label/label.component.d.ts +0 -25
  140. package/lib/Shared/components/label/label.module.d.ts +0 -1
  141. package/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.d.ts +0 -5
  142. package/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.d.ts +0 -5
  143. package/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.d.ts +0 -5
  144. package/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.d.ts +0 -5
  145. package/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.d.ts +0 -5
  146. package/lib/Shared/components/loader/loader.component.d.ts +0 -88
  147. package/lib/Shared/components/loader/loader.module.d.ts +0 -1
  148. package/lib/Shared/components/loader/spinner.component.d.ts +0 -8
  149. package/lib/Shared/components/modal/modal-body.directive.d.ts +0 -27
  150. package/lib/Shared/components/modal/modal-footer.directive.d.ts +0 -27
  151. package/lib/Shared/components/modal/modal.component.d.ts +0 -154
  152. package/lib/Shared/components/modal/modal.model.d.ts +0 -21
  153. package/lib/Shared/components/modal/modal.module.d.ts +0 -1
  154. package/lib/Shared/components/modal-components/modal.components.d.ts +0 -7
  155. package/lib/Shared/components/modal-form/modal-form.component.d.ts +0 -79
  156. package/lib/Shared/components/modal-form/modal-form.module.d.ts +0 -1
  157. package/lib/Shared/components/modal-header/modal-header.component.d.ts +0 -35
  158. package/lib/Shared/components/modal-header/modal-header.module.d.ts +0 -1
  159. package/lib/Shared/components/narration-history-comp/narration-history-comp.component.d.ts +0 -34
  160. package/lib/Shared/components/notifications/notifications.component.d.ts +0 -10
  161. package/lib/Shared/components/notifications/notifications.service.d.ts +0 -9
  162. package/lib/Shared/components/page-center-body/page-center-body.component.d.ts +0 -5
  163. package/lib/Shared/components/page-template/page-template.component.d.ts +0 -181
  164. package/lib/Shared/components/page-template/page-template.module.d.ts +0 -1
  165. package/lib/Shared/components/page-to-component/page-to-component.component.d.ts +0 -70
  166. package/lib/Shared/components/page-to-component/page-to-component.directive.d.ts +0 -8
  167. package/lib/Shared/components/page-to-component/page-to-component.module.d.ts +0 -1
  168. package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +0 -33
  169. package/lib/Shared/components/paginator/paginator.component.d.ts +0 -57
  170. package/lib/Shared/components/phone-number/phone-number.component.d.ts +0 -129
  171. package/lib/Shared/components/phone-number/phone-number.service.d.ts +0 -33
  172. package/lib/Shared/components/rich-text-editor/rich-text-editor.component.d.ts +0 -94
  173. package/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.d.ts +0 -41
  174. package/lib/Shared/components/row-actions/row-actions.component.d.ts +0 -74
  175. package/lib/Shared/components/row-actions/row-actions.module.d.ts +0 -1
  176. package/lib/Shared/components/svg-icon/svg-icon.component.d.ts +0 -20
  177. package/lib/Shared/components/svg-icon/svg-icon.model.d.ts +0 -1
  178. package/lib/Shared/components/svg-icon/svg-icon.module.d.ts +0 -1
  179. package/lib/Shared/components/svg-icon/svg-icon.service.d.ts +0 -11
  180. package/lib/Shared/components/table/table-base.component.d.ts +0 -240
  181. package/lib/Shared/components/table/table-https/table-https.component.d.ts +0 -168
  182. package/lib/Shared/components/table/table-input/table-input-row/table-input-row.component.d.ts +0 -54
  183. package/lib/Shared/components/table/table-input/table-input.component.d.ts +0 -251
  184. package/lib/Shared/components/table/table-input/table-input.model.d.ts +0 -21
  185. package/lib/Shared/components/table/table-plain/table-plain.component.d.ts +0 -118
  186. package/lib/Shared/components/table/table-plain.service.d.ts +0 -52
  187. package/lib/Shared/components/table/table.pipe.d.ts +0 -87
  188. package/lib/Shared/components/text/text.component.d.ts +0 -6
  189. package/lib/Shared/components/text/text.module.d.ts +0 -1
  190. package/lib/Shared/components/text-area-modal/text-area-modal.component.d.ts +0 -27
  191. package/lib/Shared/components/text-area-modal/text-area-modal.service.d.ts +0 -10
  192. package/lib/Shared/components/text-case-1/text-case-1.component.d.ts +0 -53
  193. package/lib/Shared/components/text-case-1/text-case-1.module.d.ts +0 -1
  194. package/lib/Shared/components/text-case-2/text-case-2.component.d.ts +0 -219
  195. package/lib/Shared/components/text-case-2/text-case-2.module.d.ts +0 -1
  196. package/lib/Shared/components/text-case-2/text-case.service.d.ts +0 -23
  197. package/lib/Shared/components/text-case-input/text-case-input.component.d.ts +0 -9
  198. package/lib/Shared/components/text-case-input/text-case-input.module.d.ts +0 -1
  199. package/lib/Shared/components/toggle-input-form/toggle-input-form.component.d.ts +0 -138
  200. package/lib/Shared/components/toggle-input-form/toggle-input-form.model.d.ts +0 -27
  201. package/lib/Shared/components/translator-case/translator-case.component.d.ts +0 -6
  202. package/lib/Shared/components/vertical-nav/vertical-nav.component.d.ts +0 -101
  203. package/lib/Shared/components/view-form-buttons/view-form-buttons.component.d.ts +0 -23
  204. package/lib/Shared/components/view-form-buttons/view-form-buttons.module.d.ts +0 -1
  205. package/lib/Shared/components/webcam-media/webcam-media.component.d.ts +0 -162
  206. package/lib/Shared/components/webcam-media/webcam-media.model.d.ts +0 -7
  207. package/lib/Shared/directives/commafy-number.directive.d.ts +0 -104
  208. package/lib/Shared/directives/drag-drop-file-upload.directive.d.ts +0 -50
  209. package/lib/Shared/directives/form-invalid-class.directive.d.ts +0 -49
  210. package/lib/Shared/directives/index.directive.d.ts +0 -369
  211. package/lib/Shared/directives/input-formatter.directive.d.ts +0 -166
  212. package/lib/Shared/directives/integer-only.directive.d.ts +0 -60
  213. package/lib/Shared/directives/mHref.directive.d.ts +0 -6
  214. package/lib/Shared/directives/native-event-listeners.directive.d.ts +0 -228
  215. package/lib/Shared/directives/negative-number-only.directive.d.ts +0 -30
  216. package/lib/Shared/directives/responsiveness.directive.d.ts +0 -157
  217. package/lib/Shared/directives/translator.directive.d.ts +0 -45
  218. package/lib/Shared/injection-tokens/index.injection-tokens.d.ts +0 -3
  219. package/lib/Shared/models/IMenuItem.d.ts +0 -247
  220. package/lib/Shared/models/RouteItem.class.d.ts +0 -120
  221. package/lib/Shared/models/environment.model.d.ts +0 -204
  222. package/lib/Shared/models/form-schema.model.d.ts +0 -1
  223. package/lib/Shared/models/form.class.d.ts +0 -175
  224. package/lib/Shared/models/index.model.d.ts +0 -938
  225. package/lib/Shared/models/translator.model.d.ts +0 -27
  226. package/lib/Shared/pipes/form-invalid-class.pipe.d.ts +0 -28
  227. package/lib/Shared/pipes/number.pipe.d.ts +0 -15
  228. package/lib/Shared/pipes/paginator.pipe.d.ts +0 -28
  229. package/lib/Shared/pipes/translate.pipe.d.ts +0 -104
  230. package/lib/Shared/pipes/utility.pipe.d.ts +0 -715
  231. package/lib/Shared/prototypes/prototypes.d.ts +0 -201
  232. package/lib/Shared/shared.module.d.ts +0 -105
  233. package/lib/authentication/web-user/web-user-authentication.guard.d.ts +0 -15
  234. package/lib/authentication/web-user/web-user-authentication.interceptor.d.ts +0 -17
  235. package/lib/authentication/web-user/web-user-authentication.model.d.ts +0 -34
  236. package/lib/authentication/web-user/web-user-authentication.service.d.ts +0 -91
  237. package/lib/authentication/web-user/web-user-forgot-password.component.d.ts +0 -46
  238. package/lib/authentication/web-user/web-user-login.component.d.ts +0 -45
  239. package/lib/authentication/web-user/web-user-reset-password.component.d.ts +0 -59
  240. package/lib/configs/base-functions.d.ts +0 -141
  241. package/lib/configs/index.config.d.ts +0 -95
  242. package/lib/configs/validation-messages.config.d.ts +0 -20
  243. package/public-api.d.ts +0 -215
@@ -1,137 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { FormControl, FormGroup } from '@angular/forms';
3
- import { MatCalendar } from '@angular/material/datepicker';
4
- import { InputService } from '../input.service';
5
- import { Subscription } from 'rxjs';
6
- import { InputType } from '../../../models/index.model';
7
- import { ETimeType } from '../input.model';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Component for date and datetime input with optional time selection
11
- *
12
- * Provides a customizable date picker with optional time selection functionality.
13
- * Supports both 12-hour and 24-hour time formats based on configuration.
14
- */
15
- export declare class DateInputComponent {
16
- iS: InputService;
17
- datePipe: DatePipe;
18
- /** Input type (date or datetime-local) */
19
- type: string;
20
- /** Number of input chunks to display based on type */
21
- chunksLength: number;
22
- /** Form group for date and time inputs */
23
- protected readonly form: FormGroup<{
24
- date: FormControl<Date>;
25
- hours: FormControl<string>;
26
- minutes: FormControl<string>;
27
- seconds: FormControl<string>;
28
- meridiem: FormControl<number>;
29
- rawValue: FormControl<string>;
30
- }>;
31
- /**
32
- * Computed property that returns the formatted date/time string
33
- * Format: "MMM. dd, yyyy" with optional time component
34
- */
35
- readonly formattedValue: import("@angular/core").Signal<string>;
36
- /** Signal for form value changes */
37
- readonly formValue: import("@angular/core").Signal<Partial<{
38
- date: Date;
39
- hours: string;
40
- minutes: string;
41
- seconds: string;
42
- meridiem: number;
43
- rawValue: string;
44
- }>>;
45
- /** Output event emitted when the date/time value changes */
46
- readonly valueChanged: import("@angular/core").OutputEmitterRef<string>;
47
- /** Signal indicating whether time selection should be shown */
48
- readonly showTime: import("@angular/core").WritableSignal<boolean>;
49
- /** Flag to prevent circular updates when patching from control */
50
- skipPatchFromControl: boolean;
51
- /** Flag to prevent circular updates when patching control */
52
- skipPatchControl: boolean;
53
- /** Signal holding the current control value */
54
- readonly controlValue: import("@angular/core").WritableSignal<string>;
55
- /**
56
- * Sets the value of the date/time input
57
- * Handles parsing and distributing values to the appropriate form controls
58
- * @param v ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
59
- */
60
- set value(v: string);
61
- /** CSS class for the input control background */
62
- readonly inpCl: import("@angular/core").InputSignal<string>;
63
- /** Additional CSS classes for the component */
64
- readonly cls: import("@angular/core").InputSignal<string>;
65
- /** CSS classes specifically for the input element */
66
- readonly inputClass: import("@angular/core").InputSignal<string>;
67
- /** Flag indicating if the input is valid */
68
- valid: boolean;
69
- /** Signal for maximum allowed date */
70
- readonly max: import("@angular/core").WritableSignal<Date>;
71
- /**
72
- * Sets the maximum allowed date
73
- * @param v Date string or timestamp
74
- */
75
- set _max(v: string | number);
76
- /** Signal for minimum allowed date */
77
- readonly min: import("@angular/core").WritableSignal<Date>;
78
- /**
79
- * Sets the minimum allowed date
80
- * @param v Date string or timestamp
81
- */
82
- set _min(v: string | number);
83
- /** ID attribute for the input element */
84
- readonly id: import("@angular/core").InputSignal<string>;
85
- /** Time format type (12H or 24H) */
86
- readonly timeType: import("@angular/core").InputSignal<ETimeType>;
87
- /** Flag indicating if the input is invalid */
88
- invalid: boolean;
89
- /** Flag indicating if the input is disabled */
90
- readonly disabled: import("@angular/core").InputSignal<boolean>;
91
- /** Flag to enable debug mode */
92
- readonly debug: import("@angular/core").InputSignal<boolean>;
93
- /** Flag indicating if the input is read-only */
94
- readonly readonly: import("@angular/core").InputSignal<boolean>;
95
- /**
96
- * Sets the input type and configures time display accordingly
97
- * @param v Input type ('date' or 'datetime-local')
98
- */
99
- set _type(v: InputType);
100
- /** Flag to control validation display */
101
- showValidation: boolean;
102
- /** Reference to the Material Calendar component */
103
- matCalendar: MatCalendar<any>;
104
- /** Collection of subscriptions for cleanup */
105
- subs: {
106
- [x: string]: Subscription;
107
- };
108
- /** Computed property determining whether to use 24-hour format */
109
- readonly use24Hr: import("@angular/core").Signal<boolean>;
110
- /** Computed placeholder text based on input configuration */
111
- readonly placeholder: import("@angular/core").Signal<string>;
112
- /** Computed array of available hours based on time format */
113
- readonly timeHours: import("@angular/core").Signal<string[]>;
114
- /**
115
- * Creates an instance of DateInputComponent
116
- * @param iS Input service for shared functionality
117
- * @param datePipe Angular DatePipe for date formatting
118
- */
119
- constructor(iS: InputService, datePipe: DatePipe);
120
- /**
121
- * Sets up value change handling and formatting
122
- * Processes form changes and emits properly formatted date/time strings
123
- */
124
- formatterFunction: () => void;
125
- /**
126
- * Lifecycle hook for cleanup
127
- * Unsubscribes from all subscriptions to prevent memory leaks
128
- */
129
- ngOnDestroy(): void;
130
- /**
131
- * Lifecycle hook that runs after the component view is initialized
132
- * Sets the calendar's active date if a value exists
133
- */
134
- ngAfterViewInit(): void;
135
- static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, never>;
136
- static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "date-input", never, { "value": { "alias": "value"; "required": false; }; "inpCl": { "alias": "inpCl"; "required": false; "isSignal": true; }; "cls": { "alias": "cls"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; }; "_max": { "alias": "max"; "required": false; }; "_min": { "alias": "min"; "required": false; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "timeType": { "alias": "timeType"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "_type": { "alias": "type"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
137
- }
@@ -1,64 +0,0 @@
1
- import { FormGroup, FormControl, AbstractControl } from '@angular/forms';
2
- import { Subscription } from 'rxjs';
3
- import { InputBasicComponent } from '../input-basic.component';
4
- import { UtilityService } from '../../../../Services/utility.service';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Component for inputting time values in days, hours, and minutes format.
8
- * Extends InputBasicComponent to provide form control functionality.
9
- */
10
- export declare class DayHourMinInputComponent extends InputBasicComponent {
11
- /** Determines whether to clear the input when disabled. Default is false. */
12
- clearOnDisable: import("@angular/core").InputSignal<boolean>;
13
- /** When true, converts the time value to minutes. Default is false. */
14
- toMins: boolean;
15
- /** Form group containing the days, hours, and minutes inputs. */
16
- readonly subForm: FormGroup<{
17
- days: FormControl<any>;
18
- hours: FormControl<any>;
19
- mins: FormControl<any>;
20
- }>;
21
- /** Subscription for value changes. */
22
- sub1: Subscription;
23
- /** Subscription for status changes. */
24
- sub2: Subscription;
25
- /** Subscription for subForm value changes. */
26
- sub3: Subscription;
27
- /** Flag to control whether subForm should be updated. */
28
- updateSubForm: boolean;
29
- /** Signal for the subForm's raw value. */
30
- readonly subFormValue: import("@angular/core").Signal<{
31
- days: any;
32
- hours: any;
33
- mins: any;
34
- }>;
35
- /**
36
- * Function to handle disabling the component.
37
- * @param control - The form control to disable
38
- * @param disable - Whether to disable the control
39
- */
40
- protected disableFunc: (control: AbstractControl<any, any>, disable: boolean) => void;
41
- /**
42
- * Sets the time value in minutes and converts it to days, hours, and minutes.
43
- * @param value - Time value in minutes
44
- */
45
- set mins(value: number);
46
- /** Utility service for time conversions. */
47
- uS: UtilityService<any>;
48
- constructor();
49
- /**
50
- * Initializes the component, sets up subscriptions, and handles form state.
51
- */
52
- ngOnInit(): void;
53
- /**
54
- * Validates the subform based on the parent control's validation state.
55
- * @param form - The form group to validate
56
- */
57
- validateFromParent(form: FormGroup): void;
58
- /**
59
- * Cleans up subscriptions when the component is destroyed.
60
- */
61
- ngOnDestroy(): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<DayHourMinInputComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<DayHourMinInputComponent, "app-day-hour-min-input", never, { "clearOnDisable": { "alias": "clearOnDisable"; "required": false; "isSignal": true; }; "toMins": { "alias": "toMins"; "required": false; }; "mins": { "alias": "mins"; "required": false; }; }, {}, never, never, true, never>;
64
- }
@@ -1,264 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
3
- import { IOption, InputService } from './input.service';
4
- import { IObjectLiteral, InputType } from '../../models/index.model';
5
- import { DateInputComponent } from './date-input/date-input.component';
6
- import { OptionLabelType } from './input-basic.component';
7
- import { ITranslatorConfig } from '../../models/translator.model';
8
- import { TranslationService } from '../../../Services/translation.service';
9
- import { ETimeType } from './input.model';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * Base component for all input types in the application.
13
- * Provides common functionality and properties for various input components.
14
- *
15
- * @template TFormGroup - The type of FormGroup this input belongs to
16
- * @template TControl - The type of the control value
17
- * @template TOption - The type of options for select-like inputs
18
- */
19
- export declare class InputBase<TFormGroup extends {
20
- [K in keyof TFormGroup]: AbstractControl<any, any>;
21
- } = any, TControl = any, TOption = any> {
22
- protected readonly translationService: TranslationService<any>;
23
- protected readonly cdr: ChangeDetectorRef;
24
- /** Reference to the DateInputComponent when used */
25
- readonly dateInputRef: import("@angular/core").Signal<DateInputComponent>;
26
- /** CSS class to apply to the input */
27
- readonly cls: import("@angular/core").InputSignal<string>;
28
- /** Hint text to display with the input */
29
- readonly hint: import("@angular/core").InputSignal<string | number>;
30
- /** Whether to avoid formatting this as a standard input */
31
- readonly dontFormatAsInputSignal: import("@angular/core").InputSignal<boolean>;
32
- /** Whether to check for duplicate values */
33
- readonly duplicateCheckSignal: import("@angular/core").InputSignal<boolean>;
34
- /** Whether to use a preset value */
35
- readonly presetValue: import("@angular/core").InputSignal<boolean>;
36
- /** Label to display at the end of the input */
37
- readonly endLabelSignal: import("@angular/core").InputSignal<string>;
38
- /** Tooltip for the end label */
39
- readonly endLabelTooltipSignal: import("@angular/core").InputSignal<string>;
40
- /** Unique ID for the input */
41
- readonly idSignal: import("@angular/core").InputSignal<string>;
42
- /** CSS class for the input container */
43
- readonly inputContClassSignal: import("@angular/core").InputSignal<string>;
44
- /** Label text for the input */
45
- readonly labelSignal: import("@angular/core").InputSignal<string>;
46
- /** CSS class for the label */
47
- readonly lblCl: import("@angular/core").InputSignal<string>;
48
- /** Whether to use light styling */
49
- readonly light: import("@angular/core").InputSignal<boolean>;
50
- /** Whether to disable formatting */
51
- readonly noFormat: import("@angular/core").InputSignal<boolean>;
52
- /** Placeholder text for the input */
53
- readonly placeholder: import("@angular/core").InputSignal<string>;
54
- /** Whether the input is readonly */
55
- readonly readonlySignal: import("@angular/core").InputSignal<boolean>;
56
- /** Whether the input is required */
57
- readonly requiredSignal: import("@angular/core").InputSignal<boolean>;
58
- /** Whether to show the required indicator */
59
- readonly showRequiredTagSignal: import("@angular/core").InputSignal<boolean>;
60
- /** Suffix text for the input */
61
- readonly suffix: import("@angular/core").InputSignal<string>;
62
- /** Number of rows for textarea inputs */
63
- readonly textareaRowsSignal: import("@angular/core").InputSignal<number>;
64
- /** Configuration for translation */
65
- readonly translatorOptions: import("@angular/core").InputSignal<ITranslatorConfig>;
66
- /** Whether to set the formatted value */
67
- readonly setFormattedValue: import("@angular/core").InputSignal<boolean>;
68
- /** Computed property to determine if formatting should be disabled */
69
- readonly computedNoFormat: import("@angular/core").Signal<boolean>;
70
- /** The form group or control this input is bound to */
71
- readonly form: import("@angular/core").ModelSignal<FormGroup<TFormGroup> | FormControl<TControl> | AbstractControl<TControl, TControl>>;
72
- /** Whether to show the hint inline instead of as a tooltip */
73
- readonly inlineHint: import("@angular/core").InputSignal<boolean>;
74
- /** Whether to automatically pick the value field from options */
75
- readonly autoPickValueField: import("@angular/core").InputSignal<boolean>;
76
- /** Field(s) to use as the label in options */
77
- readonly labelField: import("@angular/core").ModelSignal<keyof TOption | (keyof TOption)[]>;
78
- /** Field to use for option hints */
79
- readonly optionHintField: import("@angular/core").ModelSignal<keyof TOption>;
80
- /** Preset label type for options */
81
- readonly labelType: import("@angular/core").ModelSignal<OptionLabelType>;
82
- /** Custom formatter function for options */
83
- readonly optionFormatter: import("@angular/core").InputSignal<(item: TOption) => string>;
84
- /** Theme to apply to the input */
85
- readonly theme: import("@angular/core").InputSignal<InputTheme>;
86
- /** Whether to use extra small styling */
87
- readonly xsmall: import("@angular/core").InputSignal<boolean>;
88
- /** Name of the form control */
89
- name: import("@angular/core").ModelSignal<keyof TFormGroup>;
90
- /** Whether the input is in an indeterminate state (for checkboxes) */
91
- indeterminate: boolean;
92
- /** Sets the indeterminate state for checkbox inputs */
93
- set _indeterminate(v: boolean);
94
- /** Sets the maximum date to today's date */
95
- set maxToday(v: boolean);
96
- /** Sets the minimum date to today's date */
97
- set minToday(v: boolean);
98
- /** Field in the option object to use as the value */
99
- readonly valueField: import("@angular/core").ModelSignal<keyof TOption>;
100
- /** Prefix text to display before the input */
101
- readonly prefixSignal: import("@angular/core").ModelSignal<string>;
102
- /** Whether to use minimal styling */
103
- readonly miniSignal: import("@angular/core").ModelSignal<boolean>;
104
- /** CSS class for the input element */
105
- readonly inpClSignal: import("@angular/core").ModelSignal<string>;
106
- /** Whether to show an empty option in select inputs */
107
- readonly showEmptyOptionSignal: import("@angular/core").ModelSignal<boolean>;
108
- /** Whether to show the input label */
109
- readonly showLabelSignal: import("@angular/core").ModelSignal<boolean>;
110
- /** Whether to show validation state */
111
- readonly showValidationSignal: import("@angular/core").ModelSignal<boolean>;
112
- /** Whether to show validation icon */
113
- readonly showValidationIconSignal: import("@angular/core").ModelSignal<boolean>;
114
- /** Whether to use small styling */
115
- readonly smallSignal: import("@angular/core").ModelSignal<boolean>;
116
- /** Whether to show validation messages */
117
- readonly showValidationMsgSignal: import("@angular/core").ModelSignal<boolean>;
118
- /** Whether to use stacked layout (label above input) */
119
- readonly stackedSignal: import("@angular/core").InputSignal<boolean>;
120
- /** Whether to enable debug mode */
121
- readonly debug: import("@angular/core").InputSignal<boolean>;
122
- /** Whether to enable verbose logging */
123
- readonly verbose: import("@angular/core").InputSignal<boolean>;
124
- /** Type of time input to use */
125
- readonly timeType: import("@angular/core").InputSignal<ETimeType>;
126
- /** Whether to check parent disabled state before disabling */
127
- readonly checkParentBeforeDisable: import("@angular/core").ModelSignal<boolean>;
128
- /** Whether to clear the value when disabling the input */
129
- readonly clearOnDisable: import("@angular/core").InputSignal<boolean>;
130
- /** Minimum length for text inputs */
131
- readonly minLength: import("@angular/core").InputSignal<number>;
132
- /** Maximum length for text inputs */
133
- readonly maxLength: import("@angular/core").InputSignal<number>;
134
- /** Sets the disabled state of the input */
135
- set _disabled(v: boolean);
136
- /**
137
- * Handles enabling or disabling the form control
138
- * @param control - The form control to enable/disable
139
- * @param disable - Whether to disable the control
140
- */
141
- protected disableFunc: (control: (0 extends 1 & TFormGroup ? {
142
- [key: string]: AbstractControl<any, any>;
143
- } : TFormGroup)[keyof (0 extends 1 & TFormGroup ? {
144
- [key: string]: AbstractControl<any, any>;
145
- } : TFormGroup)], disable: boolean) => void;
146
- /** Sets the input type */
147
- set _type(v: InputType);
148
- /** Whether to show the password (for password inputs) */
149
- readonly showPasswordSignal: import("@angular/core").WritableSignal<boolean>;
150
- /** Whether the input is currently disabled */
151
- readonly disabledSignal: import("@angular/core").Signal<boolean>;
152
- /** Original input type before any transformations */
153
- readonly oTypeSignal: import("@angular/core").WritableSignal<InputType>;
154
- /** Current input type */
155
- readonly typeSignal: import("@angular/core").WritableSignal<InputType>;
156
- /** Maximum value for number inputs or maximum date for date inputs */
157
- readonly maxSignal: import("@angular/core").ModelSignal<string | number>;
158
- /** Minimum value for number inputs or minimum date for date inputs */
159
- readonly minSignal: import("@angular/core").ModelSignal<string | number>;
160
- /** Whether to show the label based on showLabel and label values */
161
- readonly computedShowLabel: import("@angular/core").Signal<boolean>;
162
- /** Input service for common input functionality */
163
- iS: InputService;
164
- /** Computed signal to get the current form control */
165
- readonly control: import("@angular/core").Signal<(0 extends 1 & TFormGroup ? {
166
- [key: string]: AbstractControl<any, any>;
167
- } : TFormGroup)[keyof (0 extends 1 & TFormGroup ? {
168
- [key: string]: AbstractControl<any, any>;
169
- } : TFormGroup)]>;
170
- readonly onControlObtainedEffect: import("@angular/core").EffectRef;
171
- /**
172
- * Adds a function to be called when the control is obtained
173
- * @param key - Unique identifier for the hook
174
- * @param func - Function to execute when control is available
175
- */
176
- readonly addOnControlObtainedHook: (key: string, func: (control: ReturnType<typeof this.control>) => any) => void;
177
- /** Observable of value changes from the control */
178
- readonly valueChanges: import("rxjs").Observable<any>;
179
- readonly formChanged: import("rxjs").Observable<import("@angular/forms").ControlEvent<any>>;
180
- readonly formFieldNotifier: import("@angular/core").Signal<number>;
181
- /** Signal for whether the input is valid */
182
- readonly validSignal: import("@angular/core").Signal<boolean>;
183
- /** Signal for whether the input is invalid */
184
- readonly invalidSignal: import("@angular/core").Signal<boolean>;
185
- /** Signal for the current value of the input */
186
- readonly valueSignal: import("@angular/core").Signal<any>;
187
- /** Signal for whether the input has a value */
188
- readonly hasValue: import("@angular/core").Signal<boolean>;
189
- /** Signal for whether a checkbox input is invalid */
190
- readonly invalidCheckboxSignal: import("@angular/core").Signal<boolean>;
191
- /** Signal for whether the input is dirty */
192
- readonly dirtySignal: import("@angular/core").Signal<boolean>;
193
- /** Signal for whether the input has been touched */
194
- readonly touchedSignal: import("@angular/core").Signal<boolean>;
195
- /** Signal for the current validation errors */
196
- readonly errorsSignal: import("@angular/core").Signal<IObjectLiteral<any>>;
197
- /** JSON string of the current errors */
198
- readonly errorsSignaljson: import("@angular/core").Signal<string>;
199
- /** Signal for whether validation is pending */
200
- readonly pendingSignal: import("@angular/core").Signal<boolean>;
201
- /** Signal for whether the input is pristine */
202
- readonly pristineSignal: import("@angular/core").Signal<boolean>;
203
- /** Signal for whether the control has a required validator */
204
- readonly controlRequiredSignal: import("@angular/core").Signal<boolean>;
205
- /** Signal for whether the input is required (either explicitly or via validator) */
206
- readonly isRequiredSignal: import("@angular/core").Signal<boolean>;
207
- /** Signal for the name of the input as a string */
208
- readonly nameStrSignal: import("@angular/core").Signal<string>;
209
- /** Signal for the CSS class to apply to the input */
210
- readonly inputClassSignal: import("@angular/core").Signal<string>;
211
- /** Whether to use colored styling */
212
- readonly coloredSignal: import("@angular/core").InputSignal<boolean>;
213
- /** Whether the checkbox is checked (for checkbox inputs) */
214
- readonly checkedSignal: import("@angular/core").InputSignal<boolean>;
215
- /** Raw options before formatting */
216
- readonly rawOptionsSignal: import("@angular/core").WritableSignal<any[]>;
217
- /** Resource for loading and formatting options */
218
- readonly optionsResource: import("@angular/core").ResourceRef<{
219
- label: string;
220
- value: any;
221
- originalRow: TOption;
222
- _id: string;
223
- hint?: string | any;
224
- }[]>;
225
- /** Formatted options for select-like inputs */
226
- readonly options: import("@angular/core").Signal<IOption<any>[]>;
227
- /** Whether options are currently loading */
228
- readonly optionsLoading: import("@angular/core").Signal<boolean>;
229
- /** Map of option values to option objects */
230
- readonly optionsMap: import("@angular/core").Signal<{
231
- [value: string]: IOption<any>;
232
- }>;
233
- protected readonly doesOptionExist: (val: any) => IOption<any>;
234
- /**Actions to perform when a new control is created */
235
- protected readonly onControlObtainedMap: import("@angular/core").WritableSignal<{
236
- [key: string]: (control: ReturnType<any>) => any;
237
- }>;
238
- /**Actions to perform when a new control is created */
239
- readonly onControlObtainedList: import("@angular/core").Signal<((control: ReturnType<any>) => any)[]>;
240
- /** Output event for value changes */
241
- readonly mchange: import("@angular/core").OutputEmitterRef<any>;
242
- /** Output event for option selection */
243
- readonly mSelectOptionChange: import("@angular/core").OutputEmitterRef<TOption>;
244
- /** Currently selected option */
245
- readonly selectedOption: import("@angular/core").Signal<IOption<any>>;
246
- /**
247
- * Constructor for InputBase
248
- * Sets up effects for label propagation and preset values
249
- */
250
- constructor();
251
- /**
252
- * Handles selection of an option
253
- * @param option - The selected option
254
- */
255
- protected selectOption(option: IOption): void;
256
- /**
257
- * Handles date changes from date inputs
258
- * @param value - The new date value
259
- */
260
- dateChanged(value: string): void;
261
- static ɵfac: i0.ɵɵFactoryDeclaration<InputBase<any, any, any>, never>;
262
- static ɵcmp: i0.ɵɵComponentDeclaration<InputBase<any, any, any>, "ng-component", never, { "cls": { "alias": "cls"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "dontFormatAsInputSignal": { "alias": "dontFormatAsInput"; "required": false; "isSignal": true; }; "duplicateCheckSignal": { "alias": "duplicateCheck"; "required": false; "isSignal": true; }; "presetValue": { "alias": "presetValue"; "required": false; "isSignal": true; }; "endLabelSignal": { "alias": "endLabel"; "required": false; "isSignal": true; }; "endLabelTooltipSignal": { "alias": "endLabelTooltip"; "required": false; "isSignal": true; }; "idSignal": { "alias": "id"; "required": false; "isSignal": true; }; "inputContClassSignal": { "alias": "inputContClass"; "required": false; "isSignal": true; }; "labelSignal": { "alias": "label"; "required": false; "isSignal": true; }; "lblCl": { "alias": "lblCl"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; "noFormat": { "alias": "noFormat"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlySignal": { "alias": "readonly"; "required": false; "isSignal": true; }; "requiredSignal": { "alias": "required"; "required": false; "isSignal": true; }; "showRequiredTagSignal": { "alias": "showRequiredTag"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "textareaRowsSignal": { "alias": "textareaRows"; "required": false; "isSignal": true; }; "translatorOptions": { "alias": "translatorOptions"; "required": false; "isSignal": true; }; "setFormattedValue": { "alias": "setFormattedValue"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "inlineHint": { "alias": "inlineHint"; "required": false; "isSignal": true; }; "autoPickValueField": { "alias": "autoPickValueField"; "required": false; "isSignal": true; }; "labelField": { "alias": "labelField"; "required": false; "isSignal": true; }; "optionHintField": { "alias": "optionHintField"; "required": false; "isSignal": true; }; "labelType": { "alias": "labelType"; "required": false; "isSignal": true; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "xsmall": { "alias": "xsmall"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "_indeterminate": { "alias": "indeterminate"; "required": false; }; "maxToday": { "alias": "maxToday"; "required": false; }; "minToday": { "alias": "minToday"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "prefixSignal": { "alias": "prefix"; "required": false; "isSignal": true; }; "miniSignal": { "alias": "mini"; "required": false; "isSignal": true; }; "inpClSignal": { "alias": "inpCl"; "required": false; "isSignal": true; }; "showEmptyOptionSignal": { "alias": "showEmptyOption"; "required": false; "isSignal": true; }; "showLabelSignal": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showValidationSignal": { "alias": "showValidation"; "required": false; "isSignal": true; }; "showValidationIconSignal": { "alias": "showValidationIcon"; "required": false; "isSignal": true; }; "smallSignal": { "alias": "small"; "required": false; "isSignal": true; }; "showValidationMsgSignal": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "stackedSignal": { "alias": "stacked"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "verbose": { "alias": "verbose"; "required": false; "isSignal": true; }; "timeType": { "alias": "timeType"; "required": false; "isSignal": true; }; "checkParentBeforeDisable": { "alias": "checkParentBeforeDisable"; "required": false; "isSignal": true; }; "clearOnDisable": { "alias": "clearOnDisable"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "_disabled": { "alias": "disabled"; "required": false; }; "_type": { "alias": "type"; "required": false; }; "maxSignal": { "alias": "max"; "required": false; "isSignal": true; }; "minSignal": { "alias": "min"; "required": false; "isSignal": true; }; "coloredSignal": { "alias": "colored"; "required": false; "isSignal": true; }; "checkedSignal": { "alias": "checkedSignal"; "required": false; "isSignal": true; }; }, { "form": "formChange"; "labelField": "labelFieldChange"; "optionHintField": "optionHintFieldChange"; "labelType": "labelTypeChange"; "name": "nameChange"; "valueField": "valueFieldChange"; "prefixSignal": "prefixChange"; "miniSignal": "miniChange"; "inpClSignal": "inpClChange"; "showEmptyOptionSignal": "showEmptyOptionChange"; "showLabelSignal": "showLabelChange"; "showValidationSignal": "showValidationChange"; "showValidationIconSignal": "showValidationIconChange"; "smallSignal": "smallChange"; "showValidationMsgSignal": "showValidationMsgChange"; "checkParentBeforeDisable": "checkParentBeforeDisableChange"; "maxSignal": "maxChange"; "minSignal": "minChange"; "mchange": "mchange"; "mSelectOptionChange": "mSelectOptionChange"; }, never, never, true, never>;
263
- }
264
- export type InputTheme = 1 | 2;
@@ -1,96 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { Observable, ReplaySubject } from 'rxjs';
4
- import { FCInput, IValidationMessage } from '../../models/index.model';
5
- import { MatSelect } from '@angular/material/select';
6
- import { InputBase } from './input-base.component';
7
- import { IOption } from './input.service';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * A versatile input component that supports various input types including text, number, select, checkbox, etc.
11
- * Extends InputBase to provide common input functionality with additional features.
12
- *
13
- * @template TFormGroup - The type of form group this input belongs to
14
- * @template TControl - The type of control value
15
- * @template TOption - The type of options for select/autocomplete inputs
16
- */
17
- export declare class InputBasicComponent<TFormGroup extends {
18
- [K in keyof TFormGroup]: AbstractControl<any, any>;
19
- } = any, TControl = any, TOption = any> extends InputBase<TFormGroup, TControl, TOption> implements OnInit {
20
- /** File types accepted by file input */
21
- accept: string;
22
- /** Whether to enable browser autocomplete */
23
- autocomplete: boolean;
24
- /** Input configuration object */
25
- inp: FCInput;
26
- /** Additional context data for the input */
27
- contextData: any;
28
- /** Number of decimal points for number inputs */
29
- decimalPoints: number;
30
- /** Files selected in file input */
31
- files: File[];
32
- /** Whether to hide the input */
33
- hide: boolean;
34
- /** Whether to clear the input value when disabled */
35
- readonly clearOnDisable: import("@angular/core").InputSignal<boolean>;
36
- /** URL for the label link */
37
- labelLink: string;
38
- /** Whether the input is in loading state */
39
- readonly loading: import("@angular/core").ModelSignal<boolean>;
40
- /** Whether to allow multiple selections/files */
41
- multiple: boolean;
42
- /** Function to fetch options asynchronously */
43
- optionsFunc: (...val: any) => Observable<any[]>;
44
- /** Custom validation messages */
45
- vms: IValidationMessage[];
46
- /** Emits the selected option's label */
47
- mSelectedOptionLabel: EventEmitter<string>;
48
- /** Subject for options data */
49
- options$: ReplaySubject<IOption<any>[]>;
50
- /** Whether view has been initialized */
51
- viewInited: boolean;
52
- /** Whether value has been forcefully patched */
53
- forcePatched: boolean;
54
- /**
55
- * Sets the current date as the input value
56
- * @param v - Whether to set current date
57
- */
58
- set _setCurrentDate(v: boolean);
59
- /**
60
- * Sets the options for select/autocomplete inputs
61
- * @param v - Array of options
62
- */
63
- set _options(v: TOption[] | null);
64
- /** Reference to the MatSelect element */
65
- matSelect: MatSelect;
66
- constructor();
67
- /**
68
- * Initializes the component, setting default values and configurations
69
- */
70
- ngOnInit(): void;
71
- ngAfterViewInit(): void;
72
- /**
73
- * Disables the control if the disabled signal is true
74
- * @param control - The control to disable (defaults to this.control())
75
- */
76
- disableControl(control?: AbstractControl): void;
77
- /**
78
- * Handles value changes and applies validation rules
79
- * @param e - The change event
80
- */
81
- change(e: {
82
- target: {
83
- checked?: boolean;
84
- value: any;
85
- };
86
- } | Event): void;
87
- /**
88
- * Handles file uploads
89
- * @param e - The file input change event
90
- */
91
- upload(e: Event): void;
92
- static ɵfac: i0.ɵɵFactoryDeclaration<InputBasicComponent<any, any, any>, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<InputBasicComponent<any, any, any>, "app-input-basic,app-input", never, { "accept": { "alias": "accept"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "inp": { "alias": "input"; "required": false; }; "contextData": { "alias": "contextData"; "required": false; }; "decimalPoints": { "alias": "decimalPoints"; "required": false; }; "files": { "alias": "files"; "required": false; }; "hide": { "alias": "hide"; "required": false; }; "clearOnDisable": { "alias": "clearOnDisable"; "required": false; "isSignal": true; }; "labelLink": { "alias": "labelLink"; "required": false; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; }; "optionsFunc": { "alias": "optionsFunc"; "required": false; }; "vms": { "alias": "vms"; "required": false; }; "_setCurrentDate": { "alias": "setCurrentDate"; "required": false; }; "_options": { "alias": "options"; "required": false; }; }, { "loading": "loadingChange"; "mSelectedOptionLabel": "mSelectedOptionLabel"; }, never, never, true, never>;
94
- }
95
- export type OptionLabelType = 'acd' | 'bnk' | 'ccd' | 'cd' | 'cdt' | 'cf' | 'cg' | 'cl' | 'cmd' | 'cn' | 'ct' | 'cu' | 'gd' | 'ha' | 'id' | 'if' | 'ifl' | 'il' | 'it' | 'md' | 'na' | 'pd' | 'pep' | 'pam' | 'nf' | 'td' | 'title' | 'ud' | 'uf' | 'vl' | 'vv';
96
- export { IOption } from './input.service';
@@ -1,28 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import { InputBasicComponent } from './input-basic.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Component that wraps an input control with additional functionality.
6
- * Extends the base InputBasicComponent to provide form control integration.
7
- */
8
- export declare class InputControlComponent extends InputBasicComponent {
9
- /**
10
- * Sets the form control for this input component.
11
- * Creates a FormGroup with the control using the component's name.
12
- *
13
- * @param value - The FormControl to be used by this component
14
- */
15
- set setControl(value: FormControl);
16
- /**
17
- * Initializes the component with default values.
18
- * Sets the default name to 'control'.
19
- */
20
- constructor();
21
- /**
22
- * Lifecycle hook that is called after data-bound properties are initialized.
23
- * Calls the parent class's ngOnInit method.
24
- */
25
- ngOnInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<InputControlComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<InputControlComponent, "input-control", never, { "setControl": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
28
- }