@m4l/components 9.84.0-beta-feat-temporal-scatter-widgets-reports.0 → 9.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/@types/types.d.ts +24 -0
  2. package/components/BaseModule/BaseModule.d.ts +1 -1
  3. package/components/BaseModule/BaseModule.d.ts.map +1 -1
  4. package/components/BaseModule/BaseModule.js +29 -21
  5. package/components/BaseModule/types.d.ts +5 -1
  6. package/components/BaseModule/types.d.ts.map +1 -1
  7. package/components/CheckableList/CheckableList.d.ts +3 -3
  8. package/components/CheckableList/CheckableList.d.ts.map +1 -1
  9. package/components/CheckableList/CheckableList.js +218 -202
  10. package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
  11. package/components/CheckableList/CheckableList.styles.js +37 -18
  12. package/components/CheckableList/constants.d.ts +19 -1
  13. package/components/CheckableList/constants.d.ts.map +1 -1
  14. package/components/CheckableList/constants.js +29 -7
  15. package/components/CheckableList/helpers/resolveGroupEdgeColors.d.ts +6 -0
  16. package/components/CheckableList/helpers/resolveGroupEdgeColors.d.ts.map +1 -0
  17. package/components/CheckableList/helpers/resolveGroupEdgeColors.js +37 -0
  18. package/components/CheckableList/helpers/types.d.ts +6 -0
  19. package/components/CheckableList/helpers/types.d.ts.map +1 -0
  20. package/components/CheckableList/hooks/types.d.ts +107 -0
  21. package/components/CheckableList/hooks/types.d.ts.map +1 -0
  22. package/components/CheckableList/hooks/useCheckableListHandlers.d.ts +3 -14
  23. package/components/CheckableList/hooks/useCheckableListHandlers.d.ts.map +1 -1
  24. package/components/CheckableList/hooks/useCheckableListHandlers.js +37 -39
  25. package/components/CheckableList/hooks/useCheckableListItems.d.ts +5 -15
  26. package/components/CheckableList/hooks/useCheckableListItems.d.ts.map +1 -1
  27. package/components/CheckableList/hooks/useCheckableListItems.js +35 -64
  28. package/components/CheckableList/hooks/useCheckableListRender.d.ts +4 -59
  29. package/components/CheckableList/hooks/useCheckableListRender.d.ts.map +1 -1
  30. package/components/CheckableList/hooks/useCheckableListRender.js +96 -222
  31. package/components/CheckableList/hooks/useCheckableListSelection.d.ts +4 -11
  32. package/components/CheckableList/hooks/useCheckableListSelection.d.ts.map +1 -1
  33. package/components/CheckableList/hooks/useCheckableListSelection.js +34 -37
  34. package/components/CheckableList/hooks/useCheckableListState.d.ts +2 -9
  35. package/components/CheckableList/hooks/useCheckableListState.d.ts.map +1 -1
  36. package/components/CheckableList/hooks/useCheckableListState.js +19 -21
  37. package/components/CheckableList/hooks/useCheckableListVirtualization.d.ts +8 -18
  38. package/components/CheckableList/hooks/useCheckableListVirtualization.d.ts.map +1 -1
  39. package/components/CheckableList/hooks/useCheckableListVirtualization.js +51 -39
  40. package/components/CheckableList/slots/slots.d.ts +2 -0
  41. package/components/CheckableList/slots/slots.d.ts.map +1 -1
  42. package/components/CheckableList/slots/slots.js +1 -1
  43. package/components/CheckableList/slots/styled.d.ts +6 -0
  44. package/components/CheckableList/slots/styled.d.ts.map +1 -1
  45. package/components/CheckableList/slots/styled.js +62 -54
  46. package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.d.ts +4 -0
  47. package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.d.ts.map +1 -0
  48. package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.js +114 -0
  49. package/components/CheckableList/subcomponents/CheckableListGroupRow/types.d.ts +11 -0
  50. package/components/CheckableList/subcomponents/CheckableListGroupRow/types.d.ts.map +1 -0
  51. package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.d.ts +4 -0
  52. package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.d.ts.map +1 -0
  53. package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.js +93 -0
  54. package/components/CheckableList/subcomponents/CheckableListItemRow/types.d.ts +9 -0
  55. package/components/CheckableList/subcomponents/CheckableListItemRow/types.d.ts.map +1 -0
  56. package/components/CheckableList/types.d.ts +99 -81
  57. package/components/CheckableList/types.d.ts.map +1 -1
  58. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +1 -1
  59. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +1 -1
  60. package/components/HoursOfWeekPicker/HoursOfWeekPicker.d.ts.map +1 -1
  61. package/components/HoursOfWeekPicker/HoursOfWeekPicker.js +65 -123
  62. package/components/HoursOfWeekPicker/HoursOfWeekPicker.styles.d.ts.map +1 -1
  63. package/components/HoursOfWeekPicker/HoursOfWeekPicker.styles.js +71 -47
  64. package/components/HoursOfWeekPicker/HoursOfWeekSelection.d.ts +7 -0
  65. package/components/HoursOfWeekPicker/HoursOfWeekSelection.d.ts.map +1 -0
  66. package/components/HoursOfWeekPicker/HoursOfWeekSelection.js +28 -0
  67. package/components/HoursOfWeekPicker/constants.d.ts +5 -3
  68. package/components/HoursOfWeekPicker/constants.d.ts.map +1 -1
  69. package/components/HoursOfWeekPicker/constants.js +19 -13
  70. package/components/HoursOfWeekPicker/helpers/firstAvailableRange/firstAvailableRange.d.ts.map +1 -1
  71. package/components/HoursOfWeekPicker/helpers/firstAvailableRange/firstAvailableRange.js +7 -8
  72. package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.d.ts +7 -0
  73. package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.d.ts.map +1 -0
  74. package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.js +29 -0
  75. package/components/HoursOfWeekPicker/helpers/getTimeOptions/getTimeOptions.d.ts +1 -1
  76. package/components/HoursOfWeekPicker/helpers/getTimeOptions/getTimeOptions.js +4 -4
  77. package/components/HoursOfWeekPicker/helpers/index.d.ts +1 -1
  78. package/components/HoursOfWeekPicker/helpers/index.d.ts.map +1 -1
  79. package/components/HoursOfWeekPicker/helpers/matrixToValue/matrixToValue.d.ts.map +1 -1
  80. package/components/HoursOfWeekPicker/helpers/matrixToValue/matrixToValue.js +5 -6
  81. package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.d.ts +7 -0
  82. package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.d.ts.map +1 -0
  83. package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.js +12 -0
  84. package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.d.ts +5 -2
  85. package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.d.ts.map +1 -1
  86. package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.js +5 -8
  87. package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.d.ts +6 -3
  88. package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.d.ts.map +1 -1
  89. package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.js +8 -11
  90. package/components/HoursOfWeekPicker/hooks/useHoursOfWeekCards/useHoursOfWeekCards.d.ts +1 -1
  91. package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.d.ts +1 -1
  92. package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.d.ts.map +1 -1
  93. package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.js +56 -56
  94. package/components/HoursOfWeekPicker/index.d.ts +4 -0
  95. package/components/HoursOfWeekPicker/index.d.ts.map +1 -1
  96. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.d.ts +4 -1
  97. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.d.ts.map +1 -1
  98. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.js +1 -1
  99. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.d.ts +51 -144
  100. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.d.ts.map +1 -1
  101. package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.js +212 -54
  102. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCards/HoursOfWeekCards.d.ts.map +1 -1
  103. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCards/HoursOfWeekCards.js +75 -75
  104. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCell/HoursOfWeekCell.js +9 -9
  105. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekLegend/HoursOfWeekLegend.js +21 -21
  106. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekPeriods/HoursOfWeekPeriods.js +19 -19
  107. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekRow/HoursOfWeekRow.js +15 -15
  108. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.d.ts +7 -0
  109. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.d.ts.map +1 -0
  110. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.js +75 -0
  111. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.d.ts +7 -0
  112. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.d.ts.map +1 -0
  113. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.js +35 -0
  114. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.d.ts +2 -1
  115. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.d.ts.map +1 -1
  116. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.js +10 -10
  117. package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSummary/HoursOfWeekSummary.js +18 -18
  118. package/components/HoursOfWeekPicker/types.d.ts +97 -16
  119. package/components/HoursOfWeekPicker/types.d.ts.map +1 -1
  120. package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
  121. package/components/MFIsolationApp/MFIsolationApp.js +134 -130
  122. package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts +2 -1
  123. package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts.map +1 -1
  124. package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.js +33 -25
  125. package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.d.ts.map +1 -1
  126. package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.js +9 -4
  127. package/components/MFLoader/index.d.ts +0 -1
  128. package/components/MFLoader/index.d.ts.map +1 -1
  129. package/components/MFLoader/types.d.ts +0 -3
  130. package/components/MFLoader/types.d.ts.map +1 -1
  131. package/components/SortableList/SortableList.d.ts +3 -0
  132. package/components/SortableList/SortableList.d.ts.map +1 -0
  133. package/components/SortableList/SortableList.js +137 -0
  134. package/components/SortableList/SortableList.styles.d.ts +3 -0
  135. package/components/SortableList/SortableList.styles.d.ts.map +1 -0
  136. package/components/SortableList/SortableList.styles.js +45 -0
  137. package/components/SortableList/__testing__/SortableHarnesses.d.ts +23 -0
  138. package/components/SortableList/__testing__/SortableHarnesses.d.ts.map +1 -0
  139. package/components/SortableList/__testing__/fixtures.d.ts +24 -0
  140. package/components/SortableList/__testing__/fixtures.d.ts.map +1 -0
  141. package/components/SortableList/__testing__/types.d.ts +78 -0
  142. package/components/SortableList/__testing__/types.d.ts.map +1 -0
  143. package/components/SortableList/constants.d.ts +14 -0
  144. package/components/SortableList/constants.d.ts.map +1 -0
  145. package/components/SortableList/constants.js +18 -0
  146. package/components/SortableList/dictionary.d.ts +3 -0
  147. package/components/SortableList/dictionary.d.ts.map +1 -0
  148. package/components/SortableList/dictionary.js +6 -0
  149. package/components/SortableList/helpers.d.ts +12 -0
  150. package/components/SortableList/helpers.d.ts.map +1 -0
  151. package/components/SortableList/helpers.js +35 -0
  152. package/components/SortableList/index.d.ts +4 -0
  153. package/components/SortableList/index.d.ts.map +1 -0
  154. package/components/SortableList/slots/SortableListEnum.d.ts +10 -0
  155. package/components/SortableList/slots/SortableListEnum.d.ts.map +1 -0
  156. package/components/SortableList/slots/SortableListEnum.js +4 -0
  157. package/components/SortableList/slots/SortableListSlots.d.ts +9 -0
  158. package/components/SortableList/slots/SortableListSlots.d.ts.map +1 -0
  159. package/components/SortableList/slots/SortableListSlots.js +38 -0
  160. package/components/SortableList/slots/index.d.ts +2 -0
  161. package/components/SortableList/slots/index.d.ts.map +1 -0
  162. package/components/SortableList/subcomponents/SortableListItem/SortableListItem.d.ts +4 -0
  163. package/components/SortableList/subcomponents/SortableListItem/SortableListItem.d.ts.map +1 -0
  164. package/components/SortableList/subcomponents/SortableListItem/SortableListItem.js +103 -0
  165. package/components/SortableList/types.d.ts +80 -0
  166. package/components/SortableList/types.d.ts.map +1 -0
  167. package/components/SortableList/vendor.d.ts +7 -0
  168. package/components/SortableList/vendor.d.ts.map +1 -0
  169. package/components/SortableList/vendor.js +10 -0
  170. package/components/Stepper/Stepper.d.ts +3 -2
  171. package/components/Stepper/Stepper.d.ts.map +1 -1
  172. package/components/Stepper/Stepper.js +48 -35
  173. package/components/Stepper/Stepper.styles.d.ts.map +1 -1
  174. package/components/Stepper/Stepper.styles.js +141 -99
  175. package/components/Stepper/constants.d.ts +6 -0
  176. package/components/Stepper/constants.d.ts.map +1 -1
  177. package/components/Stepper/constants.js +8 -2
  178. package/components/Stepper/dictionary.d.ts +1 -0
  179. package/components/Stepper/dictionary.d.ts.map +1 -1
  180. package/components/Stepper/dictionary.js +1 -0
  181. package/components/Stepper/hooks/useDynamicValidation/index.d.ts.map +1 -1
  182. package/components/Stepper/hooks/useDynamicValidation/index.js +44 -42
  183. package/components/Stepper/hooks/useIsLastVisibleValidStep/index.d.ts +4 -3
  184. package/components/Stepper/hooks/useIsLastVisibleValidStep/index.d.ts.map +1 -1
  185. package/components/Stepper/hooks/useIsLastVisibleValidStep/index.js +19 -15
  186. package/components/Stepper/hooks/useStepper/index.d.ts +3 -0
  187. package/components/Stepper/hooks/useStepper/index.d.ts.map +1 -1
  188. package/components/Stepper/hooks/useStepper/index.js +12 -8
  189. package/components/Stepper/hooks/useStepperActions/index.d.ts.map +1 -1
  190. package/components/Stepper/hooks/useStepperActions/index.js +40 -38
  191. package/components/Stepper/hooks/useStepperLayout/useStepperLayout.d.ts +9 -0
  192. package/components/Stepper/hooks/useStepperLayout/useStepperLayout.d.ts.map +1 -0
  193. package/components/Stepper/hooks/useStepperLayout/useStepperLayout.js +54 -0
  194. package/components/Stepper/slots/StepperEnum.d.ts +1 -0
  195. package/components/Stepper/slots/StepperEnum.d.ts.map +1 -1
  196. package/components/Stepper/slots/StepperEnum.js +3 -3
  197. package/components/Stepper/slots/StepperSlot.d.ts +3 -0
  198. package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
  199. package/components/Stepper/slots/StepperSlot.js +21 -17
  200. package/components/Stepper/subcomponents/ContentArea/index.d.ts +1 -0
  201. package/components/Stepper/subcomponents/ContentArea/index.d.ts.map +1 -1
  202. package/components/Stepper/subcomponents/ContentArea/index.js +17 -16
  203. package/components/Stepper/subcomponents/StepArea/index.d.ts +3 -1
  204. package/components/Stepper/subcomponents/StepArea/index.d.ts.map +1 -1
  205. package/components/Stepper/subcomponents/StepArea/index.js +32 -29
  206. package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.d.ts +1 -0
  207. package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.d.ts.map +1 -1
  208. package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +20 -20
  209. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts +4 -2
  210. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts.map +1 -1
  211. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +7 -7
  212. package/components/Stepper/subcomponents/StepperSideList/StepperSideList.d.ts +9 -0
  213. package/components/Stepper/subcomponents/StepperSideList/StepperSideList.d.ts.map +1 -0
  214. package/components/Stepper/subcomponents/StepperSideList/StepperSideList.js +33 -0
  215. package/components/Stepper/tests/responsive/fixtures.d.ts +7 -0
  216. package/components/Stepper/tests/responsive/fixtures.d.ts.map +1 -0
  217. package/components/Stepper/tests/responsive/observer.d.ts +34 -0
  218. package/components/Stepper/tests/responsive/observer.d.ts.map +1 -0
  219. package/components/Stepper/tests/responsive/types.d.ts +27 -0
  220. package/components/Stepper/tests/responsive/types.d.ts.map +1 -0
  221. package/components/Stepper/types.d.ts +70 -3
  222. package/components/Stepper/types.d.ts.map +1 -1
  223. package/components/WindowBase/icons.d.ts +0 -6
  224. package/components/WindowBase/icons.d.ts.map +1 -1
  225. package/components/WindowBase/icons.js +13 -20
  226. package/components/datagrids/formatters/ColumnDurationFormatter/__testing__/types.d.ts +8 -0
  227. package/components/datagrids/formatters/ColumnDurationFormatter/__testing__/types.d.ts.map +1 -0
  228. package/components/datagrids/formatters/ColumnDurationFormatter/index.d.ts +3 -0
  229. package/components/datagrids/formatters/ColumnDurationFormatter/index.d.ts.map +1 -0
  230. package/components/datagrids/formatters/ColumnDurationFormatter/types.d.ts +5 -0
  231. package/components/datagrids/formatters/ColumnDurationFormatter/types.d.ts.map +1 -0
  232. package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.d.ts +9 -0
  233. package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.d.ts.map +1 -0
  234. package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.js +14 -0
  235. package/components/datagrids/formatters/index.d.ts +1 -0
  236. package/components/datagrids/formatters/index.d.ts.map +1 -1
  237. package/components/extended/Re-resizable/ResizablePanel.d.ts +4 -0
  238. package/components/extended/Re-resizable/ResizablePanel.d.ts.map +1 -0
  239. package/components/extended/Re-resizable/ResizablePanel.js +75 -0
  240. package/components/extended/Re-resizable/ResizablePanel.styles.d.ts +3 -0
  241. package/components/extended/Re-resizable/ResizablePanel.styles.d.ts.map +1 -0
  242. package/components/extended/Re-resizable/ResizablePanel.styles.js +65 -0
  243. package/components/extended/Re-resizable/constants.d.ts +18 -0
  244. package/components/extended/Re-resizable/constants.d.ts.map +1 -0
  245. package/components/extended/Re-resizable/constants.js +25 -0
  246. package/components/extended/Re-resizable/helpers.d.ts +6 -0
  247. package/components/extended/Re-resizable/helpers.d.ts.map +1 -0
  248. package/components/extended/Re-resizable/helpers.js +22 -0
  249. package/components/extended/Re-resizable/hooks/useResizablePanel.d.ts +4 -0
  250. package/components/extended/Re-resizable/hooks/useResizablePanel.d.ts.map +1 -0
  251. package/components/extended/Re-resizable/hooks/useResizablePanel.js +113 -0
  252. package/components/extended/Re-resizable/index.d.ts +3 -0
  253. package/components/extended/Re-resizable/index.d.ts.map +1 -0
  254. package/components/extended/Re-resizable/slots/slots.d.ts +5 -0
  255. package/components/extended/Re-resizable/slots/slots.d.ts.map +1 -0
  256. package/components/extended/Re-resizable/slots/slots.js +4 -0
  257. package/components/extended/Re-resizable/slots/styled.d.ts +19 -0
  258. package/components/extended/Re-resizable/slots/styled.d.ts.map +1 -0
  259. package/components/extended/Re-resizable/slots/styled.js +10 -0
  260. package/components/extended/Re-resizable/tests/engineBoundary.d.ts +33 -0
  261. package/components/extended/Re-resizable/tests/engineBoundary.d.ts.map +1 -0
  262. package/components/extended/Re-resizable/tests/fixtures.d.ts +7 -0
  263. package/components/extended/Re-resizable/tests/fixtures.d.ts.map +1 -0
  264. package/components/extended/Re-resizable/tests/observerBoundary.d.ts +28 -0
  265. package/components/extended/Re-resizable/tests/observerBoundary.d.ts.map +1 -0
  266. package/components/extended/Re-resizable/tests/types.d.ts +7 -0
  267. package/components/extended/Re-resizable/tests/types.d.ts.map +1 -0
  268. package/components/extended/Re-resizable/types.d.ts +67 -0
  269. package/components/extended/Re-resizable/types.d.ts.map +1 -0
  270. package/components/extended/index.d.ts +1 -0
  271. package/components/extended/index.d.ts.map +1 -1
  272. package/components/extended/mui/MenuItem/MenuItem.d.ts.map +1 -1
  273. package/components/extended/mui/MenuItem/MenuItem.js +13 -15
  274. package/components/extended/mui/Switch/Switch.styles.d.ts.map +1 -1
  275. package/components/extended/mui/Switch/Switch.styles.js +39 -27
  276. package/components/formatters/DurationFormatter/DurationFormatter.d.ts +6 -0
  277. package/components/formatters/DurationFormatter/DurationFormatter.d.ts.map +1 -0
  278. package/components/formatters/DurationFormatter/DurationFormatter.js +49 -0
  279. package/components/formatters/DurationFormatter/DurationFormatter.styles.d.ts +3 -0
  280. package/components/formatters/DurationFormatter/DurationFormatter.styles.d.ts.map +1 -0
  281. package/components/formatters/DurationFormatter/DurationFormatter.styles.js +8 -0
  282. package/components/formatters/DurationFormatter/constants.d.ts +2 -0
  283. package/components/formatters/DurationFormatter/constants.d.ts.map +1 -0
  284. package/components/formatters/DurationFormatter/constants.js +4 -0
  285. package/components/formatters/DurationFormatter/hooks/useDurationFormatter.d.ts +4 -0
  286. package/components/formatters/DurationFormatter/hooks/useDurationFormatter.d.ts.map +1 -0
  287. package/components/formatters/DurationFormatter/hooks/useDurationFormatter.js +21 -0
  288. package/components/formatters/DurationFormatter/index.d.ts +4 -0
  289. package/components/formatters/DurationFormatter/index.d.ts.map +1 -0
  290. package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.d.ts +4 -0
  291. package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.d.ts.map +1 -0
  292. package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.js +4 -0
  293. package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.d.ts +3 -0
  294. package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.d.ts.map +1 -0
  295. package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.js +12 -0
  296. package/components/formatters/DurationFormatter/types.d.ts +28 -0
  297. package/components/formatters/DurationFormatter/types.d.ts.map +1 -0
  298. package/components/formatters/index.d.ts +1 -0
  299. package/components/formatters/index.d.ts.map +1 -1
  300. package/components/hook-form/RHFHelperError/index.d.ts +1 -1
  301. package/components/hook-form/RHFHelperError/index.d.ts.map +1 -1
  302. package/components/hook-form/RHFHelperError/index.js +7 -11
  303. package/components/hook-form/RHFHoursOfWeekPicker/RHFHoursOfWeekPicker.d.ts.map +1 -1
  304. package/components/hook-form/RHFHoursOfWeekPicker/RHFHoursOfWeekPicker.js +12 -8
  305. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +1 -1
  306. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts.map +1 -1
  307. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +226 -143
  308. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.d.ts.map +1 -1
  309. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.js +99 -29
  310. package/components/hook-form/RHFRadioGroup/constants.d.ts +4 -2
  311. package/components/hook-form/RHFRadioGroup/constants.d.ts.map +1 -1
  312. package/components/hook-form/RHFRadioGroup/constants.js +4 -3
  313. package/components/hook-form/RHFRadioGroup/index.d.ts +1 -1
  314. package/components/hook-form/RHFRadioGroup/index.d.ts.map +1 -1
  315. package/components/hook-form/RHFRadioGroup/layoutHelpers.d.ts +8 -0
  316. package/components/hook-form/RHFRadioGroup/layoutHelpers.d.ts.map +1 -0
  317. package/components/hook-form/RHFRadioGroup/layoutHelpers.js +23 -0
  318. package/components/hook-form/RHFRadioGroup/slots/slots.d.ts +3 -0
  319. package/components/hook-form/RHFRadioGroup/slots/slots.d.ts.map +1 -1
  320. package/components/hook-form/RHFRadioGroup/slots/slots.js +1 -1
  321. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +8 -2
  322. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
  323. package/components/hook-form/RHFRadioGroup/slots/styled.js +40 -26
  324. package/components/hook-form/RHFRadioGroup/types.d.ts +51 -13
  325. package/components/hook-form/RHFRadioGroup/types.d.ts.map +1 -1
  326. package/components/hook-form/RHFSortableList/RHFSortableList.d.ts +5 -0
  327. package/components/hook-form/RHFSortableList/RHFSortableList.d.ts.map +1 -0
  328. package/components/hook-form/RHFSortableList/RHFSortableList.js +49 -0
  329. package/components/hook-form/RHFSortableList/index.d.ts +3 -0
  330. package/components/hook-form/RHFSortableList/index.d.ts.map +1 -0
  331. package/components/hook-form/RHFSortableList/types.d.ts +19 -0
  332. package/components/hook-form/RHFSortableList/types.d.ts.map +1 -0
  333. package/components/hook-form/RHFormProvider/RHFormProvider.d.ts +5 -5
  334. package/components/hook-form/RHFormProvider/RHFormProvider.d.ts.map +1 -1
  335. package/components/hook-form/RHFormProvider/RHFormProvider.js +107 -60
  336. package/components/hook-form/RHFormProvider/classes/index.d.ts +5 -0
  337. package/components/hook-form/RHFormProvider/classes/index.d.ts.map +1 -1
  338. package/components/hook-form/RHFormProvider/classes/index.js +19 -9
  339. package/components/hook-form/RHFormProvider/classes/types.d.ts +5 -0
  340. package/components/hook-form/RHFormProvider/classes/types.d.ts.map +1 -1
  341. package/components/hook-form/RHFormProvider/constants.d.ts +7 -0
  342. package/components/hook-form/RHFormProvider/constants.d.ts.map +1 -0
  343. package/components/hook-form/RHFormProvider/constants.js +9 -0
  344. package/components/hook-form/RHFormProvider/dictionary.d.ts +15 -0
  345. package/components/hook-form/RHFormProvider/dictionary.d.ts.map +1 -1
  346. package/components/hook-form/RHFormProvider/dictionary.js +17 -2
  347. package/components/hook-form/RHFormProvider/dictionaryDefaults.d.ts +32 -0
  348. package/components/hook-form/RHFormProvider/dictionaryDefaults.d.ts.map +1 -0
  349. package/components/hook-form/RHFormProvider/dictionaryDefaults.js +37 -0
  350. package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.d.ts +21 -0
  351. package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.d.ts.map +1 -0
  352. package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.js +56 -0
  353. package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.d.ts +25 -0
  354. package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.d.ts.map +1 -0
  355. package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.js +29 -0
  356. package/components/hook-form/RHFormProvider/index.d.ts +1 -1
  357. package/components/hook-form/RHFormProvider/index.d.ts.map +1 -1
  358. package/components/hook-form/RHFormProvider/styles.d.ts +8 -0
  359. package/components/hook-form/RHFormProvider/styles.d.ts.map +1 -1
  360. package/components/hook-form/RHFormProvider/styles.js +81 -5
  361. package/components/hook-form/RHFormProvider/tests/fixtures.d.ts +10 -0
  362. package/components/hook-form/RHFormProvider/tests/fixtures.d.ts.map +1 -0
  363. package/components/hook-form/RHFormProvider/tests/interactionFixture.d.ts +4 -0
  364. package/components/hook-form/RHFormProvider/tests/interactionFixture.d.ts.map +1 -0
  365. package/components/hook-form/RHFormProvider/tests/types.d.ts +23 -0
  366. package/components/hook-form/RHFormProvider/tests/types.d.ts.map +1 -0
  367. package/components/hook-form/RHFormProvider/types.d.ts +77 -40
  368. package/components/hook-form/RHFormProvider/types.d.ts.map +1 -1
  369. package/components/hook-form/index.d.ts +2 -1
  370. package/components/hook-form/index.d.ts.map +1 -1
  371. package/components/index.d.ts +1 -0
  372. package/components/index.d.ts.map +1 -1
  373. package/contexts/form.d.ts +1 -0
  374. package/contexts/form.d.ts.map +1 -1
  375. package/index.js +733 -713
  376. package/package.json +12 -9
  377. package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.d.ts +0 -4
  378. package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.d.ts.map +0 -1
  379. package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.js +0 -6
  380. package/components/MFLoader/reportTypes.d.ts +0 -19
  381. package/components/MFLoader/reportTypes.d.ts.map +0 -1
@@ -0,0 +1,56 @@
1
+ import { useRef as g, useCallback as C, useLayoutEffect as d } from "react";
2
+ import { FORM_PROVIDER_PORTAL_REFERENCES as h } from "../constants.js";
3
+ function D({ contentRef: c, blocked: o }) {
4
+ const u = g(null), e = C((t) => {
5
+ o && (t.type !== "touchstart" && t.preventDefault(), t.stopPropagation());
6
+ }, [o]), E = C((t) => {
7
+ o ? (e(t), t.target instanceof HTMLElement && t.target.blur()) : t.target instanceof HTMLElement && (u.current = t.target);
8
+ }, [o, e]);
9
+ return d(() => {
10
+ const t = c.current;
11
+ if (!t)
12
+ return;
13
+ const s = t.ownerDocument;
14
+ if (!o) {
15
+ const r = u.current;
16
+ r?.isConnected && s.activeElement === s.body && r.getClientRects().length > 0 && !r.closest("[inert], [hidden], [disabled]") && r.focus({ preventScroll: !0 });
17
+ return;
18
+ }
19
+ const a = s.activeElement;
20
+ a instanceof HTMLElement && (t.contains(a) || a === u.current) && (u.current = a, a.blur());
21
+ const i = /* @__PURE__ */ new Map(), l = () => {
22
+ t.querySelectorAll(h).forEach((r) => {
23
+ `${r.getAttribute("aria-controls") ?? ""} ${r.getAttribute("aria-owns") ?? ""}`.split(/\s+/).filter(Boolean).forEach((m) => {
24
+ const n = s.getElementById(m);
25
+ n instanceof HTMLElement && !t.contains(n) && !n.contains(t) && !i.has(n) && (i.set(n, n.inert), n.inert = !0);
26
+ });
27
+ });
28
+ };
29
+ l();
30
+ const p = new MutationObserver(l);
31
+ return p.observe(t, { subtree: !0, childList: !0, attributes: !0, attributeFilter: ["aria-controls", "aria-owns"] }), () => {
32
+ p.disconnect(), i.forEach((r, f) => {
33
+ f.inert = r;
34
+ });
35
+ };
36
+ }, [o, c]), {
37
+ onFocusCapture: E,
38
+ onBlurCapture: e,
39
+ onClickCapture: e,
40
+ onDoubleClickCapture: e,
41
+ onPointerDownCapture: e,
42
+ onMouseDownCapture: e,
43
+ onTouchStartCapture: e,
44
+ onKeyDownCapture: e,
45
+ onKeyUpCapture: e,
46
+ onBeforeInputCapture: e,
47
+ onInputCapture: e,
48
+ onChangeCapture: e,
49
+ onPasteCapture: e,
50
+ onCutCapture: e,
51
+ onDropCapture: e
52
+ };
53
+ }
54
+ export {
55
+ D as useFormInteractionBoundary
56
+ };
@@ -0,0 +1,25 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ import { FormStatusLoad, RHFormValues } from '../types';
3
+ /** Guard context/ref submissions against loading and intervening readiness transitions. */
4
+ export declare function useGuardedFormMethods<T extends RHFormValues>(formMethods: UseFormReturn<T, undefined, T>, statusLoad: FormStatusLoad): {
5
+ guardedMethods: {
6
+ handleSubmit: import('react-hook-form').UseFormHandleSubmit<T, T>;
7
+ watch: import('react-hook-form').UseFormWatch<T>;
8
+ getValues: import('react-hook-form').UseFormGetValues<T>;
9
+ getFieldState: import('react-hook-form').UseFormGetFieldState<T>;
10
+ setError: import('react-hook-form').UseFormSetError<T>;
11
+ clearErrors: import('react-hook-form').UseFormClearErrors<T>;
12
+ setValue: import('react-hook-form').UseFormSetValue<T>;
13
+ trigger: import('react-hook-form').UseFormTrigger<T>;
14
+ formState: import('react-hook-form').FormState<T>;
15
+ resetField: import('react-hook-form').UseFormResetField<T>;
16
+ reset: import('react-hook-form').UseFormReset<T>;
17
+ unregister: import('react-hook-form').UseFormUnregister<T>;
18
+ control: import('react-hook-form').Control<T, undefined, T>;
19
+ register: import('react-hook-form').UseFormRegister<T>;
20
+ setFocus: import('react-hook-form').UseFormSetFocus<T>;
21
+ subscribe: import('react-hook-form').UseFormSubscribe<T>;
22
+ };
23
+ isReady: () => boolean;
24
+ };
25
+ //# sourceMappingURL=useGuardedFormMethods.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGuardedFormMethods.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAiB,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5E,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,YAAY,EAC1D,WAAW,EAAE,aAAa,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,EAC3C,UAAU,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;EA2C3B"}
@@ -0,0 +1,29 @@
1
+ import { useRef as f, useLayoutEffect as y, useCallback as o } from "react";
2
+ function b(t, r) {
3
+ const e = f({ statusLoad: r, generation: 0 });
4
+ y(() => (e.current.statusLoad !== r && (e.current = { statusLoad: r, generation: e.current.generation + 1 }), () => {
5
+ e.current = { statusLoad: "initial", generation: e.current.generation + 1 };
6
+ }), [r]);
7
+ const c = o(() => e.current.statusLoad === "ready", []), d = o(
8
+ (s, g) => async (u) => {
9
+ if (u?.preventDefault(), e.current.statusLoad !== "ready")
10
+ return;
11
+ const i = e.current.generation;
12
+ await t.handleSubmit(
13
+ (n, a) => {
14
+ if (e.current.statusLoad === "ready" && e.current.generation === i)
15
+ return s(n, a);
16
+ },
17
+ (n, a) => {
18
+ if (e.current.statusLoad === "ready" && e.current.generation === i)
19
+ return g?.(n, a);
20
+ }
21
+ )(u);
22
+ },
23
+ [t]
24
+ );
25
+ return { guardedMethods: { ...t, handleSubmit: d }, isReady: c };
26
+ }
27
+ export {
28
+ b as useGuardedFormMethods
29
+ };
@@ -1,5 +1,5 @@
1
1
  export * from './RHFormProvider';
2
- export type { ValidationSchema, ValidationShape, ValidationFullObject as ValidationObject, ValidationPartialObject, RHFormInitialValues, RHFormValues, } from './types';
2
+ export type { FormLoadError, FormLoadRecovery, ValidationSchema, ValidationShape, ValidationFullObject as ValidationObject, ValidationPartialObject, RHFormInitialValues, RHFormValues, } from './types';
3
3
  export { VALIDATION_SCHEMA_BRAND, VALIDATION_PARTIAL_OBJECT_BRAND, VALIDATION_OBJECT_BRAND, } from './types';
4
4
  export * from './schema';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFormProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,oBAAoB,IAAI,gBAAgB,EACxC,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,uBAAuB,GACxB,MAAM,SAAS,CAAC;AACjB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFormProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,IAAI,gBAAgB,EACxC,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,uBAAuB,GACxB,MAAM,SAAS,CAAC;AACjB,cAAc,UAAU,CAAC"}
@@ -1,2 +1,10 @@
1
+ import { FormProviderOwnerState } from './types';
1
2
  export declare const FormProviderRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
3
+ export declare const FormProviderContent: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
4
+ ownerState: FormProviderOwnerState;
5
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
6
+ export declare const FormProviderOverlay: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
+ export declare const FormProviderStatus: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
8
+ export declare const FormProviderText: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "children" | "className" | "sx" | "p" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "component" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "size" | "variant" | "dataTestid" | "paragraph" | "disabled" | "skeletonWidth" | "ellipsis" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
9
+ export declare const FormProviderRecoveryActions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
2
10
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFormProvider/styles.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB,mOAQ1B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFormProvider/styles.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAatD,eAAO,MAAM,gBAAgB,mOAY1B,CAAC;AAEJ,eAAO,MAAM,mBAAmB;gBAGf,sBAAsB;6NAUpC,CAAC;AAEJ,eAAO,MAAM,mBAAmB,iVAW7B,CAAC;AAEJ,eAAO,MAAM,kBAAkB,iVAuB5B,CAAC;AAEJ,eAAO,MAAM,gBAAgB,myNAO1B,CAAC;AAEJ,eAAO,MAAM,2BAA2B,iVASrC,CAAC"}
@@ -1,19 +1,95 @@
1
- import { styled as r } from "@mui/material";
1
+ import { styled as e } from "@mui/material";
2
+ import { Typography as i } from "@m4l/base";
3
+ import { componentName as r } from "./classes/constants.js";
2
4
  const t = [
3
5
  "validationSchema",
4
6
  "values",
5
7
  "statusLoad",
6
8
  "formMethods",
7
9
  "onSubmitError",
8
- "mode"
9
- ], e = r("form", {
10
+ "mode",
11
+ "showLoading",
12
+ "loadRecovery"
13
+ ], d = e("form", {
14
+ name: r,
15
+ slot: "Root",
10
16
  shouldForwardProp: (o) => !t.includes(o)
11
17
  })(() => ({
12
18
  width: "100%",
13
19
  overflow: "hidden",
14
20
  display: "flex",
15
- flexDirection: "column"
21
+ flexDirection: "column",
22
+ position: "relative",
23
+ minHeight: 0
24
+ })), l = e("div", {
25
+ name: r,
26
+ slot: "Content"
27
+ })(({ ownerState: o }) => ({
28
+ display: "flex",
29
+ flexDirection: "column",
30
+ flex: "1 1 auto",
31
+ minHeight: 0,
32
+ width: "100%",
33
+ ...o.blocked && {
34
+ userSelect: "none",
35
+ ...o.showLoading && { filter: "blur(2px)", opacity: 0.5 }
36
+ }
37
+ })), c = e("div", {
38
+ name: r,
39
+ slot: "Overlay"
40
+ })(({ theme: o }) => ({
41
+ position: "absolute",
42
+ inset: 0,
43
+ zIndex: 1,
44
+ display: "flex",
45
+ alignItems: "center",
46
+ justifyContent: "center",
47
+ padding: o.vars.size.baseSpacings.sp3
48
+ })), m = e("div", {
49
+ name: r,
50
+ slot: "Status"
51
+ })(({ theme: o }) => ({
52
+ display: "flex",
53
+ flexDirection: "column",
54
+ alignItems: "center",
55
+ justifyContent: "center",
56
+ textAlign: "center",
57
+ gap: o.vars.size.baseSpacings.sp2,
58
+ padding: o.vars.size.baseSpacings.sp4,
59
+ maxWidth: "100%",
60
+ minWidth: "min(100%, 28rem)",
61
+ minHeight: "10rem",
62
+ boxSizing: "border-box",
63
+ overflowWrap: "anywhere",
64
+ backgroundColor: o.vars.palette.background.default,
65
+ color: o.vars.palette.text.primary,
66
+ border: `1px solid ${o.vars.palette.border.secondary}`,
67
+ borderRadius: o.shape.borderRadius,
68
+ "& .MuiCircularProgress-root": {
69
+ "@media (prefers-reduced-motion: reduce)": { animation: "none", "& circle": { animation: "none" } }
70
+ }
71
+ })), p = e(i, {
72
+ name: r,
73
+ slot: "Text"
74
+ })(() => ({
75
+ display: "block",
76
+ width: "100%",
77
+ minHeight: "1.5em"
78
+ })), v = e("div", {
79
+ name: r,
80
+ slot: "RecoveryActions"
81
+ })(({ theme: o }) => ({
82
+ display: "flex",
83
+ flexWrap: "wrap",
84
+ justifyContent: "center",
85
+ gap: o.vars.size.baseSpacings.sp2,
86
+ width: "100%"
16
87
  }));
17
88
  export {
18
- e as FormProviderRoot
89
+ l as FormProviderContent,
90
+ c as FormProviderOverlay,
91
+ v as FormProviderRecoveryActions,
92
+ d as FormProviderRoot,
93
+ m as FormProviderStatus,
94
+ p as FormProviderText
19
95
  };
@@ -0,0 +1,10 @@
1
+ import { ProviderTestProps } from './types';
2
+ export declare const DEFAULT_VALUES: {
3
+ name: string;
4
+ };
5
+ export declare const validationSchema: import('..').ValidationSchema<{
6
+ name: string;
7
+ }>;
8
+ /** Render either public provider entry without replacing its validation or loading implementation. */
9
+ export declare function ProviderTestHarness(props: ProviderTestProps): import("@emotion/react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFormProvider/tests/fixtures.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAA2B,iBAAiB,EAAsB,MAAM,SAAS,CAAC;AAE9F,eAAO,MAAM,cAAc;;CAA4B,CAAC;AAExD,eAAO,MAAM,gBAAgB;;EAEzB,CAAC;AA4CL,sGAAsG;AACtG,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,oDAQ3D"}
@@ -0,0 +1,4 @@
1
+ import { InteractionBoundaryTestProps } from './types';
2
+ /** Exercise the shared interaction hook before mount and with a focusable non-HTML descendant. */
3
+ export declare function InteractionBoundaryTestHarness({ blocked, contentVisible, onAction, onGraphicFocus }: InteractionBoundaryTestProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=interactionFixture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactionFixture.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFormProvider/tests/interactionFixture.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,kGAAkG;AAClG,wBAAgB,8BAA8B,CAAC,EAAE,OAAO,EAAE,cAAqB,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,4BAA4B,oDAWxI"}
@@ -0,0 +1,23 @@
1
+ import { Ref } from 'react';
2
+ import { UseFormReturn } from 'react-hook-form';
3
+ import { RHFormProviderProps, RHFormProviderRef } from '../types';
4
+ import { DEFAULT_VALUES } from './fixtures';
5
+ export type ProviderTestValues = typeof DEFAULT_VALUES;
6
+ export type ProviderTestProps = Omit<RHFormProviderProps<ProviderTestValues>, 'children' | 'validationSchema'> & {
7
+ validationSchema?: RHFormProviderProps<ProviderTestValues>['validationSchema'];
8
+ variant?: 'standard' | 'custom';
9
+ providerRef?: Ref<RHFormProviderRef<ProviderTestValues>>;
10
+ onMethods?: (methods: UseFormReturn<ProviderTestValues, undefined, ProviderTestValues>) => void;
11
+ onMount?: () => void;
12
+ onUnmount?: () => void;
13
+ withPortal?: boolean;
14
+ onPortalAction?: () => void;
15
+ };
16
+ export type ProviderTestFieldsProps = Pick<ProviderTestProps, 'onMethods' | 'onMount' | 'onUnmount' | 'withPortal' | 'onPortalAction'>;
17
+ export interface InteractionBoundaryTestProps {
18
+ blocked: boolean;
19
+ contentVisible?: boolean;
20
+ onAction: () => void;
21
+ onGraphicFocus?: () => void;
22
+ }
23
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFormProvider/tests/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG,OAAO,cAAc,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,EAAE,UAAU,GAAG,kBAAkB,CAAC,GAAG;IAC/G,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CAAC;IAC/E,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC;IAChC,WAAW,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACzD,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,EAAE,kBAAkB,CAAC,KAAK,IAAI,CAAC;IAChG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,gBAAgB,CAAC,CAAC;AAEvI,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B"}
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode, RefObject } from 'react';
2
2
  import { Mode, SubmitErrorHandler, UseFormReturn } from 'react-hook-form';
3
3
  import { ObjectSchema } from 'yup';
4
4
  import { ObjectShape } from 'yup/lib/object';
@@ -13,120 +13,157 @@ import { ObjectShape } from 'yup/lib/object';
13
13
  * - `error`: Form load error
14
14
  */
15
15
  export type FormStatusLoad = 'initial' | 'new' | 'edit' | 'reload_values_provider' | 'ready' | 'error';
16
+ /** Visual state owned by the shared form slots. */
17
+ export interface FormProviderOwnerState {
18
+ blocked: boolean;
19
+ showLoading: boolean;
20
+ }
21
+ /** Public, transport-independent information about a failed record load. */
22
+ export interface FormLoadError {
23
+ message?: string;
24
+ status?: number;
25
+ code?: number | string;
26
+ }
27
+ /** Opt-in feedback binding supplied by the loader, with a consumer-owned window close. */
28
+ export interface FormLoadRecovery {
29
+ error: FormLoadError | null;
30
+ onRetry: () => void;
31
+ /** Close from the error state; the existing host window X remains independent during loading. */
32
+ onClose?: () => void;
33
+ }
34
+ /** Status displayed outside the blocked content subtree. */
35
+ export interface FormLoadingStatusProps {
36
+ statusLoad: FormStatusLoad;
37
+ loadRecovery?: FormLoadRecovery;
38
+ }
39
+ /** Elements tracked while a form temporarily loses interaction. */
40
+ export interface FormInteractionBoundaryOptions {
41
+ contentRef: RefObject<HTMLDivElement | null>;
42
+ blocked: boolean;
43
+ }
44
+ /** Committed readiness generation used to invalidate pending validations. */
45
+ export interface FormReadiness {
46
+ statusLoad: FormStatusLoad;
47
+ generation: number;
48
+ }
16
49
  export type RHFormValues = {};
17
50
  /**
18
- * Tipo que define los valores iniciales del formulario.
19
- * Extiende FieldValues de React Hook Form para mayor flexibilidad.
51
+ * Initial values accepted by the form provider.
52
+ * Uses partial form values to support initial and loaded drafts.
20
53
  */
21
54
  export type RHFormInitialValues<T extends RHFormValues> = Partial<T>;
22
55
  /**
23
- * LiteralKeys es un tipo que define las claves literales del formulario. excepto statusLoad, que no es necesario que el usuario la aporte.
56
+ * Literal form keys exclude the provider-owned statusLoad field.
24
57
  */
25
58
  export type LiteralKeys<T> = Exclude<Extract<keyof T, string>, 'statusLoad'>;
26
59
  /**
27
- * StrictFormValues es un tipo que define los valores del formulario explicitamente.
60
+ * Form values contain only declared application field keys.
28
61
  */
29
62
  export type StrictFormValues<T extends RHFormValues> = Pick<RHFormInitialValues<T>, LiteralKeys<RHFormInitialValues<T>>>;
30
63
  /**
31
- * Garantiza que el shape sólo contenga claves declaradas en el tipo del formulario.
32
- * Si usa un key que no está en el tipo del formulario, se devuelve never. Protegiendo el ingreso de claves diferentes.
64
+ * Require every schema key to belong to the declared form values.
65
+ * Unknown keys produce never rather than silently extending the value contract.
33
66
  */
34
67
  export type EnsureAllowedKeys<Shape, Allowed extends string> = Exclude<keyof Shape, Allowed> extends never ? Shape : never;
35
68
  /**
36
- * YupShapeEntry es un tipo que define la entrada de un shape de Yup.
69
+ * Value accepted for an entry in a Yup shape.
37
70
  */
38
71
  type YupShapeEntry = ObjectShape[string];
39
72
  /**
40
- * ValidationShape veririca que solo YupShapeEntry puedan ser usados en algunos campos de RHFormValues.
73
+ * Validation entries are limited to declared RHFormValues fields and valid Yup shapes.
41
74
  */
42
75
  export type ValidationShape<T extends RHFormValues> = Partial<Record<LiteralKeys<T>, YupShapeEntry>>;
43
76
  /**
44
- * Symbol que contiene el ValidationSchema que lo hace diferente a ObjectSchema normal de Yup.
77
+ * Brand distinguishing a form validation schema from a plain Yup ObjectSchema.
45
78
  */
46
79
  export declare const VALIDATION_SCHEMA_BRAND: unique symbol;
47
80
  /**
48
- * Symbol que identifica que un ValidationShape fue construido mediante createValidationObject.
81
+ * Brand identifying a full shape built through the shared validation factory.
49
82
  */
50
83
  export declare const VALIDATION_OBJECT_BRAND: unique symbol;
51
84
  /**
52
- * Symbol que identifica que un ValidationShape parcial fue construido mediante createValidationPartialObject.
85
+ * Brand identifying a partial shape built through the shared validation factory.
53
86
  */
54
87
  export declare const VALIDATION_PARTIAL_OBJECT_BRAND: unique symbol;
55
88
  /**
56
- * ValidationSchema es un tipo que define el schema de validación del formulario. Aporta el brand VALIDATION_SCHEMA_BRAND para hacer diferentes a ObjectSchema normal de Yup.
57
- * y asi poder garantizar que se use la función createValidationSchema para crear la schema.
89
+ * Form schema branded to retain its allowed field shape instead of a plain ObjectSchema.
90
+ * Construct it through createValidationSchema to preserve the field contract.
58
91
  */
59
92
  export type ValidationSchema<T extends RHFormValues> = ObjectSchema<any> & {
60
93
  /**
61
- * Aunque no se use en el codigo a nivel de javascript, es necesario para que el tipo de la schema para hacerlos diferente a ObjectSchema. y obliga
62
- * a que se use la función createValidationSchema para crear la schema.
94
+ * This type-only brand distinguishes the schema from ObjectSchema and requires
95
+ * construction through the shared createValidationSchema factory.
63
96
  */
64
97
  readonly [VALIDATION_SCHEMA_BRAND]: ValidationShape<T>;
65
98
  };
66
99
  /**
67
- * ValidationFullObject garantiza que el shape sea construido mediante createValidationObject.
68
- * con base en los partialObjectShape que se le pasan a createValidationObject.
100
+ * Full validation shape constructed through the shared factory.
101
+ * Compose it from the partial shapes supplied to createValidationObject.
69
102
  */
70
103
  export type ValidationFullObject<T extends RHFormValues> = ValidationShape<T> & {
71
104
  readonly [VALIDATION_OBJECT_BRAND]: true;
72
105
  };
73
106
  /**
74
- * ValidationPartialObject garantiza que el shape parcial sea construido mediante createValidationPartialObject.
107
+ * Partial validation shape constructed through createValidationPartialObject.
75
108
  */
76
109
  export type ValidationPartialObject<T extends RHFormValues> = ValidationShape<T> & {
77
110
  readonly [VALIDATION_PARTIAL_OBJECT_BRAND]: true;
78
111
  };
79
112
  /**
80
- * Propiedades del componente principal RHFormProvider.
81
- * Define la interfaz para crear formularios con React Hook Form y validación Yup.
113
+ * Public properties of the root RHFormProvider component.
114
+ * Integrates React Hook Form values, Yup validation and shared loading protection.
82
115
  */
83
116
  export interface RHFormProviderProps<T extends RHFormValues> {
84
- /** Elementos hijos del formulario */
117
+ /** Mounted form content, including navigation and footer actions. */
85
118
  children: ReactNode;
86
- /** Función que se ejecuta al enviar el formulario con los datos validados */
119
+ /** Callback receiving validated values only when the form is ready. */
87
120
  onSubmit: ((data: T) => void) | ((data: T) => Promise<void>);
88
121
  /**
89
- * Cuando hay un error en la validación del formulario, se ejecuta esta función.
122
+ * Callback receiving validation errors while the form remains ready.
90
123
  */
91
124
  onSubmitError?: SubmitErrorHandler<T>;
92
- /** Valores iniciales del formulario si es un new o cargados del backend si son edit */
125
+ /** Initial Add values or values hydrated from the Edit endpoint. */
93
126
  values: RHFormInitialValues<T>;
94
- /** Esquema de validación de Yup */
127
+ /** Branded Yup validation schema. */
95
128
  validationSchema: ValidationSchema<T>;
96
- /** Estado de carga del formulario (opcional, por defecto 'ready') */
129
+ /** Root readiness; all states except ready block interaction and submission. Defaults to ready. */
97
130
  statusLoad?: FormStatusLoad;
98
- /** Clases CSS adicionales (opcional) */
131
+ /** Show loading/error feedback and blur while blocked. Defaults to false; readiness guards remain active. */
132
+ showLoading?: boolean;
133
+ /** Inline load error and recovery actions. Opts into blocked-state feedback independently of showLoading. */
134
+ loadRecovery?: FormLoadRecovery;
135
+ /** Additional root CSS classes. */
99
136
  className?: string;
100
- /** Modo de validación del formulario (opcional) */
137
+ /** Optional RHF validation mode. */
101
138
  mode?: Mode;
102
139
  }
103
140
  /**
104
- * Propiedades del componente FormProviderCustom.
105
- * Combina las propiedades de React Hook Form con las propiedades personalizadas del formulario.
141
+ * Custom provider properties for consumers that own the RHF methods.
142
+ * Supplies the same shared loading and submission boundary as RHFormProvider.
106
143
  */
107
144
  export interface FormProviderCustomProps<T extends RHFormValues> extends RHFormProviderProps<T> {
108
145
  formMethods: UseFormReturn<T, undefined, T>;
109
146
  }
110
147
  /**
111
- * Argumentos para el hook useCustomForm.
112
- * Define los parámetros necesarios para configurar un formulario personalizado.
148
+ * Arguments used to initialize shared RHF methods.
149
+ * Compose the returned methods with FormProviderCustom for loading protection.
113
150
  */
114
151
  export interface CustomFormArguments<T extends RHFormValues> {
115
- /** Valores iniciales del formulario */
152
+ /** Initial form values. */
116
153
  values: RHFormInitialValues<T>;
117
- /** Esquema de validación de Yup */
154
+ /** Branded Yup validation schema. */
118
155
  validationSchema: ValidationSchema<T>;
119
- /** Estado de carga del formulario (opcional) */
156
+ /** Optional root hydration state. */
120
157
  statusLoad?: FormStatusLoad;
121
- /** Modo de validación del formulario (opcional) */
158
+ /** Optional RHF validation mode. */
122
159
  mode?: Mode;
123
160
  }
124
161
  /**
125
- * Interfaz que define los métodos expuestos a través de la ref del RHFormProvider.
126
- * Permite acceso programático a los métodos de React Hook Form desde componentes padre.
162
+ * Supported imperative methods exposed through the RHFormProvider ref.
163
+ * Context and ref handleSubmit calls share the current readiness guard.
127
164
  */
128
165
  export interface RHFormProviderRef<T extends RHFormValues> {
129
- /** Objeto completo con todos los métodos de React Hook Form */
166
+ /** RHF methods with guarded handleSubmit. */
130
167
  formMethods: UseFormReturn<T, undefined, T>;
131
168
  onSubmit: (data: T) => void;
132
169
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../pack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C,EAAE,cAAc,CAAC;IAC5B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,YAAY,CAC7D,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;CAC7C;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,YAAY;IACzD,uCAAuC;IACvC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC/B,mCAAmC;IACnC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACtC,gDAAgD;IAChD,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,mDAAmD;IACnD,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,YAAY;IACvD,+DAA+D;IAC/D,WAAW,EAAE,aAAa,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;CAE7B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFormProvider/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB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WAAW,iBAAiB,CAAC,CAAC,SAAS,YAAY;IACvD,6CAA6C;IAC7C,WAAW,EAAE,aAAa,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;CAE7B"}
@@ -24,11 +24,12 @@ export * from './RHFTextField';
24
24
  export * from './RHFTextFieldPassword';
25
25
  export * from './RHFResourceDictionary';
26
26
  export * from './RHFPeriod';
27
- export { RHFRadioGroup } from './RHFRadioGroup';
27
+ export * from './RHFRadioGroup';
28
28
  export * from './RHFNumberInput';
29
29
  export { RHFUploadSingleFile } from './RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile';
30
30
  export * from './RHFUpload';
31
31
  export * from './RHFormProvider';
32
32
  export * from './RHFActionsGroup';
33
33
  export * from './RHFSwitch';
34
+ export * from './RHFSortableList';
34
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAE5B,cAAc,mBAAmB,CAAC"}
@@ -71,4 +71,5 @@ export * from './SettingsLayout';
71
71
  export * from './Pager';
72
72
  export * from './ScrollBar';
73
73
  export * from './Stepper';
74
+ export * from './SortableList';
74
75
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CA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AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CA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C,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAE1B,cAAc,gBAAgB,CAAC"}
@@ -7,4 +7,5 @@
7
7
  export type { RHFormInitialValues as FormInitialValues, FormStatusLoad, } from '../components/hook-form/RHFormProvider/types';
8
8
  export { RHFormProvider, FormProviderCustom, useCustomForm, } from '../components/hook-form/RHFormProvider/RHFormProvider';
9
9
  export { getFormComponentsDictionary } from '../components/hook-form/RHFormProvider/dictionary';
10
+ export { getFormProviderDictionaryDefaults } from '../components/hook-form/RHFormProvider/dictionaryDefaults';
10
11
  //# sourceMappingURL=form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/contexts/form.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,YAAY,EACV,mBAAmB,IAAI,iBAAiB,EACxC,cAAc,GACf,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,GACd,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC"}
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/contexts/form.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,YAAY,EACV,mBAAmB,IAAI,iBAAiB,EACxC,cAAc,GACf,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,GACd,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAE,iCAAiC,EAAE,MAAM,2DAA2D,CAAC"}