ngx-t-forms 0.0.1

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 (220) hide show
  1. package/README.md +27 -0
  2. package/fesm2022/ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs +436 -0
  3. package/fesm2022/ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs.map +1 -0
  4. package/fesm2022/ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs +311 -0
  5. package/fesm2022/ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs.map +1 -0
  6. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs +208 -0
  7. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs.map +1 -0
  8. package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs +29 -0
  9. package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs.map +1 -0
  10. package/fesm2022/ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs +132 -0
  11. package/fesm2022/ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs.map +1 -0
  12. package/fesm2022/ngx-t-forms-form-json-view.component-DwEXL85v.mjs +22 -0
  13. package/fesm2022/ngx-t-forms-form-json-view.component-DwEXL85v.mjs.map +1 -0
  14. package/fesm2022/ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs +220 -0
  15. package/fesm2022/ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs.map +1 -0
  16. package/fesm2022/ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs +347 -0
  17. package/fesm2022/ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs.map +1 -0
  18. package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs +9 -0
  19. package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs.map +1 -0
  20. package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs +126 -0
  21. package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs.map +1 -0
  22. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs +88 -0
  23. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs.map +1 -0
  24. package/fesm2022/ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs +108 -0
  25. package/fesm2022/ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs.map +1 -0
  26. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs +153 -0
  27. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs.map +1 -0
  28. package/fesm2022/ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs +32 -0
  29. package/fesm2022/ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs.map +1 -0
  30. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs +230 -0
  31. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs.map +1 -0
  32. package/fesm2022/ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs +9292 -0
  33. package/fesm2022/ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs.map +1 -0
  34. package/fesm2022/ngx-t-forms-pipeline-generator.component-DieETx2I.mjs +776 -0
  35. package/fesm2022/ngx-t-forms-pipeline-generator.component-DieETx2I.mjs.map +1 -0
  36. package/fesm2022/ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs +188 -0
  37. package/fesm2022/ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs.map +1 -0
  38. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs +292 -0
  39. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs.map +1 -0
  40. package/fesm2022/ngx-t-forms-section-report.component-CBXHr1qQ.mjs +156 -0
  41. package/fesm2022/ngx-t-forms-section-report.component-CBXHr1qQ.mjs.map +1 -0
  42. package/fesm2022/ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs +143 -0
  43. package/fesm2022/ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs.map +1 -0
  44. package/fesm2022/ngx-t-forms-validators-config.component-gtr6Ohn3.mjs +216 -0
  45. package/fesm2022/ngx-t-forms-validators-config.component-gtr6Ohn3.mjs.map +1 -0
  46. package/fesm2022/ngx-t-forms.mjs +2 -0
  47. package/fesm2022/ngx-t-forms.mjs.map +1 -0
  48. package/index.d.ts +5 -0
  49. package/lib/components/dialog-template/dialog-template.component.d.ts +10 -0
  50. package/lib/components/form-builder/elements/default-element/default-element.component.d.ts +12 -0
  51. package/lib/components/form-builder/elements/form-json-view/form-json-view.component.d.ts +9 -0
  52. package/lib/components/form-builder/elements/form-section-stepper/form-section-stepper.component.d.ts +146 -0
  53. package/lib/components/form-builder/elements/form-submissions-config/config.d.ts +18 -0
  54. package/lib/components/form-builder/elements/form-submissions-config/form-submissions-config.component.d.ts +61 -0
  55. package/lib/components/form-builder/elements/forms-builder-menu/forms-builder-menu.component.d.ts +35 -0
  56. package/lib/components/form-builder/elements/input-editor/input-editor.component.d.ts +18 -0
  57. package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +42 -0
  58. package/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.d.ts +12 -0
  59. package/lib/components/form-builder/elements/section-report/section-report.component.d.ts +23 -0
  60. package/lib/components/form-builder/elements/select-form-template/select-form-template.component.d.ts +17 -0
  61. package/lib/components/form-builder/form-builder.component.d.ts +29 -0
  62. package/lib/components/forms/forms.component.d.ts +44 -0
  63. package/lib/components/forms/functions/cloneCopyFormInput.d.ts +3 -0
  64. package/lib/components/forms/functions/elementBlur.d.ts +2 -0
  65. package/lib/components/forms/functions/elementConfigurationChanged.d.ts +2 -0
  66. package/lib/components/forms/functions/findFormInput.d.ts +2 -0
  67. package/lib/components/forms/functions/formHttpSubmissions.d.ts +6 -0
  68. package/lib/components/forms/functions/selectInputTemplate.d.ts +3 -0
  69. package/lib/components/forms/store/Form-actions-formBuilder.d.ts +34 -0
  70. package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +42 -0
  71. package/lib/components/forms/store/Forms-Actions.d.ts +75 -0
  72. package/lib/components/forms/store/Forms-Effects.d.ts +14 -0
  73. package/lib/components/forms/store/Forms-selectors.d.ts +24 -0
  74. package/lib/components/forms/store/forms-store.service.d.ts +246 -0
  75. package/lib/components/index.d.ts +11 -0
  76. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/api-value-access-rules.component.d.ts +59 -0
  77. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/data-tree/data-tree.component.d.ts +60 -0
  78. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree.d.ts +57 -0
  79. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/extractNodeFromTree.d.ts +3 -0
  80. package/lib/components/t-dynamic-data-edit/elements/calculated-field-rules/calculated-field-rules.component.d.ts +92 -0
  81. package/lib/components/t-dynamic-data-edit/elements/config-mscoa-additional-inputs/config-mscoa-additional-inputs.component.d.ts +73 -0
  82. package/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.d.ts +48 -0
  83. package/lib/components/t-dynamic-data-edit/elements/json-editor/json-editor.component.d.ts +26 -0
  84. package/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.d.ts +43 -0
  85. package/lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.d.ts +44 -0
  86. package/lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.d.ts +48 -0
  87. package/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.d.ts +75 -0
  88. package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/elements/aggregate-stage-editor/aggregate-stage-editor.component.d.ts +33 -0
  89. package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +92 -0
  90. package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/convertPostmanCollectionToTree.d.ts +4 -0
  91. package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/filterCollectionItems.d.ts +3 -0
  92. package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/methodColors.d.ts +1 -0
  93. package/lib/components/t-dynamic-data-edit/elements/postman-collections/postman-collections.component.d.ts +28 -0
  94. package/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.d.ts +57 -0
  95. package/lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.d.ts +46 -0
  96. package/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.d.ts +48 -0
  97. package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +19 -0
  98. package/lib/components/t-dynamic-data-edit/elements/validators-config/validators-config.component.d.ts +60 -0
  99. package/lib/components/t-dynamic-data-edit/functions/testData.d.ts +2 -0
  100. package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +48 -0
  101. package/lib/components/t-dynamic-data-view/t-dynamic-data-view.component.d.ts +14 -0
  102. package/lib/components/t-form-input/elements/Geo-location-form-input/elements/geo-location-form-input/geo-location-form-input.component.d.ts +18 -0
  103. package/lib/components/t-form-input/elements/Geo-location-form-input/functions/getGeoLocation.d.ts +2 -0
  104. package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +16 -0
  105. package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +14 -0
  106. package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +17 -0
  107. package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +17 -0
  108. package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +14 -0
  109. package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +14 -0
  110. package/lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.d.ts +18 -0
  111. package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/config.d.ts +9 -0
  112. package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/form-input-rich-text-editor.component.d.ts +14 -0
  113. package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/sync-editor/sync-editor.component.d.ts +10 -0
  114. package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +14 -0
  115. package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/camera-functions.d.ts +3 -0
  116. package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.d.ts +30 -0
  117. package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +14 -0
  118. package/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.d.ts +28 -0
  119. package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +13 -0
  120. package/lib/components/t-form-input/elements/mscoa-form-input/elements/account-value/account-value.component.d.ts +37 -0
  121. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +93 -0
  122. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-computation/mscoa-computation.component.d.ts +62 -0
  123. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +21 -0
  124. package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-account-table/scoa-account-table.component.d.ts +83 -0
  125. package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-input/scoa-input.component.d.ts +27 -0
  126. package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +16 -0
  127. package/lib/components/t-form-input/elements/mscoa-form-input/store/accountConstants.d.ts +5 -0
  128. package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-actions.d.ts +19 -0
  129. package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +61 -0
  130. package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-effects.d.ts +8 -0
  131. package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-selectors.d.ts +32 -0
  132. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +37 -0
  133. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-edit/multiple-input-table-edit.component.d.ts +52 -0
  134. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-view/multiple-input-table-view.component.d.ts +39 -0
  135. package/lib/components/t-form-input/elements/multiple-input-input-element/functions/getListCalculated.d.ts +2 -0
  136. package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +16 -0
  137. package/lib/components/t-form-input/elements/section-title/section-title.component.d.ts +7 -0
  138. package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +23 -0
  139. package/lib/components/t-form-input/elements/select-table-input/elements/input-table/input-table.component.d.ts +29 -0
  140. package/lib/components/t-form-input/elements/select-table-input/select-table-input.component.d.ts +13 -0
  141. package/lib/components/t-form-input/elements/signature-input-element/config/signature.d.ts +2 -0
  142. package/lib/components/t-form-input/elements/signature-input-element/core/signature-pad-input/signature-pad-input.component.d.ts +40 -0
  143. package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +13 -0
  144. package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +13 -0
  145. package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +15 -0
  146. package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +13 -0
  147. package/lib/components/t-form-input/t-form-input.component.d.ts +24 -0
  148. package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +10 -0
  149. package/lib/components/user-form-stepper/user-form-stepper.component.d.ts +23 -0
  150. package/lib/injection-tokens/index.d.ts +14 -0
  151. package/lib/ngx-t-forms.component.d.ts +5 -0
  152. package/lib/ngx-t-forms.service.d.ts +6 -0
  153. package/lib/services/core/t-form-builder/functions/addFormInputToForm.d.ts +8 -0
  154. package/lib/services/core/t-form-builder/functions/addMultipleInputFunction.d.ts +2 -0
  155. package/lib/services/core/t-form-builder/functions/addNewSection.d.ts +2 -0
  156. package/lib/services/core/t-form-builder/functions/deleteSection.d.ts +2 -0
  157. package/lib/services/core/t-form-builder/functions/formCanSave.d.ts +3 -0
  158. package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +91 -0
  159. package/lib/services/core/t-form-builder/functions/moveFormInput.d.ts +4 -0
  160. package/lib/services/core/t-form-builder/functions/moveInputToDiffSection.d.ts +2 -0
  161. package/lib/services/core/t-form-builder/functions/multipleInputToggleLabel.d.ts +2 -0
  162. package/lib/services/core/t-form-builder/functions/removeItem.d.ts +7 -0
  163. package/lib/services/core/t-form-builder/functions/sectionDrop.d.ts +3 -0
  164. package/lib/services/core/t-form-builder/functions/stepTitleChangeStep.d.ts +14 -0
  165. package/lib/services/core/t-form-controller/function/calculateInputValue.d.ts +11 -0
  166. package/lib/services/core/t-form-controller/function/getApiDataFetching.d.ts +4 -0
  167. package/lib/services/core/t-form-controller/function/postApiDataFetching.d.ts +16 -0
  168. package/lib/services/core/t-form-controller/function/validateMinInputForPostRequest.d.ts +8 -0
  169. package/lib/services/core/t-form-environment-injection/functions/provideNgxTforms.d.ts +3 -0
  170. package/lib/services/core/t-form-section-controller/Functions/commonFormOperations.d.ts +21 -0
  171. package/lib/services/core/t-form-section-controller/Functions/errorResolver.d.ts +7 -0
  172. package/lib/services/core/t-form-section-controller/Functions/formGenerator.d.ts +29 -0
  173. package/lib/services/core/t-form-section-controller/Functions/getValueFromPathMap.d.ts +6 -0
  174. package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +99 -0
  175. package/lib/services/core/t-form-tower-controller/functions/allFormInputs.d.ts +3 -0
  176. package/lib/services/core/t-form-tower-controller/functions/createEmptyForm.d.ts +2 -0
  177. package/lib/services/core/t-form-tower-controller/functions/extractInitFunctions.d.ts +8 -0
  178. package/lib/services/core/t-form-tower-controller/functions/getAllFunctionTypes.d.ts +12 -0
  179. package/lib/services/core/t-form-tower-controller/functions/getFormValue.d.ts +3 -0
  180. package/lib/services/core/t-form-tower-controller/functions/getSubmissionStatus.d.ts +7 -0
  181. package/lib/services/core/t-form-tower-controller/functions/handleStepChange.d.ts +3 -0
  182. package/lib/services/core/t-form-tower-controller/functions/multipleInputRowIDControllInput.d.ts +2 -0
  183. package/lib/services/core/t-form-tower-controller/functions/prePoPulateForm.d.ts +85 -0
  184. package/lib/services/core/t-form-tower-controller/functions/saveMultipleInputForm.d.ts +10 -0
  185. package/lib/services/core/t-form-tower-controller/functions/selectFormSteps.d.ts +4 -0
  186. package/lib/services/core/t-form-tower-controller/functions/setControlTempErrors.d.ts +3 -0
  187. package/lib/services/core/t-form-tower-controller/functions/setInputAsTouchedAndDirty.d.ts +2 -0
  188. package/lib/services/core/t-form-tower-controller/functions/setInputError.d.ts +5 -0
  189. package/lib/services/core/t-form-tower-controller/functions/setInputStatus.d.ts +3 -0
  190. package/lib/services/core/t-form-tower-controller/functions/setSectionAsSeen.d.ts +3 -0
  191. package/lib/services/core/t-form-tower-controller/functions/startTowerFormChangesEventListener.d.ts +10 -0
  192. package/lib/services/core/t-form-tower-controller/functions/toggleMultipleInput.d.ts +5 -0
  193. package/lib/services/core/t-form-tower-controller/functions/updateChangeHistory.d.ts +2 -0
  194. package/lib/services/core/t-form-tower-controller/functions/updateFormInputConfig.d.ts +6 -0
  195. package/lib/services/core/t-form-tower-controller/functions/updateValue.d.ts +2 -0
  196. package/lib/services/core/t-input-controller/functions/baseCustomInput.d.ts +104 -0
  197. package/lib/services/core/t-input-controller/functions/colorCoding.d.ts +24 -0
  198. package/lib/services/core/t-input-controller/functions/configureCols.d.ts +5 -0
  199. package/lib/services/core/t-input-controller/functions/generateInputSecret.d.ts +2 -0
  200. package/lib/services/core/t-input-controller/functions/inputErrorMessage.d.ts +3 -0
  201. package/lib/services/hhtpResources/Pipeline/pipeline.service.d.ts +80 -0
  202. package/lib/services/index.d.ts +5 -0
  203. package/lib/shared/functions/assignDeepPropertyToObject.d.ts +1 -0
  204. package/lib/shared/functions/camelize.d.ts +6 -0
  205. package/lib/shared/functions/daysAgoTransform.d.ts +1 -0
  206. package/lib/shared/functions/enryption.d.ts +9 -0
  207. package/lib/shared/functions/evaluateArrayAccessRules.d.ts +14 -0
  208. package/lib/shared/functions/getAvatar.d.ts +1 -0
  209. package/lib/shared/functions/getDeepObject.d.ts +138 -0
  210. package/lib/shared/functions/getInputIllustration.d.ts +2 -0
  211. package/lib/shared/functions/isEqual.d.ts +12 -0
  212. package/lib/shared/functions/migrationCheck.d.ts +3 -0
  213. package/lib/shared/functions/replaceUrlVariables.d.ts +2 -0
  214. package/lib/shared/functions/searchArray.d.ts +1 -0
  215. package/lib/shared/functions/textIconsForUserHints.d.ts +20 -0
  216. package/lib/shared/index.d.ts +6 -0
  217. package/lib/shared/modules/mat-modules.module.d.ts +50 -0
  218. package/lib/shared/pipes/date/days-ago.pipe.d.ts +7 -0
  219. package/package.json +67 -0
  220. package/public-api.d.ts +6 -0
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { ElementTypes } from "ngx-t-forms-types";
4
+ import { FormBuilderFunctions } from 'ngx-t-forms-types';
5
+ import { FormColumnInputs } from 'ngx-t-forms-types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class TFormInputComponent {
8
+ inputConfig: FormColumnInputs | undefined;
9
+ formGroup: FormGroup<{
10
+ [sectionId: string]: FormGroup<{
11
+ [inputId: string]: FormControl<string | null>;
12
+ }>;
13
+ }> | undefined | null;
14
+ editorMode: boolean;
15
+ formBuilderFunctions: FormBuilderFunctions | undefined;
16
+ valueChange: EventEmitter<any>;
17
+ optionsSearchWordKeyWord: string;
18
+ elementTypes: typeof ElementTypes;
19
+ constructor();
20
+ get hasFormControlInstance(): boolean;
21
+ changed(event: any): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputComponent, "lib-t-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
24
+ }
@@ -0,0 +1,10 @@
1
+ import { FormColumnInputs } from 'ngx-t-forms-types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TFormInputStatusComponent {
4
+ inputConfig: FormColumnInputs | undefined;
5
+ recentlyUpdated(): boolean;
6
+ get busy(): boolean;
7
+ get busyMessage(): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputStatusComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputStatusComponent, "lib-t-form-input-status", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,23 @@
1
+ import { StepState } from '@angular/cdk/stepper';
2
+ import { FormTowerControllerService } from '../../services/core/t-form-tower-controller/form-tower-controller.service';
3
+ import { MatStepper } from '@angular/material/stepper';
4
+ import { FormBuilderFunctions } from 'ngx-t-forms-types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class UserFormStepperComponent extends FormTowerControllerService {
7
+ set formId(value: string | undefined);
8
+ loading: boolean;
9
+ loadForm(formId: string | undefined): void;
10
+ set initialValues(initialFormValues: any);
11
+ passParamsOnSubmit: any;
12
+ get formBuilderFunctions(): FormBuilderFunctions;
13
+ stepper: MatStepper | undefined;
14
+ isEditable: boolean;
15
+ getStepState(step: any, index: number): StepState;
16
+ getPreviousStepLabel(): string | undefined;
17
+ getNextStepLabel(): string | undefined;
18
+ canProceedToNextStep(step: any): boolean;
19
+ get getSubmissionStatus(): string;
20
+ handleSubmit(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserFormStepperComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserFormStepperComponent, "lib-user-form-stepper", never, { "formId": { "alias": "formId"; "required": false; }; "initialValues": { "alias": "initialValues"; "required": false; }; "passParamsOnSubmit": { "alias": "passParamsOnSubmit"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -0,0 +1,14 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import { FormInterface, InClassFormUtilsInterface, NgxTFormsConfig } from "ngx-t-forms-types";
3
+ import { ITableSelectionInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IBasicFormInput, IGetTreeResponse } from "ngx-t-forms-types";
4
+ import { FormSlideInterface } from "ngx-t-forms-types";
5
+ import { IFormActions } from "ngx-t-forms-types";
6
+ import { Observable } from "rxjs";
7
+ export declare const FORM_ACTIONS_TOKEN: InjectionToken<IFormActions>;
8
+ export declare const FORM_CONFIG_TOKEN: InjectionToken<FormInterface>;
9
+ export declare const FORM_SLIDES_TOKEN: InjectionToken<FormSlideInterface>;
10
+ export declare const UTILS_OBJECT_TOKEN: InjectionToken<InClassFormUtilsInterface>;
11
+ export declare const FORM_INPUTS_TOKEN: InjectionToken<ITableSelectionInput & IBasicFormInput & IFileUploadInput & IDateRangePickerInput & ITextareaProperties & IToggleInput & IMatrixInput & IMultiple>;
12
+ export declare const MULTIPLE_FORM_INPUT_TOKEN: InjectionToken<IMultiple>;
13
+ export declare const MSCOA_TREE_PROVIDER: InjectionToken<() => Observable<IGetTreeResponse>>;
14
+ export declare const NGX_T_FORMS_CONFIG_TOKEN: InjectionToken<NgxTFormsConfig>;
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgxTFormsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxTFormsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxTFormsComponent, "lib-ngx-t-forms", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgxTFormsService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxTFormsService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgxTFormsService>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { FormInterface } from 'ngx-t-forms-types';
2
+ /**
3
+ * Adds a form input to the form.
4
+ *
5
+ * @param FormBuilder - The `TFormBuilderService` instance.
6
+ */
7
+ export declare function addFormInputToForm(form: FormInterface, sectionId: string): FormInterface;
8
+ export declare function addMultipleFormInputFn(form: FormInterface, sectionId: string, multipleInputInEditId: string): FormInterface;
@@ -0,0 +1,2 @@
1
+ import { FormInterface, IMultipleInputCal } from "ngx-t-forms-types";
2
+ export declare function addMultipleInputFunction(calculationFunction: IMultipleInputCal, multipleInputId: string | undefined, form: FormInterface): FormInterface | undefined;
@@ -0,0 +1,2 @@
1
+ import { FormInterface } from 'ngx-t-forms-types';
2
+ export declare function addNewSection(form: FormInterface): FormInterface;
@@ -0,0 +1,2 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare function deleteActiveSection(form: FormInterface, sectionId: string): FormInterface;
@@ -0,0 +1,3 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare function canSaveNewForm(form: FormInterface): boolean;
3
+ export declare function missingConfig(form: FormInterface | undefined): string[];
@@ -0,0 +1,91 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ import { AllFormInputPrimaryKeys, ElementEditorInnerSectionElementInterface, ElementEditorTypes, FormInputKeys, SpecialElementKeys } from "ngx-t-forms-types";
3
+ import { FormColumnInputs } from "ngx-t-forms-types";
4
+ import { InClassFormUtilsInterface, NgxTFormsConfig } from "ngx-t-forms-types";
5
+ import { ValidationError } from "ngx-t-forms-types";
6
+ export declare function inputElementEditorConfigs(form: FormInterface | undefined, inputInEdit: (FormColumnInputs) | undefined, NGX_T_FORMS_CONFIG: NgxTFormsConfig, utils: InClassFormUtilsInterface): {
7
+ editorSections: {
8
+ elements: ElementEditorInnerSectionElementInterface[];
9
+ hasErrors: boolean;
10
+ label: string;
11
+ showItemValue?: keyof FormColumnInputs;
12
+ id: string;
13
+ additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
14
+ }[];
15
+ title?: string;
16
+ description?: string;
17
+ };
18
+ export declare function getSectionElements(elements: ElementEditorInnerSectionElementInterface[], inputInEdit: (FormColumnInputs) | undefined, NGX_T_FORMS_CONFIG: NgxTFormsConfig, utils: InClassFormUtilsInterface, errors?: ValidationError[]): (never[] | {
19
+ computedErrors: ValidationError[];
20
+ required: boolean;
21
+ postmanCollectionConfig: {
22
+ collectionUrl: string;
23
+ collectionKey: string;
24
+ } | undefined;
25
+ httpGetDataFunction: (url: string, options: any) => import("rxjs").Observable<any>;
26
+ getWorkflowOptions: import("rxjs").Observable<import("ngx-t-forms-types").IWorkflowOption[]> | undefined;
27
+ getMscoaTree: import("rxjs").Observable<import("ngx-t-forms-types").IGetTreeResponse> | undefined;
28
+ id: string;
29
+ name: FormInputKeys | SpecialElementKeys | AllFormInputPrimaryKeys;
30
+ hint?: string;
31
+ editType: ElementEditorTypes;
32
+ deepBind: Array<string>;
33
+ limitTo?: number;
34
+ additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
35
+ disabled?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
36
+ fetchOptions?: string[];
37
+ clearOnChange?: string[][];
38
+ blurHandle?: import("ngx-t-forms-types").BlurHandleTypes;
39
+ label: string;
40
+ readonly?: boolean;
41
+ templateOptions?: Array<any>;
42
+ placeholder?: string;
43
+ options?: Array<{
44
+ label: string;
45
+ value: string;
46
+ }>;
47
+ min?: number;
48
+ max?: number;
49
+ step?: number;
50
+ format?: (value: any) => number;
51
+ })[];
52
+ export declare function processElement(element: ElementEditorInnerSectionElementInterface, inputInEdit: (FormColumnInputs) | undefined, NGX_T_FORMS_CONFIG: NgxTFormsConfig, utils: InClassFormUtilsInterface, errors?: ValidationError[]): never[] | {
53
+ computedErrors: ValidationError[];
54
+ required: boolean;
55
+ postmanCollectionConfig: {
56
+ collectionUrl: string;
57
+ collectionKey: string;
58
+ } | undefined;
59
+ httpGetDataFunction: (url: string, options: any) => import("rxjs").Observable<any>;
60
+ getWorkflowOptions: import("rxjs").Observable<import("ngx-t-forms-types").IWorkflowOption[]> | undefined;
61
+ getMscoaTree: import("rxjs").Observable<import("ngx-t-forms-types").IGetTreeResponse> | undefined;
62
+ id: string;
63
+ name: FormInputKeys | SpecialElementKeys | AllFormInputPrimaryKeys;
64
+ hint?: string;
65
+ editType: ElementEditorTypes;
66
+ deepBind: Array<string>;
67
+ limitTo?: number;
68
+ additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
69
+ disabled?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
70
+ fetchOptions?: string[];
71
+ clearOnChange?: string[][];
72
+ blurHandle?: import("ngx-t-forms-types").BlurHandleTypes;
73
+ label: string;
74
+ readonly?: boolean;
75
+ templateOptions?: Array<any>;
76
+ placeholder?: string;
77
+ options?: Array<{
78
+ label: string;
79
+ value: string;
80
+ }>;
81
+ min?: number;
82
+ max?: number;
83
+ step?: number;
84
+ format?: (value: any) => number;
85
+ };
86
+ export declare function getPostmanConfig(element: ElementEditorInnerSectionElementInterface, NGX_T_FORMS_CONFIG: NgxTFormsConfig): {
87
+ collectionUrl: string;
88
+ collectionKey: string;
89
+ } | undefined;
90
+ export declare function isElementApplicable(input: any, inputProperties: (FormInputKeys | SpecialElementKeys | AllFormInputPrimaryKeys)[] | undefined, element: ElementEditorInnerSectionElementInterface): boolean;
91
+ export declare function inputInEditValidationErrors(form: FormInterface | undefined, inputInEdit: (FormColumnInputs) | undefined): ValidationError[];
@@ -0,0 +1,4 @@
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
+ import { FormInterface } from 'ngx-t-forms-types';
3
+ export declare function moveFormInput(event: CdkDragDrop<any>, sectionId: string, form: FormInterface): FormInterface | undefined;
4
+ export declare function moveMultipleInputInput(parentId: string, event: CdkDragDrop<any>, form: FormInterface): FormInterface | undefined;
@@ -0,0 +1,2 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare function moveInputToSectionFn(form: FormInterface, inputId: string, targetSection: string): FormInterface;
@@ -0,0 +1,2 @@
1
+ import { FormColumnInputs, FormInterface } from "ngx-t-forms-types";
2
+ export declare function multipleInputToggleLabelFn(item: FormColumnInputs, form: FormInterface): FormInterface | undefined;
@@ -0,0 +1,7 @@
1
+ import { FormColumnInputs, FormInterface } from "ngx-t-forms-types";
2
+ export declare function removeItem(item: FormColumnInputs, form: FormInterface): {
3
+ slides: import("ngx-t-forms-types").FormSlideInterface[];
4
+ submissionHandle: import("ngx-t-forms-types").FormSubmissionHandleInterface;
5
+ formId: string | any;
6
+ formTitle: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ import { CdkDragDrop } from "@angular/cdk/drag-drop";
2
+ import { FormInterface } from "ngx-t-forms-types";
3
+ export declare function sectionDrop(event: CdkDragDrop<any>, form: FormInterface): FormInterface | undefined;
@@ -0,0 +1,14 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare function stepTitleChangeStepFn(sectionId: string, value: string, form: FormInterface): {
3
+ slides: {
4
+ label: string;
5
+ sectionId: string;
6
+ columns: Array<import("ngx-t-forms-types").FormColumnInputs>;
7
+ inEdit?: boolean;
8
+ sectionIsSeen?: boolean;
9
+ isActive?: boolean;
10
+ }[];
11
+ submissionHandle: import("ngx-t-forms-types").FormSubmissionHandleInterface;
12
+ formId: string | any;
13
+ formTitle: string;
14
+ };
@@ -0,0 +1,11 @@
1
+ import { CalculationFunctions } from "ngx-t-forms-types";
2
+ import { CalculatedFieldRules } from "ngx-t-forms-types";
3
+ import { FormColumnInputs } from "ngx-t-forms-types";
4
+ import { Observable } from "rxjs";
5
+ import { IFunctionUtils } from "../../t-form-tower-controller/form-tower-controller.service";
6
+ export declare function calculateInput(inputConfig: FormColumnInputs, formValue: () => Record<string, any>, utils: IFunctionUtils): Observable<void>;
7
+ export declare function configureCalculationScope(input: FormColumnInputs, formValue: Record<string, any>): Record<string, number>;
8
+ export declare function evaluateFormulaAgainstScope(rules: CalculatedFieldRules | undefined, scope: {
9
+ [key: string]: number;
10
+ }): number | undefined;
11
+ export declare function calculateListOveralFunctions(rule: CalculationFunctions, arrayValues: any): number;
@@ -0,0 +1,4 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ import { IFunctionUtils } from "../../t-form-tower-controller/form-tower-controller.service";
3
+ import { Observable } from "rxjs";
4
+ export declare function getApiDataFetching(inputConfig: FormColumnInputs, dataFor: "options" | "value", utils: IFunctionUtils): Observable<void>;
@@ -0,0 +1,16 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ import { Observable } from "rxjs";
3
+ import { MinimumInputRequiredInterface } from "ngx-t-forms-types";
4
+ import { IFunctionUtils } from "../../t-form-tower-controller/form-tower-controller.service";
5
+ /**
6
+ * Retrieves the input data for a POST request.
7
+ * @param minRequiredInputs - An array of TInputControllerService objects representing the minimum required inputs.
8
+ * @param inputClass - The TInputControllerService object representing the input class requesting the data.
9
+ * @param formValues - An object containing the entire form's values.
10
+ * @param section - The TFormSectionControllerService object representing the form section.
11
+ * @param minInputs - An array of MinimumInputRequiredInterface objects representing the minimum required inputs.
12
+ * @param dataFor - A string indicating whether the data is for "options" or "value".
13
+ * @param httpPostDataFunction - A function that performs the HTTP POST request.
14
+ */
15
+ export declare function inputGetApiPostData(inputConfig: FormColumnInputs, formValues: any, dataFor: "options" | "value", utils: IFunctionUtils): Observable<void>;
16
+ export declare function returnMappedData(formValues: any, minInputs: MinimumInputRequiredInterface[], endpoint: string): any;
@@ -0,0 +1,8 @@
1
+ import { MinimumInputRequiredInterface } from "ngx-t-forms-types";
2
+ /**
3
+ * Validates the minimum input required for a post request.
4
+ * @param input - The minimum input required.
5
+ * @param formValues - The form values.
6
+ * @returns A boolean indicating whether the minimum input is valid or not.
7
+ */
8
+ export declare function validateMinInput(input: MinimumInputRequiredInterface, formValues: any): boolean;
@@ -0,0 +1,3 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { NgxTFormsConfig } from 'ngx-t-forms-types';
3
+ export declare function provideNgxTForms(config: NgxTFormsConfig): EnvironmentProviders;
@@ -0,0 +1,21 @@
1
+ import { AbstractControlOptions, ValidatorFn } from "@angular/forms";
2
+ import { FormControlCustomValidatorsInterface } from 'ngx-t-forms-types';
3
+ import { FormColumnInputs } from 'ngx-t-forms-types';
4
+ /**
5
+ * Generates a form group based on the provided inputs and optional validator.
6
+ *
7
+ * @param inputs - An array of form inputs. Each input can be of type IBasicFormInput, IMultiple, ITableSelectionInput, IFileUploadInput, or IMatrixInput.
8
+ * @param validator - An optional object containing validation rules for the form group.
9
+ *
10
+ * @returns A FormGroup instance. If a validator is provided, it is applied to the form group.
11
+ *
12
+ * @throws Will throw an error if an error occurs while crwhile postingeating the form group.
13
+ */
14
+ export interface FormObject {
15
+ [key: string]: [{
16
+ value: any;
17
+ disabled: boolean;
18
+ }, AbstractControlOptions];
19
+ }
20
+ export declare function compileInputValidators(input: FormColumnInputs, getFormValue: () => Record<string, any>): AbstractControlOptions;
21
+ export declare function returnValidator(validators: Array<string | FormControlCustomValidatorsInterface>, formValue: () => Record<string, any>): ValidatorFn[];
@@ -0,0 +1,7 @@
1
+ interface HttpError extends Error {
2
+ status?: number;
3
+ error?: any;
4
+ }
5
+ export declare function errorResolver(err: HttpError | undefined): string | undefined;
6
+ export declare function resolveErrorString(error: Error | any): any;
7
+ export {};
@@ -0,0 +1,29 @@
1
+ import { FormGroup, AbstractControl, FormControl } from "@angular/forms";
2
+ import { FormColumnInputs } from "ngx-t-forms-types";
3
+ /**
4
+ * Generates a hierarchical form with nested FormGroups based on section IDs.
5
+ * Parent form listens to all descendant changes, with validation cascading upward.
6
+ *
7
+ * @param inputs Array of form inputs with their configurations
8
+ * @param getFormValue Record of form values used for custom validation
9
+ * @returns A FormGroup with nested FormGroups for each section
10
+ */
11
+ export declare function formGenerator(inputs: Array<FormColumnInputs>, getFormValue: () => Record<string, any>): FormGroup;
12
+ /**
13
+ * Retrieves a section FormGroup from the parent form
14
+ *
15
+ * @param form The parent FormGroup
16
+ * @param sectionId The ID of the section to retrieve
17
+ * @returns The section FormGroup or null if not found
18
+ */
19
+ export declare function getSectionForm(form: FormGroup | undefined, sectionId: string): FormGroup | null;
20
+ /**
21
+ * Retrieves a specific control from a section
22
+ *
23
+ * @param form The parent FormGroup
24
+ * @param sectionId The ID of the section containing the control
25
+ * @param controlId The ID of the control to retrieve
26
+ * @returns The form control or null if not found
27
+ */
28
+ export declare function getSectionControl(form: FormGroup, sectionId: string, controlId: string): AbstractControl | null;
29
+ export declare function generateControlsForTheseInputs(inputs: FormColumnInputs[], getFormValue: any): Record<string, FormControl>;
@@ -0,0 +1,6 @@
1
+ import { FormInputBasicOptionInterface, TreeNode } from 'ngx-t-forms-types';
2
+ declare const returnMappedPathValue: (pathMap: TreeNode[], obj: any) => any;
3
+ declare const getValueFromValueAccessor: (valueAccessRules: FormInputBasicOptionInterface | TreeNode[] | {
4
+ [key: string]: TreeNode[];
5
+ }, data: any) => any;
6
+ export { returnMappedPathValue, getValueFromValueAccessor };
@@ -0,0 +1,99 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { FormColumnInputs, FormInterface, FormSubmissionStatus, IFormChangeHistory } from 'ngx-t-forms-types';
3
+ import { FormGroup } from '@angular/forms';
4
+ import { Observable, Subject } from 'rxjs';
5
+ import { FunctionTypes } from './functions/getAllFunctionTypes';
6
+ import { HintType } from '../../../shared/functions/textIconsForUserHints';
7
+ import { HttpClient } from '@angular/common/http';
8
+ import { StepperSelectionEvent } from '@angular/cdk/stepper';
9
+ import * as i0 from "@angular/core";
10
+ interface DependentInput {
11
+ inputId: string;
12
+ functionType: FunctionTypes;
13
+ }
14
+ export interface IFunctionUtils {
15
+ setInputTemporaryError: (inputId: string, message: string) => void;
16
+ setTemporaryHint: (inputId: string, message: string, type: HintType) => void;
17
+ setInputStatus: (inputId: string, statusId: string, status: string) => void;
18
+ removeInputStatus: (inputId: string, statusId: string) => void;
19
+ updateValue: (inputId: string, value: any) => void;
20
+ httpPostDataFunction: (url: string, data: any, options?: any) => Observable<any>;
21
+ httpGetDataFunction: (url: string, options?: any) => Observable<any>;
22
+ updateFormInputConfig: (inputId: string, config: FormColumnInputs) => void;
23
+ fileUpload: (file: string, fileName: string, fileType: string) => Observable<{
24
+ url: string;
25
+ }>;
26
+ }
27
+ export declare abstract class FormTowerControllerService implements OnDestroy {
28
+ private _http;
29
+ readonly NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
30
+ constructor(_http: HttpClient);
31
+ protected _destroyed$: Subject<void>;
32
+ protected _form: FormInterface | undefined;
33
+ protected _mainForm: FormGroup | undefined;
34
+ protected _formValue: Record<string, any>;
35
+ protected _initialFormValue: Record<string, any>;
36
+ protected _inputFunctionsCollection: Record<string, Partial<Record<FunctionTypes, Observable<void>>>>;
37
+ protected _inputChangeDependencyRecords: Partial<Record<string, Partial<Record<FunctionTypes, Record<string, boolean>>>>>;
38
+ protected _reverseDependencyMap: Record<string, DependentInput[]>;
39
+ protected _changeHistory: IFormChangeHistory[];
40
+ submittingStatus: FormSubmissionStatus | undefined;
41
+ submittingForm: boolean;
42
+ get form(): FormInterface | undefined;
43
+ set form(value: FormInterface | undefined);
44
+ get mainForm(): FormGroup | undefined;
45
+ get changeHistory(): IFormChangeHistory[];
46
+ set changeHistory(value: IFormChangeHistory[]);
47
+ ngOnDestroy(): void;
48
+ initialize: (form: FormInterface) => Promise<void>;
49
+ setFirstStepAsActive: () => void;
50
+ getFormValueNames: () => Record<string, any>;
51
+ readonly allFormInputs: () => FormColumnInputs[] | undefined;
52
+ prevValue: any;
53
+ protected changeMonitor: (newFormValue: any) => Observable<any>;
54
+ createInputFunctionsCollection: () => void;
55
+ private buildReverseDependencyMap;
56
+ createAllInputDependencies: () => void;
57
+ setInputStatus: (inputId: string, statusId: string, status: string) => void;
58
+ removeInputStatus: (inputId: string, statusId: string) => void;
59
+ updateValue: (inputId: string, value: any) => void;
60
+ getFunctionByType(fn: FunctionTypes, input: FormColumnInputs): Observable<void>;
61
+ getFormValue: () => Record<string, any>;
62
+ clearFormState: () => void;
63
+ executeInputFunctionsWithoutDependencies: () => void;
64
+ _hintTimeoutIds: Record<string, any>;
65
+ setTemporaryHint: (inputId: string, hint: string, type: HintType) => void;
66
+ httpPostDataFunction: (url: string, data: any, options: any) => Observable<any>;
67
+ httpGetDataFunction: (url: string, options: any) => Observable<any>;
68
+ _errorTimeoutIds: Record<string, any>;
69
+ setInputTemporaryError: (inputId: string, message: string) => void;
70
+ setInputError: (err: Record<string, any>, inputId: string) => void;
71
+ updateFormInputConfig: (inputId: string, config: FormColumnInputs) => void;
72
+ handleStepChange: (event: StepperSelectionEvent) => void;
73
+ selectFormSteps: () => import("ngx-t-forms-types").ITowerFormSteps[];
74
+ setSectionAsSeen: (sectionId: string) => void;
75
+ setSectionAsActive: (sectionId: string) => void;
76
+ setInputAsTouchedAndDirty: (inputId: string) => void;
77
+ formProgress: () => number;
78
+ formSubmissionMessage: () => string;
79
+ setSubmissionStatusValue: (status: FormSubmissionStatus) => FormSubmissionStatus;
80
+ initializeFormValues: (initialValues: Record<string, any>) => void;
81
+ /**
82
+ * Form Submissions
83
+ */
84
+ submitForm: (passData: Record<string, any>) => void;
85
+ /**
86
+ * Toggles a multiple input element and its associated form controls.
87
+ * When toggled on, adds controls to the form. When toggled off, removes them.
88
+ *
89
+ * @param inputId The ID of the multiple input to toggle
90
+ * @returns boolean indicating success or failure
91
+ */
92
+ toggleMultipleInput: (inputId: string, open: boolean) => boolean;
93
+ saveMultipleInputForm: (inputId: string) => boolean;
94
+ multipleInputEditRow: (inputId: string, rowId: string) => boolean;
95
+ multipleInputDuplicateRow: (inputId: string, rowId: string) => boolean;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormTowerControllerService, never>;
97
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormTowerControllerService, never, never, {}, {}, never, never, true, never>;
98
+ }
99
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ import { FormTowerControllerService } from "../form-tower-controller.service";
3
+ export declare const allFormInputs: (self: FormTowerControllerService) => FormColumnInputs[] | undefined;
@@ -0,0 +1,2 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare const createEmptyForm: () => FormInterface;
@@ -0,0 +1,8 @@
1
+ import { Observable } from "rxjs";
2
+ import { FunctionTypes } from "./getAllFunctionTypes";
3
+ /**
4
+ * Extracts ValueGetMethodAPI and OptionsGetMethodAPI observables from the input collection
5
+ * @param inputCollection The collection of functions to extract from
6
+ * @returns Array of extracted observables
7
+ */
8
+ export declare function extractSpecificFunctionTypes(inputCollection: Record<string, Partial<Record<FunctionTypes, Observable<void>>>>): Observable<void>[];
@@ -0,0 +1,12 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ export declare enum FunctionTypes {
3
+ ValueCalculation = "ValueCalculation",
4
+ ValuePostMethodAPI = "ValuePostMethodAPI",
5
+ OptionsPostMethodAPI = "OptionsPostMethodAPI",
6
+ ValueGetMethodAPI = "ValueGetMethodAPI",
7
+ OptionsGetMethodAPI = "OptionsGetMethodAPI",
8
+ InputSourcedValue = "InputSourcedValue",
9
+ ManualValueValidation = "ManualValueValidation"
10
+ }
11
+ export declare function getAllFunctionTypes(inputConfig: FormColumnInputs): Partial<Record<FunctionTypes, boolean>>;
12
+ export declare function createInputChangeDependency(inputConfig: FormColumnInputs): Partial<Record<FunctionTypes, Record<string, boolean>>>;
@@ -0,0 +1,3 @@
1
+ import { FormTowerControllerService } from "../form-tower-controller.service";
2
+ export declare const getFormValue: (self: FormTowerControllerService) => Record<string, any>;
3
+ export declare const getFormValueAsFormControlBasedObject: (self: FormTowerControllerService) => Record<string, any>;
@@ -0,0 +1,7 @@
1
+ import { ITowerFormSteps } from 'ngx-t-forms-types';
2
+ import { FormTowerControllerService } from '../form-tower-controller.service';
3
+ import { MatStepper } from '@angular/material/stepper';
4
+ import { FormGroup } from '@angular/forms';
5
+ export declare function formProgress(self: FormTowerControllerService): number;
6
+ export declare const formSubmissionMessage: (self: FormTowerControllerService) => string;
7
+ export declare function getSubmissionStatusFn(stepper: MatStepper | undefined, mainForm: FormGroup | undefined, formProgress: number, steps: ITowerFormSteps[], loading: boolean): string;
@@ -0,0 +1,3 @@
1
+ import { StepperSelectionEvent } from '@angular/cdk/stepper';
2
+ import { FormTowerControllerService } from '../form-tower-controller.service';
3
+ export declare const handleStepChange: (self: FormTowerControllerService, event: StepperSelectionEvent) => void;
@@ -0,0 +1,2 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ export declare const multipleInputRowIDControlInput: (value: string | undefined, multipleInputInEditId: string) => FormColumnInputs;
@@ -0,0 +1,85 @@
1
+ import { FormInterface } from "ngx-t-forms-types";
2
+ export declare const prepPopulateForm: (form: FormInterface, initValue: Record<string, any>) => FormInterface | {
3
+ slides: {
4
+ columns: {
5
+ value: any;
6
+ label: string;
7
+ formControlName: string;
8
+ readonly?: boolean;
9
+ id: string;
10
+ sectionId: string;
11
+ pipe?: {
12
+ pipeType: import("ngx-t-forms-types").InputPipeTypes;
13
+ param: string;
14
+ };
15
+ hintLabel?: string;
16
+ temporaryHint?: string;
17
+ valueUpdatedAt?: Date;
18
+ status?: Record<string, string>;
19
+ min?: number | string | Date | import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").MaxMinCustomScripts;
20
+ max?: number | string | Date | import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").MaxMinCustomScripts;
21
+ tourContent?: string;
22
+ viewType?: import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").InputViewTypes;
23
+ maxLength?: number;
24
+ minLength?: number;
25
+ placeholder?: string;
26
+ pattern?: string;
27
+ spellcheck?: boolean;
28
+ autocapitalize?: import("ngx-t-forms-types").AutocapitalizeOptions;
29
+ autocomplete?: import("ngx-t-forms-types").AutocompleteOptions;
30
+ multipleInputInEditId?: string;
31
+ suffixText?: string;
32
+ prefixText?: string;
33
+ prefixIcon?: string;
34
+ suffixIcon?: string;
35
+ disabled?: boolean;
36
+ script?: Record<string, unknown>;
37
+ conditionalInputConfig?: import("ngx-t-forms-types/dist/interfaces/formInput/ConditionalInputRule").ConditionalInputRule[];
38
+ calculatedFieldRules?: import("ngx-t-forms-types").CalculatedFieldRules;
39
+ element: import("ngx-t-forms-types").ElementTypes;
40
+ dataType: import("ngx-t-forms-types").InputDataTypes;
41
+ appearance: import("@angular/material/form-field").MatFormFieldAppearance;
42
+ type?: import("ngx-t-forms-types").InputTypes;
43
+ required: boolean;
44
+ colSize: number;
45
+ onlySetTempErrorOnTouch: boolean;
46
+ isCalculatedField: boolean;
47
+ matOptions?: import("ngx-t-forms-types").MatDataOptionsInterface;
48
+ validators: Array<import("ngx-t-forms-types").FormControlCustomValidatorsInterface | string>;
49
+ selectUpto?: number;
50
+ tableConfig?: import("ngx-t-forms-types").TableConfigurationsInterface;
51
+ fileType?: import("ngx-t-forms-types").InputFileType;
52
+ singleSelect?: boolean;
53
+ accept?: string;
54
+ endDateControl?: string;
55
+ startDateControl?: string;
56
+ startMinDate?: Date;
57
+ endMaxDate?: Date;
58
+ startMaxDate?: Date;
59
+ endMinDate?: Date;
60
+ rows?: number;
61
+ wrap?: "hard" | "soft";
62
+ labelPosition?: import("ngx-t-forms-types/dist/interfaces/formInput/ToggleInputInterface").LabelPosition;
63
+ matrixTableConfig?: {
64
+ dataSource: string;
65
+ };
66
+ handleLabel: string;
67
+ formIsOpen?: boolean;
68
+ originalId?: string;
69
+ showAsLabel?: boolean;
70
+ formInputs?: Array<import("ngx-t-forms-types").FormColumnInputs>;
71
+ calculateListFunctions: Array<import("ngx-t-forms-types").IMultipleInputCal>;
72
+ groupBy?: string[];
73
+ mscoaConfig: import("ngx-t-forms-types").IMscoaInputConfig;
74
+ richTextEditorLibrary: import("ngx-t-forms-types/dist/interfaces/formInput/RichTextEditorInput").RichTextEditorType;
75
+ }[];
76
+ sectionId: string;
77
+ label: string;
78
+ inEdit?: boolean;
79
+ sectionIsSeen?: boolean;
80
+ isActive?: boolean;
81
+ }[];
82
+ submissionHandle: import("ngx-t-forms-types").FormSubmissionHandleInterface;
83
+ formId: string | any;
84
+ formTitle: string;
85
+ };