@m4l/components 0.2.13 → 0.2.15

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 (320) hide show
  1. package/@types/export.d.ts +7 -16
  2. package/{commonjs.333e55c7.js → commonjs.565e6834.js} +0 -5
  3. package/components/AccountPopover/index.d.ts +0 -1
  4. package/components/AccountPopover/{index.7060320a.js → index.da84c424.js} +12 -22
  5. package/components/AppBar/AppBar.d.ts +0 -24
  6. package/components/AppBar/classes/index.d.ts +0 -2
  7. package/components/AppBar/classes/types.d.ts +0 -2
  8. package/components/AppBar/{index.c8e7b25c.js → index.46f2db0a.js} +7 -45
  9. package/components/AppBar/types.d.ts +0 -14
  10. package/components/CommonActions/components/ActionCancel/{index.82313aef.js → index.06365996.js} +2 -2
  11. package/components/CommonActions/components/ActionFormCancel/index.2c1fff45.js +70 -0
  12. package/components/CommonActions/components/ActionFormIntro/{index.29891df9.js → index.885f49af.js} +2 -2
  13. package/components/CommonActions/components/ActionIntro/{index.c70ae272.js → index.b97cfeec.js} +2 -2
  14. package/components/CommonActions/components/Actions/index.8368ac0f.js +74 -0
  15. package/components/DataGrid/assets/icons/datagrid.svg +4 -0
  16. package/components/DataGrid/formatters/ColumnSetCheckFormatter/index.d.ts +9 -0
  17. package/components/DataGrid/formatters/ColumnSetCheckFormatter/types.d.ts +6 -0
  18. package/components/DataGrid/formatters/columnPointsFormatter/{index.a19b7b90.js → index.5e645334.js} +1 -1
  19. package/components/DataGrid/{index.387652a9.js → index.e127cac8.js} +54 -732
  20. package/components/DataGrid/subcomponents/Actions/index.5947f820.js +591 -0
  21. package/components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js +64 -0
  22. package/components/DragResizeWindow/DragResizeWindow.d.ts +15 -0
  23. package/components/DragResizeWindow/classes/index.d.ts +6 -0
  24. package/components/DragResizeWindow/classes/types.d.ts +8 -0
  25. package/components/DragResizeWindow/constants.d.ts +3 -0
  26. package/components/DragResizeWindow/index.67aa1e22.js +445 -0
  27. package/components/DragResizeWindow/index.d.ts +2 -0
  28. package/components/DragResizeWindow/types.d.ts +169 -0
  29. package/components/DragResizeWindow/utils.d.ts +2 -0
  30. package/components/DynamicFilter/classes/index.d.ts +1 -1
  31. package/components/DynamicFilter/classes/types.d.ts +0 -1
  32. package/components/DynamicFilter/{index.9e9885b0.js → index.068ca09c.js} +25 -96
  33. package/components/GridLayout/{index.68093cfb.js → index.367e44f9.js} +8 -63
  34. package/components/GridLayout/index.d.ts +1 -1
  35. package/components/GridLayout/subcomponents/Griditem/{index.8e4af155.js → index.b3c79b77.js} +3 -3
  36. package/components/GridLayout/subcomponents/Responsive/{index.c32210fc.js → index.4234d9f3.js} +1 -1
  37. package/components/GridLayout/subcomponents/SizeProvider/index.0676f896.js +62 -0
  38. package/components/GridLayout/subcomponents/{WidthProvider → withSizeProvider}/index.d.ts +1 -1
  39. package/components/HelperText/{index.918bba47.js → index.7d2afdb3.js} +2 -23
  40. package/components/Icon/index.aa9949f0.js +147 -0
  41. package/components/Icon/types.d.ts +0 -1
  42. package/components/Image/{index.d684bdf2.js → index.d5fed0ab.js} +5 -47
  43. package/components/Image/types.d.ts +2 -2
  44. package/components/LanguagePopover/{index.424bad09.js → index.02987c68.js} +4 -20
  45. package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.2d53ade4.js} +1 -1
  46. package/components/LoadingError/{index.b3e4e8e5.js → index.991393ca.js} +5 -23
  47. package/components/MFLoader/{index.3d17dfc3.js → index.b928e361.js} +13 -22
  48. package/components/ModalDialog/{index.40f6571e.js → index.a30831c9.js} +5 -5
  49. package/components/NavLink/{index.ed4c0609.js → index.b75c91e1.js} +2 -22
  50. package/components/NoItemSelected/{index.5ed80b8e.js → index.1ddc6a38.js} +1 -1
  51. package/components/ObjectLogs/{index.3a939c6b.js → index.546bf5bf.js} +7 -84
  52. package/components/Page/{index.890fbaac.js → index.c3767243.js} +1 -1
  53. package/components/PaperForm/classes/index.d.ts +1 -2
  54. package/components/PaperForm/classes/types.d.ts +0 -1
  55. package/components/PaperForm/{index.013ed28b.js → index.27dafbcc.js} +6 -11
  56. package/components/PaperForm/types.d.ts +1 -4
  57. package/components/Period/{index.3bd05e05.js → index.288a0ec2.js} +5 -88
  58. package/components/PopupsProvider/classes/index.d.ts +11 -0
  59. package/components/PopupsProvider/classes/types.d.ts +9 -0
  60. package/components/PopupsProvider/constants.d.ts +10 -0
  61. package/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +19 -0
  62. package/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +7 -0
  63. package/components/PopupsProvider/contexts/PopupsContext/index.d.ts +1 -0
  64. package/components/PopupsProvider/contexts/PopupsContext/store.d.ts +16 -0
  65. package/components/PopupsProvider/contexts/PopupsContext/types.d.ts +117 -0
  66. package/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +3 -0
  67. package/components/PopupsProvider/index.ae1bd010.js +247 -0
  68. package/components/PopupsProvider/index.d.ts +2 -0
  69. package/components/PopupsProvider/subcomponents/Popup/index.d.ts +8 -0
  70. package/components/PopupsProvider/subcomponents/Popup/types.d.ts +16 -0
  71. package/components/PopupsProvider/subcomponents/PopupsContainer/index.d.ts +2 -0
  72. package/components/PopupsProvider/subcomponents/PopupsContainer/types.d.ts +1 -0
  73. package/components/PrintingSystem/{index.70234425.js → index.b69edc07.js} +44 -20
  74. package/components/PrintingSystem/subcomponents/BodyNode/{index.1dd418aa.js → index.81da2c9c.js} +1 -1
  75. package/components/PrintingSystem/subcomponents/ChartNode/{index.6aadd6b3.js → index.1863bcf1.js} +4 -4
  76. package/components/PrintingSystem/subcomponents/DividerNode/{index.91e65ff6.js → index.0e6e76ad.js} +1 -1
  77. package/components/PrintingSystem/subcomponents/FooterNode/{index.c2481749.js → index.5af68fd5.js} +1 -1
  78. package/components/PrintingSystem/subcomponents/GridNode/{index.758d94d1.js → index.07d4f9a4.js} +7 -3
  79. package/components/PrintingSystem/subcomponents/HeaderNode/{index.732d7c58.js → index.dbf08ab4.js} +1 -1
  80. package/components/PrintingSystem/subcomponents/PaperNode/{index.1a20a9d4.js → index.d81d2f30.js} +4 -4
  81. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8402e742.js → index.4c20215d.js} +5 -3
  82. package/components/PrintingSystem/subcomponents/SectionNode/{index.25aeb4aa.js → index.72cb64b8.js} +1 -1
  83. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.2b632722.js → index.41c261f4.js} +3 -3
  84. package/components/PrintingSystem/types.d.ts +3 -12
  85. package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
  86. package/components/PropertyValue/classes/index.d.ts +1 -1
  87. package/components/PropertyValue/classes/types.d.ts +1 -4
  88. package/components/PropertyValue/index.92ccdf7a.js +220 -0
  89. package/components/PropertyValue/skeleton.d.ts +2 -0
  90. package/components/PropertyValue/types.d.ts +7 -5
  91. package/components/Resizeable/{index.6478d7d8.js → index.e4f47710.js} +5 -5
  92. package/components/ResizeableWindow/types.d.ts +3 -5
  93. package/components/ScrollBar/{index.010f1b9d.js → index.65bb2930.js} +1 -5
  94. package/components/SideBar/classes/index.d.ts +1 -1
  95. package/components/SideBar/{index.614f85fb.js → index.e4d2ee53.js} +31 -30
  96. package/components/SideBar/types.d.ts +3 -3
  97. package/components/SplitLayout/{index.30fd5861.js → index.9ef430f6.js} +1 -1
  98. package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
  99. package/components/areas/components/AreasAdmin/{index.c1539c1b.js → index.8426755c.js} +29 -98
  100. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  101. package/components/areas/components/AreasViewer/{index.e084d8e9.js → index.6b310068.js} +24 -88
  102. package/components/areas/components/index.558684b3.js +1 -0
  103. package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
  104. package/components/areas/contexts/AreasContext/{index.cffa1526.js → index.1e3974e1.js} +17 -10
  105. package/components/areas/contexts/index.24025b97.js +1 -0
  106. package/components/areas/hooks/index.d9dc1e21.js +1 -0
  107. package/components/areas/hooks/useAreas/{index.00031ac3.js → index.21fa4ab1.js} +1 -1
  108. package/components/areas/index.4cc6a221.js +22 -0
  109. package/components/formatters/BooleanFormatter/{index.5ed55bda.js → index.fcc47dfd.js} +3 -2
  110. package/components/formatters/PointsFormatter/{index.5c94c5e8.js → index.80a4e414.js} +2 -2
  111. package/components/formatters/PointsFormatter/index.d.ts +1 -1
  112. package/components/formatters/{index.4426a315.js → index.7d5cbac9.js} +3 -7
  113. package/components/hook-form/HelperError/index.66bbcac3.js +30 -0
  114. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +0 -2
  115. package/components/hook-form/RHFAutocomplete/{index.01a8f57e.js → index.ea720b8f.js} +38 -44
  116. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
  117. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -1
  118. package/components/hook-form/RHFAutocomplete/types.d.ts +3 -8
  119. package/components/hook-form/RHFAutocompleteAsync/{index.df1d5bca.js → index.1609eaf0.js} +1 -1
  120. package/components/hook-form/RHFCheckbox/{index.23fc4851.js → index.a38715e3.js} +2 -22
  121. package/components/hook-form/RHFColorPicker/index.259b6f38.js +61 -0
  122. package/components/hook-form/RHFColorPicker/index.d.ts +0 -6
  123. package/components/hook-form/RHFColorPicker/types.d.ts +0 -5
  124. package/components/hook-form/RHFDateTime/{index.984b803f.js → index.8bd9e41e.js} +5 -21
  125. package/components/hook-form/RHFDateTime/types.d.ts +1 -0
  126. package/components/hook-form/RHFHelperError/index.d.ts +4 -0
  127. package/components/hook-form/RHFPeriod/{index.1852e7d3.js → index.89bebd60.js} +3 -2
  128. package/components/hook-form/RHFRadioGroup/{index.3b17819b.js → index.1ddb3d93.js} +1 -1
  129. package/components/hook-form/RHFTextField/{index.1167879e.js → index.2c8d4613.js} +6 -8
  130. package/components/hook-form/RHFUpload/{index.49edcb02.js → index.55e495bb.js} +7 -24
  131. package/components/index.d.ts +2 -3
  132. package/components/maps/components/GpsTools/GpsTools.d.ts +1 -0
  133. package/components/maps/components/GpsTools/classes/index.d.ts +4 -0
  134. package/components/maps/components/GpsTools/classes/types.d.ts +20 -0
  135. package/components/maps/components/GpsTools/constants.d.ts +8 -0
  136. package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +19 -0
  137. package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +16 -0
  138. package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +173 -0
  139. package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +2 -0
  140. package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +1 -0
  141. package/components/maps/components/GpsTools/icons.d.ts +15 -0
  142. package/components/maps/components/GpsTools/index.1b6d82bc.js +2086 -0
  143. package/components/maps/components/GpsTools/index.d.ts +2 -0
  144. package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +9 -0
  145. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +7 -0
  146. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +1 -0
  147. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +122 -0
  148. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +20 -0
  149. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +7 -0
  150. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +11 -0
  151. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +8 -0
  152. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +5 -0
  153. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +22 -0
  154. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +1 -0
  155. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +1 -0
  156. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +6 -0
  157. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +5 -0
  158. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +1 -0
  159. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +7 -0
  160. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +6 -0
  161. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +1 -0
  162. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -0
  163. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +1 -0
  164. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +1 -0
  165. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +1 -0
  166. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +10 -0
  167. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +25 -0
  168. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +9 -0
  169. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +4 -0
  170. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useColumns.d.ts +9 -0
  171. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useMaster.d.ts +20 -0
  172. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +9 -0
  173. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +1 -0
  174. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +7 -0
  175. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +30 -0
  176. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +31 -0
  177. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +10 -0
  178. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +1 -0
  179. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +1 -0
  180. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +6 -0
  181. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +2 -0
  182. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +1 -0
  183. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +9 -0
  184. package/components/maps/components/GpsTools/types.d.ts +34 -0
  185. package/components/maps/components/Map/Map.d.ts +2 -0
  186. package/components/maps/components/Map/classes/index.d.ts +5 -0
  187. package/components/maps/components/Map/classes/types.d.ts +19 -0
  188. package/components/maps/components/Map/constants.d.ts +11 -0
  189. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +19 -0
  190. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +8 -0
  191. package/components/maps/components/Map/contexts/MapContext/index.d.ts +2 -0
  192. package/components/maps/components/Map/contexts/MapContext/store.d.ts +16 -0
  193. package/components/maps/components/Map/contexts/MapContext/types.d.ts +414 -0
  194. package/components/maps/components/Map/dictionary.d.ts +70 -0
  195. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +8 -0
  196. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +6 -0
  197. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +1 -0
  198. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +1 -0
  199. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +2 -0
  200. package/components/maps/components/Map/featureRenders/index.d.ts +1 -0
  201. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +8 -0
  202. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +15 -0
  203. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +1 -0
  204. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +3 -0
  205. package/components/maps/components/Map/index.d.ts +7 -0
  206. package/components/maps/components/Map/index.f38df83e.js +1338 -0
  207. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +9 -0
  208. package/components/maps/components/Map/pluginLayers/index.d.ts +1 -0
  209. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +2 -0
  210. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useCheckedLayers.d.ts +9 -0
  211. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useColumns.d.ts +15 -0
  212. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useMaster.d.ts +12 -0
  213. package/components/maps/components/Map/subcomponents/LayersTool/index.d.ts +1 -0
  214. package/components/maps/components/Map/subcomponents/LayersTool/model.d.ts +19 -0
  215. package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +2 -0
  216. package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +5 -0
  217. package/components/maps/components/Map/subcomponents/MyLayer/index.d.ts +17 -0
  218. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +20 -0
  219. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +11 -0
  220. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +12 -0
  221. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +5 -0
  222. package/components/maps/components/Map/subcomponents/MyLayer/types.d.ts +2 -0
  223. package/components/maps/components/Map/types.d.ts +28 -0
  224. package/components/maps/index.d.ts +3 -0
  225. package/components/modal/WindowBase.a4534b0b.js +74 -0
  226. package/components/modal/WindowConfirm.7a79bfa5.js +102 -0
  227. package/components/modal/index.61389369.js +57 -0
  228. package/components/mui_extended/Accordion/{index.3087f40e.js → index.f1289de0.js} +4 -4
  229. package/components/mui_extended/Button/classes/types.d.ts +0 -2
  230. package/components/mui_extended/Button/{index.0f2552ed.js → index.007f5a6e.js} +5 -5
  231. package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
  232. package/components/mui_extended/IconButton/{index.5afe56b7.js → index.b705c196.js} +2 -2
  233. package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -1
  234. package/components/mui_extended/MenuActions/{index.cc54c35c.js → index.aa43c4f2.js} +5 -19
  235. package/components/mui_extended/Pager/{index.5fbbefe2.js → index.9928807e.js} +3 -2
  236. package/components/mui_extended/Tab/{index.ae9ea641.js → index.cefe27e7.js} +6 -6
  237. package/components/mui_extended/ToggleButton/ToggleButton.d.ts +1 -1
  238. package/components/mui_extended/ToggleButton/{index.667d63cd.js → index.b053aa70.js} +1 -5
  239. package/components/mui_extended/ToggleButton/types.d.ts +2 -2
  240. package/components/mui_extended/ToggleIconButton/{index.2de19be3.js → index.80d38bf4.js} +1 -6
  241. package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
  242. package/components/mui_extended/index.b606cd9d.js +1 -0
  243. package/contexts/ModalContext/{index.ef38d747.js → index.054af5d8.js} +1 -1
  244. package/hocs/withToggle/index.d.ts +1 -9
  245. package/hocs/withToggle/types.d.ts +10 -0
  246. package/hooks/useFormAddEdit/index.b4348b6a.js +96 -0
  247. package/hooks/useFormReadyForUpdate/index.d.ts +6 -0
  248. package/hooks/useFormReadyForUpdate/index.f60f500e.js +20 -0
  249. package/hooks/useModal/{index.8acace45.js → index.acc61361.js} +1 -1
  250. package/hooks/useSizeContainer/contants.d.ts +1 -0
  251. package/hooks/useSizeContainer/index.62b4e0c4.js +35 -0
  252. package/hooks/useSizeContainer/index.d.ts +8 -0
  253. package/hooks/useStateRef/index.538edb89.js +15 -0
  254. package/hooks/useStateRef/index.d.ts +8 -0
  255. package/hooks/useTab/index.500c048b.js +12 -0
  256. package/index.js +225 -213
  257. package/package.json +6 -8
  258. package/{react-draggable.ee21cb7e.js → react-draggable.2bc0e647.js} +4 -4
  259. package/{react-json-view.5636414a.js → react-json-view.57125fcf.js} +1 -1
  260. package/{react-resizable.ee028152.js → react-resizable.53094455.js} +5 -5
  261. package/{react-splitter-layout.c5d98bf7.js → react-splitter-layout.8b1655c8.js} +3 -3
  262. package/test/getNameDataTestId.14875ec7.js +6 -0
  263. package/utils/capitalizeFirstLetter.d.ts +1 -0
  264. package/utils/getComponentUtilityClass.d.ts +1 -0
  265. package/utils/getPaletteColor.d.ts +2 -0
  266. package/utils/getThemeVariantColor.d.ts +3 -0
  267. package/utils/getTransformXY.d.ts +4 -0
  268. package/utils/index.d.ts +6 -7
  269. package/utils/isValidDate.d.ts +1 -0
  270. package/utils/types.d.ts +16 -0
  271. package/components/CommonActions/components/ActionFormCancel/index.3b2605ee.js +0 -144
  272. package/components/CommonActions/components/Actions/index.93e9112b.js +0 -161
  273. package/components/DraggableWindow/index.d.ts +0 -3
  274. package/components/DraggableWindow/index.f9f067bd.js +0 -39
  275. package/components/DraggableWindow/types.d.ts +0 -5
  276. package/components/Icon/index.e215d0f0.js +0 -248
  277. package/components/PDFViewer/PDFViewer.d.ts +0 -2
  278. package/components/PDFViewer/classes/constants.d.ts +0 -1
  279. package/components/PDFViewer/classes/index.d.ts +0 -7
  280. package/components/PDFViewer/classes/types.d.ts +0 -7
  281. package/components/PDFViewer/index.4d16e5bc.js +0 -83
  282. package/components/PDFViewer/index.d.ts +0 -1
  283. package/components/PDFViewer/types.d.ts +0 -3
  284. package/components/PrintingSystem/subcomponents/QRImageNode/index.d.ts +0 -2
  285. package/components/PrintingSystem/subcomponents/QRImageNode/types.d.ts +0 -3
  286. package/components/PropertyValue/index.45482ca3.js +0 -222
  287. package/components/ToastContainer/ToastContainer.d.ts +0 -2
  288. package/components/ToastContainer/classes/constants.d.ts +0 -1
  289. package/components/ToastContainer/classes/index.d.ts +0 -8
  290. package/components/ToastContainer/classes/types.d.ts +0 -9
  291. package/components/ToastContainer/index.5e729fbb.js +0 -89
  292. package/components/ToastContainer/index.d.ts +0 -2
  293. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +0 -2
  294. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +0 -5
  295. package/components/ToastContainer/types.d.ts +0 -4
  296. package/components/areas/components/index.4381fcfa.js +0 -32
  297. package/components/areas/contexts/index.003a53c1.js +0 -4
  298. package/components/areas/hooks/index.0184c6f7.js +0 -4
  299. package/components/areas/index.1b5b2267.js +0 -56
  300. package/components/hook-form/RHFColorPicker/classes/constants.d.ts +0 -1
  301. package/components/hook-form/RHFColorPicker/classes/index.d.ts +0 -11
  302. package/components/hook-form/RHFColorPicker/classes/types.d.ts +0 -11
  303. package/components/hook-form/RHFColorPicker/index.c7695748.js +0 -166
  304. package/components/hook-form/RHFColorPicker/subcomponents/Skeleton/indext.d.ts +0 -1
  305. package/components/maps/leaflet.d.ts +0 -29
  306. package/components/modal/WindowBase.8e3e5337.js +0 -158
  307. package/components/modal/WindowConfirm.eec3e5d0.js +0 -186
  308. package/components/modal/index.ac0c9093.js +0 -146
  309. package/components/mui_extended/index.6837d969.js +0 -24
  310. package/hooks/useFormAddEdit/index.8276444a.js +0 -181
  311. package/hooks/useTab/index.07f652ec.js +0 -101
  312. package/node_modules.79f5ed2f.js +0 -6921
  313. package/vendor.f0742647.js +0 -140
  314. package/components/GridLayout/subcomponents/{GridItem → Griditem}/index.d.ts +0 -0
  315. package/components/GridLayout/subcomponents/{GridItem → Griditem}/types.d.ts +0 -0
  316. package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
  317. package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
  318. package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
  319. package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
  320. package/utils/{index.de903261.js → index.9ad3909a.js} +3 -3
@@ -1,103 +1,32 @@
1
- import { I as IconButton } from "../../../mui_extended/IconButton/index.5afe56b7.js";
2
- import { u as useAreasStore } from "../../hooks/useAreas/index.00031ac3.js";
1
+ import { u as useAreasStore } from "../../hooks/useAreas/index.21fa4ab1.js";
3
2
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
3
  import { useState, useRef, useMemo } from "react";
5
4
  import * as Yup from "yup";
6
- import { generateUtilityClasses, useTheme } from "@mui/material";
7
- import "../../../mui_extended/Accordion/index.3087f40e.js";
8
- import { I as Icon } from "../../../Icon/index.e215d0f0.js";
9
5
  import clsx from "clsx";
10
- import { useResponsiveDesktop } from "@m4l/graphics";
11
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
12
- import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
13
- import "../../../mui_extended/Avatar/index.75e6ed57.js";
14
- import "react-router-dom";
15
- import "@mui/material/Button";
16
- import { B as Button } from "../../../mui_extended/Button/index.0f2552ed.js";
17
- import "../../../mui_extended/CheckBox.38abccd8.js";
18
- import "../../../mui_extended/Badge/index.b09524fe.js";
19
- import "../../../Image/index.d684bdf2.js";
20
- import "@mui/lab";
21
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.cc54c35c.js";
22
- import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
23
- import "../../../mui_extended/Stack/index.0e53197c.js";
24
- import "../../../mui_extended/Tab/index.ae9ea641.js";
25
- import "../../../mui_extended/Pager/index.5fbbefe2.js";
26
- import "../../../mui_extended/Tooltip/index.5a795dcd.js";
6
+ import { generateUtilityClasses, useTheme } from "@mui/material";
27
7
  import { unstable_composeClasses } from "@mui/base";
28
- import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
29
8
  import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
9
+ import { g as getComponentUtilityClass } from "../../../../utils/index.9ad3909a.js";
30
10
  import { I as ICONS } from "../../icons.8266ccc8.js";
31
- import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
32
- import "../../../../contexts/ModalContext/index.ef38d747.js";
33
- import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7769076a.js";
34
- import "react-hook-form";
35
- import "../../../hook-form/RHFAutocomplete/index.01a8f57e.js";
36
- import "../../../HelperText/index.918bba47.js";
37
- import "../../../../node_modules.79f5ed2f.js";
38
- import "lodash-es/debounce";
39
- import "lodash-es/each";
40
- import "../../../hook-form/RHFColorPicker/index.c7695748.js";
11
+ import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
41
12
  import { styled } from "@mui/material/styles";
42
- import "lodash/debounce";
43
- import "../../../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
44
- import "../../../hook-form/RHFCheckbox/index.23fc4851.js";
45
- import "@mui/x-date-pickers";
46
- import "../../../hook-form/RHFDateTime/index.984b803f.js";
47
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.1167879e.js";
48
- import "../../../hook-form/RHFPeriod/index.1852e7d3.js";
49
- import "../../../Period/index.3bd05e05.js";
50
- import { A as Actions } from "../../../CommonActions/components/Actions/index.93e9112b.js";
51
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.82313aef.js";
52
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.c70ae272.js";
53
- import "../../../../react-draggable.ee21cb7e.js";
54
- import "../../../Resizeable/index.6478d7d8.js";
55
- import "../../../modal/index.ac0c9093.js";
56
- import "../../../animate/index.4e9774a6.js";
57
- import "framer-motion";
58
- import "../../../animate/LoadingScreen/index.1d0c4307.js";
59
- import "../../../animate/PropagateLoader/index.7fab43c8.js";
13
+ import { useResponsiveDesktop } from "@m4l/graphics";
60
14
  import { shallow } from "zustand/shallow";
61
- import { S as ScrollBar } from "../../../ScrollBar/index.010f1b9d.js";
62
- import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
15
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
16
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.aa43c4f2.js";
17
+ import { P as Popover } from "../../../mui_extended/Popover/index.b3eca6b1.js";
18
+ import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7769076a.js";
19
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.2c8d4613.js";
20
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.8368ac0f.js";
21
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.06365996.js";
22
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.b97cfeec.js";
23
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.b705c196.js";
24
+ import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
25
+ import { S as ScrollBar } from "../../../ScrollBar/index.65bb2930.js";
63
26
  import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
64
- import "../AreasViewer/index.e084d8e9.js";
65
- import "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
66
- import "../../../LoadingError/index.b3e4e8e5.js";
67
- import "../../contexts/AreasContext/index.cffa1526.js";
68
- import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
69
- import "zustand";
70
- import "zustand/middleware/immer";
71
- import "../../../formatters/index.4426a315.js";
72
- import "../../../DataGrid/index.387652a9.js";
73
- import "react-dnd";
74
- import "react-dnd-html5-backend";
75
- import "../../../DynamicFilter/index.9e9885b0.js";
76
- import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
77
- import "../../../GridLayout/index.68093cfb.js";
78
- import "fast-equals";
79
- import "lodash";
80
- import "../../../PrintingSystem/index.70234425.js";
81
- import "../../../LanguagePopover/index.424bad09.js";
82
- import "../../../MFLoader/index.3d17dfc3.js";
83
- import "../../../NavLink/index.ed4c0609.js";
84
- import "../../../NoItemSelected/index.5ed80b8e.js";
85
- import "../../../ObjectLogs/index.3a939c6b.js";
86
- import "../../../../react-json-view.5636414a.js";
87
- import "../../../PaperForm/index.013ed28b.js";
88
- import "../../../PDFViewer/index.4d16e5bc.js";
89
- import "../../../Page/index.890fbaac.js";
90
- import "../../../PropertyValue/index.45482ca3.js";
91
- import "../../../SplitLayout/index.30fd5861.js";
92
- import "../../../../react-splitter-layout.c5d98bf7.js";
93
- import "../../../ToastContainer/index.5e729fbb.js";
94
- import "../../../SideBar/index.614f85fb.js";
95
- import "../../../AppBar/index.c8e7b25c.js";
96
- import "../../../AccountPopover/index.7060320a.js";
97
- import "lodash/isString";
98
- import "react-dropzone";
99
- import "../../../hook-form/RHFUpload/index.49edcb02.js";
100
- import { u as useOnClickOutside } from "../../index.1b5b2267.js";
27
+ import { B as Button } from "../../../mui_extended/Button/index.007f5a6e.js";
28
+ import { I as Icon } from "../../../Icon/index.aa9949f0.js";
29
+ import { u as useOnClickOutside } from "../../index.4cc6a221.js";
101
30
  const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
102
31
  "root",
103
32
  "rootContent",
@@ -721,19 +650,21 @@ const PanelWindowPopUp = (props) => {
721
650
  });
722
651
  };
723
652
  function AreasAdmin() {
724
- const areas = useAreasStore((state) => state.areasIds, shallow);
725
- const currentArea = useAreasStore((state) => state.currentAreaId, shallow);
726
- const status = useAreasStore((state) => state.ownerState.status);
653
+ const areas = useAreasStore((state2) => state2.areasIds, shallow);
654
+ const currentArea = useAreasStore((state2) => state2.currentAreaId, shallow);
655
+ const status = useAreasStore((state2) => state2.ownerState.status);
727
656
  const {
728
657
  setFocus
729
- } = useAreasStore((state) => state.areaAdminActions, shallow);
730
- const classesRoot = useAreasStore((state) => state.adminClasses.root);
731
- const areasLength = useAreasStore((state) => state.areasIds.length);
658
+ } = useAreasStore((state2) => state2.areaAdminActions, shallow);
659
+ const classesRoot = useAreasStore((state2) => state2.adminClasses.root);
660
+ const areasLength = useAreasStore((state2) => state2.areasIds.length);
732
661
  const isDesktop = useResponsiveDesktop();
733
662
  const {
734
663
  addArea
735
- } = useAreasStore((state) => state.areasActions, shallow);
736
- const maximizedId = useAreasStore((state) => state.hashAreas[currentArea] ? state.hashAreas[currentArea].maximizedId : false, shallow);
664
+ } = useAreasStore((state2) => state2.areasActions, shallow);
665
+ const maximizedId = useAreasStore((state2) => state2.hashAreas[currentArea] ? state2.hashAreas[currentArea].maximizedId : false, shallow);
666
+ const state = useAreasStore((state2) => state2, shallow);
667
+ console.log("store state", state);
737
668
  const {
738
669
  host_static_assets,
739
670
  environment_assets
@@ -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" | "loaderContainer" | "containerComponent" | "windowToastyContainer", string>;
4
+ export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "windowRoot" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "loaderContainer" | "containerComponent" | "windowToastyContainer", string>;
5
5
  export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
@@ -1,104 +1,36 @@
1
1
  import { styled } from "@mui/material/styles";
2
- import { r as react_resizable_css } from "../../../../react-resizable.ee028152.js";
2
+ import { r as react_resizable_css } from "../../../../react-resizable.53094455.js";
3
3
  import { generateUtilityClasses, Skeleton, Dialog } from "@mui/material";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
- import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
6
5
  import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
6
+ import { g as getComponentUtilityClass } from "../../../../utils/index.9ad3909a.js";
7
7
  import { shallow } from "zustand/shallow";
8
8
  import React__default, { useMemo, useEffect } from "react";
9
9
  import clsx from "clsx";
10
- import { u as useAreasStore } from "../../hooks/useAreas/index.00031ac3.js";
10
+ import { u as useAreasStore } from "../../hooks/useAreas/index.21fa4ab1.js";
11
11
  import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
12
- import { I as IconButton } from "../../../mui_extended/IconButton/index.5afe56b7.js";
13
- import "../../../mui_extended/Accordion/index.3087f40e.js";
14
- import { I as Icon } from "../../../Icon/index.e215d0f0.js";
15
- import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
16
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
17
- import "../../../mui_extended/Avatar/index.75e6ed57.js";
18
- import { useLocation } from "react-router-dom";
19
- import "@mui/material/Button";
20
- import "../../../mui_extended/Button/index.0f2552ed.js";
21
- import "../../../mui_extended/CheckBox.38abccd8.js";
22
- import "../../../mui_extended/Badge/index.b09524fe.js";
23
- import "../../../Image/index.d684bdf2.js";
24
- import "@mui/lab";
25
- import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.cc54c35c.js";
26
- import "../../../mui_extended/Popover/index.9f35d0eb.js";
27
- import "../../../mui_extended/Stack/index.0e53197c.js";
28
- import "../../../mui_extended/Tab/index.ae9ea641.js";
29
- import "../../../mui_extended/Pager/index.5fbbefe2.js";
12
+ import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.aa43c4f2.js";
30
13
  import { useResponsiveDesktop } from "@m4l/graphics";
31
- import "../../../mui_extended/Tooltip/index.5a795dcd.js";
14
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
32
15
  import { I as ICONS } from "../../icons.8266ccc8.js";
33
16
  import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
34
- import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
35
- import { M as MFLoader } from "../../../MFLoader/index.3d17dfc3.js";
17
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.b705c196.js";
18
+ import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.2d53ade4.js";
19
+ import { I as Icon } from "../../../Icon/index.aa9949f0.js";
20
+ import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
21
+ import { M as MFLoader } from "../../../MFLoader/index.b928e361.js";
36
22
  import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
37
23
  import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
38
- import "../../../../contexts/ModalContext/index.ef38d747.js";
39
- import "../../../../contexts/RHFormContext/index.7769076a.js";
40
24
  import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
41
25
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
42
- import { g as getNameDataTestId } from "../../../../vendor.f0742647.js";
43
- import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
44
- import { S as SizeProvider } from "../../../GridLayout/index.68093cfb.js";
45
- import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.c32210fc.js";
46
- import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.cffa1526.js";
47
- import { L as LoadingError } from "../../../LoadingError/index.b3e4e8e5.js";
48
- import "../../../animate/index.4e9774a6.js";
49
- import "framer-motion";
50
- import "../../../animate/LoadingScreen/index.1d0c4307.js";
51
- import "../../../animate/PropagateLoader/index.7fab43c8.js";
52
- import "../AreasAdmin/index.c1539c1b.js";
53
- import "../../../ScrollBar/index.010f1b9d.js";
54
- import "zustand";
55
- import "zustand/middleware/immer";
56
- import "react-hook-form";
57
- import "../../../hook-form/RHFAutocomplete/index.01a8f57e.js";
58
- import "../../../HelperText/index.918bba47.js";
59
- import "../../../../node_modules.79f5ed2f.js";
60
- import "lodash-es/debounce";
61
- import "lodash-es/each";
62
- import "../../../hook-form/RHFColorPicker/index.c7695748.js";
63
- import "lodash/debounce";
64
- import "../../../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
65
- import "../../../hook-form/RHFCheckbox/index.23fc4851.js";
66
- import "@mui/x-date-pickers";
67
- import "../../../hook-form/RHFDateTime/index.984b803f.js";
68
- import "../../../hook-form/RHFTextField/index.1167879e.js";
69
- import "../../../hook-form/RHFPeriod/index.1852e7d3.js";
70
- import "../../../Period/index.3bd05e05.js";
71
- import "../../../CommonActions/components/Actions/index.93e9112b.js";
72
- import { c as cjs } from "../../../../react-draggable.ee21cb7e.js";
73
- import { R as ResizeableWindow } from "../../../Resizeable/index.6478d7d8.js";
74
- import "../../../modal/index.ac0c9093.js";
75
- import "lodash/isString";
76
- import "react-dropzone";
77
- import "../../../hook-form/RHFUpload/index.49edcb02.js";
78
- import "../../../formatters/index.4426a315.js";
79
- import "../../../DataGrid/index.387652a9.js";
80
- import "react-dnd";
81
- import "react-dnd-html5-backend";
82
- import "../../../DynamicFilter/index.9e9885b0.js";
83
- import "yup";
84
- import "fast-equals";
85
- import "lodash";
86
- import "../../../PrintingSystem/index.70234425.js";
87
- import "../../../LanguagePopover/index.424bad09.js";
88
- import "../../../NavLink/index.ed4c0609.js";
89
- import "../../../NoItemSelected/index.5ed80b8e.js";
90
- import "../../../ObjectLogs/index.3a939c6b.js";
91
- import "../../../../react-json-view.5636414a.js";
92
- import "../../../PaperForm/index.013ed28b.js";
93
- import "../../../PDFViewer/index.4d16e5bc.js";
94
- import "../../../Page/index.890fbaac.js";
95
- import "../../../PropertyValue/index.45482ca3.js";
96
- import "../../../SplitLayout/index.30fd5861.js";
97
- import "../../../../react-splitter-layout.c5d98bf7.js";
98
- import "../../../ToastContainer/index.5e729fbb.js";
99
- import "../../../SideBar/index.614f85fb.js";
100
- import "../../../AppBar/index.c8e7b25c.js";
101
- import "../../../AccountPopover/index.7060320a.js";
26
+ import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.14875ec7.js";
27
+ import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.1e3974e1.js";
28
+ import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.0676f896.js";
29
+ import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.4234d9f3.js";
30
+ import { useLocation } from "react-router-dom";
31
+ import { L as LoadingError } from "../../../LoadingError/index.991393ca.js";
32
+ import { c as cjs } from "../../../../react-draggable.2bc0e647.js";
33
+ import { R as ResizeableWindow } from "../../../Resizeable/index.e4f47710.js";
102
34
  const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
103
35
  "root",
104
36
  "areaRoot",
@@ -914,6 +846,8 @@ const Window = (props) => {
914
846
  return emergeType === "layout" ? state.hashAreas[areaId]?.currentLayoutId : state.hashAreas[areaId]?.currentPopUpId;
915
847
  }) === windowId;
916
848
  const mfProps = useAreasStore((state) => state.hashWindows[windowId]?.mfProps, shallow);
849
+ const areaStore = useAreasStore((state) => state, shallow);
850
+ console.log("areaStore", areaStore);
917
851
  const component = useAreasStore((state) => state.hashWindows[windowId]?.component, shallow);
918
852
  const loading = useAreasStore((state) => state.hashWindows[windowId]?.loading, shallow);
919
853
  const status = useAreasStore((state) => state.hashWindows[windowId]?.status, shallow);
@@ -988,7 +922,7 @@ const Window = (props) => {
988
922
  areasViewerClasses.windowContent
989
923
  ),
990
924
  children: [status === "init" ? /* @__PURE__ */ jsx(Fragment, {
991
- children: "Cargando..."
925
+ children: "...Brucee porr analizar Componente de carga"
992
926
  }) : null, status === "loaded" ? winType === "microfrontend" ? /* @__PURE__ */ jsx(MemonizedMicroFrontend, {
993
927
  moduleId,
994
928
  dynamicMFStore,
@@ -1016,7 +950,7 @@ const ResizeHandle = React__default.forwardRef((props, ref) => {
1016
950
  ...restProps
1017
951
  });
1018
952
  });
1019
- const ResponsiveGridLayout = SizeProvider(Responsive);
953
+ const ResponsiveGridLayout = withSizeProvider(Responsive);
1020
954
  const AreaGridLayout = (props) => {
1021
955
  const {
1022
956
  areaId
@@ -1050,6 +984,8 @@ const AreaGridLayout = (props) => {
1050
984
  if (p.type === "placeholder") {
1051
985
  return /* @__PURE__ */ jsx("div", {});
1052
986
  }
987
+ console.log("layoutItemRender window", hashLayoutItems, p.i, p.type);
988
+ console.log("layoutItemRender window value p argument", p);
1053
989
  return /* @__PURE__ */ jsx(Window, {
1054
990
  windowId: p.i,
1055
991
  areaId
@@ -1,8 +1,8 @@
1
1
  import { WritableDraft } from 'immer/dist/internal';
2
2
  import type { Area, AreasStateWithActions } from './types';
3
3
  import type { WindowState, WindowStateProps } from '../../types';
4
- export declare const PADDING_GRIDLAYOUT = 8;
5
- export declare const MARGIN_GRIDLAYOUT = 8;
4
+ export declare const PADDING_GRIDLAYOUT = 4;
5
+ export declare const MARGIN_GRIDLAYOUT = 4;
6
6
  export declare const DEBOUCED_SAVE_TIME = 500;
7
7
  export declare const THROTTLE_RESIZE_TIME = 300;
8
8
  export declare const COOKIE_BREAKPOINT_LAYOUTS = "layoutPros";
@@ -5,20 +5,17 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
5
5
  import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
6
6
  import { devtools } from "zustand/middleware";
7
7
  import { immer } from "zustand/middleware/immer";
8
- import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.e084d8e9.js";
9
- import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.c1539c1b.js";
8
+ import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.6b310068.js";
9
+ import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.8426755c.js";
10
10
  import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
11
11
  import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
12
- import "clsx";
13
- import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
14
- import { z as isEqualLayouts } from "../../../GridLayout/index.68093cfb.js";
15
- import { jsx } from "react/jsx-runtime";
16
- import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.c32210fc.js";
17
- import "fast-equals";
12
+ import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.4234d9f3.js";
18
13
  import { debounce, cloneDeep } from "lodash";
14
+ import { A as isEqualLayouts } from "../../../GridLayout/index.367e44f9.js";
19
15
  import { useNavigate } from "react-router-dom";
20
- const PADDING_GRIDLAYOUT = 8;
21
- const MARGIN_GRIDLAYOUT = 8;
16
+ import { jsx } from "react/jsx-runtime";
17
+ const PADDING_GRIDLAYOUT = 4;
18
+ const MARGIN_GRIDLAYOUT = 4;
22
19
  const DEBOUCED_SAVE_TIME = 500;
23
20
  const COOKIE_BREAKPOINT_LAYOUTS = "layoutPros";
24
21
  const COOKIE_WINDOWS = "windows";
@@ -401,6 +398,7 @@ const createAreasStore = (initProps) => {
401
398
  },
402
399
  areaActions: {
403
400
  addWindow: (newWindowProps) => {
401
+ console.log("se ejecut\xF3 addWindow");
404
402
  const windowId = `${get().currentAreaId}_window_${new Date().getTime()}_${(Math.random() * 1e3).toFixed(0)}`;
405
403
  if (newWindowProps.emergeType === "layout" || newWindowProps.emergeType === "popup") {
406
404
  get().areaActions.addLayout(
@@ -431,6 +429,8 @@ const createAreasStore = (initProps) => {
431
429
  if (!area) {
432
430
  return;
433
431
  }
432
+ console.log("state data", state);
433
+ console.log("area data", area.layoutItemsIds);
434
434
  if (newWindowProps.replaceMeId) {
435
435
  for (let index = 0; index < area.layoutItemsIds.length; index++) {
436
436
  const key = area.layoutItemsIds[index];
@@ -640,6 +640,11 @@ const createAreasStore = (initProps) => {
640
640
  }
641
641
  },
642
642
  onContainerChange: (areaId, e) => {
643
+ console.log(
644
+ `onContainerChange [${e.containerWidth}, ${e.containerHeight}] Store`,
645
+ areaId,
646
+ e.breakpoint
647
+ );
643
648
  set((state) => {
644
649
  state.hashAreas[areaId].containerHeight = e.containerHeight;
645
650
  state.hashAreas[areaId].currentBreakpoint = e.breakpoint;
@@ -932,6 +937,7 @@ const createAreasStore = (initProps) => {
932
937
  hw2.timeStart = new Date().getTime();
933
938
  hw2.percentExecuted = 0;
934
939
  hw2.timer = setInterval(() => {
940
+ console.log("toast timer edit tick");
935
941
  set((state3) => {
936
942
  verifyRemoveToasty(
937
943
  state3.hashWindows[windowId],
@@ -1065,6 +1071,7 @@ function AreasProvider(props) {
1065
1071
  const addWindow = useCallback((newWindow) => {
1066
1072
  const currentAreaId = areasStoreRef.current?.getState().currentAreaId;
1067
1073
  const areas = areasStoreRef.current?.getState().areasIds;
1074
+ console.log("newWindow argument", newWindow);
1068
1075
  if (currentAreaId && areas) {
1069
1076
  areasStoreRef.current?.getState().areaActions.addWindow(newWindow);
1070
1077
  }
@@ -1,6 +1,6 @@
1
1
  import { useContext } from "react";
2
2
  import { useStore } from "zustand";
3
- import { A as AreasContext } from "../../contexts/AreasContext/index.cffa1526.js";
3
+ import { A as AreasContext } from "../../contexts/AreasContext/index.1e3974e1.js";
4
4
  function useAreasStore(selector, equalityFn) {
5
5
  const context = useContext(AreasContext);
6
6
  if (!context)
@@ -0,0 +1,22 @@
1
+ import { useEffect } from "react";
2
+ function useOnClickOutside(ref, handler, noRef) {
3
+ useEffect(() => {
4
+ const listener = (event) => {
5
+ const el = ref?.current;
6
+ const noEl = noRef?.current;
7
+ if (!el || el.contains(event.target) || noEl && noEl.contains(event.target)) {
8
+ return;
9
+ }
10
+ handler(event);
11
+ };
12
+ document.addEventListener("mousedown", listener);
13
+ document.addEventListener("touchstart", listener);
14
+ return () => {
15
+ document.removeEventListener("mousedown", listener);
16
+ document.removeEventListener("touchstart", listener);
17
+ };
18
+ }, [ref, handler]);
19
+ }
20
+ export {
21
+ useOnClickOutside as u
22
+ };
@@ -1,8 +1,8 @@
1
1
  import { useMemo } from "react";
2
2
  import { useModuleDictionary, useEnvironment } from "@m4l/core";
3
- import { I as Icon } from "../../Icon/index.e215d0f0.js";
3
+ import { I as Icon } from "../../Icon/index.aa9949f0.js";
4
4
  import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
5
- import { F as FormatterRoot, f as formatterClasses } from "../index.4426a315.js";
5
+ import { F as FormatterRoot, f as formatterClasses } from "../index.7d5cbac9.js";
6
6
  import clsx from "clsx";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
@@ -26,6 +26,7 @@ function BooleanFormatter(props) {
26
26
  const final_value = value ?? false;
27
27
  const srcCheckTrue = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_true.svg`;
28
28
  const srcCheckFalse = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_false.svg`;
29
+ console.log("srcCheckTrue", srcCheckTrue);
29
30
  const memoComponent = useMemo(() => {
30
31
  if (presentationType === "string_yes_no") {
31
32
  return /* @__PURE__ */ jsx(Component, {
@@ -1,7 +1,7 @@
1
1
  import { getPropertyByString } from "@m4l/core";
2
2
  import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
- function getFormatPoints(obProps, fieldValue, fieldUnit, chainPoint) {
4
+ function getFormatPoints(obProps, fieldValue, fieldUnit) {
5
5
  let result = "";
6
6
  const points = getPropertyByString(obProps, fieldValue);
7
7
  const unit = getPropertyByString(obProps, fieldUnit) || "";
@@ -10,7 +10,7 @@ function getFormatPoints(obProps, fieldValue, fieldUnit, chainPoint) {
10
10
  }
11
11
  points.map((point) => {
12
12
  if (point) {
13
- result = !chainPoint ? result.concat(`[${point}${unit}]`) : result.concat(`[${getPropertyByString(point, chainPoint)}${unit}]`);
13
+ result = result.concat(`[${point}${unit}]`);
14
14
  }
15
15
  });
16
16
  return result;
@@ -1,3 +1,3 @@
1
1
  import { PointsFormatterProps } from './types';
2
- export declare function getFormatPoints(obProps: any, fieldValue: string, fieldUnit: string, chainPoint?: string): string;
2
+ export declare function getFormatPoints(obProps: any, fieldValue: string, fieldUnit: string): string;
3
3
  export declare function PointsFormatter(props: PointsFormatterProps): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +1,9 @@
1
+ import { generateUtilityClasses, styled } from "@mui/material";
2
+ import "@mui/base";
1
3
  import { jsx } from "react/jsx-runtime";
2
4
  import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
3
5
  import { useModuleDictionary } from "@m4l/core";
4
- import "react";
5
- import "../Icon/index.e215d0f0.js";
6
- import { generateUtilityClasses, styled } from "@mui/material";
7
- import "clsx";
8
- import "@m4l/graphics";
9
- import "@mui/base";
10
- import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.5ed55bda.js";
6
+ import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.fcc47dfd.js";
11
7
  const COMPONENT_CLASS_NAME = "M4LFormatter";
12
8
  const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
13
9
  "root",
@@ -0,0 +1,30 @@
1
+ import { useFormContext, useController } from "react-hook-form";
2
+ import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ function HelperError(props) {
5
+ const {
6
+ name
7
+ } = props;
8
+ const {
9
+ control
10
+ } = useFormContext();
11
+ const {
12
+ fieldState
13
+ } = useController({
14
+ name,
15
+ control,
16
+ rules: {
17
+ required: true
18
+ }
19
+ });
20
+ if (fieldState?.error?.message) {
21
+ return /* @__PURE__ */ jsx(HelperText, {
22
+ variant: "error",
23
+ message: fieldState?.error?.message
24
+ });
25
+ }
26
+ return null;
27
+ }
28
+ export {
29
+ HelperError as H
30
+ };
@@ -9,9 +9,7 @@ export interface RHFAutocompleteClassesType {
9
9
  skeletonContainerText: string;
10
10
  iconDown: string;
11
11
  variantInfo: string;
12
- variantImage: string;
13
12
  isDisabled: string;
14
- imageWidthDefined: string;
15
13
  variantSuccess: string;
16
14
  variantWarning: string;
17
15
  variantError: string;