@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,14 +1,14 @@
1
1
  import { styled, alpha, Skeleton, Popover, IconButton, Stack, Tabs, Dialog, ListItemText, ListItemButton } from "@mui/material";
2
2
  import { styled as styled$1, alpha as alpha$1 } from "@mui/material/styles";
3
3
  import SimpleBarReact from "simplebar-react";
4
- import { h as gridLayoutClasses } from "../components/GridLayout/index.2b9bc85c.js";
5
- import { a as ResizableBox } from "../react-resizable.c746880c.js";
6
- import { a as areasAdminClasses } from "../components/areas/components/AreasAdmin/index.cb60f940.js";
7
- import { a as areasViewerClasses } from "../components/areas/components/AreasViewer/index.350ee032.js";
8
- import { g as gpsToolsClasses } from "../components/maps/components/GpsTools/index.7628172f.js";
9
- import { R as RHFormProvider } from "../contexts/RHFormContext/index.acc30d9b.js";
10
- import { S as Stack$1 } from "../components/mui_extended/Stack/index.b8c3b40b.js";
11
- import { I as Image } from "../components/Image/index.32b58ce4.js";
4
+ import { h as gridLayoutClasses } from "../components/GridLayout/index-HK_hTGnZ.js";
5
+ import { a as ResizableBox } from "../react-resizable-eBbFl2dX.js";
6
+ import { a as areasAdminClasses } from "../components/areas/components/AreasAdmin/index-qqSduaty.js";
7
+ import { a as areasViewerClasses } from "../components/areas/components/AreasViewer/index-D5If8gFK.js";
8
+ import { g as gpsToolsClasses } from "../components/maps/components/GpsTools/index-BP1dIwh6.js";
9
+ import { R as RHFormProvider } from "../contexts/RHFormContext/index-B4a0h0fX.js";
10
+ import { S as Stack$1 } from "../components/mui_extended/Stack/index-CV2W-_eL.js";
11
+ import { I as Image } from "../components/Image/index-B7FhR9uF.js";
12
12
  const RootStyle$1 = styled("div", {
13
13
  shouldForwardProp: (props) => props !== "variant"
14
14
  })(({ theme, variant }) => ({
@@ -57,6 +57,7 @@ const AnimatedScrollRoot = styled$1("div")(() => ({
57
57
  overflowX: "auto",
58
58
  overflowY: "hidden",
59
59
  transition: "scroll-behavior 0.5s",
60
+ /* Otras propiedades CSS aquí */
60
61
  scrollbarWidth: "none",
61
62
  msOverflowStyle: "none",
62
63
  "&::-webkit-scrollbar": {
@@ -79,11 +80,15 @@ const DivIcon = styled$1("div", {
79
80
  ...rotationAngle && {
80
81
  transform: `rotate(${rotationAngle}deg)`
81
82
  }
83
+ /* ...(angleTransition &&
84
+ rotationAngle && {
85
+ transition: `transform ${angleTransition}s ease-in-out`,
86
+ }), */
82
87
  }));
83
88
  const IconButtonRoot = styled$1("div")(({ theme }) => ({
84
89
  ...theme.components?.M4LIconButton?.styleOverrides
85
90
  }));
86
- const react_resizable_css$1 = {};
91
+ const react_resizable_css = {};
87
92
  const GridLayoutRoot = styled$1("div")`
88
93
  overflow: auto;
89
94
  position: relative;
@@ -238,7 +243,7 @@ const GridLayoutRoot = styled$1("div")`
238
243
  display: none;
239
244
  }
240
245
 
241
- ${react_resizable_css$1}
246
+ ${react_resizable_css}
242
247
  ${(props) => props.theme.components?.M4LGridLayout?.styleOverrides}
243
248
  `;
244
249
  styled$1("div")(({ theme }) => ({
@@ -269,6 +274,7 @@ const AvatarRoot = styled("div")(({ theme }) => ({
269
274
  ...theme.components?.M4LAvatar?.styleOverrides
270
275
  }));
271
276
  const ButtonRoot = styled$1("div")(({ theme }) => ({
277
+ /* Styles overrides of m4l_styles */
272
278
  ...theme.components?.M4LButton?.styleOverrides
273
279
  }));
274
280
  styled$1(Skeleton)(({ theme }) => ({
@@ -291,6 +297,7 @@ const WrapperImageButton = styled$1("div")(({ theme }) => ({
291
297
  ...theme.components?.M4LImageButton?.styleOverrides
292
298
  }));
293
299
  const LoadingButtonRoot = styled("div")(({ theme }) => ({
300
+ /* Styles overrides of m4l_styles */
294
301
  ...theme.components?.M4LLoadingButton?.styleOverrides
295
302
  }));
296
303
  const PopoverRoot = styled$1(Popover)(({ theme }) => ({
@@ -301,6 +308,7 @@ const LabelMemuItem = styled$1("div")(({ theme }) => ({
301
308
  height: "22px",
302
309
  overflow: "hidden",
303
310
  wordBreak: "break-all",
311
+ // padding: '0px',
304
312
  marginLeft: theme.spacing(1.5),
305
313
  display: "flex",
306
314
  alignItems: "center"
@@ -324,6 +332,7 @@ const SKTTabWrapper = styled$1("div")(({ theme }) => ({
324
332
  padding: theme.spacing(1.5, 2)
325
333
  }));
326
334
  const WrapperResizeable = styled$1(ResizableBox)(({ theme }) => ({
335
+ // variante desktop
327
336
  "&.react-resizable": {
328
337
  position: "relative",
329
338
  width: "100%",
@@ -360,6 +369,7 @@ const WrapperResizeable = styled$1(ResizableBox)(({ theme }) => ({
360
369
  backgroundRepeat: "no-repeat",
361
370
  backgroundOrigin: "content-box",
362
371
  boxSizing: "border-box",
372
+ /* background-image: url('data:image/svg+xml',base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+')', */
363
373
  backgroundColor: theme.vars.palette.action.active,
364
374
  mask: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
365
375
  backgroundImage: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
@@ -381,6 +391,7 @@ const WrapperResizeable = styled$1(ResizableBox)(({ theme }) => ({
381
391
  "& .M4LImage-img": {
382
392
  opacity: "0.5",
383
393
  filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)"
394
+ // '-webkitUserDrag': 'none',
384
395
  }
385
396
  },
386
397
  "& .M4LImage-root.custom-handle.custom-handle-nw": {
@@ -391,6 +402,7 @@ const WrapperResizeable = styled$1(ResizableBox)(({ theme }) => ({
391
402
  "& .M4LImage-img": {
392
403
  opacity: "0.5",
393
404
  filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)"
405
+ // '-webkitUserDrag': 'none',
394
406
  }
395
407
  },
396
408
  "& .react-resizable-handle-ne": {
@@ -492,6 +504,13 @@ const ContainerCheckTypography = styled$1("div")(() => ({
492
504
  alignItems: "center"
493
505
  }));
494
506
  const WrapperStandarActions = styled$1("div")(({ theme }) => ({
507
+ // paddingTop: theme.spacing(3),
508
+ // display: 'flex',
509
+ // flexDirection: 'row',
510
+ // justifyContent: 'flex-end',
511
+ // '& > button': {
512
+ // marginLeft: '10px',
513
+ // },
495
514
  ...theme.components?.M4LCommonActions?.styleOverrides
496
515
  }));
497
516
  const RHFDateTimeRoot = styled("div")(({ theme }) => ({
@@ -514,6 +533,7 @@ const WrapperSkeletonRHFTextField = styled$1("div")(({ theme }) => ({
514
533
  gap: "4px"
515
534
  }));
516
535
  const RHFTextFieldRoot = styled$1("div")(({ theme }) => ({
536
+ /* Styles overrides of m4l_styles */
517
537
  ...theme.components?.M4LRHFTextField?.styleOverrides
518
538
  }));
519
539
  styled$1("div")(({ theme }) => ({
@@ -692,7 +712,6 @@ styled$1(SimpleBarReact)(({ theme }) => ({
692
712
  }
693
713
  }
694
714
  }));
695
- const react_resizable_css = ".react-resizable {\n position: relative;\n}\n.react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n background-repeat: no-repeat;\n background-origin: content-box;\n box-sizing: border-box;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');\n background-position: bottom right;\n padding: 0 3px 3px 0;\n}\n.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-resizable-handle-w,\n.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-resizable-handle-n,\n.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}";
696
715
  const AreasViewerRoot = styled$1("div")`
697
716
  /* display: flex; */
698
717
  width: 100%;
@@ -809,8 +828,6 @@ const AreasViewerRoot = styled$1("div")`
809
828
  padding: 16px;
810
829
  }
811
830
 
812
- ${react_resizable_css}
813
-
814
831
  ${(props) => props.theme.components?.M4LAreasViewer?.styleOverrides}
815
832
  `;
816
833
  const LinearProgressIndeterminateRoot = styled("div")(({ theme }) => ({
@@ -839,9 +856,9 @@ const WindowRoot = styled("div")`
839
856
  }
840
857
 
841
858
  // windowHeader
842
- /*
859
+ /*
843
860
  &.${areasViewerClasses.loading} .${areasViewerClasses.windowHeader} {
844
- border-bottom: 2px solid red !important;
861
+ border-bottom: 2px solid red !important;
845
862
  }
846
863
  */
847
864
  // windowHeaderTitle
@@ -880,41 +897,211 @@ const WindowRoot = styled("div")`
880
897
  padding: 16px;
881
898
  }
882
899
 
883
- // windowToastiesContainer
884
- & .${areasViewerClasses.windowToastiesContainer} {
885
- padding: 4px;
886
- }
887
-
888
- // windowToastyContainer
889
- & .${areasViewerClasses.windowToastyContainer} {
890
- display: flex;
891
- flex-direction: column;
892
- }
893
- // windowToastyContainer
894
- & .${areasViewerClasses.windowToastyContainer}.${areasViewerClasses.success} {
895
- background-color: ${(props) => props.theme.vars.palette.success.main};
896
- }
897
-
898
- // windowToastyMeesageButtonsContainer
899
- & .${areasViewerClasses.windowToastyMeesageButtonsContainer} {
900
- display: flex;
901
- }
902
900
  & .MuiLinearProgress-root {
903
901
  width: 100%;
904
902
  }
905
903
 
906
- // windowToastyMessage
907
- & .${areasViewerClasses.windowToastyMessage} {
908
- flex-grow: 1;
909
- }
910
-
911
- // windowToastyContainer
912
- & .${areasViewerClasses.windowToastyPin}.${areasViewerClasses.pinIn} {
913
- border: 1px solid red;
914
- }
915
-
916
904
  ${(props) => props.theme.components?.M4LAreasViewerWindow?.styleOverrides}
917
905
  `;
906
+ const toastStyles = {
907
+ root: ({ theme, ownerState }) => ({
908
+ "--toastify-color-light": theme.vars.palette.background.default,
909
+ "--toastify-color-dark": theme.vars.palette.background.default,
910
+ "--toastify-color-info": theme.vars.palette.info.main,
911
+ "--toastify-color-success": theme.vars.palette.success.main,
912
+ "--toastify-color-warning": theme.vars.palette.warning.main,
913
+ "--toastify-color-error": theme.vars.palette.error.main,
914
+ "--toastify-color-transparent": "rgba(255, 255, 255, 0.7)",
915
+ "--toastify-icon-color-info": "var(--toastify-color-info)",
916
+ "--toastify-icon-color-success": "var(--toastify-color-success)",
917
+ "--toastify-icon-color-warning": "var(--toastify-color-warning)",
918
+ "--toastify-icon-color-error": "var(--toastify-color-error)",
919
+ "--toastify-toast-width": "320px",
920
+ "--toastify-toast-background": "#fff",
921
+ "--toastify-toast-min-height": "64px",
922
+ "--toastify-toast-max-height": "800px",
923
+ "--toastify-font-family": "sans-serif",
924
+ "--toastify-z-index": "9999",
925
+ "--toastify-text-color-light": "#757575",
926
+ "--toastify-text-color-dark": "#fff",
927
+ //Used only for colored theme
928
+ "--toastify-text-color-info": "#fff",
929
+ "--toastify-text-color-success": "#fff",
930
+ "--toastify-text-color-warning": "#fff",
931
+ "--toastify-text-color-error": "#fff",
932
+ "--toastify-spinner-color": "#616161",
933
+ "--toastify-spinner-color-empty-area": "#e0e0e0",
934
+ // Used when no type is provided
935
+ // toast("**hello**")
936
+ "--toastify-color-progress-light": "var(--toastify-color-info)",
937
+ // Used when no type is provided
938
+ "--toastify-color-progress-dark": "var(--toastify-color-info)",
939
+ "--toastify-color-progress-info": "var(--toastify-color-info)",
940
+ "--toastify-color-progress-success": "var(--toastify-color-success)",
941
+ "--toastify-color-progress-warning": "var(--toastify-color-warning)",
942
+ "--toastify-color-progress-error": "var(--toastify-color-error)",
943
+ "--toastify-toast-bd-radius": "8px",
944
+ // used to control the opacity of the progress trail
945
+ "--toastify-color-progress-bgo": ".2",
946
+ ...ownerState?.fixed === false ? {
947
+ top: 0,
948
+ position: "absolute",
949
+ zIndex: theme.vars.zIndex.snackbar,
950
+ "@supports (position: sticky)": {
951
+ position: "sticky"
952
+ }
953
+ } : {},
954
+ "& .Toastify": {
955
+ margin: 0,
956
+ padding: 0,
957
+ height: 0
958
+ },
959
+ "& .Toastify__toast-container": {
960
+ display: "flex",
961
+ flexDirection: "column",
962
+ gap: "16px",
963
+ ...ownerState?.fixed === false ? {
964
+ top: "4px",
965
+ position: "absolute"
966
+ } : {},
967
+ [theme.breakpoints.down(480)]: {
968
+ width: "100%",
969
+ minWidth: "100%",
970
+ padding: "0"
971
+ }
972
+ },
973
+ /** Used to define the position of the ToastContainer **/
974
+ ".Toastify__toast-container--top-left": {},
975
+ ".Toastify__toast-container--top-center": {},
976
+ ".Toastify__toast-container--top-right": {},
977
+ ".Toastify__toast-container--bottom-left": {},
978
+ ".Toastify__toast-container--bottom-center": {},
979
+ ".Toastify__toast-container--bottom-right": {},
980
+ "& .Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > *": {
981
+ opacity: 0.2
982
+ },
983
+ /** Classes for the displayed toast **/
984
+ "& .Toastify__toast": {
985
+ minHeight: "min-content",
986
+ margin: "0",
987
+ padding: "0",
988
+ backgroundColor: theme.vars.palette.background.default,
989
+ boxShadow: theme.customShadows?.z3,
990
+ borderRadius: "4px",
991
+ [theme.breakpoints.down(480)]: {
992
+ margin: "1%",
993
+ width: "98% !important"
994
+ }
995
+ },
996
+ ".Toastify__toast--rtl": {},
997
+ "& .Toastify__toast-body": {
998
+ margin: "0px",
999
+ padding: "0px"
1000
+ },
1001
+ /** Used to position the icon **/
1002
+ "& .Toastify__toast-icon": {},
1003
+ /** handle the notification color and the text color based on the theme **/
1004
+ "& .Toastify__toast-theme--dark": {},
1005
+ "& .Toastify__toast-theme--light": {},
1006
+ "& .Toastify__toast-theme--colored.Toastify__toast--default": {},
1007
+ "& .Toastify__toast-theme--colored.Toastify__toast--info": {},
1008
+ "& .Toastify__toast-theme--colored.Toastify__toast--success": {},
1009
+ "& .Toastify__toast-theme--colored.Toastify__toast--warning": {},
1010
+ "& .Toastify__toast-theme--colored.Toastify__toast--error": {},
1011
+ "& .Toastify__progress-bar--wrp": {
1012
+ position: "absolute",
1013
+ top: 0,
1014
+ height: "2px",
1015
+ borderTopLeftRadius: "2px",
1016
+ borderTopRightRadius: "2px",
1017
+ borderBottomLeftRadius: "0",
1018
+ borderBottomRightRadius: "0",
1019
+ overflow: "hidden"
1020
+ },
1021
+ "& .Toastify__progress-bar": {
1022
+ borderTopLeftRadius: "2px",
1023
+ borderBottomLeftRadius: "0",
1024
+ borderBottomRightRadius: "0"
1025
+ },
1026
+ "& .Toastify__progress-bar--rtl": {},
1027
+ "& .Toastify__progress-bar-theme--light": {},
1028
+ "& .Toastify__progress-bar-theme--dark": {},
1029
+ "& .Toastify__progress-bar--info": {},
1030
+ "& .Toastify__progress-bar--success": {},
1031
+ "& .Toastify__progress-bar--warning": {},
1032
+ "& .Toastify__progress-bar--error": {}
1033
+ }),
1034
+ messageRoot: {
1035
+ display: "flex",
1036
+ flexDirection: "column",
1037
+ width: "100%",
1038
+ padding: "4px"
1039
+ },
1040
+ messageHeader: {
1041
+ width: "100%",
1042
+ display: "flex",
1043
+ justifyContent: "space-between",
1044
+ alignItems: "center",
1045
+ height: "24px",
1046
+ minHeight: "24px",
1047
+ gap: "4px"
1048
+ },
1049
+ messageIconRoot: {},
1050
+ messageIcon: ({ theme, ownerState }) => ({
1051
+ "&.M4LIcon-root": {
1052
+ height: "24px",
1053
+ width: "24px",
1054
+ "& > .M4LIcon-icon": {
1055
+ backgroundColor: ownerState?.type === "info" ? theme.vars.palette.info.main : ownerState?.type === "success" ? theme.vars.palette.success.main : ownerState?.type === "warning" ? theme.vars.palette.warning.main : ownerState?.type === "error" ? theme.vars.palette.error.main : theme.vars.palette.info.main
1056
+ }
1057
+ }
1058
+ }),
1059
+ messageTitle: ({ theme }) => ({
1060
+ flex: 1,
1061
+ paddingLeft: "4px",
1062
+ ...theme.colorSchemes.finalTheme.typography.bodyDens,
1063
+ fontWeight: theme.colorSchemes.finalTheme.typography.fontWeightMedium,
1064
+ color: theme.vars.palette.text.primary
1065
+ }),
1066
+ messageDescription: ({ theme }) => ({
1067
+ ...theme.colorSchemes.finalTheme.typography.bodyDens,
1068
+ fontWeight: theme.colorSchemes.finalTheme.typography.fontWeightRegular,
1069
+ color: theme.vars.palette.text.primary,
1070
+ padding: "0 4px 4px 30px"
1071
+ }),
1072
+ messageCloseButton: {
1073
+ border: "none",
1074
+ backgroundColor: "transparent",
1075
+ margin: 0,
1076
+ padding: 0
1077
+ },
1078
+ messageCloseButtonIcon: ({ theme }) => ({
1079
+ "&.M4LIcon-root": {
1080
+ height: "24px",
1081
+ width: "24px",
1082
+ "& > .M4LIcon-icon": {
1083
+ backgroundColor: theme.vars.palette.text.primary,
1084
+ fontsize: "16px"
1085
+ }
1086
+ }
1087
+ }),
1088
+ messagePinButton: {
1089
+ border: "none",
1090
+ backgroundColor: "transparent",
1091
+ margin: 0,
1092
+ padding: 0
1093
+ },
1094
+ messagePinButtonIcon: ({ theme }) => ({
1095
+ "&.M4LIcon-root": {
1096
+ height: "24px",
1097
+ width: "24px",
1098
+ "& > .M4LIcon-icon": {
1099
+ backgroundColor: theme.vars.palette.text.primary,
1100
+ fontsize: "16px"
1101
+ }
1102
+ }
1103
+ })
1104
+ };
918
1105
  styled$1("div")(({ theme }) => ({
919
1106
  display: "flex",
920
1107
  flexDirection: "column",
@@ -923,9 +1110,14 @@ styled$1("div")(({ theme }) => ({
923
1110
  padding: theme.spacing(3)
924
1111
  }));
925
1112
  const WrapperWindowModal = styled$1(Dialog)(({ theme }) => ({
1113
+ // height: '100%',
926
1114
  hola: 1,
927
1115
  backgroundColor: theme.vars.palette.background.paper,
928
- "& .MuiDialog-container": {},
1116
+ "& .MuiDialog-container": {
1117
+ // justifyContent: 'start',
1118
+ // alignItems: 'start',
1119
+ },
1120
+ // position: 'absolute',
929
1121
  "&.m4l_selected": {
930
1122
  borderTop: "1px solid green"
931
1123
  },
@@ -1008,6 +1200,8 @@ const ContainerProgress = styled$1("div")(({ theme }) => ({
1008
1200
  const ContainerMenuItems = styled$1("div")(() => ({
1009
1201
  display: "flex",
1010
1202
  flexDirection: "column"
1203
+ // marginBottom: theme.spacing(1),
1204
+ // paddingBottom: theme.spacing(1),
1011
1205
  }));
1012
1206
  const ContainerImage = styled$1("div")(() => ({
1013
1207
  display: "flex",
@@ -1051,6 +1245,7 @@ const popupsViewerStyles = {
1051
1245
  },
1052
1246
  "& .fade-exit-active": {
1053
1247
  opacity: 0
1248
+ //transition: 'opacity 10ms',
1054
1249
  },
1055
1250
  ...ownerState?.status === "hidden" ? {
1056
1251
  visibility: "hidden",
@@ -1191,6 +1386,7 @@ const HeaderContainer = styled$1("div")(({ theme }) => ({
1191
1386
  display: "flex",
1192
1387
  flexDirection: "row",
1193
1388
  alignItems: "center",
1389
+ // height: theme.spacing(5),
1194
1390
  borderBottom: `1px solid ${theme.vars.palette.divider}`,
1195
1391
  paddingBottom: theme.spacing(3),
1196
1392
  marginBottom: theme.spacing(2),
@@ -1205,6 +1401,8 @@ const IconTitleContainer = styled$1("div")(({ theme }) => ({
1205
1401
  ...theme.colorSchemes.finalTheme.typography.subtitle1
1206
1402
  }));
1207
1403
  const IconHeader = styled$1("div")(({ theme }) => ({
1404
+ // width: "24px",
1405
+ // height: "24px",
1208
1406
  display: "flex",
1209
1407
  alignItems: "center",
1210
1408
  justifyContent: "center",
@@ -1252,9 +1450,6 @@ const SplitDetail = styled("div")(() => ({
1252
1450
  top: "0px",
1253
1451
  bottom: "0px"
1254
1452
  }));
1255
- const ToastContainerRoot = styled("div")(({ theme }) => ({
1256
- ...theme.components?.M4LToastContainer?.styleOverrides
1257
- }));
1258
1453
  const SideBarRoot = styled$1("div")(({ theme }) => ({
1259
1454
  ...theme.components?.M4LSideBar?.styleOverrides
1260
1455
  }));
@@ -1432,7 +1627,7 @@ export {
1432
1627
  SplitLayoutRoot as a0,
1433
1628
  SplitMaster as a1,
1434
1629
  SplitDetail as a2,
1435
- ToastContainerRoot as a3,
1630
+ toastStyles as a3,
1436
1631
  RootStyle$1 as a4,
1437
1632
  AnimatedScrollRoot as a5,
1438
1633
  EditAreaHeader as a6,
@@ -4,7 +4,7 @@ export declare const getNameDataTestId: <T>(ELEMENT_PREFIX: string, ELEMENT_KEY:
4
4
  * @param prefix -
5
5
  * @param keyName
6
6
  */
7
- export declare function getPropDataTestId(prefix: string, keyName: string): {
7
+ export declare function getPropDataTestId(prefix: string | undefined, keyName: string | undefined): {
8
8
  "data-testid": string;
9
9
  } | {
10
10
  "data-testid"?: undefined;
@@ -18,8 +18,7 @@ shims.isFunction = isFunction;
18
18
  shims.isNum = isNum;
19
19
  function findInArray(array, callback) {
20
20
  for (let i = 0, length = array.length; i < length; i++) {
21
- if (callback.apply(callback, [array[i], i, array]))
22
- return array[i];
21
+ if (callback.apply(callback, [array[i], i, array])) return array[i];
23
22
  }
24
23
  }
25
24
  function isFunction(func) {
@@ -48,16 +47,12 @@ const prefixes = ["Moz", "Webkit", "O", "ms"];
48
47
  function getPrefix() {
49
48
  var _window$document;
50
49
  let prop = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
51
- if (typeof window === "undefined")
52
- return "";
50
+ if (typeof window === "undefined") return "";
53
51
  const style = (_window$document = window.document) === null || _window$document === void 0 || (_window$document = _window$document.documentElement) === null || _window$document === void 0 ? void 0 : _window$document.style;
54
- if (!style)
55
- return "";
56
- if (prop in style)
57
- return "";
52
+ if (!style) return "";
53
+ if (prop in style) return "";
58
54
  for (let i = 0; i < prefixes.length; i++) {
59
- if (browserPrefixToKey(prop, prefixes[i]) in style)
60
- return prefixes[i];
55
+ if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i];
61
56
  }
62
57
  return "";
63
58
  }
@@ -107,8 +102,7 @@ domFns.removeUserSelectStyles = removeUserSelectStyles;
107
102
  var _shims$1 = shims;
108
103
  var _getPrefix = _interopRequireWildcard(getPrefix$1);
109
104
  function _getRequireWildcardCache(nodeInterop) {
110
- if (typeof WeakMap !== "function")
111
- return null;
105
+ if (typeof WeakMap !== "function") return null;
112
106
  var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
113
107
  var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
114
108
  return (_getRequireWildcardCache = function(nodeInterop2) {
@@ -116,7 +110,7 @@ function _getRequireWildcardCache(nodeInterop) {
116
110
  })(nodeInterop);
117
111
  }
118
112
  function _interopRequireWildcard(obj, nodeInterop) {
119
- if (!nodeInterop && obj && obj.__esModule) {
113
+ if (obj && obj.__esModule) {
120
114
  return obj;
121
115
  }
122
116
  if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
@@ -151,24 +145,20 @@ function matchesSelector(el, selector) {
151
145
  return (0, _shims$1.isFunction)(el[method]);
152
146
  });
153
147
  }
154
- if (!(0, _shims$1.isFunction)(el[matchesSelectorFunc]))
155
- return false;
148
+ if (!(0, _shims$1.isFunction)(el[matchesSelectorFunc])) return false;
156
149
  return el[matchesSelectorFunc](selector);
157
150
  }
158
151
  function matchesSelectorAndParentsTo(el, selector, baseNode) {
159
152
  let node = el;
160
153
  do {
161
- if (matchesSelector(node, selector))
162
- return true;
163
- if (node === baseNode)
164
- return false;
154
+ if (matchesSelector(node, selector)) return true;
155
+ if (node === baseNode) return false;
165
156
  node = node.parentNode;
166
157
  } while (node);
167
158
  return false;
168
159
  }
169
160
  function addEvent(el, event, handler, inputOptions) {
170
- if (!el)
171
- return;
161
+ if (!el) return;
172
162
  const options = {
173
163
  capture: true,
174
164
  ...inputOptions
@@ -182,8 +172,7 @@ function addEvent(el, event, handler, inputOptions) {
182
172
  }
183
173
  }
184
174
  function removeEvent(el, event, handler, inputOptions) {
185
- if (!el)
186
- return;
175
+ if (!el) return;
187
176
  const options = {
188
177
  capture: true,
189
178
  ...inputOptions
@@ -264,14 +253,11 @@ function getTouch(e, identifier) {
264
253
  return e.targetTouches && (0, _shims$1.findInArray)(e.targetTouches, (t) => identifier === t.identifier) || e.changedTouches && (0, _shims$1.findInArray)(e.changedTouches, (t) => identifier === t.identifier);
265
254
  }
266
255
  function getTouchIdentifier(e) {
267
- if (e.targetTouches && e.targetTouches[0])
268
- return e.targetTouches[0].identifier;
269
- if (e.changedTouches && e.changedTouches[0])
270
- return e.changedTouches[0].identifier;
256
+ if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
257
+ if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
271
258
  }
272
259
  function addUserSelectStyles(doc) {
273
- if (!doc)
274
- return;
260
+ if (!doc) return;
275
261
  let styleEl = doc.getElementById("react-draggable-style-el");
276
262
  if (!styleEl) {
277
263
  styleEl = doc.createElement("style");
@@ -281,15 +267,12 @@ function addUserSelectStyles(doc) {
281
267
  styleEl.innerHTML += ".react-draggable-transparent-selection *::selection {all: inherit;}\n";
282
268
  doc.getElementsByTagName("head")[0].appendChild(styleEl);
283
269
  }
284
- if (doc.body)
285
- addClassName(doc.body, "react-draggable-transparent-selection");
270
+ if (doc.body) addClassName(doc.body, "react-draggable-transparent-selection");
286
271
  }
287
272
  function removeUserSelectStyles(doc) {
288
- if (!doc)
289
- return;
273
+ if (!doc) return;
290
274
  try {
291
- if (doc.body)
292
- removeClassName(doc.body, "react-draggable-transparent-selection");
275
+ if (doc.body) removeClassName(doc.body, "react-draggable-transparent-selection");
293
276
  if (doc.selection) {
294
277
  doc.selection.empty();
295
278
  } else {
@@ -331,8 +314,7 @@ positionFns.snapToGrid = snapToGrid;
331
314
  var _shims = shims;
332
315
  var _domFns = domFns;
333
316
  function getBoundPosition(draggable, x, y) {
334
- if (!draggable.props.bounds)
335
- return [x, y];
317
+ if (!draggable.props.bounds) return [x, y];
336
318
  let {
337
319
  bounds
338
320
  } = draggable.props;
@@ -362,14 +344,10 @@ function getBoundPosition(draggable, x, y) {
362
344
  bottom: (0, _domFns.innerHeight)(boundNodeEl) - (0, _domFns.outerHeight)(node) - node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingBottom) - (0, _shims.int)(nodeStyle.marginBottom)
363
345
  };
364
346
  }
365
- if ((0, _shims.isNum)(bounds.right))
366
- x = Math.min(x, bounds.right);
367
- if ((0, _shims.isNum)(bounds.bottom))
368
- y = Math.min(y, bounds.bottom);
369
- if ((0, _shims.isNum)(bounds.left))
370
- x = Math.max(x, bounds.left);
371
- if ((0, _shims.isNum)(bounds.top))
372
- y = Math.max(y, bounds.top);
347
+ if ((0, _shims.isNum)(bounds.right)) x = Math.min(x, bounds.right);
348
+ if ((0, _shims.isNum)(bounds.bottom)) y = Math.min(y, bounds.bottom);
349
+ if ((0, _shims.isNum)(bounds.left)) x = Math.max(x, bounds.left);
350
+ if ((0, _shims.isNum)(bounds.top)) y = Math.max(y, bounds.top);
373
351
  return [x, y];
374
352
  }
375
353
  function snapToGrid(grid, pendingX, pendingY) {
@@ -385,8 +363,7 @@ function canDragY(draggable) {
385
363
  }
386
364
  function getControlPosition(e, touchIdentifier, draggableCore) {
387
365
  const touchObj = typeof touchIdentifier === "number" ? (0, _domFns.getTouch)(e, touchIdentifier) : null;
388
- if (typeof touchIdentifier === "number" && !touchObj)
389
- return null;
366
+ if (typeof touchIdentifier === "number" && !touchObj) return null;
390
367
  const node = findDOMNode(draggableCore);
391
368
  const offsetParent = draggableCore.props.offsetParent || node.offsetParent || node.ownerDocument.body;
392
369
  return (0, _domFns.offsetXYFromParent)(touchObj || e, offsetParent, draggableCore.props.scale);
@@ -492,13 +469,11 @@ function _toPropertyKey(arg) {
492
469
  return typeof key === "symbol" ? key : String(key);
493
470
  }
494
471
  function _toPrimitive(input, hint) {
495
- if (typeof input !== "object" || input === null)
496
- return input;
472
+ if (typeof input !== "object" || input === null) return input;
497
473
  var prim = input[Symbol.toPrimitive];
498
474
  if (prim !== void 0) {
499
475
  var res = prim.call(input, hint || "default");
500
- if (typeof res !== "object")
501
- return res;
476
+ if (typeof res !== "object") return res;
502
477
  throw new TypeError("@@toPrimitive must return a primitive value.");
503
478
  }
504
479
  return (hint === "string" ? String : Number)(input);
package/utils/index.d.ts CHANGED
@@ -3,6 +3,6 @@ import { Palette, Theme } from '@mui/material/styles';
3
3
  import { VariantColor } from './types';
4
4
  export declare function isValidDate(d: Date): boolean;
5
5
  export declare const getPaletteColor: (palette: Palette, s: string) => any;
6
- export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "warning" | "info" | "primary";
6
+ export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "info" | "warning" | "primary";
7
7
  export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
8
8
  export declare function getComponentUtilityClass(componentName: string): (slot: string) => string;