@m4l/components 2.0.7 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/@types/export.d.ts +0 -3
  2. package/@types/types.d.ts +11 -1
  3. package/components/AccountPopover/{index.a5747746.js → index-BJWLsxYq.js} +7 -5
  4. package/components/AppBar/{index.2d458607.js → index-BdA-qQyV.js} +7 -5
  5. package/components/BaseModule/{index.3f266927.js → index-Bl0GPyrz.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index.c1185f46.js → index-BlaMdPmp.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index.7f76a6ba.js → index-C5ZI4ZPP.js} +5 -5
  8. package/components/CommonActions/components/ActionFormIntro/{index.8a23ec62.js → index-BbVMcr05.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index.185199da.js → index-DGooFqVu.js} +3 -3
  10. package/components/CommonActions/components/Actions/{index.ea4c273b.js → index-B_vOmNZT.js} +5 -3
  11. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0739f098.js → index-0wqcK8ML.js} +1 -1
  12. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.d524f74c.js → index-Ozdfjlt2.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnDateFormatter/{index.e00d0cf2.js → index-CKg8CJ6A.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.addc6664.js → index-D-98uXfl.js} +1 -1
  15. package/components/DataGrid/formatters/ColumnNestedValueFormatter/{index.880e743b.js → index-BslXGK-A.js} +1 -1
  16. package/components/DataGrid/formatters/ColumnPointsFormatter/{index.ab152484.js → index-BXGW2CsK.js} +1 -1
  17. package/components/DataGrid/formatters/ColumnPriceFormatter/{index.bf9d9e60.js → index-O11tBykn.js} +1 -1
  18. package/components/DataGrid/formatters/ColumnSetCheckFormatter/{index.4045b2f2.js → index-BaCawLr1.js} +1 -1
  19. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/{index.a87302d1.js → index-Cq7a-jnE.js} +1 -1
  20. package/components/DataGrid/formatters/{index.ee269cae.js → index-B5SJg0Qq.js} +2 -2
  21. package/components/DataGrid/{index.1feaab04.js → index-7vJWvQtu.js} +33 -26
  22. package/components/DataGrid/subcomponents/Actions/{index.06306495.js → index-C-p5O-cU.js} +22 -26
  23. package/components/DataGrid/subcomponents/editors/TextEditor/{index.3f0d9e28.js → index-BIFm8akr.js} +4 -0
  24. package/components/DragResizeWindow/{index.44fad985.js → index-D2jLYExo.js} +25 -6
  25. package/components/DynamicFilter/{dictionary.a55d5bc2.js → dictionary-DbRGLe8j.js} +2 -2
  26. package/components/DynamicFilter/{index.2033e755.js → index-D2CmPq_i.js} +7 -8
  27. package/components/DynamicFilter/slots/{dynamicFilterSlots.3ef5ec21.js → dynamicFilterSlots-BSCWv_Rw.js} +8 -8
  28. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
  29. package/components/DynamicFilter/store/{index.3cc06678.js → index-BcaPHLdk.js} +3 -3
  30. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.db29f2ff.js → index-BZAxYAp1.js} +3 -3
  31. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2de720bc.js → index-DIFUGgys.js} +4 -4
  32. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.7a9d4d33.js → index-D5BGKd5r.js} +8 -8
  33. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.a4269ba3.js → index-DFHDm1e4.js} +4 -3
  34. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.ebb6606c.js → index-Hn2Rzovd.js} +10 -9
  35. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.cd343ba0.js → index-B5F1Ji7m.js} +5 -4
  36. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.b5c31620.js → index-BQlxIk_N.js} +6 -6
  37. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4c42f140.js → index-DF7EGeSx.js} +5 -4
  38. package/components/DynamicFilter/subcomponents/FieldTypes/{index.3e15fc1c.js → index-B6WQUIl7.js} +5 -5
  39. package/components/DynamicFilter/subcomponents/FilterActions/{index.0d687448.js → index-D5edNMdo.js} +3 -3
  40. package/components/DynamicFilter/subcomponents/InputFilter/{index.4c5bb297.js → index-bbdBrHj0.js} +33 -13
  41. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.6c8c52ae.js → index-CD3aGB5S.js} +7 -6
  42. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.9cf2bc44.js → index-MiYNpAu0.js} +2 -2
  43. package/components/DynamicFilter/types.d.ts +1 -1
  44. package/components/FieldLabel/{index.972f989e.js → index-BpW2AGJx.js} +6 -4
  45. package/components/GridLayout/{index.2b9bc85c.js → index-HK_hTGnZ.js} +51 -72
  46. package/components/GridLayout/subcomponents/Griditem/{index.684c3f3c.js → index-izY8S7ns.js} +11 -13
  47. package/components/GridLayout/subcomponents/Responsive/{index.dc0a1ce0.js → index-bpKDnaCd.js} +7 -7
  48. package/components/GridLayout/subcomponents/SizeProvider/{index.15d0ca85.js → index-OWN-RzRq.js} +15 -9
  49. package/components/HelperText/{index.2f4c6655.js → index-COWCXeJp.js} +10 -3
  50. package/components/Icon/{index.0f315ccd.js → index-CedboS6y.js} +9 -4
  51. package/components/Image/{index.32b58ce4.js → index-B7FhR9uF.js} +40 -31
  52. package/components/LanguagePopover/index-4kPWKmxk.js +179 -0
  53. package/components/LinearProgressIndeterminate/{index.6d1605ff.js → index-Do7CKcow.js} +5 -3
  54. package/components/Loadable/{index.e83cdb4e.js → index-BMbi9ISF.js} +1 -1
  55. package/components/LoadingError/{index.c5a70390.js → index-CNh7b1ew.js} +8 -6
  56. package/components/MFIsolationApp/constants.d.ts +1 -0
  57. package/components/MFIsolationApp/{index.56a12cde.js → index-DJ-MUHoQ.js} +48 -46
  58. package/components/MFLoader/{index.cc350d72.js → index-Bcg9TXnJ.js} +36 -15
  59. package/components/ModalDialog/{index.580a88dc.js → index-BuGRs967.js} +6 -6
  60. package/components/NavLink/{index.c6fd316b.js → index-B6Gmzyl0.js} +5 -3
  61. package/components/NoItemSelected/{index.7274cdb1.js → index-CMet73v_.js} +3 -1
  62. package/components/ObjectLogs/{index.1b51e5f2.js → index-_8l1PbEQ.js} +19 -12
  63. package/components/PDFViewer/{index.eed9494a.js → index-CV9x1XKR.js} +4 -2
  64. package/components/Page/{index.f6884847.js → index-DKQLs5le.js} +11 -8
  65. package/components/PaperForm/{index.86c1f1d6.js → index-DciWfnML.js} +4 -2
  66. package/components/Period/{index.5757802b.js → index-DxijnNw6.js} +20 -31
  67. package/components/PrintingSystem/{index.47e0ce83.js → index-sSZkZbrr.js} +16 -14
  68. package/components/PrintingSystem/subcomponents/BodyNode/{index.d58660a8.js → index-CxYjxWxL.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/ChartNode/{index.8e010873.js → index-D85qi4Qz.js} +3 -1
  70. package/components/PrintingSystem/subcomponents/DividerNode/{index.13330f51.js → index-BA-IYLWh.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/FooterNode/{index.05da3e1d.js → index-Bn9eNtAi.js} +1 -1
  72. package/components/PrintingSystem/subcomponents/GridNode/{index.d68b5460.js → index-gNEGVptD.js} +6 -2
  73. package/components/PrintingSystem/subcomponents/HeaderNode/{index.0ed11227.js → index-CiVr-jBF.js} +1 -1
  74. package/components/PrintingSystem/subcomponents/PaperNode/{index.0a0227e4.js → index-BGbvh0Xk.js} +1 -1
  75. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.18931b6e.js → index-DvhbyOo3.js} +1 -1
  76. package/components/PrintingSystem/subcomponents/SectionNode/{index.e80cce87.js → index-Cw8ZUwsm.js} +1 -1
  77. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7fc92f43.js → index-l9SFQ11V.js} +1 -1
  78. package/components/PropertyValue/{index.ee9cf342.js → index-hcXIE6qk.js} +7 -5
  79. package/components/Resizeable/{index.0ffd46bc.js → index-ObbOlXFx.js} +1 -1
  80. package/components/ScrollBar/{index.45b8db89.js → index-BpTjE7o3.js} +3 -1
  81. package/components/SideBar/{index.50868466.js → index-Cg1bZn8y.js} +100 -74
  82. package/components/SplitLayout/{index.c2b8dcb8.js → index-CYnKlhi5.js} +5 -3
  83. package/components/ToastContainer/ToastContainer.d.ts +1 -1
  84. package/components/ToastContainer/constants.d.ts +3 -0
  85. package/components/ToastContainer/helpers/toaster.d.ts +4 -0
  86. package/components/ToastContainer/icons.d.ts +9 -0
  87. package/components/ToastContainer/index-B5VGIn45.js +191 -0
  88. package/components/ToastContainer/index.d.ts +1 -0
  89. package/components/ToastContainer/slots/ToastContainerEnum.d.ts +13 -0
  90. package/components/ToastContainer/slots/index.d.ts +2 -0
  91. package/components/ToastContainer/slots/toastContainerSlots.d.ts +34 -0
  92. package/components/ToastContainer/subcomponents/ToastMessage/ToastMessage.d.ts +2 -0
  93. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +1 -2
  94. package/components/ToastContainer/types.d.ts +39 -3
  95. package/components/animate/LoadingScreen/{index.31af02f8.js → index-CzDq3A0i.js} +1 -1
  96. package/components/animate/MotionContainer/{index.3032bd8f.js → index-eartnWyO.js} +1 -1
  97. package/components/animate/MotionLazyContainer/{index.d2902a6c.js → index-Be8osTiG.js} +1 -1
  98. package/components/animate/PropagateLoader/{index.a9da8d00.js → index-Bkq8V2SN.js} +1 -1
  99. package/components/animate/{index.160607f3.js → index-mH4o-crX.js} +1 -1
  100. package/components/animate/variants/{bounce.784aaaaa.js → bounce-DanQqHAX.js} +3 -1
  101. package/components/animate/variants/{fade.b561c0fc.js → fade-CAOJNn06.js} +3 -1
  102. package/components/areas/components/AreasAdmin/{index.cb60f940.js → index-qqSduaty.js} +21 -19
  103. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  104. package/components/areas/components/AreasViewer/classes/types.d.ts +0 -8
  105. package/components/areas/components/AreasViewer/{index.350ee032.js → index-D5If8gFK.js} +38 -105
  106. package/components/areas/contexts/AreasContext/helper.d.ts +2 -5
  107. package/components/areas/contexts/AreasContext/{index.1a5c5df1.js → index-Dyj8tCdG.js} +175 -130
  108. package/components/areas/contexts/AreasContext/types.d.ts +1 -4
  109. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
  110. package/components/areas/hooks/useAreas/{index.ba948f80.js → index-o0DvT3xZ.js} +2 -3
  111. package/components/areas/hooks/useDynamicMFParameters/{index.9e09e1e3.js → index-DhbcZPs9.js} +1 -1
  112. package/components/areas/hooks/useWindowToolsMF/{index.2fbae9dc.js → index-BECQfhbC.js} +2 -3
  113. package/components/areas/{icons.8266ccc8.js → icons-CwFr-alN.js} +0 -2
  114. package/components/areas/icons.d.ts +0 -2
  115. package/components/areas/index.d.ts +1 -1
  116. package/components/areas/types.d.ts +0 -40
  117. package/components/commercial/AppBarCommercial/{index.cdc42f41.js → index-DvigwCQP.js} +4 -2
  118. package/components/commercial/SectionCommercial/{index.a9265d42.js → index-CLHGooDg.js} +4 -2
  119. package/components/commercial/TopBar/{index.06c1e138.js → index-DJNYXgHq.js} +13 -11
  120. package/components/commercial/{index.163293c3.js → index-BLUHQfcA.js} +4 -4
  121. package/components/formatters/BooleanFormatter/{index.b224ae9b.js → index-DpF0x_xp.js} +3 -3
  122. package/components/formatters/DateFormatter/{index.2ef6f261.js → index-CGcRZ8BA.js} +1 -1
  123. package/components/formatters/PointsFormatter/{index.51cd6774.js → index-C7sR8iqk.js} +1 -1
  124. package/components/formatters/PriceFormatter/{index.97f75b4b.js → index-CsvRawmc.js} +1 -1
  125. package/components/formatters/UncertaintyFormatter/{index.c3ffdebc.js → index-B9ESVEVp.js} +4 -4
  126. package/components/formatters/{index.373a6ce1.js → index-CDt8LzvL.js} +13 -19
  127. package/components/hook-form/HelperError/{index.399e7338.js → index-D-_czK9n.js} +1 -1
  128. package/components/hook-form/RHFAutocomplete/{index.0d32fed5.js → index-BhbgwNUz.js} +20 -20
  129. package/components/hook-form/RHFAutocompleteAsync/{index.2622450c.js → index-BnUgdSnR.js} +5 -3
  130. package/components/hook-form/RHFCheckbox/{index.3229f16c.js → index-ubHFuH1F.js} +53 -46
  131. package/components/hook-form/RHFColorPicker/{index.86525787.js → index-DBpi0Zhe.js} +8 -6
  132. package/components/hook-form/RHFDateTime/{index.572079c5.js → index-BtfOlX4T.js} +7 -5
  133. package/components/hook-form/RHFPeriod/{index.1883d9f6.js → index-BicAIry0.js} +6 -4
  134. package/components/hook-form/RHFRadioGroup/{index.9eea0df1.js → index-Di37rp0B.js} +1 -1
  135. package/components/hook-form/RHFTextField/index-Cz7BMTLe.js +337 -0
  136. package/components/hook-form/RHFUpload/{index.cf63abf0.js → index-D52JNxDh.js} +10 -8
  137. package/components/maps/components/GpsTools/{index.7628172f.js → index-BP1dIwh6.js} +104 -34
  138. package/components/maps/components/Map/{index.df953487.js → index-CS6xr1Fl.js} +263 -73
  139. package/components/modal/{WindowBase.cb284225.js → WindowBase-CLBER1xc.js} +4 -4
  140. package/components/modal/{WindowConfirm.193cc75e.js → WindowConfirm-DraflAKP.js} +8 -7
  141. package/components/modal/{index.81eb6def.js → index-CydPIpKZ.js} +2 -0
  142. package/components/mui_extended/Accordion/{index.49007a43.js → index-ZFpEUCnw.js} +8 -6
  143. package/components/mui_extended/Avatar/{index.a2e1ca6d.js → index-Bk4Hq2nk.js} +5 -2
  144. package/components/mui_extended/Badge/{index.188ffbb4.js → index-D6F1o3k2.js} +4 -2
  145. package/components/mui_extended/Breadcrumbs/{index.4a44883c.js → index-DTS7rOZH.js} +1 -2
  146. package/components/mui_extended/Button/{index.ca15c36e.js → index-DlzpoczE.js} +33 -13
  147. package/components/mui_extended/{CheckBox.983e10e6.js → CheckBox-ByxYagHV.js} +4 -2
  148. package/components/mui_extended/IconButton/{index.caf17392.js → index-BfDbi0cC.js} +42 -22
  149. package/components/mui_extended/MenuActions/{index.c24bd476.js → index-CUz70BPj.js} +28 -24
  150. package/components/mui_extended/Pager/{index.f27033fc.js → index-CRgYDkV8.js} +8 -5
  151. package/components/mui_extended/Popover/{index.1fafd106.js → index-C6_2t4L1.js} +39 -27
  152. package/components/mui_extended/Stack/{index.b8c3b40b.js → index-CV2W-_eL.js} +3 -1
  153. package/components/mui_extended/Tab/{index.c2dca6dd.js → index-PyZxxeDt.js} +9 -3
  154. package/components/mui_extended/ToggleButton/{index.4b6f9c8e.js → index-X6htsgfF.js} +2 -2
  155. package/components/mui_extended/ToggleIconButton/{index.0513d9e6.js → index-mT-xXWg9.js} +3 -2
  156. package/components/mui_extended/Tooltip/{index.49bb5ee1.js → index-B8QUytCK.js} +2 -0
  157. package/components/mui_extended/Typography/{index.61dd3fc6.js → index-DKPqV11f.js} +4 -2
  158. package/components/popups/PopupsProvider/{index.9a23e1d0.js → index-DhSxmtfJ.js} +1 -2
  159. package/components/popups/PopupsViewer/{index.c6a0c277.js → index-D8iTb2JJ.js} +10 -7
  160. package/components/popups/PopupsViewer/slots/{popupsViewerSlots.0b92fc90.js → popupsViewerSlots-DEQAZ8fq.js} +4 -4
  161. package/contexts/ModalContext/{index.50cc9ba8.js → index-CMPcjPCy.js} +1 -1
  162. package/contexts/RHFormContext/{index.acc30d9b.js → index-B4a0h0fX.js} +3 -1
  163. package/hooks/useFormAddEdit/{index.daf5d0c8.js → index-DvRNtaub.js} +2 -2
  164. package/hooks/useModal/{index.6f5c238d.js → index-C9r1LQIz.js} +2 -3
  165. package/hooks/useSizeContainer/{index.3c48670c.js → index-D4hDjM1P.js} +2 -0
  166. package/hooks/useTab/{index.8c6646a4.js → index-DTbLh_DH.js} +1 -1
  167. package/index.js +149 -259
  168. package/package.json +2 -2
  169. package/{react-data-grid.c5377916.js → react-data-grid-BfYuZ6AK.js} +59 -110
  170. package/{react-draggable.df62ccbd.js → react-draggable-DsCPdgQP.js} +238 -57
  171. package/{react-json-view.57125fcf.js → react-json-view-bhqIAaNg.js} +277 -467
  172. package/{react-resizable.c746880c.js → react-resizable-eBbFl2dX.js} +75 -37
  173. package/{react-spinners.342a6578.js → react-spinners-TpKN9lZg.js} +6 -8
  174. package/{react-splitter-layout.8b1655c8.js → react-splitter-layout-C-JTsNGs.js} +14 -23
  175. package/style.css +1 -65
  176. package/styles/{DynamicFilter.f317726e.js → DynamicFilter-CJFsIegc.js} +1 -1
  177. package/styles/ToastContainer.styles.d.ts +2 -0
  178. package/styles/{index.ccd8acc4.js → index-Cc9p_h7i.js} +244 -49
  179. package/test/getNameDataTestId.d.ts +1 -1
  180. package/utils/{index.ebfbb70f.js → index-DiMrtgIu.js} +26 -51
  181. package/utils/index.d.ts +1 -1
  182. package/components/LanguagePopover/index.6ac2473a.js +0 -168
  183. package/components/ToastContainer/classes/constants.d.ts +0 -1
  184. package/components/ToastContainer/classes/index.d.ts +0 -8
  185. package/components/ToastContainer/classes/types.d.ts +0 -9
  186. package/components/ToastContainer/index.ed566312.js +0 -69
  187. package/components/ToastContainer/styles.d.ts +0 -2
  188. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +0 -5
  189. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/index.d.ts +0 -5
  190. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/subcomponents/Toasty/index.d.ts +0 -6
  191. package/components/hook-form/RHFTextField/index.5b124af3.js +0 -296
  192. /package/{commonjs.565e6834.js → commonjs-BfYxJMv3.js} +0 -0
  193. /package/components/DataGrid/{constants.e334cd50.js → constants-8L7QgBKi.js} +0 -0
  194. /package/components/DynamicFilter/{constants.095f1dbb.js → constants-ByqmFATV.js} +0 -0
  195. /package/components/DynamicFilter/slots/{SlotsEnum.104a03d4.js → SlotsEnum-cawFeNzx.js} +0 -0
  196. /package/components/DynamicFilter/slots/{index.36b12be1.js → index-l0sNRNKZ.js} +0 -0
  197. /package/components/ScrollToTop/{index.e06f98f6.js → index-TxORk5dB.js} +0 -0
  198. /package/components/WrapperComponent/{index.57964195.js → index-BHV-CsDU.js} +0 -0
  199. /package/components/animate/{features.0fbf41e1.js → features-BbnE33u3.js} +0 -0
  200. /package/components/animate/variants/{container.11f82b76.js → container-Dmpr6tg5.js} +0 -0
  201. /package/components/animate/variants/{index.7a912140.js → index-l0sNRNKZ.js} +0 -0
  202. /package/components/animate/variants/{transition.bd46b9ce.js → transition-B9W5SWTa.js} +0 -0
  203. /package/components/areas/components/{index.558684b3.js → index-l0sNRNKZ.js} +0 -0
  204. /package/components/areas/{constants.66529246.js → constants-rqODZNZe.js} +0 -0
  205. /package/components/areas/contexts/DynamicMFParmsContext/{index.3d9ad0ad.js → index-22c6E7vK.js} +0 -0
  206. /package/components/areas/contexts/WindowToolsMFContext/{index.992ae7a3.js → index-DkE30fhm.js} +0 -0
  207. /package/components/areas/contexts/{index.24025b97.js → index-l0sNRNKZ.js} +0 -0
  208. /package/components/areas/{dictionary.08cfc4c9.js → dictionary-YUsP9beq.js} +0 -0
  209. /package/components/areas/hooks/{index.d9dc1e21.js → index-l0sNRNKZ.js} +0 -0
  210. /package/components/areas/{index.4cc6a221.js → index-B_Odny9h.js} +0 -0
  211. /package/components/hook-form/RHFMultiCheckbox/{index.437e6ba3.js → index-BARudV1A.js} +0 -0
  212. /package/components/hook-form/RHFSelect/{index.c6c60ecc.js → index-LdwRuFz-.js} +0 -0
  213. /package/components/maps/{index.13bb982c.js → index-Ci-7-FHg.js} +0 -0
  214. /package/components/mui_extended/BoxIcon/{index.d61e7ac5.js → index-BUTJ2tKw.js} +0 -0
  215. /package/components/mui_extended/CircularProgress/{index.967e70b7.js → index-Bnnti_G6.js} +0 -0
  216. /package/components/mui_extended/LinearProgress/{index.4092bb69.js → index-CGgW8jq2.js} +0 -0
  217. /package/components/mui_extended/LinkWithRoute/{index.288c51f3.js → index-BC2miUjR.js} +0 -0
  218. /package/components/mui_extended/{index.b606cd9d.js → index-l0sNRNKZ.js} +0 -0
  219. /package/components/popups/PopupsViewer/{constants.29247547.js → constants-DuyD7aCn.js} +0 -0
  220. /package/components/popups/PopupsViewer/{icons.066abd43.js → icons-BUujqqbu.js} +0 -0
  221. /package/components/popups/PopupsViewer/slots/{index.37ef2263.js → index-B98CiRLa.js} +0 -0
  222. /package/components/popups/{index.c5eae682.js → index-l0sNRNKZ.js} +0 -0
  223. /package/hocs/withToggle/{index.548aeace.js → index-C1_DMZD3.js} +0 -0
  224. /package/hooks/useFormReadyForUpdate/{index.f60f500e.js → index-B3HygFCM.js} +0 -0
  225. /package/hooks/useStateRef/{index.538edb89.js → index-C3P6ZK3m.js} +0 -0
  226. /package/test/{constants_no_mock.86c553a9.js → constants_no_mock-CF-669v-.js} +0 -0
  227. /package/test/{getNameDataTestId.0faeade8.js → getNameDataTestId-BaBTWhBr.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import React__default, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from "react";
3
- import { D as DraggableCore_1 } from "../../react-draggable.df62ccbd.js";
3
+ import { D as DraggableCore_1 } from "../../react-draggable-DsCPdgQP.js";
4
4
  import clsx from "clsx";
5
5
  import { styled, generateUtilityClasses, useForkRef } from "@mui/material";
6
6
  import "@mui/base";
7
- import { R as Resizable } from "../../react-resizable.c746880c.js";
7
+ import { R as Resizable } from "../../react-resizable-eBbFl2dX.js";
8
8
  const WrapperDragResizeWindowRoot = styled("div")`
9
9
  position: absolute;
10
10
  left: 0px;
@@ -24,9 +24,11 @@ const DEFAULT_TRANSFORM_SCALE = 1;
24
24
  const draggableWindowClasses = generateUtilityClasses(
25
25
  COMPONENT_CLASS_NAME,
26
26
  [
27
+ /* elements */
27
28
  "root",
28
29
  "draggableHandle",
29
30
  "draggableCancel",
31
+ // state
30
32
  "dragging",
31
33
  "hidden"
32
34
  ]
@@ -76,12 +78,15 @@ const getInitialSize = (containerSize, defaultPosition) => {
76
78
  return {
77
79
  top: top ?? (bottom ? containerHeight - bottom - (height || 0) : 0),
78
80
  height: height ?? containerHeight - (top || 0) - (bottom || 0),
81
+ // top: top || 0,
82
+ // height: height ?? containerHeight - (top || 0) - (bottom || 0),
79
83
  left: left ?? (right ? containerWidth - right - (width || 0) : 0),
80
84
  width: width ?? containerWidth - (left || 0) - (right || 0)
81
85
  };
82
86
  };
83
87
  const DragResizeWindow = forwardRef((props, ref) => {
84
88
  const {
89
+ //Comunes
85
90
  style,
86
91
  className,
87
92
  children,
@@ -92,6 +97,7 @@ const DragResizeWindow = forwardRef((props, ref) => {
92
97
  bounds = { left: 5, top: 5, right: -5, bottom: -5 },
93
98
  minWindowWidth = 200,
94
99
  minWindowHeight = 100,
100
+ //Draggable
95
101
  draggableHandle = `.${draggableWindowClasses.draggableHandle}`,
96
102
  draggableCancel = `.${draggableWindowClasses.draggableCancel}`,
97
103
  draggable = true,
@@ -99,13 +105,18 @@ const DragResizeWindow = forwardRef((props, ref) => {
99
105
  onDrag,
100
106
  onDragStop,
101
107
  onMouseDown,
108
+ //ResizeAble
102
109
  resizeable = true,
103
110
  resizeHandles = ["se", "nw"],
104
111
  resizeHandle,
112
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
105
113
  onResizeStart,
114
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
106
115
  onResize,
116
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
107
117
  onResizeStop,
108
118
  hidden,
119
+ //Otras
109
120
  ...others
110
121
  } = props;
111
122
  const [currentState, setCurrentState] = useState(
@@ -144,9 +155,13 @@ const DragResizeWindow = forwardRef((props, ref) => {
144
155
  ...prev,
145
156
  ...newPosition,
146
157
  shrinkLeftAt: void 0,
158
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
147
159
  shrinkTopAt: void 0,
160
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
148
161
  overflowWidthAt: void 0,
162
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
149
163
  overflowHeightAt: void 0,
164
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
150
165
  dragging: newPosition
151
166
  }));
152
167
  }, []);
@@ -201,9 +216,13 @@ const DragResizeWindow = forwardRef((props, ref) => {
201
216
  ...size,
202
217
  ...handlerName === "onResizeStart" ? {
203
218
  shrinkLeftAt: void 0,
219
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
204
220
  shrinkTopAt: void 0,
221
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
205
222
  overflowWidthAt: void 0,
223
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
206
224
  overflowHeightAt: void 0
225
+ //Cancelar los flags de memoria de encogimiento del contenedor padre
207
226
  } : {},
208
227
  resizing
209
228
  }));
@@ -293,8 +312,7 @@ const DragResizeWindow = forwardRef((props, ref) => {
293
312
  const boundsRigthBottom = dimension === "Width" ? bounds?.right || 0 : bounds?.bottom || 0;
294
313
  const maxDimensionWithoutBounds = containerDimension - boundsLefTop + boundsRigthBottom;
295
314
  let rightBottomBoundary = containerDimension - newState[lDimension] + boundsRigthBottom;
296
- if (newState[lDimension] !== divRoot[`client${dimension}`])
297
- ;
315
+ if (newState[lDimension] !== divRoot[`client${dimension}`]) ;
298
316
  if (newState.resizing && stateRef.current.initialPostion) {
299
317
  if (!newState.resizing.handle.includes("w")) {
300
318
  if (newState[leftTop] + newState[lDimension] > containerDimension + boundsRigthBottom) {
@@ -309,8 +327,7 @@ const DragResizeWindow = forwardRef((props, ref) => {
309
327
  if (newState[leftTop] - dif >= boundsLefTop) {
310
328
  newState[lDimension] = stateRef.current.initialPostion[lDimension] + dif;
311
329
  newState[leftTop] = newState[leftTop] - dif;
312
- if (newState[leftTop] + newState[lDimension] > maxDimensionWithoutBounds)
313
- ;
330
+ if (newState[leftTop] + newState[lDimension] > maxDimensionWithoutBounds) ;
314
331
  } else {
315
332
  newState[leftTop] = boundsLefTop;
316
333
  newState[lDimension] = stateRef.current.initialPostion[lDimension];
@@ -457,7 +474,9 @@ const DragResizeWindow = forwardRef((props, ref) => {
457
474
  );
458
475
  const classNameFinal = clsx(draggableWindowClasses.root, className, {
459
476
  "react-draggable": draggable,
477
+ //Requerido para el componente Draggable
460
478
  [draggableWindowClasses.hidden]: hidden
479
+ // dropping: Boolean(droppingPosition),
461
480
  });
462
481
  const styleFinal = {
463
482
  ...style,
@@ -1,5 +1,5 @@
1
- import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.ea4c273b.js";
2
- import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.0d32fed5.js";
1
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index-B_vOmNZT.js";
2
+ import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
3
3
  const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
4
4
  function getDynamicFilterComponentsDictionary() {
5
5
  return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
@@ -1,9 +1,9 @@
1
- import { f as fieldFactory } from "./subcomponents/FieldTypes/index.3e15fc1c.js";
2
- import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.b5c31620.js";
1
+ import { f as fieldFactory } from "./subcomponents/FieldTypes/index-B6WQUIl7.js";
2
+ import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index-BQlxIk_N.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { useFlagsPresent, CommonFlags } from "@m4l/core";
5
- import { D as DynamicFilterProvider } from "./store/index.3cc06678.js";
6
- import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.7a9d4d33.js";
5
+ import { D as DynamicFilterProvider } from "./store/index-BcaPHLdk.js";
6
+ import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index-D5BGKd5r.js";
7
7
  function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
8
8
  const newFilters = [];
9
9
  const fixedFields = [];
@@ -22,13 +22,12 @@ function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName)
22
22
  operand2: initialFilters[index].operand2,
23
23
  operandsArray: initialFilters[index].operandsArray
24
24
  };
25
- if (!field)
26
- continue;
25
+ if (!field) continue;
27
26
  const canAddField = fieldFactory(field.type).verifyFilter(initialFilter, field);
28
27
  if (canAddField) {
29
28
  if (filter.fieldType === "datetime") {
30
- filter.operand1 = new Date(filter.operand1 + "");
31
- filter.operand2 = new Date(filter.operand2 + "");
29
+ filter.operand1 = /* @__PURE__ */ new Date(filter.operand1 + "");
30
+ filter.operand2 = /* @__PURE__ */ new Date(filter.operand2 + "");
32
31
  }
33
32
  if (field.presence === "fixed") {
34
33
  if (fixedFields.findIndex((f) => f === field.name) === -1) {
@@ -1,13 +1,13 @@
1
1
  import { styled } from "@mui/material/styles";
2
- import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.095f1dbb.js";
3
- import { D as DynamicFilterSlots } from "./SlotsEnum.104a03d4.js";
4
- import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter.f317726e.js";
2
+ import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants-ByqmFATV.js";
3
+ import { D as DynamicFilterSlots } from "./SlotsEnum-cawFeNzx.js";
4
+ import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter-CJFsIegc.js";
5
5
  import { MenuItem } from "@mui/material";
6
- import { A as Actions } from "../../CommonActions/components/Actions/index.ea4c273b.js";
7
- import { I as Icon } from "../../Icon/index.0f315ccd.js";
8
- import { I as IconButton } from "../../mui_extended/IconButton/index.caf17392.js";
9
- import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
10
- import { T as Typography } from "../../mui_extended/Typography/index.61dd3fc6.js";
6
+ import { A as Actions } from "../../CommonActions/components/Actions/index-B_vOmNZT.js";
7
+ import { I as Icon } from "../../Icon/index-CedboS6y.js";
8
+ import { I as IconButton } from "../../mui_extended/IconButton/index-BfDbi0cC.js";
9
+ import { P as Popover } from "../../mui_extended/Popover/index-C6_2t4L1.js";
10
+ import { T as Typography } from "../../mui_extended/Typography/index-DKPqV11f.js";
11
11
  const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
12
12
  dynamicFilterStyles?.root
13
13
  );
@@ -58,7 +58,7 @@ export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponen
58
58
  }, {}, {}>;
59
59
  export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
60
60
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
61
- }, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
61
+ }, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "draggable" | "role" | "onClick" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
62
62
  ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
63
63
  }, {}, {}>;
64
64
  export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
@@ -4,15 +4,15 @@ import { shallow } from "zustand/shallow";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
6
6
  import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
7
- import { A as ALL_FIELD } from "../constants.095f1dbb.js";
8
- import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index.2033e755.js";
7
+ import { A as ALL_FIELD } from "../constants-ByqmFATV.js";
8
+ import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index-D2CmPq_i.js";
9
9
  import { devtools } from "zustand/middleware";
10
10
  import { immer } from "zustand/middleware/immer";
11
11
  function useDynamicFilterStore(selector, equalityFn) {
12
12
  const store = useContext(DynamicFilterContext);
13
13
  if (!store)
14
14
  throw new Error("useDynamicFilterStore context must be use inside DynamicFilterContext");
15
- return useStore(store, selector, equalityFn ?? shallow);
15
+ return useStore(store, selector, shallow);
16
16
  }
17
17
  function updateAvailableFields(state) {
18
18
  state.availableFields = state.fields.filter((field) => {
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { useFormatter } from "@m4l/graphics";
5
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
6
- import { f as fieldFactory } from "../FieldTypes/index.3e15fc1c.js";
7
- import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
5
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
6
+ import { f as fieldFactory } from "../FieldTypes/index-B6WQUIl7.js";
7
+ import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
8
8
  function useAppliedFilterChip(filter) {
9
9
  const { host_static_assets, environment_assets } = useEnvironment();
10
10
  const { getLabel } = useModuleDictionary();
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { S as ScrollBar } from "../../../ScrollBar/index.45b8db89.js";
3
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
4
- import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
5
- import { A as AppliedFilterChip } from "../AppliedFilterChip/index.db29f2ff.js";
2
+ import { S as ScrollBar } from "../../../ScrollBar/index-BpTjE7o3.js";
3
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
4
+ import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
5
+ import { A as AppliedFilterChip } from "../AppliedFilterChip/index-BZAxYAp1.js";
6
6
  function useAppliedFilters() {
7
7
  const appliedFilter = useDynamicFilterStore((state) => state.appliedFilters);
8
8
  const isSkeleton = useDynamicFilterStore((state) => state.ownerState.isSkeleton);
@@ -1,12 +1,12 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
3
- import { a as getPropDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
4
- import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
5
- import { D as DynamicFilterSlots } from "../../slots/SlotsEnum.104a03d4.js";
6
- import { I as InputFilter } from "../InputFilter/index.4c5bb297.js";
7
- import { A as AppliedFilters } from "../AppliedFilters/index.2de720bc.js";
8
- import { F as FilterActions } from "../FilterActions/index.0d687448.js";
9
- import { P as PopoverFilter } from "../PopoverFilter/index.6c8c52ae.js";
2
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
3
+ import { a as getPropDataTestId } from "../../../../test/getNameDataTestId-BaBTWhBr.js";
4
+ import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
5
+ import { D as DynamicFilterSlots } from "../../slots/SlotsEnum-cawFeNzx.js";
6
+ import { I as InputFilter } from "../InputFilter/index-bbdBrHj0.js";
7
+ import { A as AppliedFilters } from "../AppliedFilters/index-DIFUGgys.js";
8
+ import { F as FilterActions } from "../FilterActions/index-D5edNMdo.js";
9
+ import { P as PopoverFilter } from "../PopoverFilter/index-CD3aGB5S.js";
10
10
  function useDynamicFilterBase() {
11
11
  const ownerState = useDynamicFilterStore((state) => state.ownerState);
12
12
  const dataTestId = useDynamicFilterStore((state) => state.dataTestId);
@@ -1,10 +1,10 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.a55d5bc2.js";
3
- import { B as BOOLEAN_OPERATORS } from "../../../constants.095f1dbb.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-DbRGLe8j.js";
3
+ import { B as BOOLEAN_OPERATORS } from "../../../constants-ByqmFATV.js";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  import { useMemo } from "react";
6
6
  import { useModuleDictionary } from "@m4l/core";
7
- import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
7
+ import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
8
8
  function BooleanFilter() {
9
9
  const { getLabel } = useModuleDictionary();
10
10
  const operators = useMemo(
@@ -113,6 +113,7 @@ class BooleanFilterHelpers {
113
113
  formValueOperand1: Yup.object().nullable().required(getLabel(`dynamic_filter.error_operand_required`))
114
114
  });
115
115
  }
116
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
116
117
  verifyFilter(filter, _field) {
117
118
  if (typeof filter.operator !== "string") {
118
119
  return false;
@@ -1,13 +1,13 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.a55d5bc2.js";
3
- import { a as DATE_TIME_OPERATORS } from "../../../constants.095f1dbb.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-DbRGLe8j.js";
3
+ import { a as DATE_TIME_OPERATORS } from "../../../constants-ByqmFATV.js";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  import { useMemo } from "react";
6
6
  import { useFormContext, useWatch } from "react-hook-form";
7
7
  import { useModuleDictionary } from "@m4l/core";
8
- import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
9
- import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.572079c5.js";
10
- import { i as isValidDate } from "../../../../../utils/index.ebfbb70f.js";
8
+ import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
9
+ import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index-BtfOlX4T.js";
10
+ import { i as isValidDate } from "../../../../../utils/index-DiMrtgIu.js";
11
11
  function DateTimeFilter() {
12
12
  const { getLabel } = useModuleDictionary();
13
13
  const { control } = useFormContext();
@@ -56,8 +56,8 @@ class DateTimeFilterHelpers {
56
56
  return DateTimeFilter;
57
57
  }
58
58
  getDefaultFilter(field, fixed) {
59
- const defaultStartDate = new Date();
60
- const defaultEndDate = new Date();
59
+ const defaultStartDate = /* @__PURE__ */ new Date();
60
+ const defaultEndDate = /* @__PURE__ */ new Date();
61
61
  defaultStartDate.setHours(0, 0, 0, 0);
62
62
  defaultEndDate.setHours(23, 59, 59, 999);
63
63
  const defaultOperand1 = field.defaultOperand1 && field.defaultOperand1 instanceof Date ? field.defaultOperand1 : defaultStartDate;
@@ -76,8 +76,8 @@ class DateTimeFilterHelpers {
76
76
  getFormValue(field, getLabel, filterValueDateTime) {
77
77
  const filterValue = filterValueDateTime;
78
78
  const operator = filterValue ? filterValue.operator : field.defaultOperator ?? "b";
79
- const defaultStartDate = new Date();
80
- const defaultEndDate = new Date();
79
+ const defaultStartDate = /* @__PURE__ */ new Date();
80
+ const defaultEndDate = /* @__PURE__ */ new Date();
81
81
  const defaultOperand1 = field.defaultOperand1 && field.defaultOperand1 instanceof Date ? field.defaultOperand1 : defaultStartDate;
82
82
  const defaultOperand2 = field.defaultOperand2 && field.defaultOperand2 instanceof Date ? field.defaultOperand2 : defaultEndDate;
83
83
  const formValueOperand1 = filterValue ? filterValue.operand1 : defaultOperand1;
@@ -141,6 +141,7 @@ class DateTimeFilterHelpers {
141
141
  })
142
142
  });
143
143
  }
144
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
144
145
  verifyFilter(filter, _field) {
145
146
  if (typeof filter.operator !== "string") {
146
147
  return false;
@@ -1,12 +1,12 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.a55d5bc2.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-DbRGLe8j.js";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
4
  import { useMemo } from "react";
5
5
  import { useFormContext, useWatch } from "react-hook-form";
6
6
  import { useModuleDictionary } from "@m4l/core";
7
- import { N as NUMBER_OPERATORS } from "../../../constants.095f1dbb.js";
8
- import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
9
- import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.5b124af3.js";
7
+ import { N as NUMBER_OPERATORS } from "../../../constants-ByqmFATV.js";
8
+ import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
9
+ import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-Cz7BMTLe.js";
10
10
  function NumberFilter() {
11
11
  const { getLabel } = useModuleDictionary();
12
12
  const { control } = useFormContext();
@@ -131,6 +131,7 @@ class NumberFilterHelpers {
131
131
  })
132
132
  });
133
133
  }
134
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
134
135
  verifyFilter(filter, _field) {
135
136
  if (typeof filter.operator !== "number") {
136
137
  return false;
@@ -1,17 +1,17 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.a55d5bc2.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-DbRGLe8j.js";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
4
  import { useMemo } from "react";
5
5
  import { useModuleDictionary } from "@m4l/core";
6
- import { S as SELECT_OPERATORS } from "../../../constants.095f1dbb.js";
7
- import { u as useDynamicFilterStore } from "../../../store/index.3cc06678.js";
8
- import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
9
- import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.2622450c.js";
6
+ import { S as SELECT_OPERATORS } from "../../../constants-ByqmFATV.js";
7
+ import { u as useDynamicFilterStore } from "../../../store/index-BcaPHLdk.js";
8
+ import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
9
+ import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index-BnUgdSnR.js";
10
10
  function SelectFilter() {
11
11
  const { getLabel } = useModuleDictionary();
12
12
  const field = useDynamicFilterStore((state) => state.popoverFilterData?.field);
13
13
  if (!field?.selectOptions?.endPoint) {
14
- throw new Error("El filtro tipo Select requiere la configuraci\xF3n del Endpoint");
14
+ throw new Error("El filtro tipo Select requiere la configuración del Endpoint");
15
15
  }
16
16
  const autocompleteProps = field?.selectOptions;
17
17
  const operators = useMemo(
@@ -1,11 +1,11 @@
1
1
  import * as Yup from "yup";
2
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.a55d5bc2.js";
3
- import { b as STRING_OPERATORS } from "../../../constants.095f1dbb.js";
2
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-DbRGLe8j.js";
3
+ import { b as STRING_OPERATORS } from "../../../constants-ByqmFATV.js";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  import { useMemo } from "react";
6
6
  import { useModuleDictionary } from "@m4l/core";
7
- import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
8
- import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.5b124af3.js";
7
+ import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BhbgwNUz.js";
8
+ import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-Cz7BMTLe.js";
9
9
  function StringFilter() {
10
10
  const { getLabel } = useModuleDictionary();
11
11
  const operators = useMemo(
@@ -95,6 +95,7 @@ class StringFilterHelpers {
95
95
  )
96
96
  });
97
97
  }
98
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
98
99
  verifyFilter(filter, _field) {
99
100
  if (typeof filter.operator !== "string") {
100
101
  return false;
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useEffect } from "react";
3
3
  import { useFormContext } from "react-hook-form";
4
- import { B as BooleanFilterHelpers } from "./BooleanFilter/index.a4269ba3.js";
5
- import { S as StringFilterHelpers } from "./StringFilter/index.4c42f140.js";
6
- import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.ebb6606c.js";
7
- import { N as NumberFilterHelpers } from "./NumberFilter/index.cd343ba0.js";
8
- import { S as SelectFilterHelpers } from "./SelectFilter/index.b5c31620.js";
4
+ import { B as BooleanFilterHelpers } from "./BooleanFilter/index-DFHDm1e4.js";
5
+ import { S as StringFilterHelpers } from "./StringFilter/index-DF7EGeSx.js";
6
+ import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index-Hn2Rzovd.js";
7
+ import { N as NumberFilterHelpers } from "./NumberFilter/index-B5F1Ji7m.js";
8
+ import { S as SelectFilterHelpers } from "./SelectFilter/index-BQlxIk_N.js";
9
9
  const helpersStrategies = {
10
10
  boolean: new BooleanFilterHelpers(),
11
11
  string: new StringFilterHelpers(),
@@ -1,9 +1,9 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useEnvironment } from "@m4l/core";
3
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
4
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.a55d5bc2.js";
3
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
4
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-DbRGLe8j.js";
5
5
  import { Skeleton } from "@mui/material";
6
- import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
6
+ import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
7
7
  const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
8
8
  const ASSETS = {
9
9
  refresh: "restart.svg",
@@ -1,12 +1,12 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
4
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.a55d5bc2.js";
5
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
6
- import { A as ALL_FIELD } from "../../constants.095f1dbb.js";
4
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-DbRGLe8j.js";
5
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
6
+ import { A as ALL_FIELD } from "../../constants-ByqmFATV.js";
7
7
  import { Skeleton } from "@mui/material";
8
- import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
9
- import { P as PopoverMenuFields } from "../PopoverMenuFields/index.9cf2bc44.js";
8
+ import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
9
+ import { P as PopoverMenuFields } from "../PopoverMenuFields/index-MiYNpAu0.js";
10
10
  function useInputFilter() {
11
11
  const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
12
12
  const [filteredFields, setFilteredFields] = useState([]);
@@ -42,8 +42,7 @@ function useInputFilter() {
42
42
  }, [anchorEl, inputData, availableFields, getLabel]);
43
43
  function handleOpenPopUpClickItem(field) {
44
44
  closePopoverMenuFields();
45
- if (anchorEl)
46
- showPopoverFilterForAdd(anchorEl(), field);
45
+ if (anchorEl) showPopoverFilterForAdd(anchorEl(), field);
47
46
  }
48
47
  const inputHandlersProps = {
49
48
  onFocus: (event) => {
@@ -81,8 +80,7 @@ function useInputFilter() {
81
80
  if (event.key === "Escape") {
82
81
  closePopoverMenuFields();
83
82
  }
84
- if (event.key !== "Enter")
85
- return;
83
+ if (event.key !== "Enter") return;
86
84
  if (selectedFieldIndex === -1) {
87
85
  if (inputData.trim() === "") {
88
86
  closePopoverMenuFields();
@@ -107,13 +105,37 @@ function useInputFilter() {
107
105
  }
108
106
  };
109
107
  return {
108
+ /**
109
+ * URL del icono del inputFilter
110
+ */
110
111
  iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/dynamic_filter/assets/icons/filter.svg`,
112
+ /**
113
+ * Si es esqueleto mostrar la versión de esqueleton
114
+ */
111
115
  isSkeleton,
116
+ /**
117
+ * Texto de placeholder del inputFilter
118
+ */
112
119
  inputPlaceHolder: getLabel(getDynamicFilterDictionary(DICCTIONARY.input_placeholder)),
120
+ /**
121
+ * Texto del inputFilter
122
+ */
113
123
  inputData,
124
+ /**
125
+ * Props para el handler de eventos del inputFilter
126
+ */
114
127
  inputHandlersProps,
128
+ /**
129
+ * Si no hay campos disponibles y no se permite filtrar por todos, no se renderiza el inputFilter
130
+ */
115
131
  canRender: !(!withAllField && availableFields.length === 0),
132
+ /**
133
+ * Campos filtrados por el inputFilter
134
+ */
116
135
  filteredFields,
136
+ /**
137
+ * Indice del campo seleccionado
138
+ */
117
139
  selectedFieldIndex
118
140
  };
119
141
  }
@@ -142,8 +164,7 @@ const InputFilter = () => {
142
164
  filteredFields,
143
165
  selectedFieldIndex
144
166
  } = useInputFilter();
145
- if (!canRender)
146
- return null;
167
+ if (!canRender) return null;
147
168
  if (isSkeleton) {
148
169
  return /* @__PURE__ */ jsx(InputFilterStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(InputFilterSkeleton, {}) });
149
170
  }
@@ -162,7 +183,6 @@ const InputFilter = () => {
162
183
  /* @__PURE__ */ jsx(PopoverMenuFields, { fields: filteredFields, selectFieldIndex: selectedFieldIndex })
163
184
  ] });
164
185
  };
165
- const InputFilter$1 = InputFilter;
166
186
  export {
167
- InputFilter$1 as I
187
+ InputFilter as I
168
188
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useRef, useMemo, useCallback } from "react";
3
3
  import { useModuleDictionary } from "@m4l/core";
4
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
5
- import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.3e15fc1c.js";
6
- import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
7
- import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.acc30d9b.js";
8
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c1185f46.js";
9
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.185199da.js";
4
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
5
+ import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index-B6WQUIl7.js";
6
+ import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
7
+ import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-B4a0h0fX.js";
8
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-BlaMdPmp.js";
9
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-DGooFqVu.js";
10
10
  function usePopoverFilter() {
11
11
  let anchorEl;
12
12
  let field;
@@ -72,6 +72,7 @@ function usePopoverFilter() {
72
72
  const filterField = { ...filterFormValue, ...dataFieldValues };
73
73
  const newFilter = {
74
74
  ...formFilter,
75
+ // todo: mejorar el tipado que se le envía a getFilterFromFormValue
75
76
  ...fieldFactory(filterField.fieldType).getFilterFromFormValue(filterField),
76
77
  isSet: true
77
78
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useModuleDictionary } from "@m4l/core";
3
- import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
4
- import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
3
+ import { u as useDynamicFilterStore } from "../../store/index-BcaPHLdk.js";
4
+ import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots-BSCWv_Rw.js";
5
5
  function usePopoverMenuFields() {
6
6
  const { getLabel } = useModuleDictionary();
7
7
  const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);