@openmrs/esm-form-engine-lib 4.2.0 → 4.2.1-pre.2438

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 (515) hide show
  1. package/dist/form-engine.component.js +9 -2
  2. package/dist/processors/encounter/encounter-processor-helper.js +6 -2
  3. package/dist/src/form-engine.component.d.ts.map +1 -1
  4. package/dist/src/processors/encounter/encounter-processor-helper.d.ts.map +1 -1
  5. package/dist/src/utils/common-utils.d.ts +8 -0
  6. package/dist/src/utils/common-utils.d.ts.map +1 -1
  7. package/dist/utils/common-utils.js +16 -0
  8. package/package.json +3 -2
  9. package/src/form-engine.component.tsx +6 -2
  10. package/src/processors/encounter/encounter-processor-helper.ts +15 -2
  11. package/src/utils/common-utils.ts +19 -1
  12. package/dist/adapters/control-adapter.d.js +0 -1
  13. package/dist/adapters/control-adapter.d.ts.map +0 -1
  14. package/dist/adapters/encounter-datetime-adapter.d.js +0 -1
  15. package/dist/adapters/encounter-datetime-adapter.d.ts.map +0 -1
  16. package/dist/adapters/encounter-diagnosis-adapter.d.js +0 -1
  17. package/dist/adapters/encounter-diagnosis-adapter.d.ts.map +0 -1
  18. package/dist/adapters/encounter-location-adapter.d.js +0 -1
  19. package/dist/adapters/encounter-location-adapter.d.ts.map +0 -1
  20. package/dist/adapters/encounter-provider-adapter.d.js +0 -1
  21. package/dist/adapters/encounter-provider-adapter.d.ts.map +0 -1
  22. package/dist/adapters/encounter-role-adapter.d.js +0 -1
  23. package/dist/adapters/encounter-role-adapter.d.ts.map +0 -1
  24. package/dist/adapters/inline-date-adapter.d.js +0 -1
  25. package/dist/adapters/inline-date-adapter.d.ts.map +0 -1
  26. package/dist/adapters/obs-adapter.d.js +0 -7
  27. package/dist/adapters/obs-adapter.d.ts.map +0 -1
  28. package/dist/adapters/obs-comment-adapter.d.js +0 -1
  29. package/dist/adapters/obs-comment-adapter.d.ts.map +0 -1
  30. package/dist/adapters/orders-adapter.d.js +0 -1
  31. package/dist/adapters/orders-adapter.d.ts.map +0 -1
  32. package/dist/adapters/patient-identifier-adapter.d.js +0 -1
  33. package/dist/adapters/patient-identifier-adapter.d.ts.map +0 -1
  34. package/dist/adapters/person-attribute-adapter.d.js +0 -1
  35. package/dist/adapters/person-attribute-adapter.d.ts.map +0 -1
  36. package/dist/adapters/program-state-adapter.d.js +0 -1
  37. package/dist/adapters/program-state-adapter.d.ts.map +0 -1
  38. package/dist/api/index.d.js +0 -1
  39. package/dist/api/index.d.ts.map +0 -1
  40. package/dist/components/error/error-modal.component.d.js +0 -1
  41. package/dist/components/error/error-modal.component.d.ts.map +0 -1
  42. package/dist/components/extension/extension-parcel.component.d.js +0 -1
  43. package/dist/components/extension/extension-parcel.component.d.ts.map +0 -1
  44. package/dist/components/field-label/field-label.component.d.js +0 -1
  45. package/dist/components/field-label/field-label.component.d.ts.map +0 -1
  46. package/dist/components/group/obs-group.component.d.js +0 -1
  47. package/dist/components/group/obs-group.component.d.ts.map +0 -1
  48. package/dist/components/inputs/content-switcher/content-switcher.component.d.js +0 -1
  49. package/dist/components/inputs/content-switcher/content-switcher.component.d.ts.map +0 -1
  50. package/dist/components/inputs/date/date.component.d.js +0 -1
  51. package/dist/components/inputs/date/date.component.d.ts.map +0 -1
  52. package/dist/components/inputs/file/file-thumbnail.component.d.js +0 -1
  53. package/dist/components/inputs/file/file-thumbnail.component.d.ts.map +0 -1
  54. package/dist/components/inputs/file/file.component.d.js +0 -1
  55. package/dist/components/inputs/file/file.component.d.ts.map +0 -1
  56. package/dist/components/inputs/fixed-value/fixed-value.component.d.js +0 -1
  57. package/dist/components/inputs/fixed-value/fixed-value.component.d.ts.map +0 -1
  58. package/dist/components/inputs/markdown/markdown-wrapper.component.d.js +0 -1
  59. package/dist/components/inputs/markdown/markdown-wrapper.component.d.ts.map +0 -1
  60. package/dist/components/inputs/markdown/markdown.component.d.js +0 -1
  61. package/dist/components/inputs/markdown/markdown.component.d.ts.map +0 -1
  62. package/dist/components/inputs/multi-select/multi-select.component.d.js +0 -1
  63. package/dist/components/inputs/multi-select/multi-select.component.d.ts.map +0 -1
  64. package/dist/components/inputs/number/number.component.d.js +0 -1
  65. package/dist/components/inputs/number/number.component.d.ts.map +0 -1
  66. package/dist/components/inputs/radio/radio.component.d.js +0 -1
  67. package/dist/components/inputs/radio/radio.component.d.ts.map +0 -1
  68. package/dist/components/inputs/select/dropdown.component.d.js +0 -1
  69. package/dist/components/inputs/select/dropdown.component.d.ts.map +0 -1
  70. package/dist/components/inputs/text/text.component.d.js +0 -1
  71. package/dist/components/inputs/text/text.component.d.ts.map +0 -1
  72. package/dist/components/inputs/text-area/text-area.component.d.js +0 -1
  73. package/dist/components/inputs/text-area/text-area.component.d.ts.map +0 -1
  74. package/dist/components/inputs/toggle/toggle.component.d.js +0 -1
  75. package/dist/components/inputs/toggle/toggle.component.d.ts.map +0 -1
  76. package/dist/components/inputs/ui-select-extended/ui-select-extended.component.d.js +0 -1
  77. package/dist/components/inputs/ui-select-extended/ui-select-extended.component.d.ts.map +0 -1
  78. package/dist/components/inputs/unspecified/unspecified.component.d.js +0 -1
  79. package/dist/components/inputs/unspecified/unspecified.component.d.ts.map +0 -1
  80. package/dist/components/inputs/workspace-launcher/workspace-launcher.component.d.js +0 -1
  81. package/dist/components/inputs/workspace-launcher/workspace-launcher.component.d.ts.map +0 -1
  82. package/dist/components/label/label.component.d.js +0 -1
  83. package/dist/components/label/label.component.d.ts.map +0 -1
  84. package/dist/components/loaders/loader.component.d.js +0 -1
  85. package/dist/components/loaders/loader.component.d.ts.map +0 -1
  86. package/dist/components/patient-banner/patient-banner.component.d.js +0 -1
  87. package/dist/components/patient-banner/patient-banner.component.d.ts.map +0 -1
  88. package/dist/components/previous-value-review/previous-value-review.component.d.js +0 -1
  89. package/dist/components/previous-value-review/previous-value-review.component.d.ts.map +0 -1
  90. package/dist/components/processor-factory/form-processor-factory.component.d.js +0 -1
  91. package/dist/components/processor-factory/form-processor-factory.component.d.ts.map +0 -1
  92. package/dist/components/renderer/custom-hooks-renderer.component.d.js +0 -1
  93. package/dist/components/renderer/custom-hooks-renderer.component.d.ts.map +0 -1
  94. package/dist/components/renderer/field/fieldLogic.d.js +0 -1
  95. package/dist/components/renderer/field/fieldLogic.d.ts.map +0 -1
  96. package/dist/components/renderer/field/fieldRenderUtils.d.js +0 -6
  97. package/dist/components/renderer/field/fieldRenderUtils.d.ts.map +0 -1
  98. package/dist/components/renderer/field/form-field-renderer.component.d.js +0 -1
  99. package/dist/components/renderer/field/form-field-renderer.component.d.ts.map +0 -1
  100. package/dist/components/renderer/form/form-renderer.component.d.js +0 -1
  101. package/dist/components/renderer/form/form-renderer.component.d.ts.map +0 -1
  102. package/dist/components/renderer/form/state.d.js +0 -1
  103. package/dist/components/renderer/form/state.d.ts.map +0 -1
  104. package/dist/components/renderer/page/page.renderer.component.d.js +0 -1
  105. package/dist/components/renderer/page/page.renderer.component.d.ts.map +0 -1
  106. package/dist/components/renderer/section/section-renderer.component.d.js +0 -1
  107. package/dist/components/renderer/section/section-renderer.component.d.ts.map +0 -1
  108. package/dist/components/repeat/helpers.d.js +0 -1
  109. package/dist/components/repeat/helpers.d.ts.map +0 -1
  110. package/dist/components/repeat/repeat-controls.component.d.js +0 -1
  111. package/dist/components/repeat/repeat-controls.component.d.ts.map +0 -1
  112. package/dist/components/repeat/repeat.component.d.js +0 -1
  113. package/dist/components/repeat/repeat.component.d.ts.map +0 -1
  114. package/dist/components/sidebar/page-observer.d.js +0 -1
  115. package/dist/components/sidebar/page-observer.d.ts.map +0 -1
  116. package/dist/components/sidebar/sidebar.component.d.js +0 -1
  117. package/dist/components/sidebar/sidebar.component.d.ts.map +0 -1
  118. package/dist/components/sidebar/useCurrentActivePage.d.js +0 -1
  119. package/dist/components/sidebar/useCurrentActivePage.d.ts.map +0 -1
  120. package/dist/components/sidebar/usePageObserver.d.js +0 -1
  121. package/dist/components/sidebar/usePageObserver.d.ts.map +0 -1
  122. package/dist/components/value/value.component.d.js +0 -1
  123. package/dist/components/value/value.component.d.ts.map +0 -1
  124. package/dist/components/value/view/field-value-view.component.d.js +0 -1
  125. package/dist/components/value/view/field-value-view.component.d.ts.map +0 -1
  126. package/dist/constants.d.js +0 -1
  127. package/dist/constants.d.ts.map +0 -1
  128. package/dist/datasources/concept-data-source.d.js +0 -2
  129. package/dist/datasources/concept-data-source.d.ts.map +0 -1
  130. package/dist/datasources/data-source.d.js +0 -1
  131. package/dist/datasources/data-source.d.ts.map +0 -1
  132. package/dist/datasources/encounter-role-datasource.d.js +0 -2
  133. package/dist/datasources/encounter-role-datasource.d.ts.map +0 -1
  134. package/dist/datasources/historical-data-source.d.js +0 -1
  135. package/dist/datasources/historical-data-source.d.ts.map +0 -1
  136. package/dist/datasources/location-data-source.d.js +0 -2
  137. package/dist/datasources/location-data-source.d.ts.map +0 -1
  138. package/dist/datasources/provider-datasource.d.js +0 -2
  139. package/dist/datasources/provider-datasource.d.ts.map +0 -1
  140. package/dist/datasources/select-concept-answers-datasource.d.js +0 -2
  141. package/dist/datasources/select-concept-answers-datasource.d.ts.map +0 -1
  142. package/dist/external-function-context.d.js +0 -1
  143. package/dist/external-function-context.d.ts.map +0 -1
  144. package/dist/form-engine.component.d.js +0 -1
  145. package/dist/form-engine.component.d.ts.map +0 -1
  146. package/dist/globals.d.js +0 -1
  147. package/dist/globals.d.ts.map +0 -1
  148. package/dist/hooks/useConcepts.d.js +0 -1
  149. package/dist/hooks/useConcepts.d.ts.map +0 -1
  150. package/dist/hooks/useDataSourceDependentValue.d.js +0 -1
  151. package/dist/hooks/useDataSourceDependentValue.d.ts.map +0 -1
  152. package/dist/hooks/useEncounter.d.js +0 -1
  153. package/dist/hooks/useEncounter.d.ts.map +0 -1
  154. package/dist/hooks/useEncounterRole.d.js +0 -1
  155. package/dist/hooks/useEncounterRole.d.ts.map +0 -1
  156. package/dist/hooks/useEvaluateFormFieldExpressions.d.js +0 -1
  157. package/dist/hooks/useEvaluateFormFieldExpressions.d.ts.map +0 -1
  158. package/dist/hooks/useExternalFormAction.d.js +0 -1
  159. package/dist/hooks/useExternalFormAction.d.ts.map +0 -1
  160. package/dist/hooks/useFormCollapse.d.js +0 -1
  161. package/dist/hooks/useFormCollapse.d.ts.map +0 -1
  162. package/dist/hooks/useFormFieldValidators.d.js +0 -1
  163. package/dist/hooks/useFormFieldValidators.d.ts.map +0 -1
  164. package/dist/hooks/useFormFieldValueAdapters.d.js +0 -1
  165. package/dist/hooks/useFormFieldValueAdapters.d.ts.map +0 -1
  166. package/dist/hooks/useFormFields.d.js +0 -1
  167. package/dist/hooks/useFormFields.d.ts.map +0 -1
  168. package/dist/hooks/useFormFieldsMeta.d.js +0 -1
  169. package/dist/hooks/useFormFieldsMeta.d.ts.map +0 -1
  170. package/dist/hooks/useFormJson.d.js +0 -11
  171. package/dist/hooks/useFormJson.d.ts.map +0 -1
  172. package/dist/hooks/useFormStateHelpers.d.js +0 -1
  173. package/dist/hooks/useFormStateHelpers.d.ts.map +0 -1
  174. package/dist/hooks/useFormWorkspaceSize.d.js +0 -1
  175. package/dist/hooks/useFormWorkspaceSize.d.ts.map +0 -1
  176. package/dist/hooks/useInitialValues.d.js +0 -1
  177. package/dist/hooks/useInitialValues.d.ts.map +0 -1
  178. package/dist/hooks/usePatientData.d.js +0 -1
  179. package/dist/hooks/usePatientData.d.ts.map +0 -1
  180. package/dist/hooks/usePatientPrograms.d.js +0 -1
  181. package/dist/hooks/usePatientPrograms.d.ts.map +0 -1
  182. package/dist/hooks/usePostSubmissionActions.d.js +0 -1
  183. package/dist/hooks/usePostSubmissionActions.d.ts.map +0 -1
  184. package/dist/hooks/useProcessorDependencies.d.js +0 -1
  185. package/dist/hooks/useProcessorDependencies.d.ts.map +0 -1
  186. package/dist/index.d.js +0 -11
  187. package/dist/index.d.ts.map +0 -1
  188. package/dist/lifecycle.d.js +0 -3
  189. package/dist/lifecycle.d.ts.map +0 -1
  190. package/dist/post-submission-actions/mark-patient-deceased-action.d.js +0 -1
  191. package/dist/post-submission-actions/mark-patient-deceased-action.d.ts.map +0 -1
  192. package/dist/post-submission-actions/program-enrollment-action.d.js +0 -1
  193. package/dist/post-submission-actions/program-enrollment-action.d.ts.map +0 -1
  194. package/dist/processors/encounter/encounter-form-processor.d.js +0 -2
  195. package/dist/processors/encounter/encounter-form-processor.d.ts.map +0 -1
  196. package/dist/processors/encounter/encounter-processor-helper.d.js +0 -1
  197. package/dist/processors/encounter/encounter-processor-helper.d.ts.map +0 -1
  198. package/dist/processors/form-processor.d.js +0 -1
  199. package/dist/processors/form-processor.d.ts.map +0 -1
  200. package/dist/provider/form-factory-helper.d.js +0 -1
  201. package/dist/provider/form-factory-helper.d.ts.map +0 -1
  202. package/dist/provider/form-factory-provider.d.js +0 -1
  203. package/dist/provider/form-factory-provider.d.ts.map +0 -1
  204. package/dist/provider/form-provider.d.js +0 -1
  205. package/dist/provider/form-provider.d.ts.map +0 -1
  206. package/dist/registry/inbuilt-components/InbuiltPostSubmissionActions.d.js +0 -1
  207. package/dist/registry/inbuilt-components/InbuiltPostSubmissionActions.d.ts.map +0 -1
  208. package/dist/registry/inbuilt-components/control-templates.d.js +0 -1
  209. package/dist/registry/inbuilt-components/control-templates.d.ts.map +0 -1
  210. package/dist/registry/inbuilt-components/inbuiltControls.d.js +0 -3
  211. package/dist/registry/inbuilt-components/inbuiltControls.d.ts.map +0 -1
  212. package/dist/registry/inbuilt-components/inbuiltDataSources.d.js +0 -1
  213. package/dist/registry/inbuilt-components/inbuiltDataSources.d.ts.map +0 -1
  214. package/dist/registry/inbuilt-components/inbuiltFieldValueAdapters.d.js +0 -1
  215. package/dist/registry/inbuilt-components/inbuiltFieldValueAdapters.d.ts.map +0 -1
  216. package/dist/registry/inbuilt-components/inbuiltTransformers.d.js +0 -1
  217. package/dist/registry/inbuilt-components/inbuiltTransformers.d.ts.map +0 -1
  218. package/dist/registry/inbuilt-components/inbuiltValidators.d.js +0 -3
  219. package/dist/registry/inbuilt-components/inbuiltValidators.d.ts.map +0 -1
  220. package/dist/registry/inbuilt-components/template-component-map.d.js +0 -1
  221. package/dist/registry/inbuilt-components/template-component-map.d.ts.map +0 -1
  222. package/dist/registry/registry.d.js +0 -1
  223. package/dist/registry/registry.d.ts.map +0 -1
  224. package/dist/transformers/default-schema-transformer.d.js +0 -1
  225. package/dist/transformers/default-schema-transformer.d.ts.map +0 -1
  226. package/dist/types/domain.d.js +0 -1
  227. package/dist/types/domain.d.ts.map +0 -1
  228. package/dist/types/index.d.js +0 -2
  229. package/dist/types/index.d.ts.map +0 -1
  230. package/dist/types/schema.d.js +0 -1
  231. package/dist/types/schema.d.ts.map +0 -1
  232. package/dist/utils/boolean-utils.d.js +0 -9
  233. package/dist/utils/boolean-utils.d.ts.map +0 -1
  234. package/dist/utils/common-expression-helpers.d.js +0 -6
  235. package/dist/utils/common-expression-helpers.d.ts.map +0 -1
  236. package/dist/utils/common-utils.d.js +0 -6
  237. package/dist/utils/common-utils.d.ts.map +0 -1
  238. package/dist/utils/error-utils.d.js +0 -8
  239. package/dist/utils/error-utils.d.ts.map +0 -1
  240. package/dist/utils/expression-runner.d.js +0 -6
  241. package/dist/utils/expression-runner.d.ts.map +0 -1
  242. package/dist/utils/form-helper.d.js +0 -5
  243. package/dist/utils/form-helper.d.ts.map +0 -1
  244. package/dist/utils/form-page-utils.d.js +0 -1
  245. package/dist/utils/form-page-utils.d.ts.map +0 -1
  246. package/dist/utils/forms-loader.d.js +0 -1
  247. package/dist/utils/forms-loader.d.ts.map +0 -1
  248. package/dist/utils/post-submission-action-helper.d.js +0 -1
  249. package/dist/utils/post-submission-action-helper.d.ts.map +0 -1
  250. package/dist/utils/zscore-service.d.js +0 -1
  251. package/dist/utils/zscore-service.d.ts.map +0 -1
  252. package/dist/validators/conditional-answered-validator.d.js +0 -1
  253. package/dist/validators/conditional-answered-validator.d.ts.map +0 -1
  254. package/dist/validators/date-validator.d.js +0 -1
  255. package/dist/validators/date-validator.d.ts.map +0 -1
  256. package/dist/validators/default-value-validator.d.js +0 -1
  257. package/dist/validators/default-value-validator.d.ts.map +0 -1
  258. package/dist/validators/form-validator.d.js +0 -1
  259. package/dist/validators/form-validator.d.ts.map +0 -1
  260. package/dist/validators/js-expression-validator.d.js +0 -1
  261. package/dist/validators/js-expression-validator.d.ts.map +0 -1
  262. package/dist/validators/schema.d.js +0 -1
  263. package/dist/validators/schema.d.ts.map +0 -1
  264. package/src/adapters/control-adapter.d.ts +0 -3
  265. package/src/adapters/control-adapter.d.ts.map +0 -1
  266. package/src/adapters/encounter-datetime-adapter.d.ts +0 -3
  267. package/src/adapters/encounter-datetime-adapter.d.ts.map +0 -1
  268. package/src/adapters/encounter-diagnosis-adapter.d.ts +0 -10
  269. package/src/adapters/encounter-diagnosis-adapter.d.ts.map +0 -1
  270. package/src/adapters/encounter-location-adapter.d.ts +0 -3
  271. package/src/adapters/encounter-location-adapter.d.ts.map +0 -1
  272. package/src/adapters/encounter-provider-adapter.d.ts +0 -3
  273. package/src/adapters/encounter-provider-adapter.d.ts.map +0 -1
  274. package/src/adapters/encounter-role-adapter.d.ts +0 -3
  275. package/src/adapters/encounter-role-adapter.d.ts.map +0 -1
  276. package/src/adapters/inline-date-adapter.d.ts +0 -3
  277. package/src/adapters/inline-date-adapter.d.ts.map +0 -1
  278. package/src/adapters/obs-adapter.d.ts +0 -24
  279. package/src/adapters/obs-adapter.d.ts.map +0 -1
  280. package/src/adapters/obs-comment-adapter.d.ts +0 -4
  281. package/src/adapters/obs-comment-adapter.d.ts.map +0 -1
  282. package/src/adapters/orders-adapter.d.ts +0 -4
  283. package/src/adapters/orders-adapter.d.ts.map +0 -1
  284. package/src/adapters/patient-identifier-adapter.d.ts +0 -3
  285. package/src/adapters/patient-identifier-adapter.d.ts.map +0 -1
  286. package/src/adapters/person-attribute-adapter.d.ts +0 -3
  287. package/src/adapters/person-attribute-adapter.d.ts.map +0 -1
  288. package/src/adapters/program-state-adapter.d.ts +0 -3
  289. package/src/adapters/program-state-adapter.d.ts.map +0 -1
  290. package/src/api/index.d.ts +0 -28
  291. package/src/api/index.d.ts.map +0 -1
  292. package/src/components/error/error-modal.component.d.ts +0 -7
  293. package/src/components/error/error-modal.component.d.ts.map +0 -1
  294. package/src/components/extension/extension-parcel.component.d.ts +0 -5
  295. package/src/components/extension/extension-parcel.component.d.ts.map +0 -1
  296. package/src/components/field-label/field-label.component.d.ts +0 -12
  297. package/src/components/field-label/field-label.component.d.ts.map +0 -1
  298. package/src/components/group/obs-group.component.d.ts +0 -5
  299. package/src/components/group/obs-group.component.d.ts.map +0 -1
  300. package/src/components/inputs/content-switcher/content-switcher.component.d.ts +0 -5
  301. package/src/components/inputs/content-switcher/content-switcher.component.d.ts.map +0 -1
  302. package/src/components/inputs/date/date.component.d.ts +0 -5
  303. package/src/components/inputs/date/date.component.d.ts.map +0 -1
  304. package/src/components/inputs/file/file-thumbnail.component.d.ts +0 -10
  305. package/src/components/inputs/file/file-thumbnail.component.d.ts.map +0 -1
  306. package/src/components/inputs/file/file.component.d.ts +0 -5
  307. package/src/components/inputs/file/file.component.d.ts.map +0 -1
  308. package/src/components/inputs/fixed-value/fixed-value.component.d.ts +0 -5
  309. package/src/components/inputs/fixed-value/fixed-value.component.d.ts.map +0 -1
  310. package/src/components/inputs/markdown/markdown-wrapper.component.d.ts +0 -6
  311. package/src/components/inputs/markdown/markdown-wrapper.component.d.ts.map +0 -1
  312. package/src/components/inputs/markdown/markdown.component.d.ts +0 -5
  313. package/src/components/inputs/markdown/markdown.component.d.ts.map +0 -1
  314. package/src/components/inputs/multi-select/multi-select.component.d.ts +0 -5
  315. package/src/components/inputs/multi-select/multi-select.component.d.ts.map +0 -1
  316. package/src/components/inputs/number/number.component.d.ts +0 -5
  317. package/src/components/inputs/number/number.component.d.ts.map +0 -1
  318. package/src/components/inputs/radio/radio.component.d.ts +0 -5
  319. package/src/components/inputs/radio/radio.component.d.ts.map +0 -1
  320. package/src/components/inputs/select/dropdown.component.d.ts +0 -5
  321. package/src/components/inputs/select/dropdown.component.d.ts.map +0 -1
  322. package/src/components/inputs/text/text.component.d.ts +0 -5
  323. package/src/components/inputs/text/text.component.d.ts.map +0 -1
  324. package/src/components/inputs/text-area/text-area.component.d.ts +0 -5
  325. package/src/components/inputs/text-area/text-area.component.d.ts.map +0 -1
  326. package/src/components/inputs/toggle/toggle.component.d.ts +0 -5
  327. package/src/components/inputs/toggle/toggle.component.d.ts.map +0 -1
  328. package/src/components/inputs/ui-select-extended/ui-select-extended.component.d.ts +0 -5
  329. package/src/components/inputs/ui-select-extended/ui-select-extended.component.d.ts.map +0 -1
  330. package/src/components/inputs/unspecified/unspecified.component.d.ts +0 -11
  331. package/src/components/inputs/unspecified/unspecified.component.d.ts.map +0 -1
  332. package/src/components/inputs/workspace-launcher/workspace-launcher.component.d.ts +0 -5
  333. package/src/components/inputs/workspace-launcher/workspace-launcher.component.d.ts.map +0 -1
  334. package/src/components/label/label.component.d.ts +0 -8
  335. package/src/components/label/label.component.d.ts.map +0 -1
  336. package/src/components/loaders/loader.component.d.ts +0 -4
  337. package/src/components/loaders/loader.component.d.ts.map +0 -1
  338. package/src/components/patient-banner/patient-banner.component.d.ts +0 -7
  339. package/src/components/patient-banner/patient-banner.component.d.ts.map +0 -1
  340. package/src/components/previous-value-review/previous-value-review.component.d.ts +0 -12
  341. package/src/components/previous-value-review/previous-value-review.component.d.ts.map +0 -1
  342. package/src/components/processor-factory/form-processor-factory.component.d.ts +0 -10
  343. package/src/components/processor-factory/form-processor-factory.component.d.ts.map +0 -1
  344. package/src/components/renderer/custom-hooks-renderer.component.d.ts +0 -13
  345. package/src/components/renderer/custom-hooks-renderer.component.d.ts.map +0 -1
  346. package/src/components/renderer/field/fieldLogic.d.ts +0 -16
  347. package/src/components/renderer/field/fieldLogic.d.ts.map +0 -1
  348. package/src/components/renderer/field/fieldRenderUtils.d.ts +0 -9
  349. package/src/components/renderer/field/fieldRenderUtils.d.ts.map +0 -1
  350. package/src/components/renderer/field/form-field-renderer.component.d.ts +0 -19
  351. package/src/components/renderer/field/form-field-renderer.component.d.ts.map +0 -1
  352. package/src/components/renderer/form/form-renderer.component.d.ts +0 -10
  353. package/src/components/renderer/form/form-renderer.component.d.ts.map +0 -1
  354. package/src/components/renderer/form/state.d.ts +0 -41
  355. package/src/components/renderer/form/state.d.ts.map +0 -1
  356. package/src/components/renderer/page/page.renderer.component.d.ts +0 -9
  357. package/src/components/renderer/page/page.renderer.component.d.ts.map +0 -1
  358. package/src/components/renderer/section/section-renderer.component.d.ts +0 -6
  359. package/src/components/renderer/section/section-renderer.component.d.ts.map +0 -1
  360. package/src/components/repeat/helpers.d.ts +0 -6
  361. package/src/components/repeat/helpers.d.ts.map +0 -1
  362. package/src/components/repeat/repeat-controls.component.d.ts +0 -12
  363. package/src/components/repeat/repeat-controls.component.d.ts.map +0 -1
  364. package/src/components/repeat/repeat.component.d.ts +0 -5
  365. package/src/components/repeat/repeat.component.d.ts.map +0 -1
  366. package/src/components/sidebar/page-observer.d.ts +0 -20
  367. package/src/components/sidebar/page-observer.d.ts.map +0 -1
  368. package/src/components/sidebar/sidebar.component.d.ts +0 -14
  369. package/src/components/sidebar/sidebar.component.d.ts.map +0 -1
  370. package/src/components/sidebar/useCurrentActivePage.d.ts +0 -34
  371. package/src/components/sidebar/useCurrentActivePage.d.ts.map +0 -1
  372. package/src/components/sidebar/usePageObserver.d.ts +0 -11
  373. package/src/components/sidebar/usePageObserver.d.ts.map +0 -1
  374. package/src/components/value/value.component.d.ts +0 -6
  375. package/src/components/value/value.component.d.ts.map +0 -1
  376. package/src/components/value/view/field-value-view.component.d.ts +0 -10
  377. package/src/components/value/view/field-value-view.component.d.ts.map +0 -1
  378. package/src/constants.d.ts +0 -9
  379. package/src/constants.d.ts.map +0 -1
  380. package/src/datasources/concept-data-source.d.ts +0 -6
  381. package/src/datasources/concept-data-source.d.ts.map +0 -1
  382. package/src/datasources/data-source.d.ts +0 -10
  383. package/src/datasources/data-source.d.ts.map +0 -1
  384. package/src/datasources/encounter-role-datasource.d.ts +0 -6
  385. package/src/datasources/encounter-role-datasource.d.ts.map +0 -1
  386. package/src/datasources/historical-data-source.d.ts +0 -6
  387. package/src/datasources/historical-data-source.d.ts.map +0 -1
  388. package/src/datasources/location-data-source.d.ts +0 -6
  389. package/src/datasources/location-data-source.d.ts.map +0 -1
  390. package/src/datasources/provider-datasource.d.ts +0 -8
  391. package/src/datasources/provider-datasource.d.ts.map +0 -1
  392. package/src/datasources/select-concept-answers-datasource.d.ts +0 -9
  393. package/src/datasources/select-concept-answers-datasource.d.ts.map +0 -1
  394. package/src/external-function-context.d.ts +0 -7
  395. package/src/external-function-context.d.ts.map +0 -1
  396. package/src/form-engine.component.d.ts +0 -23
  397. package/src/form-engine.component.d.ts.map +0 -1
  398. package/src/globals.d.ts +0 -3
  399. package/src/globals.d.ts.map +0 -1
  400. package/src/hooks/useConcepts.d.ts +0 -23
  401. package/src/hooks/useConcepts.d.ts.map +0 -1
  402. package/src/hooks/useDataSourceDependentValue.d.ts +0 -4
  403. package/src/hooks/useDataSourceDependentValue.d.ts.map +0 -1
  404. package/src/hooks/useEncounter.d.ts +0 -7
  405. package/src/hooks/useEncounter.d.ts.map +0 -1
  406. package/src/hooks/useEncounterRole.d.ts +0 -7
  407. package/src/hooks/useEncounterRole.d.ts.map +0 -1
  408. package/src/hooks/useEvaluateFormFieldExpressions.d.ts +0 -7
  409. package/src/hooks/useEvaluateFormFieldExpressions.d.ts.map +0 -1
  410. package/src/hooks/useExternalFormAction.d.ts +0 -43
  411. package/src/hooks/useExternalFormAction.d.ts.map +0 -1
  412. package/src/hooks/useFormCollapse.d.ts +0 -6
  413. package/src/hooks/useFormCollapse.d.ts.map +0 -1
  414. package/src/hooks/useFormFieldValidators.d.ts +0 -3
  415. package/src/hooks/useFormFieldValidators.d.ts.map +0 -1
  416. package/src/hooks/useFormFieldValueAdapters.d.ts +0 -3
  417. package/src/hooks/useFormFieldValueAdapters.d.ts.map +0 -1
  418. package/src/hooks/useFormFields.d.ts +0 -6
  419. package/src/hooks/useFormFields.d.ts.map +0 -1
  420. package/src/hooks/useFormFieldsMeta.d.ts +0 -4
  421. package/src/hooks/useFormFieldsMeta.d.ts.map +0 -1
  422. package/src/hooks/useFormJson.d.ts +0 -19
  423. package/src/hooks/useFormJson.d.ts.map +0 -1
  424. package/src/hooks/useFormStateHelpers.d.ts +0 -15
  425. package/src/hooks/useFormStateHelpers.d.ts.map +0 -1
  426. package/src/hooks/useFormWorkspaceSize.d.ts +0 -7
  427. package/src/hooks/useFormWorkspaceSize.d.ts.map +0 -1
  428. package/src/hooks/useInitialValues.d.ts +0 -9
  429. package/src/hooks/useInitialValues.d.ts.map +0 -1
  430. package/src/hooks/usePatientData.d.ts +0 -6
  431. package/src/hooks/usePatientData.d.ts.map +0 -1
  432. package/src/hooks/usePatientPrograms.d.ts +0 -7
  433. package/src/hooks/usePatientPrograms.d.ts.map +0 -1
  434. package/src/hooks/usePostSubmissionActions.d.ts +0 -13
  435. package/src/hooks/usePostSubmissionActions.d.ts.map +0 -1
  436. package/src/hooks/useProcessorDependencies.d.ts +0 -8
  437. package/src/hooks/useProcessorDependencies.d.ts.map +0 -1
  438. package/src/index.d.ts +0 -12
  439. package/src/index.d.ts.map +0 -1
  440. package/src/lifecycle.d.ts +0 -11
  441. package/src/lifecycle.d.ts.map +0 -1
  442. package/src/post-submission-actions/mark-patient-deceased-action.d.ts +0 -4
  443. package/src/post-submission-actions/mark-patient-deceased-action.d.ts.map +0 -1
  444. package/src/post-submission-actions/program-enrollment-action.d.ts +0 -4
  445. package/src/post-submission-actions/program-enrollment-action.d.ts.map +0 -1
  446. package/src/processors/encounter/encounter-form-processor.d.ts +0 -26
  447. package/src/processors/encounter/encounter-form-processor.d.ts.map +0 -1
  448. package/src/processors/encounter/encounter-processor-helper.d.ts +0 -19
  449. package/src/processors/encounter/encounter-processor-helper.d.ts.map +0 -1
  450. package/src/processors/form-processor.d.ts +0 -25
  451. package/src/processors/form-processor.d.ts.map +0 -1
  452. package/src/provider/form-factory-helper.d.ts +0 -8
  453. package/src/provider/form-factory-helper.d.ts.map +0 -1
  454. package/src/provider/form-factory-provider.d.ts +0 -48
  455. package/src/provider/form-factory-provider.d.ts.map +0 -1
  456. package/src/provider/form-provider.d.ts +0 -26
  457. package/src/provider/form-provider.d.ts.map +0 -1
  458. package/src/registry/inbuilt-components/InbuiltPostSubmissionActions.d.ts +0 -4
  459. package/src/registry/inbuilt-components/InbuiltPostSubmissionActions.d.ts.map +0 -1
  460. package/src/registry/inbuilt-components/control-templates.d.ts +0 -4
  461. package/src/registry/inbuilt-components/control-templates.d.ts.map +0 -1
  462. package/src/registry/inbuilt-components/inbuiltControls.d.ts +0 -7
  463. package/src/registry/inbuilt-components/inbuiltControls.d.ts.map +0 -1
  464. package/src/registry/inbuilt-components/inbuiltDataSources.d.ts +0 -8
  465. package/src/registry/inbuilt-components/inbuiltDataSources.d.ts.map +0 -1
  466. package/src/registry/inbuilt-components/inbuiltFieldValueAdapters.d.ts +0 -4
  467. package/src/registry/inbuilt-components/inbuiltFieldValueAdapters.d.ts.map +0 -1
  468. package/src/registry/inbuilt-components/inbuiltTransformers.d.ts +0 -4
  469. package/src/registry/inbuilt-components/inbuiltTransformers.d.ts.map +0 -1
  470. package/src/registry/inbuilt-components/inbuiltValidators.d.ts +0 -7
  471. package/src/registry/inbuilt-components/inbuiltValidators.d.ts.map +0 -1
  472. package/src/registry/inbuilt-components/template-component-map.d.ts +0 -5
  473. package/src/registry/inbuilt-components/template-component-map.d.ts.map +0 -1
  474. package/src/registry/registry.d.ts +0 -61
  475. package/src/registry/registry.d.ts.map +0 -1
  476. package/src/transformers/default-schema-transformer.d.ts +0 -4
  477. package/src/transformers/default-schema-transformer.d.ts.map +0 -1
  478. package/src/types/domain.d.ts +0 -219
  479. package/src/types/domain.d.ts.map +0 -1
  480. package/src/types/index.d.ts +0 -126
  481. package/src/types/index.d.ts.map +0 -1
  482. package/src/types/schema.d.ts +0 -243
  483. package/src/types/schema.d.ts.map +0 -1
  484. package/src/utils/boolean-utils.d.ts +0 -13
  485. package/src/utils/boolean-utils.d.ts.map +0 -1
  486. package/src/utils/common-expression-helpers.d.ts +0 -261
  487. package/src/utils/common-expression-helpers.d.ts.map +0 -1
  488. package/src/utils/common-utils.d.ts +0 -51
  489. package/src/utils/common-utils.d.ts.map +0 -1
  490. package/src/utils/error-utils.d.ts +0 -11
  491. package/src/utils/error-utils.d.ts.map +0 -1
  492. package/src/utils/expression-runner.d.ts +0 -25
  493. package/src/utils/expression-runner.d.ts.map +0 -1
  494. package/src/utils/form-helper.d.ts +0 -37
  495. package/src/utils/form-helper.d.ts.map +0 -1
  496. package/src/utils/form-page-utils.d.ts +0 -3
  497. package/src/utils/form-page-utils.d.ts.map +0 -1
  498. package/src/utils/forms-loader.d.ts +0 -45
  499. package/src/utils/forms-loader.d.ts.map +0 -1
  500. package/src/utils/post-submission-action-helper.d.ts +0 -2
  501. package/src/utils/post-submission-action-helper.d.ts.map +0 -1
  502. package/src/utils/zscore-service.d.ts +0 -6
  503. package/src/utils/zscore-service.d.ts.map +0 -1
  504. package/src/validators/conditional-answered-validator.d.ts +0 -3
  505. package/src/validators/conditional-answered-validator.d.ts.map +0 -1
  506. package/src/validators/date-validator.d.ts +0 -3
  507. package/src/validators/date-validator.d.ts.map +0 -1
  508. package/src/validators/default-value-validator.d.ts +0 -3
  509. package/src/validators/default-value-validator.d.ts.map +0 -1
  510. package/src/validators/form-validator.d.ts +0 -9
  511. package/src/validators/form-validator.d.ts.map +0 -1
  512. package/src/validators/js-expression-validator.d.ts +0 -3
  513. package/src/validators/js-expression-validator.d.ts.map +0 -1
  514. package/src/validators/schema.d.ts +0 -1
  515. package/src/validators/schema.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-engine.component.d.ts","sourceRoot":"","sources":["../../src/form-engine.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,EAAc,KAAK,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAUhE,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAQtF,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,6BAA6B,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;AA+KD,iBAAS,aAAa,CAAC,KAAK,EAAE,eAAe,qBAM5C;AAED,eAAe,aAAa,CAAC"}
package/src/globals.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare const moduleName = "@openmrs/esm-form-engine-lib";
2
- export declare const formEngineAppName = "@openmrs/esm-form-engine-app";
3
- //# sourceMappingURL=globals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../src/globals.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,iCAAiC,CAAC;AACzD,eAAO,MAAM,iBAAiB,iCAAiC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { type Concept } from '@openmrs/esm-framework';
2
- type ConceptRepresentation = Pick<Concept, 'uuid' | 'display'> & {
3
- conceptClass: Pick<Concept['conceptClass'], 'uuid' | 'display'>;
4
- answers: Array<{
5
- uuid: string;
6
- display: string;
7
- }>;
8
- conceptMappings: Array<{
9
- conceptReferenceTerm: {
10
- conceptSource: {
11
- name: string;
12
- };
13
- code: string;
14
- };
15
- }>;
16
- };
17
- export declare function useConcepts(references: Array<string>): {
18
- concepts: Array<ConceptRepresentation> | undefined;
19
- isLoading: boolean;
20
- error: Error | undefined;
21
- };
22
- export {};
23
- //# sourceMappingURL=useConcepts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useConcepts.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConcepts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAiD,MAAM,wBAAwB,CAAC;AAKrG,KAAK,qBAAqB,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IAC/D,YAAY,EAAE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAChE,OAAO,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;IACH,eAAe,EAAE,KAAK,CAAC;QACrB,oBAAoB,EAAE;YACpB,aAAa,EAAE;gBACb,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;YACF,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,CAAC,CAAC;CACJ,CAAC;AAIF,wBAAgB,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG;IACtD,QAAQ,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACnD,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;CAC1B,CA4BA"}
@@ -1,4 +0,0 @@
1
- import { type FormField } from '../types';
2
- declare const useDataSourceDependentValue: (field: FormField) => any;
3
- export default useDataSourceDependentValue;
4
- //# sourceMappingURL=useDataSourceDependentValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDataSourceDependentValue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDataSourceDependentValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,QAAA,MAAM,2BAA2B,GAAI,OAAO,SAAS,QASpD,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,7 +0,0 @@
1
- import { type FormSchema, type OpenmrsEncounter } from '../types';
2
- export declare function useEncounter(formJson: FormSchema): {
3
- encounter: OpenmrsEncounter;
4
- error: any;
5
- isLoading: boolean;
6
- };
7
- //# sourceMappingURL=useEncounter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEncounter.d.ts","sourceRoot":"","sources":["../../../src/hooks/useEncounter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAKlE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,UAAU;;;;EAgChD"}
@@ -1,7 +0,0 @@
1
- import { type OpenmrsResource } from '@openmrs/esm-framework';
2
- export declare function useEncounterRole(): {
3
- encounterRole: OpenmrsResource;
4
- error: Error;
5
- isLoading: boolean;
6
- };
7
- //# sourceMappingURL=useEncounterRole.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEncounterRole.d.ts","sourceRoot":"","sources":["../../../src/hooks/useEncounterRole.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAA6B,MAAM,wBAAwB,CAAC;AAEzF,wBAAgB,gBAAgB;;;;EAW/B"}
@@ -1,7 +0,0 @@
1
- import { type FormProcessorContextProps } from '../types';
2
- export declare const useEvaluateFormFieldExpressions: (formValues: Record<string, any>, factoryContext: FormProcessorContextProps) => {
3
- evaluatedFormJson: import("..").FormSchema;
4
- evaluatedFields: import("..").FormField[];
5
- evaluatedPagesVisibility: boolean;
6
- };
7
- //# sourceMappingURL=useEvaluateFormFieldExpressions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEvaluateFormFieldExpressions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useEvaluateFormFieldExpressions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAQ1D,eAAO,MAAM,+BAA+B,GAC1C,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,gBAAgB,yBAAyB;;;;CAsI1C,CAAC"}
@@ -1,43 +0,0 @@
1
- interface UseExternalFormActionProps {
2
- patientUuid: string;
3
- formUuid: string;
4
- setIsSubmitting: (boolean: any) => void;
5
- setIsValidating: (boolean: any) => void;
6
- }
7
- /**
8
- * useExternalFormAction
9
- *
10
- * A custom React hook that listens for a global `CustomEvent` (`ampath-form-action`) and triggers
11
- * specific actions (such as form submission or validation) by updating external state via provided handlers.
12
- *
13
- * This is especially useful in scenarios where the Form Engine is embedded inside another application
14
- * or UI shell and form behavior (e.g. validation or submission) needs to be triggered programmatically,
15
- * such as from a toolbar button, modal footer, or an iframe parent.
16
- *
17
- * The hook ensures that the received event matches the current `formUuid` and `patientUuid` before executing any action.
18
- *
19
- * ### Supported Actions
20
- * - `"onSubmit"` — Triggers form submission
21
- * - `"validateForm"` — Triggers form validation
22
- *
23
- * @param patientUuid - The UUID of the current patient, used to verify that the action is intended for this instance.
24
- * @param formUuid - The UUID of the current form, used to validate the target of the action.
25
- * @param setIsSubmitting - A `setState` handler that initiates form submission when set to `true`.
26
- * @param setIsValidating - A `setState` handler that initiates form validation when set to `true`.
27
- *
28
- * @example
29
- *
30
- * // Elsewhere in the app, dispatching the event:
31
- * window.dispatchEvent(
32
- * new CustomEvent('ampath-form-action', {
33
- * detail: {
34
- * formUuid: '289417aa-31d5-3a06-bae8-a22d870bcf1d',
35
- * patientUuid: '9ee7a509-d639-4d91-979a-cd605b4d0ad1/chart',
36
- * action: 'onSubmit',
37
- * },
38
- * })
39
- * );
40
- */
41
- export declare function useExternalFormAction({ patientUuid, formUuid, setIsSubmitting, setIsValidating, }: UseExternalFormActionProps): void;
42
- export {};
43
- //# sourceMappingURL=useExternalFormAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useExternalFormAction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useExternalFormAction.ts"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;IACnC,eAAe,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,wBAAgB,qBAAqB,CAAC,EACpC,WAAW,EACX,QAAQ,EACR,eAAe,EACf,eAAe,GAChB,EAAE,0BAA0B,QAoC5B"}
@@ -1,6 +0,0 @@
1
- import type { FormExpanded, SessionMode } from '../types';
2
- export declare function useFormCollapse(sessionMode: SessionMode): {
3
- isFormExpanded: FormExpanded;
4
- hideFormCollapseToggle: () => void;
5
- };
6
- //# sourceMappingURL=useFormCollapse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormCollapse.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormCollapse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE1D,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW;;;EAgCvD"}
@@ -1,3 +0,0 @@
1
- import { type FormField, type FormFieldValidator } from '../types';
2
- export declare function useFormFieldValidators(fields: FormField[]): Record<string, FormFieldValidator>;
3
- //# sourceMappingURL=useFormFieldValidators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormFieldValidators.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormFieldValidators.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,sCAiBzD"}
@@ -1,3 +0,0 @@
1
- import { type FormField, type FormFieldValueAdapter } from '../types';
2
- export declare const useFormFieldValueAdapters: (fields: FormField[]) => Record<string, FormFieldValueAdapter>;
3
- //# sourceMappingURL=useFormFieldValueAdapters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormFieldValueAdapters.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormFieldValueAdapters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGtE,eAAO,MAAM,yBAAyB,GAAI,QAAQ,SAAS,EAAE,0CAkB5D,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type FormField, type FormSchema } from '../types';
2
- export declare function useFormFields(form: FormSchema): {
3
- formFields: FormField[];
4
- conceptReferences: Set<string>;
5
- };
6
- //# sourceMappingURL=useFormFields.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormFields.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormFields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3D,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG;IAAE,UAAU,EAAE,SAAS,EAAE,CAAC;IAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,CA6D3G"}
@@ -1,4 +0,0 @@
1
- import { type FormField } from '../types';
2
- import { type OpenmrsResource } from '@openmrs/esm-framework';
3
- export declare function useFormFieldsMeta(rawFormFields: FormField[], concepts: OpenmrsResource[]): FormField[];
4
- //# sourceMappingURL=useFormFieldsMeta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormFieldsMeta.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormFieldsMeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAI1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,eAyCxF"}
@@ -1,19 +0,0 @@
1
- import { type FormSchema, type PreFilledQuestions } from '../types';
2
- export declare function useFormJson(formUuid: string, rawFormJson: any, encounterUuid: string, formSessionIntent: string, preFilledQuestions?: PreFilledQuestions): {
3
- formJson: FormSchema;
4
- isLoading: boolean;
5
- formError: Error;
6
- };
7
- /**
8
- * Fetches a form JSON schema from OpenMRS and recursively fetches its subForms if they available.
9
- *
10
- * If `rawFormJson` is provided, it will be used as the raw form JSON object. Otherwise, the form JSON will be fetched from OpenMRS using the `formIdentifier` parameter.
11
- *
12
- * @param rawFormJson The raw form JSON object to be used if `formIdentifier` is not provided.
13
- * @param formIdentifier The UUID or name of the form to be fetched from OpenMRS if `rawFormJson` is not provided.
14
- * @param formSessionIntent An optional parameter that represents the current intent.
15
- * @param preFilledQuestions An optional parameter that represents the pre-filled questions.
16
- * @returns A well-built form object that might include subForms.
17
- */
18
- export declare function loadFormJson(formIdentifier: string, rawFormJson?: FormSchema, formSessionIntent?: string, preFilledQuestions?: PreFilledQuestions): Promise<FormSchema>;
19
- //# sourceMappingURL=useFormJson.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormJson.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormJson.ts"],"names":[],"mappings":"AACA,OAAO,EAA8B,KAAK,UAAU,EAA0C,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAOxI,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,GAAG,EAChB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,CAAC,EAAE,kBAAkB;;;;EAqCxC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAChC,cAAc,EAAE,MAAM,EACtB,WAAW,CAAC,EAAE,UAAU,EACxB,iBAAiB,CAAC,EAAE,MAAM,EAC1B,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,UAAU,CAAC,CAwBrB"}
@@ -1,15 +0,0 @@
1
- import { type Dispatch } from 'react';
2
- import { type FormField, type FormSchema } from '../types';
3
- import { type Action } from '../components/renderer/form/state';
4
- export declare function useFormStateHelpers(dispatch: Dispatch<Action>, formFields: FormField[]): {
5
- addFormField: (field: FormField) => void;
6
- updateFormField: (field: FormField) => void;
7
- getFormField: (fieldId: string) => FormField;
8
- removeFormField: (fieldId: string) => void;
9
- setInvalidFields: (fields: FormField[]) => void;
10
- addInvalidField: (field: FormField) => void;
11
- removeInvalidField: (fieldId: string) => void;
12
- setForm: (formJson: FormSchema) => void;
13
- setDeletedFields: (fields: FormField[]) => void;
14
- };
15
- //# sourceMappingURL=useFormStateHelpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormStateHelpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormStateHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAe,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAIhE,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE;0BAC5C,SAAS;6BAIxC,SAAS;4BAmBP,MAAM;+BAM4B,MAAM;+BAIN,SAAS,EAAE;6BAIb,SAAS;kCAIJ,MAAM;wBAIhB,UAAU;+BAIH,SAAS,EAAE;EAe1D"}
@@ -1,7 +0,0 @@
1
- type WorkspaceSize = 'narrow' | 'wider' | 'extra-wide' | 'ultra-wide';
2
- /**
3
- * This hook evaluates the size of the current workspace based on the width of the container element
4
- */
5
- export declare function useFormWorkspaceSize(rootRef: React.RefObject<HTMLDivElement>): WorkspaceSize;
6
- export {};
7
- //# sourceMappingURL=useFormWorkspaceSize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormWorkspaceSize.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFormWorkspaceSize.ts"],"names":[],"mappings":"AAUA,KAAK,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,CAAC;AAEtE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,aAAa,CAoC5F"}
@@ -1,9 +0,0 @@
1
- import { type FormProcessorContextProps } from '../types';
2
- import { type FormProcessor } from '../processors/form-processor';
3
- declare const useInitialValues: (formProcessor: FormProcessor, isLoadingContextDependencies: boolean, context: FormProcessorContextProps) => {
4
- isLoadingInitialValues: boolean;
5
- initialValues: {};
6
- error: any;
7
- };
8
- export default useInitialValues;
9
- //# sourceMappingURL=useInitialValues.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useInitialValues.d.ts","sourceRoot":"","sources":["../../../src/hooks/useInitialValues.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,QAAA,MAAM,gBAAgB,GACpB,eAAe,aAAa,EAC5B,8BAA8B,OAAO,EACrC,SAAS,yBAAyB;;;;CA6BnC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const usePatientData: (patientUuid: any) => {
2
- patient: fhir.Patient;
3
- isLoadingPatient: boolean;
4
- patientError: Error;
5
- };
6
- //# sourceMappingURL=usePatientData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePatientData.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePatientData.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,cAAc,GAAI,gBAAW;;;;CAQzC,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { FormSchema } from '../types';
2
- export declare const usePatientPrograms: (patientUuid: string, formJson: FormSchema) => {
3
- patientPrograms: import("..").PatientProgram[];
4
- errorFetchingPatientPrograms: Error;
5
- isLoadingPatientPrograms: boolean;
6
- };
7
- //# sourceMappingURL=usePatientPrograms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePatientPrograms.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePatientPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAyB,MAAM,UAAU,CAAC;AAyBlE,eAAO,MAAM,kBAAkB,GAAI,aAAa,MAAM,EAAE,UAAU,UAAU;;;;CAU3E,CAAC"}
@@ -1,13 +0,0 @@
1
- import { type PostSubmissionAction } from '../types';
2
- export interface PostSubmissionActionMeta {
3
- postAction: PostSubmissionAction;
4
- actionId: string;
5
- config: Record<string, any>;
6
- enabled?: string;
7
- }
8
- export declare function usePostSubmissionActions(actionRefs: Array<{
9
- actionId: string;
10
- enabled?: string;
11
- config?: Record<string, any>;
12
- }>): Array<PostSubmissionActionMeta>;
13
- //# sourceMappingURL=usePostSubmissionActions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePostSubmissionActions.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePostSubmissionActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,oBAAoB,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,KAAK,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,CAAC,GACtF,KAAK,CAAC,wBAAwB,CAAC,CAiBjC"}
@@ -1,8 +0,0 @@
1
- import { type FormProcessorContextProps } from '../types';
2
- import { type FormProcessor } from '../processors/form-processor';
3
- declare const useProcessorDependencies: (formProcessor: FormProcessor, context: Partial<FormProcessorContextProps>, setContext: (context: FormProcessorContextProps) => void) => {
4
- isLoading: boolean;
5
- error: string;
6
- };
7
- export default useProcessorDependencies;
8
- //# sourceMappingURL=useProcessorDependencies.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProcessorDependencies.d.ts","sourceRoot":"","sources":["../../../src/hooks/useProcessorDependencies.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAGlE,QAAA,MAAM,wBAAwB,GAC5B,eAAe,aAAa,EAC5B,SAAS,OAAO,CAAC,yBAAyB,CAAC,EAC3C,YAAY,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI;;;CA+BzD,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
package/src/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export * from './types';
2
- export * from './utils/forms-loader';
3
- export * from './registry/registry';
4
- export * from './constants';
5
- export * from './utils/boolean-utils';
6
- export * from './validators/form-validator';
7
- export * from './utils/form-helper';
8
- export * from './components/value/view/field-value-view.component';
9
- export * from './components/previous-value-review/previous-value-review.component';
10
- export * from './hooks/useFormJson';
11
- export { default as FormEngine } from './form-engine.component';
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type FormFieldValueAdapter } from './types';
2
- export declare function registerFormFieldAdaptersForCleanUp(formFieldAdaptersMap: Record<string, FormFieldValueAdapter>): void;
3
- /**
4
- * Invoked on mounting the "FormEngine" component
5
- */
6
- export declare function init(): void;
7
- /**
8
- * Invoked on unmounting the "FormEngine" component
9
- */
10
- export declare function teardown(): void;
11
- //# sourceMappingURL=lifecycle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../src/lifecycle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAIrD,wBAAgB,mCAAmC,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,QAM9G;AACD;;GAEG;AACH,wBAAgB,IAAI,SACnB;AAED;;GAEG;AACH,wBAAgB,QAAQ,SAUvB"}
@@ -1,4 +0,0 @@
1
- import type { PostSubmissionAction } from '../types';
2
- export declare const MarkPatientAsDeceasedAction: PostSubmissionAction;
3
- export default MarkPatientAsDeceasedAction;
4
- //# sourceMappingURL=mark-patient-deceased-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mark-patient-deceased-action.d.ts","sourceRoot":"","sources":["../../../src/post-submission-actions/mark-patient-deceased-action.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAuB,MAAM,UAAU,CAAC;AAG1E,eAAO,MAAM,2BAA2B,EAAE,oBA0DzC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type PostSubmissionAction } from '../types';
2
- export declare const ProgramEnrollmentSubmissionAction: PostSubmissionAction;
3
- export default ProgramEnrollmentSubmissionAction;
4
- //# sourceMappingURL=program-enrollment-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"program-enrollment-action.d.ts","sourceRoot":"","sources":["../../../src/post-submission-actions/program-enrollment-action.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,oBAAoB,EAA8B,MAAM,UAAU,CAAC;AAKjF,eAAO,MAAM,iCAAiC,EAAE,oBAuG/C,CAAC;AAyBF,eAAe,iCAAiC,CAAC"}
@@ -1,26 +0,0 @@
1
- import { type OpenmrsResource } from '@openmrs/esm-framework';
2
- import { type FormField, type FormProcessorContextProps, type FormSchema, type ValueAndDisplay } from '../../types';
3
- import { FormProcessor } from '../form-processor';
4
- import { type FormContextProps } from '../../provider/form-provider';
5
- declare function useCustomHooks(context: Partial<FormProcessorContextProps>): {
6
- data: {
7
- encounter: import("../..").OpenmrsEncounter;
8
- patientPrograms: import("../..").PatientProgram[];
9
- encounterRole: OpenmrsResource;
10
- };
11
- isLoading: boolean;
12
- error: any;
13
- updateContext: (setContext: React.Dispatch<React.SetStateAction<FormProcessorContextProps>>) => void;
14
- };
15
- export declare class EncounterFormProcessor extends FormProcessor {
16
- prepareFormSchema(schema: FormSchema): FormSchema;
17
- processSubmission(context: FormContextProps, abortController: AbortController): Promise<any>;
18
- getCustomHooks(): {
19
- useCustomHooks: typeof useCustomHooks;
20
- };
21
- getInitialValues(context: FormProcessorContextProps): Promise<{}>;
22
- loadDependencies(context: FormContextProps, setContext: React.Dispatch<React.SetStateAction<FormProcessorContextProps>>): Promise<FormContextProps>;
23
- getHistoricalValue(field: FormField, context: FormContextProps): Promise<ValueAndDisplay>;
24
- }
25
- export {};
26
- //# sourceMappingURL=encounter-form-processor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encounter-form-processor.d.ts","sourceRoot":"","sources":["../../../../src/processors/encounter/encounter-form-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAA+B,MAAM,wBAAwB,CAAC;AAc3F,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EAEf,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAIrB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKlD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAOrE,iBAAS,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;gCAcnC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAAC;EAe9F;AAkBD,qBAAa,sBAAuB,SAAQ,aAAa;IACvD,iBAAiB,CAAC,MAAM,EAAE,UAAU;IAuC9B,iBAAiB,CAAC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe;IAiInF,cAAc;;;IAIR,gBAAgB,CAAC,OAAO,EAAE,yBAAyB;IAsFnD,gBAAgB,CACpB,OAAO,EAAE,gBAAgB,EACzB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAAC;IAavE,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CA0BhG"}
@@ -1,19 +0,0 @@
1
- import { type FormField, type FormProcessorContextProps, type OpenmrsEncounter, type PatientIdentifier, type PatientProgram, type PatientProgramPayload, type PersonAttribute } from '../../types';
2
- import { type FormContextProps } from '../../provider/form-provider';
3
- export declare function prepareEncounter(context: FormContextProps, encounterDate: Date, encounterRole: string, encounterProvider: string, location: string): OpenmrsEncounter;
4
- export declare function preparePatientIdentifiers(fields: FormField[], encounterLocation: string): PatientIdentifier[];
5
- export declare function savePatientIdentifiers(patient: fhir.Patient, identifiers: PatientIdentifier[]): Promise<import("@openmrs/esm-api").FetchResponse<any>>[];
6
- export declare function preparePersonAttributes(fields: FormField[]): PersonAttribute[];
7
- export declare function savePersonAttributes(patient: fhir.Patient, attributes: PersonAttribute[]): Promise<import("@openmrs/esm-api").FetchResponse<any>>[];
8
- export declare function preparePatientPrograms(fields: FormField[], patient: fhir.Patient, currentPatientPrograms: Array<PatientProgram>): Array<PatientProgramPayload>;
9
- export declare function savePatientPrograms(patientPrograms: PatientProgramPayload[]): Promise<import("@openmrs/esm-api").FetchResponse<any>[]>;
10
- export declare function saveAttachments(fields: FormField[], encounter: OpenmrsEncounter, abortController: AbortController): any[] | Promise<import("@openmrs/esm-api").FetchResponse<any>[]>;
11
- export declare function getMutableSessionProps(context: FormContextProps): {
12
- encounterRole: string;
13
- encounterProvider: string;
14
- encounterDate: Date;
15
- encounterLocation: string;
16
- };
17
- export declare function inferInitialValueFromDefaultFieldValue(field: FormField): any;
18
- export declare function hydrateRepeatField(field: FormField, encounter: OpenmrsEncounter, initialValues: Record<string, any>, context: FormProcessorContextProps): Promise<FormField[]>;
19
- //# sourceMappingURL=encounter-processor-helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encounter-processor-helper.d.ts","sourceRoot":"","sources":["../../../../src/processors/encounter/encounter-processor-helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAKrB,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAQrE,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,IAAI,EACnB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,oBA6DjB;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,iBAAiB,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAI7G;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,4DAI7F;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAI9E;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,4DAIxF;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,EAAE,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,sBAAsB,EAAE,KAAK,CAAC,cAAc,CAAC,GAC5C,KAAK,CAAC,qBAAqB,CAAC,CA+B9B;AAED,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,qBAAqB,EAAE,4DAG3E;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,oEAcjH;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB;mBAa5B,MAAM;uBACE,MAAM;mBACd,IAAI;uBACI,MAAM;EAEjD;AA4FD,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,SAAS,OAetE;AAED,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE,gBAAgB,EAC3B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAClC,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,SAAS,EAAE,CAAC,CAwEtB"}
@@ -1,25 +0,0 @@
1
- import { type OpenmrsResource } from '@openmrs/esm-framework';
2
- import { type FormContextProps } from '../provider/form-provider';
3
- import { type ValueAndDisplay, type FormField, type FormSchema, type FormProcessorContextProps } from '../types';
4
- export type FormProcessorConstructor = new (...args: ConstructorParameters<typeof FormProcessor>) => FormProcessor;
5
- export type GetCustomHooksResponse = {
6
- useCustomHooks: (context: Partial<FormProcessorContextProps>) => {
7
- data: any;
8
- isLoading: boolean;
9
- error: any;
10
- updateContext: (setContext: React.Dispatch<React.SetStateAction<FormProcessorContextProps>>) => void;
11
- };
12
- };
13
- export declare abstract class FormProcessor {
14
- formJson: FormSchema;
15
- domainObjectValue: OpenmrsResource;
16
- constructor(formJson: FormSchema);
17
- getDomainObject(): OpenmrsResource;
18
- loadDependencies(context: Partial<FormProcessorContextProps>, setContext: React.Dispatch<React.SetStateAction<FormProcessorContextProps>>): Promise<Record<string, any>>;
19
- abstract getHistoricalValue(field: FormField, context: FormContextProps): Promise<ValueAndDisplay>;
20
- abstract processSubmission(context: FormContextProps, abortController: AbortController): Promise<OpenmrsResource>;
21
- abstract getInitialValues(context: FormProcessorContextProps): Promise<Record<string, any>>;
22
- abstract getCustomHooks(): GetCustomHooksResponse;
23
- abstract prepareFormSchema(schema: FormSchema): FormSchema;
24
- }
25
- //# sourceMappingURL=form-processor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-processor.d.ts","sourceRoot":"","sources":["../../../src/processors/form-processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAEjH,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,IAAI,EAAE,qBAAqB,CAAC,OAAO,aAAa,CAAC,KAAK,aAAa,CAAC;AAEnH,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC,KAAK;QAC/D,IAAI,EAAE,GAAG,CAAC;QACV,SAAS,EAAE,OAAO,CAAC;QACnB,KAAK,EAAE,GAAG,CAAC;QACX,aAAa,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAAC,KAAK,IAAI,CAAC;KACtG,CAAC;CACH,CAAC;AAEF,8BAAsB,aAAa;IACjC,QAAQ,EAAE,UAAU,CAAC;IACrB,iBAAiB,EAAE,eAAe,CAAC;gBAEvB,QAAQ,EAAE,UAAU;IAIhC,eAAe;IAIT,gBAAgB,CACpB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAC3C,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAAC,GAC1E,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAI/B,QAAQ,CAAC,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAClG,QAAQ,CAAC,iBAAiB,CAAC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IACjH,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3F,QAAQ,CAAC,cAAc,IAAI,sBAAsB;IACjD,QAAQ,CAAC,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU;CAC3D"}
@@ -1,8 +0,0 @@
1
- import { type OpenmrsResource } from '@openmrs/esm-framework';
2
- import { type FormContextProps } from './form-provider';
3
- import { type PostSubmissionActionMeta } from '../hooks/usePostSubmissionActions';
4
- import { type TFunction } from 'i18next';
5
- import { type SessionMode } from '../types';
6
- export declare function validateForm(context: FormContextProps): boolean;
7
- export declare function processPostSubmissionActions(postSubmissionHandlers: PostSubmissionActionMeta[], submissionResults: OpenmrsResource[], patient: fhir.Patient, sessionMode: SessionMode, t: TFunction): Promise<void[]>;
8
- //# sourceMappingURL=form-factory-helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-factory-helper.d.ts","sourceRoot":"","sources":["../../../src/provider/form-factory-helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAgB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,YAAY,CAAC,OAAO,EAAE,gBAAgB,WAwCrD;AAED,wBAAsB,4BAA4B,CAChD,sBAAsB,EAAE,wBAAwB,EAAE,EAClD,iBAAiB,EAAE,eAAe,EAAE,EACpC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAE,WAAW,EACxB,CAAC,EAAE,SAAS,mBAkDb"}
@@ -1,48 +0,0 @@
1
- import React from 'react';
2
- import { type LayoutType, type OpenmrsResource, type Visit } from '@openmrs/esm-framework';
3
- import { type FormContextProps } from './form-provider';
4
- import { type FormField, type FormSchema, type SessionMode } from '../types';
5
- import { type FormProcessorConstructor } from '../processors/form-processor';
6
- interface FormFactoryProviderContextProps {
7
- patient: fhir.Patient;
8
- sessionMode: SessionMode;
9
- sessionDate: Date;
10
- formJson: FormSchema;
11
- formProcessors: Record<string, FormProcessorConstructor>;
12
- layoutType: LayoutType;
13
- workspaceLayout: 'minimized' | 'maximized';
14
- visit: Visit;
15
- location: OpenmrsResource;
16
- provider: OpenmrsResource;
17
- isFormExpanded: boolean;
18
- registerForm: (formId: string, isSubForm: boolean, context: FormContextProps) => void;
19
- handleConfirmQuestionDeletion?: (question: Readonly<FormField>) => Promise<void>;
20
- setIsFormDirty: (isFormDirty: boolean) => void;
21
- }
22
- interface FormFactoryProviderProps {
23
- patient: fhir.Patient;
24
- patientUUID: string;
25
- sessionMode: SessionMode;
26
- sessionDate: Date;
27
- formJson: FormSchema;
28
- workspaceLayout: 'minimized' | 'maximized';
29
- location: OpenmrsResource;
30
- provider: OpenmrsResource;
31
- visit: Visit;
32
- isFormExpanded: boolean;
33
- children: React.ReactNode;
34
- formSubmissionProps: {
35
- isSubmitting: boolean;
36
- setIsSubmitting: (isSubmitting: boolean) => void;
37
- onSubmit: (data: any) => void;
38
- onError: (error: any) => void;
39
- handleClose: () => void;
40
- };
41
- hideFormCollapseToggle: () => void;
42
- handleConfirmQuestionDeletion?: (question: Readonly<FormField>) => Promise<void>;
43
- setIsFormDirty: (isFormDirty: boolean) => void;
44
- }
45
- export declare const FormFactoryProvider: React.FC<FormFactoryProviderProps>;
46
- export declare const useFormFactory: () => FormFactoryProviderContextProps;
47
- export {};
48
- //# sourceMappingURL=form-factory-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-factory-provider.d.ts","sourceRoot":"","sources":["../../../src/provider/form-factory-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8E,MAAM,OAAO,CAAC;AAEnG,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,eAAe,EAEpB,KAAK,KAAK,EAEX,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAI7E,UAAU,+BAA+B;IACvC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,QAAQ,EAAE,UAAU,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IACzD,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,WAAW,GAAG,WAAW,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,eAAe,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtF,6BAA6B,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,cAAc,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED,UAAU,wBAAwB;IAChC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,QAAQ,EAAE,UAAU,CAAC;IACrB,eAAe,EAAE,WAAW,GAAG,WAAW,CAAC;IAC3C,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mBAAmB,EAAE;QACnB,YAAY,EAAE,OAAO,CAAC;QACtB,eAAe,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;QACjD,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;QAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;QAC9B,WAAW,EAAE,MAAM,IAAI,CAAC;KACzB,CAAC;IACF,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,6BAA6B,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,cAAc,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAID,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA4IlE,CAAC;AAEF,eAAO,MAAM,cAAc,uCAM1B,CAAC"}
@@ -1,26 +0,0 @@
1
- import React, { type ReactNode } from 'react';
2
- import { type UseFormReturn } from 'react-hook-form';
3
- import { type FormProcessorContextProps } from '../types';
4
- import { type FormSchema, type FormField } from '../types/schema';
5
- export interface FormContextProps extends FormProcessorContextProps {
6
- methods: UseFormReturn<any>;
7
- workspaceLayout: 'minimized' | 'maximized';
8
- isSubmitting?: boolean;
9
- deletedFields: FormField[];
10
- getFormField?: (field: string) => FormField;
11
- addFormField?: (field: FormField) => void;
12
- updateFormField?: (field: FormField) => void;
13
- removeFormField?: (fieldId: string) => void;
14
- addInvalidField?: (field: FormField) => void;
15
- removeInvalidField?: (fieldId: string) => void;
16
- setInvalidFields?: (fields: FormField[]) => void;
17
- setForm?: (formJson: FormSchema) => void;
18
- setDeletedFields?: (fields: FormField[]) => void;
19
- }
20
- export interface FormProviderProps extends FormContextProps {
21
- children: ReactNode;
22
- }
23
- export declare const FormContext: React.Context<FormContextProps>;
24
- export declare const FormProvider: ({ methods, children, ...contextProps }: FormProviderProps) => React.JSX.Element;
25
- export declare const useFormProviderContext: () => FormContextProps;
26
- //# sourceMappingURL=form-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-provider.d.ts","sourceRoot":"","sources":["../../../src/provider/form-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAElE,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB;IACjE,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC5B,eAAe,EAAE,WAAW,GAAG,WAAW,CAAC;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC1C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,iCAA+D,CAAC;AAExF,eAAO,MAAM,YAAY,GAAI,wCAAwC,iBAAiB,sBAErF,CAAC;AAEF,eAAO,MAAM,sBAAsB,wBAOlC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type PostSubmissionAction } from '../../types';
2
- import { type ComponentRegistration } from '../registry';
3
- export declare const inbuiltPostSubmissionActions: Array<ComponentRegistration<PostSubmissionAction>>;
4
- //# sourceMappingURL=InbuiltPostSubmissionActions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InbuiltPostSubmissionActions.d.ts","sourceRoot":"","sources":["../../../../src/registry/inbuilt-components/InbuiltPostSubmissionActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAS3F,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type ControlTemplate } from '../../types';
2
- export declare const controlTemplates: Array<ControlTemplate>;
3
- export declare const getControlTemplate: (name: string) => ControlTemplate;
4
- //# sourceMappingURL=control-templates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"control-templates.d.ts","sourceRoot":"","sources":["../../../../src/registry/inbuilt-components/control-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,eAAe,CAkDnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,oBAE9C,CAAC"}
@@ -1,7 +0,0 @@
1
- import { type FormFieldInputProps } from '../../types';
2
- import { type RegistryItem } from '../registry';
3
- /**
4
- * @internal
5
- */
6
- export declare const inbuiltControls: Array<RegistryItem<React.ComponentType<FormFieldInputProps>>>;
7
- //# sourceMappingURL=inbuiltControls.d.ts.map