@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,4 +1,40 @@
1
- import { ReactNode } from 'react';
2
- export interface ToastContainerProps {
3
- children: ReactNode;
1
+ import type { ReactNode } from 'react';
2
+ import { ToastContentProps, ToastContainerProps as ToastContainerReactToastifyProps, ToastOptions } from 'react-toastify';
3
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
4
+ import { Theme } from '@mui/material/styles';
5
+ import { ToasterFunctionProps } from '@m4l/core';
6
+ import type { ToastContainerSlots } from './slots';
7
+ import { TOAST_KEY_COMPONENT } from './constants';
8
+ export declare type ToastTypes = 'info' | 'success' | 'warning' | 'error' | 'default';
9
+ export interface ToastMessageProps extends Partial<ToastContentProps>, ToasterFunctionProps {
10
+ type?: ToastTypes;
11
+ toastId?: ToastOptions['toastId'];
12
+ containerId?: ToastOptions['containerId'];
13
+ autoClose?: ToastOptions['autoClose'];
4
14
  }
15
+ export interface ToastContainerProps extends Omit<ToastContainerReactToastifyProps, 'containerId'> {
16
+ /**
17
+ * Se utiliza para identificar el `<ToastContainer />` cuando se trabaja con varios contenedores.
18
+ * También se utiliza para establecer el atributo `id`
19
+ */
20
+ containerId: Required<ToastOptions['containerId']>;
21
+ /**
22
+ * Cuando es `true` el mensaje sale con position `fixed`, útil para usar a nivel general de toda la aplicación.
23
+ * Cuando es `false` el mensaje sale con position `sticky`, útil para usar a nivel de ventana
24
+ *
25
+ * @default true
26
+ */
27
+ fixed?: boolean;
28
+ /** Key único para las pruebas del componente. */
29
+ dataTestId?: string;
30
+ children?: ReactNode;
31
+ }
32
+ export interface TriggerToast {
33
+ props: ToasterFunctionProps;
34
+ toastOptions: ToastOptions;
35
+ containerId: ToastOptions['containerId'];
36
+ type?: ToastOptions['type'];
37
+ }
38
+ export declare type ToastContainerOwnerState = ToastContainerProps;
39
+ export declare type ToastContainerSlotsType = keyof typeof ToastContainerSlots;
40
+ export declare type ToastContainerStyles = Partial<OverridesStyleRules<ToastContainerSlotsType, typeof TOAST_KEY_COMPONENT, Theme> | undefined> | undefined;
@@ -2,7 +2,7 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
2
  import { m } from "framer-motion";
3
3
  import { alpha } from "@mui/material/styles";
4
4
  import { Box } from "@mui/material";
5
- import { a4 as RootStyle } from "../../../styles/index.ccd8acc4.js";
5
+ import { a4 as RootStyle } from "../../../styles/index-Cc9p_h7i.js";
6
6
  function LoadingScreen(props) {
7
7
  const { isDashboard, variant = "fullpage", ...other } = props;
8
8
  return /* @__PURE__ */ jsx(Fragment, { children: !isDashboard && /* @__PURE__ */ jsxs(RootStyle, { variant, ...other, children: [
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { m } from "framer-motion";
3
3
  import { Box } from "@mui/material";
4
- import { v as varContainer } from "../variants/container.11f82b76.js";
4
+ import { v as varContainer } from "../variants/container-Dmpr6tg5.js";
5
5
  function MotionContainer({ animate, action = false, children, ...other }) {
6
6
  if (action) {
7
7
  return /* @__PURE__ */ jsx(
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { LazyMotion } from "framer-motion";
3
- const loadFeatures = () => import("../features.0fbf41e1.js").then((res) => res.default);
3
+ const loadFeatures = () => import("../features-BbnE33u3.js").then((res) => res.default);
4
4
  function MotionLazyContainer({ children }) {
5
5
  return /* @__PURE__ */ jsx(LazyMotion, { strict: true, features: loadFeatures, children });
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useTheme } from "@mui/material";
3
3
  import { styled } from "@mui/material/styles";
4
- import { P as PropagateLoader$1 } from "../../../react-spinners.342a6578.js";
4
+ import { P as PropagateLoader$1 } from "../../../react-spinners-TpKN9lZg.js";
5
5
  const WrapperPropageteLoader = styled("div")(({ theme }) => ({
6
6
  right: 0,
7
7
  bottom: 0,
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { m } from "framer-motion";
3
3
  import { forwardRef, useRef } from "react";
4
4
  import { IconButton, Box } from "@mui/material";
5
- import { a5 as AnimatedScrollRoot } from "../../styles/index.ccd8acc4.js";
5
+ import { a5 as AnimatedScrollRoot } from "../../styles/index-Cc9p_h7i.js";
6
6
  const varSmall = {
7
7
  hover: { scale: 1.1 },
8
8
  tap: { scale: 0.95 }
@@ -1,10 +1,11 @@
1
- import { v as varTranEnter, a as varTranExit } from "./transition.bd46b9ce.js";
1
+ import { v as varTranEnter, a as varTranExit } from "./transition-B9W5SWTa.js";
2
2
  const varBounce = (props) => {
3
3
  const durationIn = props?.durationIn;
4
4
  const durationOut = props?.durationOut;
5
5
  const easeIn = props?.easeIn;
6
6
  const easeOut = props?.easeOut;
7
7
  return {
8
+ // IN
8
9
  in: {
9
10
  initial: {},
10
11
  animate: {
@@ -77,6 +78,7 @@ const varBounce = (props) => {
77
78
  transition: varTranExit({ durationOut, easeOut })
78
79
  }
79
80
  },
81
+ // OUT
80
82
  out: {
81
83
  animate: { scale: [0.9, 1.1, 0.3], opacity: [1, 1, 0] }
82
84
  },
@@ -1,4 +1,4 @@
1
- import { v as varTranEnter, a as varTranExit } from "./transition.bd46b9ce.js";
1
+ import { v as varTranEnter, a as varTranExit } from "./transition-B9W5SWTa.js";
2
2
  const varFade = (props) => {
3
3
  const distance = props?.distance || 120;
4
4
  const durationIn = props?.durationIn;
@@ -6,6 +6,7 @@ const varFade = (props) => {
6
6
  const easeIn = props?.easeIn;
7
7
  const easeOut = props?.easeOut;
8
8
  return {
9
+ // IN
9
10
  in: {
10
11
  initial: { opacity: 0 },
11
12
  animate: { opacity: 1, transition: varTranEnter },
@@ -31,6 +32,7 @@ const varFade = (props) => {
31
32
  animate: { x: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
32
33
  exit: { x: distance, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
33
34
  },
35
+ // OUT
34
36
  out: {
35
37
  initial: { opacity: 1 },
36
38
  animate: { opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
@@ -1,35 +1,36 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { u as useAreasStore } from "../../hooks/useAreas/index.ba948f80.js";
2
+ import { u as useAreasStore } from "../../hooks/useAreas/index-o0DvT3xZ.js";
3
3
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { useState, useRef, useMemo } from "react";
5
5
  import * as Yup from "yup";
6
6
  import clsx from "clsx";
7
7
  import { generateUtilityClasses, useTheme } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { g as getComponentUtilityClass } from "../../../../utils/index.ebfbb70f.js";
10
- import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
11
- import { I as ICONS } from "../../icons.8266ccc8.js";
12
- import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
13
- import { a6 as EditAreaHeader, a7 as AreasAdminRoot } from "../../../../styles/index.ccd8acc4.js";
9
+ import { g as getComponentUtilityClass } from "../../../../utils/index-DiMrtgIu.js";
10
+ import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants-rqODZNZe.js";
11
+ import { I as ICONS } from "../../icons-CwFr-alN.js";
12
+ import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary-YUsP9beq.js";
13
+ import { a6 as EditAreaHeader, a7 as AreasAdminRoot } from "../../../../styles/index-Cc9p_h7i.js";
14
14
  import { useResponsiveDesktop } from "@m4l/graphics";
15
15
  import { shallow } from "zustand/shallow";
16
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c24bd476.js";
17
- import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.acc30d9b.js";
18
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.5b124af3.js";
19
- import { A as Actions } from "../../../CommonActions/components/Actions/index.ea4c273b.js";
20
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c1185f46.js";
21
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.185199da.js";
22
- import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
23
- import { P as Popover } from "../../../mui_extended/Popover/index.1fafd106.js";
24
- import { T as Typography } from "../../../mui_extended/Typography/index.61dd3fc6.js";
25
- import { S as ScrollBar } from "../../../ScrollBar/index.45b8db89.js";
16
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index-CUz70BPj.js";
17
+ import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-B4a0h0fX.js";
18
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index-Cz7BMTLe.js";
19
+ import { A as Actions } from "../../../CommonActions/components/Actions/index-B_vOmNZT.js";
20
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-BlaMdPmp.js";
21
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-DGooFqVu.js";
22
+ import { I as IconButton } from "../../../mui_extended/IconButton/index-BfDbi0cC.js";
23
+ import { P as Popover } from "../../../mui_extended/Popover/index-C6_2t4L1.js";
24
+ import { T as Typography } from "../../../mui_extended/Typography/index-DKPqV11f.js";
25
+ import { S as ScrollBar } from "../../../ScrollBar/index-BpTjE7o3.js";
26
26
  import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
27
- import { B as Button } from "../../../mui_extended/Button/index.ca15c36e.js";
28
- import { I as Icon } from "../../../Icon/index.0f315ccd.js";
29
- import { u as useOnClickOutside } from "../../index.4cc6a221.js";
27
+ import { B as Button } from "../../../mui_extended/Button/index-DlzpoczE.js";
28
+ import { I as Icon } from "../../../Icon/index-CedboS6y.js";
29
+ import { u as useOnClickOutside } from "../../index-B_Odny9h.js";
30
30
  const areasAdminClasses = generateUtilityClasses(
31
31
  AREAS_ADMIN_CLASS_NAME,
32
32
  [
33
+ /* elements */
33
34
  "root",
34
35
  "rootContent",
35
36
  "areaChipRoot",
@@ -50,6 +51,7 @@ const areasAdminClasses = generateUtilityClasses(
50
51
  "areasPopoverListWindows",
51
52
  "areasPopoverListWindowsIcon",
52
53
  "areaContentChips",
54
+ /* states or variants of elements */
53
55
  "selected",
54
56
  "isMobile",
55
57
  "disabled",
@@ -1,5 +1,5 @@
1
1
  import { AreasViewerClasses } from './types';
2
2
  import { OwnerState } from '../../../contexts/AreasContext/types';
3
3
  export declare const areasViewerClasses: AreasViewerClasses;
4
- export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "panelWindowsSeparator" | "loaderContainer" | "containerComponent" | "windowToastyContainer", string>;
4
+ export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "panelWindowsSeparator" | "loaderContainer" | "containerComponent", string>;
5
5
  export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
@@ -17,14 +17,6 @@ export interface AreasViewerClasses {
17
17
  windowLinearProgressBar: string;
18
18
  windowPopupRoot: string;
19
19
  windowModalRoot: string;
20
- windowToastiesContainer: string;
21
- windowToastiesContainerTostys: string;
22
- windowToastyContainer: string;
23
- windowToastyMeesageButtonsContainer: string;
24
- windowToastyMessage: string;
25
- windowToastyButtonsContainer: string;
26
- windowToastyPin: string;
27
- windowToastyClose: string;
28
20
  panelWindowsRoot: string;
29
21
  panelWindowsButtonContainer: string;
30
22
  panelWindowsSeparator: string;
@@ -1,38 +1,39 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.ccd8acc4.js";
2
+ import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index-Cc9p_h7i.js";
3
3
  import { shallow } from "zustand/shallow";
4
4
  import React__default, { useMemo, useEffect } from "react";
5
5
  import clsx from "clsx";
6
- import { u as useAreasStore } from "../../hooks/useAreas/index.ba948f80.js";
6
+ import { u as useAreasStore } from "../../hooks/useAreas/index-o0DvT3xZ.js";
7
7
  import { generateUtilityClasses, Skeleton } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { g as getComponentUtilityClass } from "../../../../utils/index.ebfbb70f.js";
10
- import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
9
+ import { g as getComponentUtilityClass } from "../../../../utils/index-DiMrtgIu.js";
10
+ import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants-rqODZNZe.js";
11
11
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
12
- import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.c24bd476.js";
12
+ import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index-CUz70BPj.js";
13
13
  import { useResponsiveDesktop } from "@m4l/graphics";
14
- import { I as ICONS } from "../../icons.8266ccc8.js";
15
- import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
16
- import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
17
- import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.6d1605ff.js";
18
- import { I as Icon } from "../../../Icon/index.0f315ccd.js";
19
- import { T as Typography } from "../../../mui_extended/Typography/index.61dd3fc6.js";
20
- import { M as MFLoader } from "../../../MFLoader/index.cc350d72.js";
21
- import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.992ae7a3.js";
22
- import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
23
- import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.4092bb69.js";
24
- import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
25
- import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
26
- import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.1a5c5df1.js";
27
- import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.15d0ca85.js";
28
- import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.dc0a1ce0.js";
14
+ import { I as ICONS } from "../../icons-CwFr-alN.js";
15
+ import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary-YUsP9beq.js";
16
+ import { I as IconButton } from "../../../mui_extended/IconButton/index-BfDbi0cC.js";
17
+ import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index-Do7CKcow.js";
18
+ import { I as Icon } from "../../../Icon/index-CedboS6y.js";
19
+ import { T as Typography } from "../../../mui_extended/Typography/index-DKPqV11f.js";
20
+ import { M as MFLoader } from "../../../MFLoader/index-Bcg9TXnJ.js";
21
+ import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index-DkE30fhm.js";
22
+ import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index-22c6E7vK.js";
23
+ import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock-CF-669v-.js";
24
+ import { g as getNameDataTestId } from "../../../../test/getNameDataTestId-BaBTWhBr.js";
25
+ import { c as createToaster, T as ToastContainer } from "../../../ToastContainer/index-B5VGIn45.js";
26
+ import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index-Dyj8tCdG.js";
27
+ import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index-OWN-RzRq.js";
28
+ import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index-bpKDnaCd.js";
29
29
  import { useLocation } from "react-router-dom";
30
- import { L as LoadingError } from "../../../LoadingError/index.c5a70390.js";
31
- import { c as cjs } from "../../../../react-draggable.df62ccbd.js";
32
- import { R as ResizeableWindow } from "../../../Resizeable/index.0ffd46bc.js";
30
+ import { L as LoadingError } from "../../../LoadingError/index-CNh7b1ew.js";
31
+ import { a as Draggable } from "../../../../react-draggable-DsCPdgQP.js";
32
+ import { R as ResizeableWindow } from "../../../Resizeable/index-ObbOlXFx.js";
33
33
  const areasViewerClasses = generateUtilityClasses(
34
34
  AREAS_VIEWER_CLASS_NAME,
35
35
  [
36
+ /* elements */
36
37
  "root",
37
38
  "areaRoot",
38
39
  "areaGridLayoutPanelContainer",
@@ -51,14 +52,6 @@ const areasViewerClasses = generateUtilityClasses(
51
52
  "windowLinearProgressRoot",
52
53
  "windowLinearProgressBar",
53
54
  "windowRootContainer",
54
- "windowToastiesContainer",
55
- "windowToastiesContainerTostys",
56
- "windowToastyContainer",
57
- "windowToastyMeesageButtonsContainer",
58
- "windowToastyMessage",
59
- "windowToastyButtonsContainer",
60
- "windowToastyPin",
61
- "windowToastyClose",
62
55
  "panelWindowsRoot",
63
56
  "panelWindowsButtonContainer",
64
57
  "panelWindowsSeparator",
@@ -66,6 +59,8 @@ const areasViewerClasses = generateUtilityClasses(
66
59
  "resizeHandle",
67
60
  "loaderContainer",
68
61
  "containerComponent",
62
+ /* states or variants of elements */
63
+ // 'active',
69
64
  "selected",
70
65
  "colapsed",
71
66
  "selectedWindow",
@@ -111,14 +106,6 @@ const useAreasViewerUtilityClasses = (ownerState) => {
111
106
  windowPopupRoot: ["windowPopupRoot"],
112
107
  windowModalRoot: ["windowModalRoot"],
113
108
  selectedWindow: ["selectedWindow"],
114
- windowToastiesContainer: ["windowToastiesContainer"],
115
- windowToastiesContainerTostys: ["windowToastiesContainerTostys"],
116
- windowToastyContainer: ["windowToastiesContainer"],
117
- windowToastyMeesageButtonsContainer: ["windowToastyMeesageButtonsContainer"],
118
- windowToastyMessage: ["windowToastyMessage"],
119
- windowToastyButtonsContainer: ["windowToastyButtonsContainer"],
120
- windowToastyPin: ["windowToastyPin"],
121
- windowToastyClose: ["windowToastyClose"],
122
109
  panelWindowsRoot: ["panelWindowsRoot"],
123
110
  panelWindowsButtonContainer: ["panelWindowsButtonContainer"],
124
111
  panelWindowsSeparator: ["panelWindowsSeparator"],
@@ -208,6 +195,7 @@ function getMenuActions(options) {
208
195
  onClick: () => saveModuleCookies(windowId),
209
196
  disabled: false,
210
197
  visibility: "normal",
198
+ /* dictionaryId: getAreasDictionary(DICCTIONARY.label_persist_module_cookies), */
211
199
  label: getLabel(getAreasDictionary(DICCTIONARY.label_persist_module_cookies)),
212
200
  key: "save_cookies"
213
201
  };
@@ -218,6 +206,7 @@ function getMenuActions(options) {
218
206
  disabled: false,
219
207
  visibility: "normal",
220
208
  label: getLabel(getAreasDictionary(DICCTIONARY.label_reset_module_cookies)),
209
+ /* dictionaryId: getAreasDictionary(DICCTIONARY.label_reset_module_cookies), */
221
210
  key: "reset_cookes"
222
211
  };
223
212
  menuActions.push(resetCookiesAction);
@@ -279,6 +268,7 @@ function Header(props) {
279
268
  window.version,
280
269
  window.windowOptions,
281
270
  window.fnQueryClose
271
+ // window.colapsed,
282
272
  ];
283
273
  }, shallow);
284
274
  const { saveModuleCookies, resetModuleCookies } = useAreasStore(
@@ -405,65 +395,6 @@ const Component = (props) => {
405
395
  return /* @__PURE__ */ jsx(WindowToolsMFProvider, { ...windowTools, children: /* @__PURE__ */ jsx(DynamicMFParmsProvider, { store: dynamicMFStore, children: /* @__PURE__ */ jsx("div", { className: areasViewerClasses.containerComponent, children: typeof component === "function" ? component({ windowTools, dynamicMFStore }) : component }) }) });
406
396
  };
407
397
  React__default.memo(Component);
408
- function Toasty(props) {
409
- const { windowId, toastyId } = props;
410
- const toasty = useAreasStore(
411
- (state) => state.hashWindows[windowId].hashToasties[toastyId],
412
- shallow
413
- );
414
- const { pinToast: pinToasty, closeToast: closeToasty } = useAreasStore(
415
- (state) => state.windowActions,
416
- shallow
417
- );
418
- const { host_static_assets, environment_assets } = useEnvironment();
419
- return /* @__PURE__ */ jsx(
420
- "div",
421
- {
422
- className: clsx(areasViewerClasses.windowToastyContainer, areasViewerClasses[toasty.type]),
423
- children: /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.windowToastyMeesageButtonsContainer, children: [
424
- /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.windowToastyMessage, children: [
425
- toasty.timer ? /* @__PURE__ */ jsx(LinearProgress, { variant: "determinate", value: toasty.percentExecuted }) : null,
426
- toasty.message
427
- ] }),
428
- /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.windowToastyButtonsContainer, children: [
429
- /* @__PURE__ */ jsx(
430
- IconButton,
431
- {
432
- className: clsx(
433
- areasViewerClasses.windowToastyPin,
434
- toasty.timer ? null : areasViewerClasses.pinIn
435
- ),
436
- onClick: () => {
437
- pinToasty(windowId, toastyId);
438
- },
439
- src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.TOASTY_PIN}`
440
- }
441
- ),
442
- /* @__PURE__ */ jsx(
443
- IconButton,
444
- {
445
- className: areasViewerClasses.windowToastyClose,
446
- onClick: () => {
447
- closeToasty(windowId, toastyId);
448
- },
449
- src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.TOASTY_CLOSE}`
450
- }
451
- )
452
- ] })
453
- ] })
454
- }
455
- );
456
- }
457
- function Toasties(props) {
458
- const { windowId } = props;
459
- const tosties = useAreasStore((state) => state.hashWindows[windowId].toasties, shallow);
460
- if (tosties.length === 0) {
461
- return null;
462
- }
463
- return /* @__PURE__ */ jsx("div", { className: areasViewerClasses.windowToastiesContainer, children: /* @__PURE__ */ jsx("div", { className: areasViewerClasses.windowToastiesContainerTostys, children: tosties.map((t) => {
464
- return /* @__PURE__ */ jsx(Toasty, { windowId, toastyId: t.id }, t.id);
465
- }) }) });
466
- }
467
398
  const Window = (props) => {
468
399
  const { areaId, windowId } = props;
469
400
  const [emergeType, moduleId, winType] = useAreasStore((state) => {
@@ -495,7 +426,6 @@ const Window = (props) => {
495
426
  close,
496
427
  startProgress,
497
428
  stopProgress,
498
- toast,
499
429
  setFnQueryClose
500
430
  } = useAreasStore((state) => state.windowActions, shallow);
501
431
  const { selectLayout } = useAreasStore((state) => state.areaActions, shallow);
@@ -522,9 +452,7 @@ const Window = (props) => {
522
452
  setFnQueryClose: (fnQueryClose) => {
523
453
  setFnQueryClose(windowId, fnQueryClose);
524
454
  },
525
- toast: (toastyOptions) => {
526
- toast(windowId, toastyOptions);
527
- }
455
+ toast: createToaster(windowId)
528
456
  }),
529
457
  []
530
458
  );
@@ -557,15 +485,20 @@ const Window = (props) => {
557
485
  } : {},
558
486
  children: /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.windowRootContainer, children: [
559
487
  /* @__PURE__ */ jsx(Header, { areaId, windowId, emergeType }),
560
- /* @__PURE__ */ jsx(Toasties, { windowId }),
488
+ /* @__PURE__ */ jsx(ToastContainer, { fixed: false, position: "top-center", containerId: windowId }),
561
489
  /* @__PURE__ */ jsxs(
562
490
  "div",
563
491
  {
564
492
  className: clsx(
565
493
  areasViewerClasses.windowContent
494
+ // colapsed ? areasViewerClasses.colapsed : null,
566
495
  ),
567
496
  children: [
568
- status === "init" ? /* @__PURE__ */ jsx(Fragment, { children: "Cargando..." }) : null,
497
+ status === "init" ? (
498
+ /* validar uso */
499
+ /* Todo: Validar agregar nuevo componente de carga. */
500
+ /* @__PURE__ */ jsx(Fragment, { children: "Cargando..." })
501
+ ) : null,
569
502
  status === "loaded" ? winType === "microfrontend" ? /* @__PURE__ */ jsx(
570
503
  MemonizedMicroFrontend,
571
504
  {
@@ -793,7 +726,7 @@ const WindowModal = (props) => {
793
726
  const isDesktop = useResponsiveDesktop();
794
727
  const DragabblePaperComponent = (_props) => {
795
728
  return /* @__PURE__ */ jsx(
796
- cjs.exports,
729
+ Draggable,
797
730
  {
798
731
  handle: ".m4l_draggable_handle",
799
732
  bounds: "parent",
@@ -1,6 +1,6 @@
1
1
  import { WritableDraft } from 'immer/dist/internal';
2
2
  import type { Area, AreasStateWithActions } from './types';
3
- import type { WindowState, WindowStateProps } from '../../types';
3
+ import type { WindowState } from '../../types';
4
4
  export declare const PADDING_GRIDLAYOUT = 11;
5
5
  export declare const MARGIN_GRIDLAYOUT = 11;
6
6
  export declare const DEBOUCED_SAVE_TIME = 500;
@@ -43,7 +43,7 @@ export declare const RESPONSIVE_ROW_HEIGHTS: {
43
43
  lg: number;
44
44
  };
45
45
  import { Layouts } from '../../../GridLayout/types';
46
- export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading' | 'toasties' | 'toastyCount' | 'hashToasties'>;
46
+ export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading'>;
47
47
  export declare const DEFAULT_AREA: Omit<Area, 'id' | 'name' | 'viewMode'>;
48
48
  /**
49
49
  * @description Función de apoyo que crea un área de trabajo,
@@ -63,11 +63,8 @@ export declare const getCurrentArea: (state: WritableDraft<AreasStateWithActions
63
63
  export declare const getParmsFromValue: (key: string, data: []) => any;
64
64
  export declare function setColapsedLayoutBreakPoints(state: WritableDraft<Area>, layoutId: string, colapsed: boolean): void;
65
65
  export declare function deleteLayoutFromBreakPoints(state: WritableDraft<Area>, layoutId?: string): void;
66
- export declare function purgeToastsWindow(state: WritableDraft<AreasStateWithActions>, windowId: string): void;
67
- export declare function purgeToastsArea(state: WritableDraft<AreasStateWithActions>, areaId: string): void;
68
66
  export declare function getDataFromResponse(data: any, state: WritableDraft<AreasStateWithActions>, areaId: string): {
69
67
  newBreakPointsLayouts: Layouts;
70
68
  newHashLayoutItems: string[];
71
69
  };
72
70
  export declare function getCookiesContainer(data: any, containerId: string): Record<string, any>;
73
- export declare const verifyRemoveToasty: (state: WritableDraft<WindowStateProps>, toastyId: number, forceRemove?: boolean | undefined) => void;