@m4l/components 9.4.33-beta-feature-dynamicform-crear-componente.1 → 9.4.33

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 (263) hide show
  1. package/components/CheckableList/slots/styled.d.ts +1 -1
  2. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  3. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  4. package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
  5. package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts.map +1 -1
  6. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  7. package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
  8. package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts.map +1 -1
  9. package/components/DaysOfWeekPicker/hooks/types.d.ts +1 -2
  10. package/components/DaysOfWeekPicker/hooks/types.d.ts.map +1 -1
  11. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.d.ts.map +1 -1
  12. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +32 -32
  13. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
  14. package/components/DaysOfWeekPicker/types.d.ts +1 -1
  15. package/components/DaysOfWeekPicker/types.d.ts.map +1 -1
  16. package/components/EditLabel/slots/EditLabelSlots.d.ts +1 -1
  17. package/components/ImageText/slots/ImageTextSlots.d.ts +1 -1
  18. package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
  19. package/components/LoadingError/slots/LoadingErrorSlots.d.ts.map +1 -1
  20. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +1 -1
  21. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +1 -1
  22. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  23. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.d.ts.map +1 -1
  24. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.js +38 -36
  25. package/components/datagrids/dictionary.d.ts +1 -0
  26. package/components/datagrids/dictionary.d.ts.map +1 -1
  27. package/components/datagrids/dictionary.js +3 -2
  28. package/components/datagrids/index.d.ts +1 -1
  29. package/components/datagrids/index.d.ts.map +1 -1
  30. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.d.ts +1 -0
  31. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.d.ts.map +1 -1
  32. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.js +33 -29
  33. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/Export.d.ts +8 -0
  34. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/Export.d.ts.map +1 -0
  35. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/Export.js +41 -0
  36. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/index.d.ts +3 -0
  37. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/index.d.ts.map +1 -0
  38. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/types.d.ts +6 -0
  39. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Export/types.d.ts.map +1 -0
  40. package/components/datagrids/tests/helpers/useColumns.d.ts.map +1 -1
  41. package/components/datagrids/types.d.ts +35 -0
  42. package/components/datagrids/types.d.ts.map +1 -1
  43. package/components/datagrids/views/CardsView/hooks/useProcessedColumns/useProcessedColumns.d.ts +1 -0
  44. package/components/datagrids/views/CardsView/hooks/useProcessedColumns/useProcessedColumns.d.ts.map +1 -1
  45. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +2 -2
  46. package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +1 -1
  47. package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  48. package/components/extended/mui/Radio/Radio.d.ts.map +1 -1
  49. package/components/extended/mui/Radio/Radio.js +23 -21
  50. package/components/extended/mui/Select/slots/SelectSlots.d.ts +1 -1
  51. package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +1 -1
  52. package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  53. package/components/extended/mui/index.d.ts +1 -0
  54. package/components/extended/mui/index.d.ts.map +1 -1
  55. package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  56. package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +32 -30
  57. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
  58. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts.map +1 -1
  59. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +46 -48
  60. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +1 -1
  61. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  62. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +3 -3
  63. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts.map +1 -1
  64. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +123 -71
  65. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.d.ts +1 -1
  66. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.d.ts.map +1 -1
  67. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.js +68 -14
  68. package/components/hook-form/RHFRadioGroup/constants.d.ts +1 -1
  69. package/components/hook-form/RHFRadioGroup/constants.d.ts.map +1 -1
  70. package/components/hook-form/RHFRadioGroup/slots/slots.d.ts +5 -1
  71. package/components/hook-form/RHFRadioGroup/slots/slots.d.ts.map +1 -1
  72. package/components/hook-form/RHFRadioGroup/slots/slots.js +2 -2
  73. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +4 -0
  74. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
  75. package/components/hook-form/RHFRadioGroup/slots/styled.js +35 -17
  76. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.d.ts +10 -0
  77. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.d.ts.map +1 -0
  78. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.js +45 -0
  79. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/index.d.ts +3 -0
  80. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/index.d.ts.map +1 -0
  81. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/types.d.ts +14 -0
  82. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/types.d.ts.map +1 -0
  83. package/components/hook-form/RHFRadioGroup/types.d.ts +21 -1
  84. package/components/hook-form/RHFRadioGroup/types.d.ts.map +1 -1
  85. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  86. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  87. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  88. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  89. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +4 -4
  90. package/components/hook-form/RHFormProvider/styles.d.ts.map +1 -1
  91. package/components/hook-form/RHFormProvider/styles.js +2 -11
  92. package/components/hook-form/RHFormProvider/types.d.ts +7 -7
  93. package/components/index.d.ts +1 -1
  94. package/components/index.d.ts.map +1 -1
  95. package/index.js +455 -465
  96. package/package.json +5 -5
  97. package/test/mocks/dictionary-mock.d.ts +1 -0
  98. package/test/mocks/dictionary-mock.d.ts.map +1 -1
  99. package/utils/getIconColor.d.ts.map +1 -1
  100. package/utils/getIconColor.js +1 -1
  101. package/utils/getOptionLabelColor.d.ts +6 -0
  102. package/utils/getOptionLabelColor.d.ts.map +1 -0
  103. package/utils/getOptionLabelColor.js +6 -0
  104. package/components/DynamicForm/DynamicForm.d.ts +0 -29
  105. package/components/DynamicForm/DynamicForm.d.ts.map +0 -1
  106. package/components/DynamicForm/DynamicForm.js +0 -96
  107. package/components/DynamicForm/DynamicForm.styles.d.ts +0 -3
  108. package/components/DynamicForm/DynamicForm.styles.d.ts.map +0 -1
  109. package/components/DynamicForm/DynamicForm.styles.js +0 -78
  110. package/components/DynamicForm/constants.d.ts +0 -15
  111. package/components/DynamicForm/constants.d.ts.map +0 -1
  112. package/components/DynamicForm/constants.js +0 -16
  113. package/components/DynamicForm/dictionary.d.ts +0 -15
  114. package/components/DynamicForm/dictionary.d.ts.map +0 -1
  115. package/components/DynamicForm/dictionary.js +0 -16
  116. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.d.ts +0 -13
  117. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.d.ts.map +0 -1
  118. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.js +0 -19
  119. package/components/DynamicForm/helpers/applyRequiredValidation/index.d.ts +0 -3
  120. package/components/DynamicForm/helpers/applyRequiredValidation/index.d.ts.map +0 -1
  121. package/components/DynamicForm/helpers/applyRequiredValidation/types.d.ts +0 -7
  122. package/components/DynamicForm/helpers/applyRequiredValidation/types.d.ts.map +0 -1
  123. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.d.ts +0 -13
  124. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.d.ts.map +0 -1
  125. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.js +0 -35
  126. package/components/DynamicForm/helpers/createFieldValidationSchema/index.d.ts +0 -3
  127. package/components/DynamicForm/helpers/createFieldValidationSchema/index.d.ts.map +0 -1
  128. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts +0 -43
  129. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts.map +0 -1
  130. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.js +0 -134
  131. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts +0 -7
  132. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts.map +0 -1
  133. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.js +0 -9
  134. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/index.d.ts +0 -4
  135. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/index.d.ts.map +0 -1
  136. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/types.d.ts +0 -22
  137. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/types.d.ts.map +0 -1
  138. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/index.d.ts +0 -3
  139. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/index.d.ts.map +0 -1
  140. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/types.d.ts +0 -27
  141. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/types.d.ts.map +0 -1
  142. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.d.ts +0 -25
  143. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.d.ts.map +0 -1
  144. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.js +0 -200
  145. package/components/DynamicForm/helpers/createFieldValidationSchema/types.d.ts +0 -6
  146. package/components/DynamicForm/helpers/createFieldValidationSchema/types.d.ts.map +0 -1
  147. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.d.ts +0 -7
  148. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.d.ts.map +0 -1
  149. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.js +0 -6
  150. package/components/DynamicForm/helpers/createIsOptionEqualToValue/index.d.ts +0 -2
  151. package/components/DynamicForm/helpers/createIsOptionEqualToValue/index.d.ts.map +0 -1
  152. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.d.ts +0 -11
  153. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.d.ts.map +0 -1
  154. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.js +0 -26
  155. package/components/DynamicForm/helpers/evaluateConditionalRule/index.d.ts +0 -3
  156. package/components/DynamicForm/helpers/evaluateConditionalRule/index.d.ts.map +0 -1
  157. package/components/DynamicForm/helpers/evaluateConditionalRule/types.d.ts +0 -7
  158. package/components/DynamicForm/helpers/evaluateConditionalRule/types.d.ts.map +0 -1
  159. package/components/DynamicForm/helpers/index.d.ts +0 -9
  160. package/components/DynamicForm/helpers/index.d.ts.map +0 -1
  161. package/components/DynamicForm/helpers/normalizeValidation/index.d.ts +0 -3
  162. package/components/DynamicForm/helpers/normalizeValidation/index.d.ts.map +0 -1
  163. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.d.ts +0 -9
  164. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.d.ts.map +0 -1
  165. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.js +0 -9
  166. package/components/DynamicForm/helpers/normalizeValidation/types.d.ts +0 -6
  167. package/components/DynamicForm/helpers/normalizeValidation/types.d.ts.map +0 -1
  168. package/components/DynamicForm/helpers/resolveFieldComponent/index.d.ts +0 -3
  169. package/components/DynamicForm/helpers/resolveFieldComponent/index.d.ts.map +0 -1
  170. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts +0 -12
  171. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts.map +0 -1
  172. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.js +0 -54
  173. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.d.ts +0 -7
  174. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.d.ts.map +0 -1
  175. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.js +0 -36
  176. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.d.ts +0 -7
  177. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.d.ts.map +0 -1
  178. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.js +0 -28
  179. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.d.ts +0 -4
  180. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.d.ts.map +0 -1
  181. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.js +0 -24
  182. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.d.ts +0 -4
  183. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.d.ts.map +0 -1
  184. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.js +0 -24
  185. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.d.ts +0 -4
  186. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.d.ts.map +0 -1
  187. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.js +0 -27
  188. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts +0 -12
  189. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts.map +0 -1
  190. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.d.ts +0 -4
  191. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.d.ts.map +0 -1
  192. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.js +0 -24
  193. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.d.ts +0 -7
  194. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.d.ts.map +0 -1
  195. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.js +0 -27
  196. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.d.ts +0 -7
  197. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.d.ts.map +0 -1
  198. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.js +0 -29
  199. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.d.ts +0 -4
  200. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.d.ts.map +0 -1
  201. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.js +0 -27
  202. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.d.ts +0 -4
  203. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.d.ts.map +0 -1
  204. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.js +0 -25
  205. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts +0 -34
  206. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts.map +0 -1
  207. package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts +0 -9
  208. package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts.map +0 -1
  209. package/components/DynamicForm/helpers/resolveInitialValue/index.d.ts +0 -3
  210. package/components/DynamicForm/helpers/resolveInitialValue/index.d.ts.map +0 -1
  211. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.d.ts +0 -19
  212. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.d.ts.map +0 -1
  213. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.js +0 -64
  214. package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts +0 -13
  215. package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts.map +0 -1
  216. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/index.d.ts +0 -2
  217. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/index.d.ts.map +0 -1
  218. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.d.ts +0 -14
  219. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.d.ts.map +0 -1
  220. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.js +0 -16
  221. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts +0 -16
  222. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts.map +0 -1
  223. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.js +0 -88
  224. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.d.ts +0 -13
  225. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.d.ts.map +0 -1
  226. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.js +0 -25
  227. package/components/DynamicForm/hooks/useDynamicFormCoupled/index.d.ts +0 -3
  228. package/components/DynamicForm/hooks/useDynamicFormCoupled/index.d.ts.map +0 -1
  229. package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts +0 -43
  230. package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts.map +0 -1
  231. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.d.ts +0 -54
  232. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.d.ts.map +0 -1
  233. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.js +0 -53
  234. package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts +0 -20
  235. package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts.map +0 -1
  236. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts +0 -14
  237. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts.map +0 -1
  238. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.js +0 -74
  239. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/index.d.ts +0 -3
  240. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/index.d.ts.map +0 -1
  241. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.d.ts +0 -7
  242. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.d.ts.map +0 -1
  243. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.js +0 -20
  244. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/types.d.ts +0 -12
  245. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/types.d.ts.map +0 -1
  246. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts +0 -7
  247. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts.map +0 -1
  248. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js +0 -56
  249. package/components/DynamicForm/index.d.ts +0 -7
  250. package/components/DynamicForm/index.d.ts.map +0 -1
  251. package/components/DynamicForm/slots/DynamicFormEnum.d.ts +0 -13
  252. package/components/DynamicForm/slots/DynamicFormEnum.d.ts.map +0 -1
  253. package/components/DynamicForm/slots/DynamicFormEnum.js +0 -4
  254. package/components/DynamicForm/slots/DynamicFormSlots.d.ts +0 -11
  255. package/components/DynamicForm/slots/DynamicFormSlots.d.ts.map +0 -1
  256. package/components/DynamicForm/slots/DynamicFormSlots.js +0 -40
  257. package/components/DynamicForm/slots/index.d.ts +0 -4
  258. package/components/DynamicForm/slots/index.d.ts.map +0 -1
  259. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts +0 -3
  260. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts.map +0 -1
  261. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.js +0 -56
  262. package/components/DynamicForm/types.d.ts +0 -346
  263. package/components/DynamicForm/types.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.4.33-beta-feature-dynamicform-crear-componente.1",
3
+ "version": "9.4.33",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,8 +41,8 @@
41
41
  "fast-equals": "^5.0.1",
42
42
  "react-hook-form": "^7.33.1",
43
43
  "lodash-es": "^4.17.21",
44
- "yup": "0.32.11",
45
44
  "react-dropzone": "^14.2.2",
45
+ "yup": "0.32.11",
46
46
  "react-window": "^1.8.11",
47
47
  "@textea/json-viewer": "4.0.1",
48
48
  "rsuite": "6.1.2",
@@ -52,18 +52,18 @@
52
52
  "react-toastify": "10.0.5",
53
53
  "date-fns": "^2.30.0",
54
54
  "react-transition-group": "^4.4.5",
55
- "react-rnd": "^10.5.2",
55
+ "react-draggable": "^4.4.5",
56
56
  "react-color": "^2.19.3",
57
57
  "@mui/x-date-pickers": "6.20.2",
58
- "react-draggable": "^4.4.5",
59
58
  "react-data-grid": "7.0.0-beta.47",
60
59
  "react-dnd": "^16.0.1",
61
60
  "react-dnd-html5-backend": "^16.0.1",
61
+ "react-rnd": "^10.5.2",
62
62
  "react-spinners": "^0.13.8",
63
- "react-resizable": "^3.0.4",
64
63
  "chart.js": "^4.4.0",
65
64
  "chartjs-chart-error-bars": "^4.3.3",
66
65
  "qrcode.react": "^3.1.0",
66
+ "react-resizable": "^3.0.4",
67
67
  "react-resizable-panels": "^2.1.8",
68
68
  "simplebar-react": "3.2.6"
69
69
  }
@@ -122,6 +122,7 @@ export interface DictionaryMockData {
122
122
  settings_title: string;
123
123
  settings_visible_all: string;
124
124
  tooltip_density: string;
125
+ tooltip_export: string;
125
126
  tooltip_filter_hide: string;
126
127
  tooltip_filter_show: string;
127
128
  tooltip_settings: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,oBAAoB,EAAE,MAAM,CAAC;QA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xF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAU,IAAI,GAAG,IAAW,KAAG,kBAoB5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,kBAS/D,CAAC"}
1
+ {"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,mBAAmB,EAAE,MAAM,CAAC;QAC5B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAA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ACpB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,cAAc,EAAE;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,mBAAmB,EAAE;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE;QACN,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,OAAO,EAAE;QACP,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,EAAE;QACP,mBAAmB,EAAE,MAAM,CAAC;QAC5B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,YAAY,EAAE;QACZ,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAuZhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAW,OAAO,CAAC,kBAAkB,CAAM,KAAG,kBAaxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAU,IAAI,GAAG,IAAW,KAAG,kBAoB5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,kBAS/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getIconColor.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/utils/getIconColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD;;;GAGG;AACH,MAAM,MAAM,UAAU,GACpB,cAAc,GACd,cAAc,GACd,eAAe,GACf,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,YAAY,GACZ,cAAc,GACd,MAAM,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,UAAU,KAChB,SAAS,CAAC,OAAO,CAiBnB,CAAC"}
1
+ {"version":3,"file":"getIconColor.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/utils/getIconColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD;;;GAGG;AACH,MAAM,MAAM,UAAU,GACpB,cAAc,GACd,cAAc,GACd,eAAe,GACf,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,YAAY,GACZ,cAAc,GACd,MAAM,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,UAAU,KAChB,SAAS,CAAC,OAAO,CAuBnB,CAAC"}
@@ -1,4 +1,4 @@
1
- const n = (r) => r === "default" ? "text.primary" : r === "warning" ? "warning.main" : r === "error" ? "error.main" : r === "success" ? "success.main" : r === "info" ? "info.main" : "text.primary";
1
+ const n = (r) => r === "default" ? "text.primary" : r === "secondary" ? "text.secondary" : r === "primary" ? "primary.enabled" : r === "warning" ? "warning.main" : r === "error" ? "error.main" : r === "success" ? "success.main" : r === "info" ? "info.main" : "text.primary";
2
2
  export {
3
3
  n as getIconColor
4
4
  };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns the palette path for an option label color based on checked and disabled state.
3
+ * Used by Radio (inline text) and RHFRadioGroup (OptionLabelStyled) so the rule lives in one place.
4
+ */
5
+ export declare function getOptionLabelColor(checked: boolean, disabled?: boolean): 'text.primary' | 'text.secondary' | 'text.disabled';
6
+ //# sourceMappingURL=getOptionLabelColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOptionLabelColor.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/utils/getOptionLabelColor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,OAAO,GACjB,cAAc,GAAG,gBAAgB,GAAG,eAAe,CAKrD"}
@@ -0,0 +1,6 @@
1
+ function r(t, e) {
2
+ return e ? "text.disabled" : t ? "text.primary" : "text.secondary";
3
+ }
4
+ export {
5
+ r as getOptionLabelColor
6
+ };
@@ -1,29 +0,0 @@
1
- import { default as React } from 'react';
2
- import { DynamicFormProps, DynamicFormRef } from './types';
3
- /**
4
- * DynamicForm component that renders and edits dynamic forms from the JSON
5
- * provided by the API, using React Hook Form.
6
- *
7
- * It interprets the API contract and renders fields according to backend
8
- * specifications, including:
9
- * - Dynamic validations
10
- * - Conditional rules
11
- * - Initial values
12
- * - Various field types
13
- *
14
- * ### Dependencies:
15
- * - **`useDynamicForm`:** Hook that manages dynamic form logic.
16
- * - **`resolveFieldComponent`:** Helper that resolves the corresponding RHF component.
17
- * @param props - Component props.
18
- * @returns Rendered element.
19
- * @example
20
- * ```tsx
21
- * <DynamicForm
22
- * data={formData}
23
- * onSubmit={(data) => console.log(data)}
24
- * size="medium"
25
- * />
26
- * ```
27
- */
28
- export declare const DynamicForm: React.ForwardRefExoticComponent<DynamicFormProps & React.RefAttributes<DynamicFormRef>>;
29
- //# sourceMappingURL=DynamicForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAUxE,OAAO,EAEL,gBAAgB,EAChB,cAAc,EAEf,MAAM,SAAS,CAAC;AASjB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,WAAW,yFAyLtB,CAAC"}
@@ -1,96 +0,0 @@
1
- import { jsx as t } from "@emotion/react/jsx-runtime";
2
- import z, { forwardRef as O, useMemo as x, useImperativeHandle as L } from "react";
3
- import l from "clsx";
4
- import { useModuleSkeleton as k } from "@m4l/core";
5
- import { useComponentSize as w } from "../../hooks/useComponentSize/useComponentSize.js";
6
- import { TEST_PROP_ID as V } from "../../test/constants_no_mock.js";
7
- import { LinearProgress as Y } from "../extended/mui/LinearProgress/index.js";
8
- import { DynamicFormContentRootStyled as g, DynamicFormFormProviderStyled as j } from "./slots/DynamicFormSlots.js";
9
- import { DYNAMIC_FORM_CLASSES as a, EMPTY_DATA as H } from "./constants.js";
10
- import { useDynamicForm as U } from "./hooks/useDynamicForm/useDynamicForm.js";
11
- import { useDynamicFormData as W } from "./hooks/useDynamicFormData/useDynamicFormData.js";
12
- import { DynamicFormContent as d } from "./subcomponents/DynamicFormContent/DynamicFormContent.js";
13
- const q = O((D, S) => {
14
- const {
15
- formId: y,
16
- formInstanceId: F,
17
- inputEndpoint: I,
18
- outputEndpoint: i,
19
- initialData: s,
20
- formatInputData: R,
21
- formatOutputData: E,
22
- onSubmit: c,
23
- onSubmitError: N,
24
- size: P,
25
- className: u,
26
- dataTestId: e,
27
- fieldWrapperClassName: f,
28
- coupled: n = !1,
29
- actionFormIntroProps: v,
30
- renderActions: C
31
- } = D, { currentSize: r } = w(P), T = k(), {
32
- formData: _,
33
- statusLoad: b,
34
- handleSubmit: A
35
- } = W({
36
- formId: y,
37
- formInstanceId: F,
38
- inputEndpoint: I,
39
- outputEndpoint: i,
40
- initialData: s,
41
- formatInputData: R,
42
- formatOutputData: E,
43
- onSubmit: c
44
- }), o = _ || s, { initialValues: M, validationSchema: h } = U(o || H), m = x(() => ({
45
- size: r
46
- }), [r]), p = z.useRef(null);
47
- return L(S, () => p.current, []), T ? /* @__PURE__ */ t(
48
- g,
49
- {
50
- ownerState: m,
51
- className: l(u, a.contentRoot),
52
- ...process.env.NODE_ENV !== "production" ? { [V]: e } : {},
53
- children: /* @__PURE__ */ t(Y, {})
54
- }
55
- ) : o ? n ? /* @__PURE__ */ t(
56
- d,
57
- {
58
- data: o,
59
- ownerState: m,
60
- currentSize: r,
61
- fieldWrapperClassName: f,
62
- dataTestId: e,
63
- coupled: n
64
- }
65
- ) : /* @__PURE__ */ t(
66
- j,
67
- {
68
- ref: p,
69
- values: M,
70
- validationSchema: h,
71
- onSubmit: i ? A : c ?? (() => {
72
- }),
73
- onSubmitError: N,
74
- statusLoad: b,
75
- mode: "onSubmit",
76
- className: l(u, a.contentRoot, a.formProvider),
77
- children: o && /* @__PURE__ */ t(
78
- d,
79
- {
80
- data: o,
81
- ownerState: m,
82
- currentSize: r,
83
- fieldWrapperClassName: f,
84
- dataTestId: e,
85
- coupled: n,
86
- actionFormIntroProps: v,
87
- renderActions: C
88
- }
89
- )
90
- }
91
- ) : null;
92
- });
93
- q.displayName = "DynamicForm";
94
- export {
95
- q as DynamicForm
96
- };
@@ -1,3 +0,0 @@
1
- import { DynamicFormStyles } from './types';
2
- export declare const componentStyles: DynamicFormStyles;
3
- //# sourceMappingURL=DynamicForm.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DynamicForm.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,iBAgF7B,CAAC"}
@@ -1,78 +0,0 @@
1
- const a = {
2
- /**
3
- * Styles for the RHFormProvider wrapper.
4
- */
5
- formProvider: () => ({
6
- width: "100%"
7
- }),
8
- /**
9
- * Styles for the form content container (inner div).
10
- */
11
- contentRoot: ({ theme: r }) => ({
12
- display: "flex",
13
- flexDirection: "column",
14
- gap: r.vars.size.baseSpacings.sp4,
15
- width: "100%",
16
- padding: r.vars.size.baseSpacings.sp2,
17
- border: `1px solid ${r.vars.palette.border.default}`,
18
- borderRadius: r.vars.size.borderRadius.r1,
19
- "& .MuiLinearProgress-root": {
20
- backgroundColor: r.vars.palette.primary.opacity
21
- }
22
- }),
23
- /**
24
- * Styles for each form field wrapper.
25
- */
26
- fieldWrapper: ({ theme: r, ownerState: e }) => {
27
- const i = e;
28
- return {
29
- display: "flex",
30
- flexDirection: "column",
31
- gap: r.vars.size.baseSpacings.sp1,
32
- width: "100%",
33
- ...i?.readOnly && {
34
- opacity: 0.7
35
- },
36
- ...i?.disabled && {
37
- pointerEvents: "none",
38
- opacity: 0.5
39
- }
40
- };
41
- },
42
- /**
43
- * Styles for each field label.
44
- */
45
- label: () => ({
46
- width: "100%"
47
- }),
48
- /**
49
- * Styles for each field helper text.
50
- */
51
- helperText: () => ({
52
- width: "100%"
53
- }),
54
- /**
55
- * Styles for the section divider (for future use).
56
- */
57
- sectionDivider: ({ theme: r }) => ({
58
- width: "100%",
59
- height: r.vars.size.borderStroke.container,
60
- backgroundColor: r.vars.palette.border.main,
61
- marginTop: r.vars.size.baseSpacings.sp2,
62
- marginBottom: r.vars.size.baseSpacings.sp2
63
- }),
64
- /**
65
- * Styles for the CheckableList wrapper with fixed height.
66
- */
67
- checkableListWrapper: () => ({
68
- width: "100%",
69
- height: "400px",
70
- // Fixed height so CheckableList can calculate its container
71
- minHeight: "400px",
72
- display: "flex",
73
- flexDirection: "column"
74
- })
75
- };
76
- export {
77
- a as componentStyles
78
- };
@@ -1,15 +0,0 @@
1
- import { DynamicFormApiResponse } from './types';
2
- /**
3
- * Component identification key within the system.
4
- *
5
- * This constant is used as a unique identifier to associate and customize styles
6
- * and related configuration for the component within the theme and styling system.
7
- * @default 'M4LDynamicForm'
8
- */
9
- export declare const DYNAMIC_FORM_KEY_COMPONENT = "M4LDynamicForm";
10
- /**
11
- * CSS class inventory for the component.
12
- */
13
- export declare const DYNAMIC_FORM_CLASSES: Record<"label" | "helperText" | "contentRoot" | "formProvider" | "fieldWrapper" | "sectionDivider" | "checkableListWrapper", string>;
14
- export declare const EMPTY_DATA: DynamicFormApiResponse;
15
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,mBAAmB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,oBAAoB,sIAGhC,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,sBAKxB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { getComponentClasses as o } from "../../utils/getComponentSlotRoot.js";
2
- import { DynamicFormSlots as e } from "./slots/DynamicFormEnum.js";
3
- const n = "M4LDynamicForm", t = o(
4
- n,
5
- e
6
- ), s = {
7
- form: { id: 0, name: "", version: 0, nameDictionaryId: 0, descriptionDictionaryId: 0 },
8
- fields: [],
9
- instance: { id: 0, name: null, createdAt: "", updatedAt: "", resourceTypeId: "", resourceSerialId: "" },
10
- conditionalRules: []
11
- };
12
- export {
13
- t as DYNAMIC_FORM_CLASSES,
14
- n as DYNAMIC_FORM_KEY_COMPONENT,
15
- s as EMPTY_DATA
16
- };
@@ -1,15 +0,0 @@
1
- export declare const DYNAMIC_FORM_DICTIONARY_KEY = "dynamic_form";
2
- export declare const getDynamicFormComponentsDictionary: () => string[];
3
- export declare const DYNAMIC_FORM_DICTIONARY: {
4
- IS_REQUIRED_MESSAGE: string;
5
- DATE_RANGE_REQUIRED_MESSAGE: string;
6
- MAX_LENGTH_MESSAGE: string;
7
- MIN_LENGTH_MESSAGE: string;
8
- MAX_VALUE_MESSAGE: string;
9
- MIN_VALUE_MESSAGE: string;
10
- EMAIL_INVALID_MESSAGE: string;
11
- URL_INVALID_MESSAGE: string;
12
- PATTERN_INVALID_MESSAGE: string;
13
- CUSTOM_VALIDATION_MESSAGE: string;
14
- };
15
- //# sourceMappingURL=dictionary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,iBAAiB,CAAC;AAE1D,eAAO,MAAM,kCAAkC,gBAE9C,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;CAWnC,CAAC"}
@@ -1,16 +0,0 @@
1
- const _ = "dynamic_form", e = {
2
- IS_REQUIRED_MESSAGE: `${_}.is_required_message`,
3
- DATE_RANGE_REQUIRED_MESSAGE: `${_}.date_range_required_message`,
4
- MAX_LENGTH_MESSAGE: `${_}.max_length_message`,
5
- MIN_LENGTH_MESSAGE: `${_}.min_length_message`,
6
- MAX_VALUE_MESSAGE: `${_}.max_value_message`,
7
- MIN_VALUE_MESSAGE: `${_}.min_value_message`,
8
- EMAIL_INVALID_MESSAGE: `${_}.email_invalid_message`,
9
- URL_INVALID_MESSAGE: `${_}.url_invalid_message`,
10
- PATTERN_INVALID_MESSAGE: `${_}.pattern_invalid_message`,
11
- CUSTOM_VALIDATION_MESSAGE: `${_}.custom_validation_message`
12
- };
13
- export {
14
- e as DYNAMIC_FORM_DICTIONARY,
15
- _ as DYNAMIC_FORM_DICTIONARY_KEY
16
- };
@@ -1,13 +0,0 @@
1
- import { Field } from '../../types';
2
- import { YupFieldSchema } from './types';
3
- /**
4
- * Applies "required" validation to a Yup schema based on component type and base schema type.
5
- * Component type takes precedence for array/object semantics (e.g. date range = length 2, checkable list = min 1).
6
- * @param field - Field with fieldType.rhfComponent and fieldType.id
7
- * @param schema - Current Yup schema to mutate
8
- * @param baseSchema - Base schema used to determine primitive/array/object type
9
- * @param errorMessage - Custom error message or default
10
- * @returns Schema with required validation applied
11
- */
12
- export declare function applyRequiredValidation(field: Field, schema: YupFieldSchema, baseSchema: YupFieldSchema, errorMessage: string): YupFieldSchema;
13
- //# sourceMappingURL=applyRequiredValidation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applyRequiredValidation.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,cAAc,EAC1B,YAAY,EAAE,MAAM,GACnB,cAAc,CA8ChB"}
@@ -1,19 +0,0 @@
1
- import * as r from "yup";
2
- function l(o, t, i, n) {
3
- const c = o.fieldType.rhfComponent;
4
- if (i instanceof r.ArraySchema)
5
- return t.required(n).min(1, n);
6
- if (i instanceof r.ObjectSchema) {
7
- const d = t;
8
- return c === "RHFDateRangePicker" ? d.required(n).test("date-range-required", n, (u) => {
9
- if (u == null)
10
- return !1;
11
- const e = u.start, f = u.end;
12
- return e != null && f !== void 0 && f !== null;
13
- }) : d.required(n);
14
- }
15
- return i instanceof r.StringSchema ? t.nullable().required(n) : (i instanceof r.NumberSchema || i instanceof r.MixedSchema, t.required(n));
16
- }
17
- export {
18
- l as applyRequiredValidation
19
- };
@@ -1,3 +0,0 @@
1
- export { applyRequiredValidation } from './applyRequiredValidation';
2
- export type { YupFieldSchema } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/helpers/applyRequiredValidation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
@@ -1,7 +0,0 @@
1
- import * as Yup from 'yup';
2
- /**
3
- * Union type for Yup schemas used in DynamicForm field validation.
4
- * Used when applying "required" and other validations that depend on the base schema type.
5
- */
6
- export type YupFieldSchema = Yup.StringSchema | Yup.NumberSchema | Yup.BooleanSchema | Yup.ArraySchema<any, any, any, any> | Yup.ObjectSchema<any, any, any, any> | ReturnType<typeof Yup.mixed>;
7
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/helpers/applyRequiredValidation/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,GAAG,CAAC,YAAY,GAChB,GAAG,CAAC,YAAY,GAChB,GAAG,CAAC,aAAa,GACjB,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GACnC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GACpC,UAAU,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { Field } from '../../types';
2
- import { GetLabelType } from '@m4l/core';
3
- import { FieldValidationSchemaResult } from './types';
4
- /**
5
- * Creates Yup validation rules for a specific field using Strategy pattern:
6
- * - Base schema is built via BaseSchemaStrategy (by field type).
7
- * - Each active validation is applied via ValidationStrategy (by validation type id).
8
- * @param field - Form field
9
- * @param getLabel - Label resolver for dictionary keys
10
- * @returns Yup schema for the field or undefined if there are no validations and it is not required
11
- */
12
- export declare function createFieldValidationSchema(field: Field, getLabel: GetLabelType): FieldValidationSchemaResult;
13
- //# sourceMappingURL=createFieldValidationSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFieldValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAKzC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAI3D;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,GACrB,2BAA2B,CA0D7B"}
@@ -1,35 +0,0 @@
1
- import * as p from "yup";
2
- import { applyRequiredValidation as l } from "../applyRequiredValidation/applyRequiredValidation.js";
3
- import { normalizeValidation as c } from "../normalizeValidation/normalizeValidation.js";
4
- import { DYNAMIC_FORM_DICTIONARY as m } from "../../dictionary.js";
5
- import { createBaseSchema as u } from "./strategies/baseSchema/createBaseSchema.js";
6
- import { VALIDATION_STRATEGY_REGISTRY as v } from "./strategies/validation/validationStrategies.js";
7
- function I(i, r) {
8
- if ((!i.validations || i.validations.length === 0) && !i.isRequired)
9
- return;
10
- const e = u(i), n = i.validations ? i.validations.filter((a) => a.isActive).map(c).sort((a, o) => a.displayOrder - o.displayOrder) : [];
11
- let t = e;
12
- for (const a of n) {
13
- const o = a.validationType || a.type;
14
- if (!o)
15
- continue;
16
- const s = v[o.id];
17
- s !== void 0 ? t = s.apply({
18
- field: i,
19
- getLabel: r,
20
- baseSchema: e,
21
- schema: t,
22
- validation: a
23
- }) : console.warn(`Unsupported validation type: ${o.id}`);
24
- }
25
- const d = n.some((a) => (a.validationType || a.type)?.id === "fvl_required");
26
- return i.isRequired && !d && (t = l(
27
- i,
28
- t,
29
- e,
30
- r(m.IS_REQUIRED_MESSAGE)
31
- )), i.isRequired || (e instanceof p.ArraySchema ? t = t.default([]) : t = t.nullable()), t;
32
- }
33
- export {
34
- I as createFieldValidationSchema
35
- };
@@ -1,3 +0,0 @@
1
- export { createFieldValidationSchema } from './createFieldValidationSchema';
2
- export type { FieldValidationSchemaResult } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/helpers/createFieldValidationSchema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC"}
@@ -1,43 +0,0 @@
1
- import { BaseSchemaStrategy } from './types';
2
- /** Date range: RHFDateRangePicker or fft_date_range */
3
- export declare const dateRangeBaseSchemaStrategy: BaseSchemaStrategy;
4
- /**
5
- * Checkable list / days of week: RHFCheckableList, RHFDaysOfWeekPicker, fft_checkable_list.
6
- * Base schema strategy for checkable list and days-of-week fields.
7
- */
8
- export declare const checkableListBaseSchemaStrategy: BaseSchemaStrategy;
9
- /**
10
- * Number: RHFNumberInput or fft_number, fft_integer, fft_double.
11
- * Base schema strategy for numeric fields.
12
- */
13
- export declare const numberBaseSchemaStrategy: BaseSchemaStrategy;
14
- /**
15
- * Boolean: RHFCheckbox or fft_boolean, fft_checkbox.
16
- * Base schema strategy for checkbox/boolean fields.
17
- */
18
- export declare const booleanBaseSchemaStrategy: BaseSchemaStrategy;
19
- /**
20
- * Radio group: single string or number (selected option id).
21
- * Base schema strategy for RHFRadioGroup fields.
22
- */
23
- export declare const radioGroupBaseSchemaStrategy: BaseSchemaStrategy;
24
- /**
25
- * Select: single string or array of string/number when isMultiple.
26
- * Base schema strategy for RHFSelect fields.
27
- */
28
- export declare const selectBaseSchemaStrategy: BaseSchemaStrategy;
29
- /**
30
- * Autocomplete: single option object or array of options when isMultiple.
31
- * Base schema strategy for RHFAutoComplete fields.
32
- */
33
- export declare const autocompleteBaseSchemaStrategy: BaseSchemaStrategy;
34
- /** Text field: explicit RHFTextField */
35
- export declare const textFieldBaseSchemaStrategy: BaseSchemaStrategy;
36
- /** Default: string (covers any other field type) */
37
- export declare const defaultStringBaseSchemaStrategy: BaseSchemaStrategy;
38
- /**
39
- * Ordered list of base schema strategies.
40
- * First strategy that applies to the field is used.
41
- */
42
- export declare const BASE_SCHEMA_STRATEGIES: BaseSchemaStrategy[];
43
- //# sourceMappingURL=baseSchemaStrategies.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseSchemaStrategies.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAmBpE,uDAAuD;AACvD,eAAO,MAAM,2BAA2B,EAAE,kBAczC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,kBAkB7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,kBAmBtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,kBAkBvC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,kBAa1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,kBAetC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,kBAiB5C,CAAC;AAEF,wCAAwC;AACxC,eAAO,MAAM,2BAA2B,EAAE,kBAOzC,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,+BAA+B,EAAE,kBAO7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAUtD,CAAC"}